[go: up one dir, main page]

JPH11295589A - Automatic focus control device - Google Patents

Automatic focus control device

Info

Publication number
JPH11295589A
JPH11295589A JP10112852A JP11285298A JPH11295589A JP H11295589 A JPH11295589 A JP H11295589A JP 10112852 A JP10112852 A JP 10112852A JP 11285298 A JP11285298 A JP 11285298A JP H11295589 A JPH11295589 A JP H11295589A
Authority
JP
Japan
Prior art keywords
image data
value
integrated value
image
frequency component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10112852A
Other languages
Japanese (ja)
Inventor
Masaru Oikawa
賢 及川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10112852A priority Critical patent/JPH11295589A/en
Publication of JPH11295589A publication Critical patent/JPH11295589A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 高速・高精度な合焦動作が可能な自動焦点制
御装置を提供すること。 【解決手段】 本発明に係る自動焦制御点装置は、初期
焦点レンズ位置において撮像して画像データを出力し、
当該画像データに対して、点像半径に対応した複数の復
元フィルタを用いて画像データの復元を行って各復元フ
ィルタ毎に復元された画像データ群について各々AF評
価値を算出し、当該算出した各AF評価値を照合して合
焦位置を決定する、いわゆるワンショットAFを行う自
動焦点制御装置において、AFエリアにおける復元され
た画像データ群の各負値積算値を算出してAF評価値と
し、当該各AF評価値の最小値を合焦点する一方、当該
最小値が複数存在する場合には、当該複数の最小値のう
ち点像半径の最大のものを合焦点とする。
(57) [Problem] To provide an automatic focus control device capable of performing a high-speed and high-accuracy focusing operation. An automatic focus control point device according to the present invention captures an image at an initial focus lens position and outputs image data,
The image data is subjected to image data restoration using a plurality of restoration filters corresponding to the point image radius, and an AF evaluation value is calculated for each image data group restored for each restoration filter. In an automatic focus control device that performs a so-called one-shot AF that collates each AF evaluation value and determines a focus position, each negative value integrated value of a restored image data group in an AF area is calculated as an AF evaluation value. While the minimum value of each AF evaluation value is focused, if there are a plurality of the minimum values, the one with the largest point image radius among the plurality of minimum values is the focus.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、自動焦点制御装
置に関し、詳細には、ビデオカメラ、スチルビデオカメ
ラ等の撮像素子を用いた画像入力機器に適用される自動
焦点制御装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an automatic focus control device, and more particularly, to an automatic focus control device applied to an image input device using an image pickup device such as a video camera and a still video camera.

【0002】[0002]

【従来の技術】従来、自動焦点制御装置における合焦位
置決定方式には、赤外線や超音波を用いたAF方式、外
光パッシブや、山登りサーボ等のパッシブAF方式があ
る。特に、デジタルスチルビデオカメラ(以下、「DS
VC」と略す)などでは、特別な測距部品を必要としな
いパッシブAF方式が多く採用されている。パッシブA
F方式においては、近時ワンショットで合焦位置を検出
するものとして、特開平6−181532号公報「電子
カメラの合焦位置検出装置」がある。かかる合焦位置検
出装置は、ワンショットAFを用いており、すなわち、
復元フィルタを用いてワンショットで合焦位置を検出す
るもである。
2. Description of the Related Art Conventionally, as an in-focus position determining method in an automatic focus control device, there are an AF method using infrared rays or ultrasonic waves, an external light passive method, and a passive AF method such as a hill-climbing servo. In particular, digital still video cameras (hereinafter "DS
VC), a passive AF method that does not require a special distance measuring component is often used. Passive A
In the F system, Japanese Patent Application Laid-Open No. 6-181532 discloses an "in-focus position detecting device for an electronic camera" which detects a focus position in one shot in recent years. Such a focus position detection device uses one-shot AF, that is,
The in-focus position is detected in one shot using a restoration filter.

【0003】より具体的には、かかる合焦位置検出装置
は、光学撮像系の点像分布関数又はそれを変換処理して
得られる関数を焦点位置及びその前後のレンズ位置で複
数点求めて記憶した特性値記憶手段と、1画面分又はそ
の一部の撮像データを前記特性値記憶手段に記憶された
特性値によって前記複数点のレンズ位置毎に画像復元す
る画像復元手段と、該画像復元された画像データからレ
ンズ位置毎の合焦位置の評価値を求め各評価値を比較し
て合焦位置を推測する合焦位置推測手段と、を備えたこ
とにより、合焦位置の検出をより早く、より正確に行う
ことを可能としている。
More specifically, such an in-focus position detecting device obtains and stores a plurality of point spread functions of an optical imaging system or functions obtained by converting the point spread functions of an optical imaging system at a focal position and lens positions before and after the focal position. Characteristic value storage means, image restoration means for restoring image data for one screen or a part thereof for each of the plurality of lens positions by the characteristic values stored in the characteristic value storage means, Focus position estimating means for obtaining an evaluation value of the in-focus position for each lens position from the image data obtained and comparing each evaluation value to estimate the in-focus position. , It is possible to do more accurately.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来技
術においては、復元フィルタを用いたワンショットAF
では、高速・高精度な合焦点の特定において、疑似ピー
ク・輝度依存・演算量が大となる等の問題がある。
However, in the prior art, a one-shot AF using a restoration filter is used.
However, there are problems in high-speed and high-precision specification of the focal point, such as a pseudo peak, luminance dependence, and a large amount of calculation.

【0005】また、従来のワンショットAFでは、AF
評価値は、復元画像データの負値積算値(本来存在する
ことがない)の最小値を用いている。しかるに、かかる
方法は負値積算値の疑似ピークが存在しない場合のみ適
用でき、実際には、疑似ピークが存在することが多く、
合焦点指標が本来の合焦点以外に捕らわれてしまうとい
う問題がある。
In the conventional one-shot AF, AF
As the evaluation value, the minimum value of the negative integrated value of the restored image data (which does not originally exist) is used. However, such a method can be applied only when there is no pseudo peak of the negative integrated value, and in fact, a pseudo peak often exists,
There is a problem that the focus indicator is caught at a position other than the original focus.

【0006】また、従来のワンショットAFによって合
焦点指標を算出する場合には、取り込んだAFエリアの
輝度により合焦点指標がそれに追随してしまい、本来の
合焦点からずれた位置を示すという問題がある。
Further, when the focus index is calculated by the conventional one-shot AF, the focus index follows the brightness of the taken-in AF area, and indicates a position shifted from the original focus. There is.

【0007】また、ワンショットAF処理を行う際に
は、通常フーリエ変換を行うが、このフーリエ変換(F
FT)処理をAFエリアについて行う場合に、AFエリ
アの辺近傍がエッジとなり不要な高周波成分を生ずるこ
とがある。ワンショットAFでは、合焦点の特定に高周
波成分積算値を利用することもあり、上記不要な高周波
成分が混入すると合焦点特定の精度が低下するという問
題がある。
Further, when performing the one-shot AF process, a normal Fourier transform is performed.
When the FT) process is performed on the AF area, an edge near the side of the AF area may become an edge, and an unnecessary high frequency component may be generated. In the one-shot AF, an integrated value of a high-frequency component may be used to specify a focal point, and there is a problem that if the unnecessary high-frequency component is mixed, the accuracy of the focal point specification is reduced.

【0008】また、ワンショットAFにおいては、合焦
点の特定をする場合に、実際には、合焦点は1点のみで
はなく、被写界深度などを考慮すれば、ある範囲の幅を
持った、すなわち、見かけ上合焦している範囲で決定さ
れる。特に、被写体が遠方にあるほどこの合焦許容範囲
は広くなり、この範囲で対応する復元フィルタを複数配
置しても意味はない。逆に、至近距離であればあるほ
ど、合焦許容範囲は狭くなるため、より、多くの対応す
る復元フィルタを配置しなければならないという問題が
ある。
In the one-shot AF, when specifying the focal point, the focal point actually has not only one point, but has a certain width in consideration of the depth of field. That is, it is determined within a range in which it is apparently in focus. In particular, the farther the subject is, the wider the focusing allowable range becomes, and it is meaningless to arrange a plurality of corresponding restoration filters in this range. Conversely, the closer the distance is, the narrower the permissible focusing range becomes. Therefore, there is a problem that more corresponding restoration filters must be arranged.

【0009】また、複数の被写体候補が存在し、撮影者
がどの被写体を目標とするかを選考している場合、AF
エリアが1つしかないとき、順次、AFエリアをその被
写体候補に合わせ、その度にワンショットAF合焦動作
をしなければならず、冗長な動作が行われるという問題
がある。
When a plurality of subject candidates are present and the photographer is selecting which subject to target, AF
When there is only one area, the AF area must be sequentially adjusted to the subject candidate, and a one-shot AF focusing operation must be performed each time, which causes a problem that a redundant operation is performed.

【0010】また、復元フィルタは、一般的に、多いほ
ど高精度で多彩なレンズ対応が可能になるが、実際問題
として、搭載されるROM(メモリ)容量などの制限か
ら、多数の復元フィルタを用意することは難しいという
問題がある。
In general, as the number of restoration filters increases, the more accurate and versatile the lens can be, the more practically, the larger the number of restoration filters is due to the limitation of the mounted ROM (memory). There is a problem that it is difficult to prepare.

【0011】さらに、ワンショットAFでは、復元フィ
ルタを用いた画像復元処理を伴うためその演算量は膨大
となる。これらの一連の処理は全てソフトウエアで行っ
た場合、アルゴリズムの変更や改善などの柔軟性は優れ
ているが、CPUの処理速度は年々向上しているとはい
え、まだ速度の面からは十分とはいえないという問題が
ある。
Further, the one-shot AF involves an image restoration process using a restoration filter, so that the amount of calculation becomes enormous. When all of these processes are performed by software, the flexibility of changing or improving the algorithm is excellent, but the processing speed of the CPU is improving year by year, but it is still not enough in terms of speed. There is a problem that it cannot be said.

【0012】本発明は、上記に鑑みてなされたものであ
り、高速・高精度な合焦動作が可能な自動焦点制御装置
を提供することを目的とする。
The present invention has been made in view of the above, and has as its object to provide an automatic focus control device capable of performing a high-speed and high-precision focusing operation.

【0013】[0013]

【課題を解決するための手段】上述課題を解決するため
に、請求項1に係る自動焦点制御装置は、初期焦点レン
ズ位置において撮像して画像データを出力し、当該画像
データに対して、点像半径に対応した複数の復元フィル
タを用いて画像データの復元を行って各復元フィルタ毎
に復元された画像データ群について各々AF評価値を算
出し、当該算出した各AF評価値を照合して合焦位置を
決定する自動焦点制御装置において、AFエリアにおけ
る前記復元された画像データ群の各負値積算値を算出す
る負値積算値算出手段と、前記各負値積算値を各AF評
価値とし、当該各AF評価値の最小値を合焦点する一
方、当該最小値が複数存在する場合には、当該複数の最
小値のうち点像半径の最大のものを合焦点とする合焦点
特定手段と、を備えたものである。
According to a first aspect of the present invention, there is provided an automatic focus control device which picks up an image at an initial focus lens position and outputs image data. The image data is restored using a plurality of restoration filters corresponding to the image radii, the AF evaluation values are calculated for the image data groups restored for each restoration filter, and the calculated AF evaluation values are compared. In the automatic focus control device for determining the in-focus position, a negative value integrated value calculating means for calculating each negative value integrated value of the restored image data group in the AF area; Focusing on the minimum value of the AF evaluation values, and when there are a plurality of the minimum values, a focusing point specifying unit that focuses on the largest value of the point image radius among the plurality of the minimum values. And It is intended.

【0014】また、請求項2に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、前記AFエ
リアの前記復元された画像データ群の各高周波成分積算
値を算出する高周波成分算出手段と、復元された各画像
データに対応する前記負値積算値と前記高周波成分積算
値との比に基づいて、前記画像データ群の各AF評価値
を各々算出し、当該算出した各AF評価値のうち最小値
を合焦点とする一方、当該最小値が複数存在する場合に
は、当該複数の最小値のうち点像半径の最大のものを合
焦点とする合焦点特定手段と、を備えたものである。
According to a second aspect of the present invention, there is provided an automatic focus control device which picks up an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Negative value integrated value calculation means for calculating each negative value integrated value of the restored image data group in the AF area; and high frequency component calculation for calculating each high frequency component integrated value of the restored image data group in the AF area Means for calculating each AF evaluation value of the image data group based on a ratio between the negative value integrated value and the high frequency component integrated value corresponding to the restored image data, and calculating the calculated AF evaluation values Focusing on the minimum value among the values, and when there are a plurality of the minimum values, focusing means for focusing on the largest one of the plurality of minimum values with the point image radius. It is a thing.

【0015】また、請求項3に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、前記AFエ
リアの前記復元された画像データ群の各高周波成分積算
値を算出する高周波成分算出手段と、各画像データに対
応する前記負値積算値と前記高周波成分積算値との比に
基づいて、前記画像データ群の各AF評価値を各々算出
し、当該算出したAF評価値のうち最小値を仮の合焦点
とする仮の合焦点特定手段と、前記仮の合焦点から、点
像半径が大きくなる方向に前記負値積算値と前記高周波
成分積算値との比を再度走査し、当該走査した前記負値
積算値と前記高周波成分積算値との比が特定閾値以下に
なる場合の点像半径分を重みとして仮の合焦点に付加し
て真の合焦点を特定する真の合焦点特定手段と、を備え
たものである。
Further, the automatic focus control device according to claim 3 captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Negative value integrated value calculation means for calculating each negative value integrated value of the restored image data group in the AF area; and high frequency component calculation for calculating each high frequency component integrated value of the restored image data group in the AF area Means for calculating each AF evaluation value of the image data group based on a ratio between the negative value integrated value and the high frequency component integrated value corresponding to each image data, and calculating the minimum of the calculated AF evaluation values A temporary focus specifying unit that sets the value to a temporary focus, and from the temporary focus, the ratio between the negative integrated value and the high-frequency component integrated value is again scanned in a direction in which the point image radius increases, When the ratio of the scanned negative value integrated value to the high-frequency component integrated value is equal to or less than a specific threshold value, a point focus radius is added to a temporary focus point as a weight to specify a true focus point. Focus specifying means.

【0016】また、請求項4に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、前記AFエ
リアの前記復元された画像データ群の各高周波成分積算
値を算出する高周波成分算出手段と、各画像データに対
応する前記負値積算値と前記高周波成分積算値との比に
基づいて、前記画像データ群の各AF評価値を各々算出
し、当該算出した各AF評価値のうち最小値を仮の合焦
点とする仮の合焦点特定手段と、前記仮の合焦点から、
点像半径が大きくなる方向に前記負値積算値と前記高周
波成分積算値との比を再度走査し、当該走査した前記負
値積算値と前記高周波成分積算値との比が特定閾値以下
になる場合に、その場合の点像半径分及び前記負値積算
値と前記高周波成分積算値との比と前記特定閾値との差
分を重みとして前記仮の合焦点に付加して真の合焦点を
特定する真の合焦点特定手段と、を備えたものである。
According to a fourth aspect of the present invention, there is provided an automatic focus control device, which picks up an image at an initial focus lens position, outputs image data, and applies a plurality of restoration filters corresponding to a point image radius to the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Negative value integrated value calculation means for calculating each negative value integrated value of the restored image data group in the AF area; and high frequency component calculation for calculating each high frequency component integrated value of the restored image data group in the AF area A means for calculating each AF evaluation value of the image data group based on a ratio between the negative value integrated value and the high frequency component integrated value corresponding to each image data, and among the calculated AF evaluation values, From a temporary focusing point specifying unit that sets the minimum value to a temporary focusing point, from the temporary focusing point,
The ratio between the negative value integrated value and the high frequency component integrated value is again scanned in the direction in which the point image radius increases, and the ratio between the scanned negative value integrated value and the high frequency component integrated value becomes equal to or less than a specific threshold value In this case, the difference between the point image radius and the ratio between the negative value integrated value and the high frequency component integrated value and the specific threshold value is added as a weight to the temporary focus point to specify the true focus point. And true focusing point specifying means.

【0017】また、請求項5に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
合焦動作を行う前に、AFエリア内の画像データの平均
輝度を算出し、当該算出した平均輝度が特定輝度範囲内
にない場合には、当該平均輝度が特定輝度範囲内となる
ように輝度調整した後、合焦動作を行うものである。
An automatic focus control device according to a fifth aspect of the present invention captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Before performing the focusing operation, the average luminance of the image data in the AF area is calculated, and if the calculated average luminance is not within the specific luminance range, the luminance is adjusted so that the average luminance falls within the specific luminance range. After the adjustment, the focusing operation is performed.

【0018】また、請求項6に係る自動焦点制御装置
は、請求項5に係る自動焦点制御装置において、前記特
定輝度範囲は、A/D変換される最高輝度設定基準に対
して、40%〜50%であることとした。
The automatic focus control device according to claim 6 is the automatic focus control device according to claim 5, wherein the specific luminance range is 40% to 40% of the maximum luminance setting reference for A / D conversion. It was determined to be 50%.

【0019】また、請求項7に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
前記画像復元を行う前に、AFエリアの画像データに対
して、一次元若しくは二次元の窓関数処理を施す窓関数
処理手段を備えたものである。
An automatic focus control device according to a seventh aspect of the present invention captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Before the image restoration, a window function processing means for performing one-dimensional or two-dimensional window function processing on the image data in the AF area is provided.

【0020】また、請求項8に係る自動焦点制御装置
は、請求項7に係る自動焦点制御装置において、前記窓
関数処理手段は、複数の窓関数を記憶若しくは生成する
窓関数保持手段と、前記複数の窓関数の中から最適な窓
関数を選択する窓関数選択手段と、前記選択された窓関
数に基づき前記AFエリアの画像データに対して、窓関
数処理を施す窓関数実行手段と、を備えたものである。
The automatic focus control device according to claim 8 is the automatic focus control device according to claim 7, wherein the window function processing means includes a window function holding means for storing or generating a plurality of window functions; Window function selecting means for selecting an optimal window function from a plurality of window functions; and window function executing means for performing a window function process on the image data of the AF area based on the selected window function. It is provided.

【0021】また、請求項9に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、記憶手段に記憶され
た、点像半径に対応した複数の復元フィルタを用いて画
像データの復元を行って各復元フィルタ毎に復元された
画像データ群について各々AF評価値を算出し、当該算
出した各AF評価値を照合して合焦位置を決定する自動
焦点制御装置において、前記記憶手段には、至近距離で
は遠距離に比して細かい点像半径の間隔で、対応する復
元フィルタが格納されているものである。
According to a ninth aspect of the present invention, there is provided an automatic focus control device which picks up an image at an initial focus lens position, outputs image data, and corresponds to the point image radius stored in the storage means. Image data is restored using a plurality of restoration filters, AF evaluation values are calculated for the image data groups restored for each restoration filter, and the calculated AF evaluation values are collated to determine a focus position. In the automatic focus control apparatus described above, the storage means stores a corresponding restoration filter at an interval of a small point image radius at a close distance as compared with a long distance.

【0022】また、請求項10に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
少なくとも2以上のAFエリアと、各AFエリア毎の合
焦指標値を算出する合焦指標値算出手段と、前記少なく
とも2以上のAFエリアの1を指定する指定手段と、を
備え、前記指定されたAFエリアに関して合焦動作を行
うものである。
An automatic focus control device according to a tenth aspect captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
At least two or more AF areas; a focus index value calculating means for calculating a focus index value for each AF area; and a designating means for designating one of the at least two AF areas. The focusing operation is performed for the AF area that has been set.

【0023】また、請求項11に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
まず、前記復元フィルタを用いて画像データの復元を行
い、当該復元された画像データに基づいてAF評価値を
算出し、当該算出したAF評価値を照合して仮の合焦位
置を決定し、ついで、当該仮の合焦位置よりも手前の位
置から山登りサーボ法により走査して最終的な合焦位置
を決定するものである。
The automatic focus control device according to the eleventh aspect picks up an image at an initial focus lens position, outputs image data, and applies a plurality of restoration filters corresponding to a point image radius to the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
First, image data is restored using the restoration filter, an AF evaluation value is calculated based on the restored image data, and the calculated AF evaluation value is collated to determine a temporary focus position. Then, scanning is performed by a hill-climbing servo method from a position before the temporary in-focus position to determine a final in-focus position.

【0024】また、請求項12に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像された画像データ
の全て若しくはその一部を周波数成分に変換するフーリ
エ変換手段と、周波数成分に変換された画像データの全
て若しくはその一部を空間周波数成分に逆変換する逆フ
ーリエ変換手段と、点像半径に対応した複数の復元フィ
ルタを用いて、前記周波数成分に変換された画像データ
の復元を行うフィルタリング手段と、前記復元フィルタ
により復元された画像データの全部若しくはその一部に
ついて特定の高周波成分を積算して高周波成分積算値を
算出する高周波成分積算手段と、前記空間周波数成分に
逆変換された画像データの全て若しくはその一部につい
て負値積算値を算出する負値積算手段と、前記高周波成
分積算値及び/又は前記負値積算値に基づき、合焦指標
値を算出する合焦指標演算手段と、を備えたものであ
る。
According to a twelfth aspect of the present invention, there is provided an automatic focus control apparatus comprising: a Fourier transform unit for converting all or a part of image data captured at an initial focus lens position into a frequency component; Inverse Fourier transform means for inversely transforming all or part of the data into spatial frequency components, and filtering means for restoring the image data converted to the frequency components using a plurality of restoration filters corresponding to the point image radius And high-frequency component integrating means for calculating a high-frequency component integrated value by integrating a specific high-frequency component for all or a part of the image data restored by the restoration filter, and image data inversely transformed into the spatial frequency component Negative value integrating means for calculating a negative value integrated value for all or a part thereof, and the high frequency component integrated value and / or Based on the negative value cumulative value is obtained by including a focusing index calculating means for calculating the focus index value.

【0025】また、請求項13に係る自動焦点制御装置
は、請求項12に係る自動焦点制御装置において、前記
各手段のうち少なくとも一つをハードウエアで構成した
ものである。
According to a thirteenth aspect of the present invention, in the automatic focus control device according to the twelfth aspect, at least one of the means is constituted by hardware.

【0026】[0026]

【発明の実施の形態】以下に添付図面を参照して、この
発明に係る自動焦点制御装置をデジタルスチルカメラに
適用した好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment in which an automatic focus control device according to the present invention is applied to a digital still camera will be described below in detail with reference to the accompanying drawings.

【0027】(実施の形態1)図1は、本実施の形態1
に係るデジタルスチルカメラの構成図である。図1に示
すデジタルスチルカメラは、大別すると、被写体像をC
CDに結像するレンズ系1、絞り2,被写体像に応じた
画像データを出力するフロントエンド部3,画像データ
の各種データ処理を行うイメージプリプロセッサ(Imag
e Pre-Processor 以下、「IPP」と称する)部4
と、CPUI/F5と、デジタルスチルカメラの各部の
動作を制御するCPU6と、レンズ系1を駆動制御する
焦点レンズ制御部7と、絞り2の絞り値(f値)を制御
する絞り制御部8と、を備えている。
(Embodiment 1) FIG. 1 shows Embodiment 1 of the present invention.
1 is a configuration diagram of a digital still camera according to the present invention. The digital still camera shown in FIG.
A lens system 1 for forming an image on a CD, a diaphragm 2, a front end unit 3 for outputting image data corresponding to a subject image, and an image preprocessor (Imag) for performing various data processing of image data
e Pre-Processor, hereinafter referred to as “IPP”) Part 4
A CPU I / F 5, a CPU 6 for controlling the operation of each part of the digital still camera, a focus lens controller 7 for controlling the drive of the lens system 1, and an aperture controller 8 for controlling the aperture value (f-number) of the aperture 2. And

【0028】上記レンズ系1は撮像レンズと焦点レンズ
を備える。上記フロントエンド部3は、レンズ系1によ
り結像された被写体像を電気信号(アナログ画像デー
タ)に変換して出力するCCD31と、CCD31から
入力される電気信号のノイズ除去やゲイン調整等を行う
信号処理部32と、信号処理部32を介してCCD31
から入力されるアナログ画像データをデジタル画像デー
タに変換して、IPP部4に出力するA/D変換器33
と、を備える。
The lens system 1 includes an imaging lens and a focus lens. The front end unit 3 converts a subject image formed by the lens system 1 into an electric signal (analog image data) and outputs the converted signal, and performs noise removal and gain adjustment of the electric signal input from the CCD 31. A signal processing unit 32 and a CCD 31 via the signal processing unit 32
A / D converter 33 that converts analog image data input from the digital camera into digital image data and outputs the digital image data to IPP unit 4
And.

【0029】上記IPP部4は、フロントエンド部3か
ら入力されるデジタル画像データを、R・G・Bの各成
分(RGBデジタル信号)に分離するRGB分離部41
と、分離したRGBデジタル信号の各色成分のゲインを
夫々調整して、輝度値生成部43に出力するRGBゲイ
ン調整部42と、入力されるRGBデジタル信号を輝度
信号に変換してFFT(IFFT)演算部44に出力す
る輝度値生成部43と、輝度値生成部43から入力され
る輝度信号の空間成分を周波数成分に変換してフィルタ
リング部45に出力し、また、フィルタリング部45を
経た周波数成分をIFFT変換して空間成分に逆変換し
て負値積算部48に出力するFFT(IFFT)演算部
44と、を備える。
The IPP unit 4 separates the digital image data input from the front end unit 3 into R, G, and B components (RGB digital signals).
And an RGB gain adjustment unit 42 that adjusts the gain of each color component of the separated RGB digital signal to output to a luminance value generation unit 43, and converts an input RGB digital signal into a luminance signal to perform FFT (IFFT). A luminance value generating unit 43 to be output to the calculating unit 44; a spatial component of the luminance signal input from the luminance value generating unit 43 is converted into a frequency component to be output to the filtering unit 45; (IFFT) operation unit 44 that performs IFFT conversion, inversely converts the space component into a spatial component, and outputs the result to the negative value integration unit 48.

【0030】さらに、上記IPP部4は、復元フィルタ
データROM46に格納された復元フィルタに基づき、
FFT(IFFT)演算部44で周波数成分に変換され
た信号の復元処理を行うフィルタリング部45と、複数
の点像半径に各々対応した複数の復元フィルタのデータ
が格納された復元フィルタデータROM46と、周波数
成分に変換された信号をフィルタリング処理を経た後、
その特定の高周波成分を抽出して累積して得られる高周
波成分積算値をCPU6に出力する高周波成分積算器4
7と、FFT(IFFT)演算部44から入力される空
間周波数成分の負値を積算して得られる負値積算値をC
PU6に出力する負値積算部48と、を備える。尚、I
PP部4の各機能はソフトウエアでも実現可能である
が、図示の如くハードウエアで構成した方が、高速処理
が可能となり好ましい。
Further, the IPP unit 4 performs the following processing on the basis of the restoration filter stored in the restoration filter data ROM 46.
A filtering unit 45 for performing a restoration process of the signal converted to the frequency component by the FFT (IFFT) operation unit 44, a restoration filter data ROM 46 storing data of a plurality of restoration filters respectively corresponding to a plurality of point image radii, After filtering the signal converted to frequency component,
A high-frequency component integrator 4 that outputs to the CPU 6 a high-frequency component integrated value obtained by extracting and accumulating the specific high-frequency component.
7 and a negative value integrated value obtained by integrating the negative values of the spatial frequency components input from the FFT (IFFT) calculation unit 44 are represented by C
And a negative value accumulator 48 for outputting to the PU 6. Note that I
Although each function of the PP unit 4 can be realized by software, it is preferable that the PP unit 4 be configured by hardware as shown in the figure, because high-speed processing can be performed.

【0031】CPU6は、上記した如く、デジタルスチ
ルカメラの各部の動作を制御を司るものであり、具体的
には、例えば、CPU6は、入力される高周波成分積算
値及び/又は負値積算値に基づき、AF評価値を算出し
(AF評価値の詳細な算出方法は後述する)、AF制御
等を行う。
As described above, the CPU 6 controls the operation of each unit of the digital still camera. Specifically, for example, the CPU 6 calculates the input integrated value of the high-frequency component and / or the integrated value of the negative value. Based on this, the AF evaluation value is calculated (a detailed calculation method of the AF evaluation value will be described later), and AF control and the like are performed.

【0032】次に、上記構成のデジタルスチルカメラの
AF(ワンショットAF)動作の概略を説明する。ま
ず、CCD31からA/D変換器33を通じて得られた
RGBデジタル色信号は、画像信号処理を行うIPP部
4に入力する。IPP部4においては、まず、輝度値生
成部43により、輝度信号に変換された後、FFT(I
FFT)演算部44によって空間成分から周波数成分に
変換される。フィルタリング部45では、この周波数成
分に変換された信号に対し、復元フィルタデータROM
46から読み込まれたデータ(1の復元フィルタ)に基
づいて復元処理が行われる。このフィルタリング処理が
施された信号は、高周波成分積算器47に出力されると
共に、FFT(IFFT)演算部44に出力される。
Next, an outline of the AF (one-shot AF) operation of the digital still camera having the above configuration will be described. First, RGB digital color signals obtained from the CCD 31 through the A / D converter 33 are input to the IPP unit 4 that performs image signal processing. In the IPP section 4, first, after being converted into a luminance signal by the luminance value generation section 43, the FFT (I
The spatial component is converted into a frequency component by the FFT (Calculation Unit) 44. In the filtering unit 45, a restoration filter data ROM
The restoration processing is performed based on the data (1 restoration filter) read from 46. The signal on which the filtering process has been performed is output to the high-frequency component integrator 47 and also to the FFT (IFFT) calculation unit 44.

【0033】高周波成分積算器47では、入力される信
号の特定の高周波成分が抽出され、この特定の高周波成
分が累積された高周波成分積算値が、CPUI/F5を
介してCPU6に出力される。
The high-frequency component integrator 47 extracts a specific high-frequency component of the input signal, and outputs a high-frequency component integrated value obtained by accumulating the specific high-frequency component to the CPU 6 via the CPU I / F 5.

【0034】他方、フィルタリング処理されたデータ
は、再度FFT(IFFT)演算部44に入力されて再
び空間成分に変換され負値積算部48に出力される。こ
こで、この再変換されたデータ(画像データ)には負値
が含まれることがある。負値積算部48では、再変換さ
れたデータの負値の積算が行われ得られる負値積算値
が、CPUI/F5を介してCPU6に出力される。す
なわち、1の復元フィルタに対応する高周波成分積算値
及び負値積算値がCPU6に入力されることになる。
On the other hand, the data subjected to the filtering processing is again input to the FFT (IFFT) calculating section 44, converted into a spatial component again, and output to the negative value integrating section 48. Here, the re-converted data (image data) may include a negative value. In the negative value integrating unit 48, a negative value integrated value obtained by integrating the negative values of the reconverted data is output to the CPU 6 via the CPU I / F5. That is, the high frequency component integrated value and the negative value integrated value corresponding to one restoration filter are input to the CPU 6.

【0035】これら、フィルタリング処理→高周波成分
積算→IFFT→負値積算の一連の処理は復元フィルタ
の数だけ繰り返され、復元フィルタの数だけの高周波成
分積算値と負値積算値がCPU6に出力される。
The series of processing of filtering processing → high frequency component integration → IFFT → negative value integration is repeated by the number of restoration filters, and the high frequency component integration values and the negative value integration values by the number of restoration filters are output to the CPU 6. You.

【0036】CPU6では、入力される高周波成分積算
値及び/又は負値積算値に基づき、AF評価値を算出
し、例えばその最小値を検索する。そして、検索された
最小値に対応する復元フィルタナンバーを合焦点指標と
して、対応する焦点レンズ位置(目標位置)が特定され
る。そして、CPU6は、焦点レンズ制御部7に、焦点
レンズを目標位置までの移動を指示する制御データを出
力し、これに応じて、焦点レンズ制御部7は、焦点レン
ズを目標位置まで駆動する。以上の動作でAF動作は終
了する。
The CPU 6 calculates an AF evaluation value based on the inputted high frequency component integrated value and / or negative value integrated value, and searches for a minimum value, for example. Then, the corresponding focus lens position (target position) is specified using the restoration filter number corresponding to the retrieved minimum value as the focus index. Then, the CPU 6 outputs control data for instructing the focus lens control unit 7 to move the focus lens to the target position. In response, the focus lens control unit 7 drives the focus lens to the target position. With the above operation, the AF operation ends.

【0037】(実施の形態2)実施の形態2について図
2を参照して説明する。実施の形態2では、実施の形態
1の構成のデジタルスチルカメラにおいて、合焦点を特
定する第1の方法を説明する。
(Embodiment 2) Embodiment 2 will be described with reference to FIG. In the second embodiment, a first method for specifying the focal point in the digital still camera having the configuration of the first embodiment will be described.

【0038】図2は、合焦点を特定する第1の方法を説
明するための説明図であり、特に、各復元フィルタ(N
o.1〜No.12)と負値積算値との関係の一例を示
している。同図において、横軸は復元フィルタNo、縦
軸は各復元フィルタで復元された画像データの負値積算
値を示す。合焦点を特定する場合には、まず、復元され
た画像データの各々においてAFエリアの負値積算値を
算出しAF評価値とする。
FIG. 2 is an explanatory diagram for explaining a first method for specifying the focal point. In particular, each restoration filter (N
o. 1 to No. 12 shows an example of the relationship between 12) and the negative integrated value. In the figure, the horizontal axis represents the restoration filter No., and the vertical axis represents the negative value integrated value of the image data restored by each restoration filter. When specifying the in-focus point, first, a negative integrated value of the AF area is calculated for each of the restored image data and used as an AF evaluation value.

【0039】通常、合焦点特定においては、合焦点では
負値積算値が最も小さくなるため、その点を合焦点とす
ることが多い。本実施の形態2においては、算出された
負値積算値群からの最小値を探索し、最小値が1つの場
合にはそれを合焦点とし、他方、図2に示すように、複
数存在する場合には点像半径(フィルタナンバー)の最
も大きいものを合焦点とする。
Normally, in specifying the focal point, the negative value integrated value becomes the smallest at the focal point, so that point is often set as the focal point. In the second embodiment, a search is made for the minimum value from the calculated negative value integrated value group, and when there is one minimum value, it is set as the focal point. On the other hand, as shown in FIG. In this case, the point having the largest point image radius (filter number) is set as the focal point.

【0040】上記実施の形態2においては、AF評価値
をAFエリアにおける負値積算値により算出し、この負
値積算値の最小値の位置を合焦点とし、さらに、その最
小値が複数存在する場合には、点像半径の最大のものを
合焦点として合焦点を特定することとしたので、負値積
算値に疑似ピークが存在する場合においても、高精度に
合焦点を決定することが可能となる。
In the second embodiment, the AF evaluation value is calculated from the negative value integrated value in the AF area, the position of the minimum value of the negative value integrated value is set as the focal point, and a plurality of the minimum values exist. In such a case, the focal point is determined using the largest point image radius as the focal point, so that the focal point can be determined with high accuracy even when a pseudo peak exists in the negative integrated value. Becomes

【0041】(実施の形態3)実施の形態3について図
3を参照して説明する。実施の形態3では、実施の形態
1の構成のデジタルスチルカメラにおいて、合焦点を特
定する第2の方法を説明する。
(Embodiment 3) Embodiment 3 will be described with reference to FIG. In the third embodiment, a second method for specifying the focal point in the digital still camera having the configuration of the first embodiment will be described.

【0042】図3は、合焦点を特定する第2の方法を説
明するための説明図であり、特に、各復元フィルタ(N
o.1〜No.12)と、負値積算値と高周波成分積算
値との比の関係の一例を示している。同図において、横
軸は復元フィルタNo、縦軸は各復元フィルタで復元さ
れた画像データの負値積算値と高周波成分積算値との比
を示す。
FIG. 3 is an explanatory diagram for explaining a second method for specifying the focal point. In particular, each restoration filter (N
o. 1 to No. 12) and an example of the relationship between the ratio of the negative value integrated value to the high frequency component integrated value. In the figure, the horizontal axis represents the restoration filter No., and the vertical axis represents the ratio between the negative value integrated value and the high frequency component integrated value of the image data restored by each restoration filter.

【0043】同図において、合焦点を特定する場合に
は、まず、復元された画像の各々において、AFエリア
の負値積算値と特定域の高周波成分を各々算出する。つ
いで、算出された負値積算値群及び高周波成分積算値と
の比を算出しこれをAF評価値とし、その最小値を探索
しそれを合焦点とする。上記を合焦点としたのは、負値
積算値に関しては前述の理由と同じであり、また、高周
波成分積算値に関しては、合焦点では最も高周波成分が
大きくなるためである。これらの比で見た場合、合焦点
では、負値積算値が最小・高周波成分積算値が最大とな
るため、その比は最小となるからである。
In the figure, when the focal point is specified, first, in each of the restored images, the negative value integrated value of the AF area and the high frequency component of the specific area are calculated. Next, the ratio between the calculated negative value integrated value group and the calculated high frequency component integrated value is calculated, and this is used as the AF evaluation value. The minimum value is searched for, and that is used as the focal point. The reason why the above-mentioned focus is set is that the negative value integrated value is the same as the reason described above, and that the high-frequency component integrated value has the largest high-frequency component at the focal point. When viewed from these ratios, at the focal point, the negative value integrated value becomes the minimum and the high frequency component integrated value becomes the maximum, so that the ratio becomes the minimum.

【0044】ここで、負値積算値と高周波成分積算値と
の比は、例えば、下式(1)により算出することができ
る。
Here, the ratio between the negative value integrated value and the high frequency component integrated value can be calculated, for example, by the following equation (1).

【0045】 (負値積算値と高周波成分積算値との比) =|1000−(負値積算値)|/(高周波成分積算値)・・・(1) ただし、||は絶対値を示す。(Ratio between negative value integrated value and high frequency component integrated value) = | 1000− (negative value integrated value) | / (high frequency component integrated value) (1) where || indicates an absolute value .

【0046】上記の如く、(負値積算値と高周波成分積
算値との比)の最小値を探索する方法とすれば、最小値
が複数ある場合が上記した第1の方法に比して少なくな
り、精度が向上する。他方、計算量は第1の方法が少な
いため、合焦位置の特定に要する時間は第1の方法の方
が優れている。
As described above, if the method of searching for the minimum value of (the ratio between the negative value integrated value and the high frequency component integrated value) is used, the case where there are a plurality of minimum values is smaller than in the first method. And the accuracy is improved. On the other hand, since the amount of calculation is smaller in the first method, the time required for specifying the focus position is better in the first method.

【0047】尚、第2の方法において、負値積算値と高
周波成分積算値との比の最小値が複数存在する場合に
は、点像半径(フィルタナンバー)の最も大きいものを
合焦点とする。また、上記式(1)は、負値積算値と高
周波成分積算値との比の定義の一例であり、本発明はこ
れに限られるものではない。
In the second method, when there are a plurality of minimum values of the ratio between the negative value integrated value and the high frequency component integrated value, the one having the largest point image radius (filter number) is set as the focal point. . Expression (1) is an example of the definition of the ratio between the negative value integrated value and the high frequency component integrated value, and the present invention is not limited to this.

【0048】以上説明したように、本実施の形態3にお
いては、AF評価値をAFエリアにおける負値積算値と
高周波成分積算値との比により算出し、負値積算値と高
周波成分積算値の比の最小値を合焦点とし、さらに、そ
の最小値が複数存在する場合、点像半径の最大のものを
合焦点とすることによって合焦点を特定することとした
ので、負値積算値に疑似ピークがあっても高精度に合焦
点を算出することが可能となる。
As described above, in the third embodiment, the AF evaluation value is calculated by the ratio between the negative value integrated value and the high frequency component integrated value in the AF area, and the AF evaluation value is calculated based on the negative value integrated value and the high frequency component integrated value. When the minimum value of the ratio is the focal point, and when there are a plurality of the minimum values, the focal point is determined by using the largest point image radius as the focal point. Even if there is a peak, it is possible to calculate the focal point with high accuracy.

【0049】(実施の形態4)実施の形態4について図
4を参照して説明する。実施の形態4では、実施の形態
1の構成のデジタルスチルカメラにおいて、合焦点を特
定する第3の方法を説明する。
(Embodiment 4) Embodiment 4 will be described with reference to FIG. In the fourth embodiment, a third method for specifying the focal point in the digital still camera having the configuration of the first embodiment will be described.

【0050】図4は、合焦点を特定する第4の方法を説
明するための説明図を示し、特に、各復元フィルタ(N
o.1〜No.12)と、負値積算値と高周波成分積算
値との比の関係の一例を示している。同図において、横
軸は復元フィルタNo、縦軸は各復元フィルタで復元さ
れた画像データの負値積算値と高周波成分積算値との比
を示す。
FIG. 4 is an explanatory diagram for explaining a fourth method for specifying the focal point. In particular, each restoration filter (N
o. 1 to No. 12) and an example of the relationship between the ratio of the negative value integrated value to the high frequency component integrated value. In the figure, the horizontal axis represents the restoration filter No., and the vertical axis represents the ratio between the negative value integrated value and the high frequency component integrated value of the image data restored by each restoration filter.

【0051】同図において、合焦点の特定は、まず、復
元された画像データの各々において、AFエリアの負値
積算値と特定域の高周波成分の積算値を各々算出する。
ついで、算出された負値積算値と高周波成分積算値との
比を算出しこれをAF評価値としてその最小値を探索し
て、その最小値に対応する位置を仮の合焦点とする(図
中Fa)。この第3の方法においても、負値積算値と高
周波成分積算値との比の定義としては、上記式(1)を
用いる。
In the figure, to specify the focal point, first, in each of the restored image data, the negative value integrated value of the AF area and the integrated value of the high frequency component in the specific area are calculated.
Then, the ratio between the calculated integrated value of the negative value and the integrated value of the high frequency component is calculated, and the calculated value is used as the AF evaluation value to search for the minimum value. Middle Fa). Also in the third method, the above equation (1) is used to define the ratio between the negative value integrated value and the high frequency component integrated value.

【0052】次に、この仮の合焦点から点像半径(フィ
ルタナンバー)の大きい方に向かい、再度走査する。こ
のとき、負値積算値と高周波成分積算値との比が、特定
閾値(Rth)以下となった場合(図中Fb、Fc、F
d)には、仮の合焦点と、閾値(Rth)以下となった
フィルタナンバーに基づき、例えば、下式(2)により
合焦点を算出する。
Next, scanning is performed again from the provisional focal point toward the point image radius (filter number) which is larger. At this time, when the ratio between the negative value integrated value and the high frequency component integrated value is equal to or less than the specific threshold value (Rth) (Fb, Fc, F
In d), the in-focus point is calculated by, for example, the following equation (2) based on the temporary in-focus point and the filter number equal to or smaller than the threshold (Rth).

【0053】 (合焦点) =Fa+(c1*Fb+c2*Fc+c3*Fd)/Num・・(2) ただし、c1、c2,c3:係数 c1=c2=c3=1.0 Fa:仮の合焦点(フィルタナンバー) Fb、Fc、Fd:閾値Rth以下となったフィルタナ
ンバー Num:閾値Rth以下となった場合のフィルタナンバ
ー数
(Focus) = Fa + (c1 * Fb + c2 * Fc + c3 * Fd) / Num (2) where c1, c2, c3: coefficient c1 = c2 = c3 = 1.0 Fa: temporary focus ( Fb, Fc, Fd: Filter numbers below threshold Rth Num: Number of filter numbers below threshold Rth

【0054】上記式(2)は、合焦点を算出する際に、
仮の合焦点に閾値Rth以下となったフィルタナンバー
の加重平均値を加えたものである。尚、考慮する成分
は、上記式(2)に限定されるものではなく、また、係
数を、c1=c2=c3=1.0としているが、これに
限定されるものではない。
The above equation (2) is used to calculate the focal point.
This is obtained by adding the weighted average value of the filter numbers that have become equal to or less than the threshold value Rth to the temporary focus point. The components to be considered are not limited to the above equation (2), and the coefficients are set to c1 = c2 = c3 = 1.0, but are not limited thereto.

【0055】以上説明したように、本実施の形態4にお
いては、AF評価値を、AFエリアにおける負値積算値
と高周波成分積算値との比により算出し、負値積算値と
高周波成分積算値との比の最小値を仮の合焦点とし、そ
の仮の合焦点から点像半径が大きくなる方向に負値積算
値と高周波成分積算値との比を再度走査し、その比が特
定閾値以下になる場合、その時の点像半径分を重みとし
て仮の合焦点におり込むことによって真の合焦点を特定
することとしたので、負値積算値に疑似ピークがあって
も高精度に合焦点を算出することが可能となる。
As described above, in the fourth embodiment, the AF evaluation value is calculated by the ratio between the negative value integrated value and the high frequency component integrated value in the AF area, and the negative value integrated value and the high frequency component integrated value are calculated. The minimum value of the ratio is assumed to be a temporary focal point, and the ratio between the negative value integrated value and the high frequency component integrated value is re-scanned from the temporary focal point in the direction in which the point image radius increases, and the ratio is equal to or less than the specific threshold In this case, the point of focus at that time is used as a weight to determine the true focal point by focusing on the temporary focal point. Can be calculated.

【0056】(実施の形態5)実施の形態5について図
5を参照して説明する。実施の形態5では、実施の形態
1の構成のデジタルスチルカメラにおいて、合焦点を特
定する第4の方法を説明する。
(Fifth Embodiment) A fifth embodiment will be described with reference to FIG. In the fifth embodiment, a fourth method for specifying the focal point in the digital still camera having the configuration of the first embodiment will be described.

【0057】図5は、合焦点を特定する第4の方法を説
明するための説明図を示し、特に、各復元フィルタ(N
o.1〜No.12)と、負値積算値と高周波成分積算
値との比の関係の一例を示している。同図において、横
軸は復元フィルタNo、縦軸は各復元フィルタで復元さ
れた画像データの負値積算値と高周波成分積算値との比
を示す。
FIG. 5 is an explanatory diagram for explaining a fourth method for specifying the focal point. In particular, each restoration filter (N
o. 1 to No. 12) and an example of the relationship between the ratio of the negative value integrated value to the high frequency component integrated value. In the figure, the horizontal axis represents the restoration filter No., and the vertical axis represents the ratio between the negative value integrated value and the high frequency component integrated value of the image data restored by each restoration filter.

【0058】同図において、合焦点の特定は、まず、復
元された画像データの各々において、AFエリアの負値
積算値と特定域の高周波成分の積算値を各々算出する。
ついで、算出された負値積算値及び高周波積分値との比
を算出しこれをAF評価値とし、その最小値を探索しそ
れを仮の合焦点とする(図中Fa)。本実施の形態5で
は、負値積算値及び高周波積分値との比を比の定義とし
ては、上記式(1)を用いる。
In the figure, to specify the focal point, first, in each of the restored image data, the negative value integrated value of the AF area and the integrated value of the high frequency component in the specific area are calculated.
Next, the ratio between the calculated negative value integrated value and high frequency integrated value is calculated and used as an AF evaluation value, and the minimum value is searched for and set as a temporary focal point (Fa in the figure). In the fifth embodiment, the above equation (1) is used to define the ratio of the ratio between the negative value integrated value and the high frequency integrated value.

【0059】次に、仮の合焦点から点像半径(フィルタ
ナンバー)の大きい方に向かい、再度走査する。このと
き、負値積算値及び高周波積分値との比と特定閾値(R
th)を比較し、負値積算値及び高周波積分値との比が
特定閾値以下となるフィルタNo(図中Fb、Fc、F
d)を考慮して合焦点を算出する。具体的には、合焦点
を算出する場合に、閾値Rth以下となったフィルタナ
ンバーと、各々のフィルタナンバーにおける比の値と閾
値との差、すなわち、深さ成分(図中Db、Dc、D
d)をファクタとして入れ、例えば、下式(3)により
合焦点を算出する。
Next, scanning is performed again from the temporary focal point to the point image having a larger radius (filter number). At this time, the ratio between the negative integrated value and the high frequency integrated value and the specific threshold value (R
th) and filter Nos (Fb, Fc, F in the figure) whose ratio between the negative value integrated value and the high frequency integrated value is equal to or less than the specific threshold value
The focal point is calculated in consideration of d). More specifically, when calculating the focal point, the difference between the filter number that is equal to or less than the threshold value Rth and the ratio value and the threshold value for each filter number, that is, the depth component (Db, Dc, D in the figure)
d) is set as a factor, and the focal point is calculated by, for example, the following equation (3).

【0060】 (合焦点) =Fa+(c1*Fb*Db+c2*Fc*Dc+c3*Fd*Dd) /Num・・・(3) ただし、c1、c2,c3:係数 c1=c2=c3=1.0 Fa:仮の合焦点(フィルタナンバー) Fb、Fc、Fd:閾値Rth以下となったフィルタナ
ンバー Db:閾値Rthからの深さのファクタDb=1−Rb
/Rth Dc:閾値Rthからの深さのファクタDc=1−Rc
/Rth Dd:閾値Rthからの深さのファクタDd=1−Rd
/Rth Num:閾値Rth以下となった場合のフィルタナンバ
ー数
(Focus) = Fa + (c1 * Fb * Db + c2 * Fc * Dc + c3 * Fd * Dd) / Num (3) where c1, c2, and c3 are coefficients c1 = c2 = c3 = 1.0. Fa: provisional focal point (filter number) Fb, Fc, Fd: filter number equal to or less than threshold value Rth Db: depth factor from threshold value Rth Db = 1−Rb
/ Rth Dc: Depth factor from threshold Rth Dc = 1−Rc
/ Rth Dd: Depth factor from threshold Rth Dd = 1−Rd
/ Rth Num: Number of filter numbers when the number is equal to or smaller than threshold value Rth

【0061】上記式(3)は、合焦点を算出する際に、
仮の合焦点に閾値Rth以下となったフィルタナンバー
と閾値Rthからの深さのファクタとの加重平均値を加
えたものである。尚、考慮する成分は、上記式(3)に
限定されるものではなく、また、係数を、c1=c2=
c3=1.0としているが、これに限定されるものでは
ない。
Equation (3) is used to calculate the focal point.
The weighted average value of the filter number that has become equal to or smaller than the threshold value Rth and the depth factor from the threshold value Rth is added to the temporary focus point. The components to be considered are not limited to the above equation (3), and the coefficients are expressed as c1 = c2 =
Although c3 = 1.0, the invention is not limited to this.

【0062】以上説明したように、実施の形態5におい
ては、AF評価値をAFエリアにおける負値積算値と高
周波成分積算値との比により算出し、負値積算値と高周
波成分積算値との比の最小値を仮の合焦位置とし、ま
た、その仮の合焦点から点像半径が大きくなる方向に負
値積算値と高周波成分積算値との比を再度走査し、その
比が特定閾値以下になる場合、その時の点像半径分及び
その比がどれくらい閾値以下になっているのかの程度分
を重みとして仮の合焦点に付加することによって真の合
焦点を特定してしているので、負値積算値に疑似ピーク
があっても高精度に合焦点を算出することが可能とな
る。
As described above, in the fifth embodiment, the AF evaluation value is calculated by the ratio between the negative value integrated value and the high frequency component integrated value in the AF area, and the value of the negative value integrated value and the high frequency component integrated value is calculated. The minimum value of the ratio is set as a temporary focus position, and the ratio between the negative value integrated value and the high frequency component integrated value is re-scanned from the temporary focus point in the direction in which the point image radius increases, and the ratio is set to a specific threshold value. If it is less than or equal to the value, the true focal point is specified by adding the weight of the point image radius at that time and the ratio of how much the ratio is below the threshold to the temporary focal point. It is possible to calculate the focal point with high accuracy even if there is a pseudo peak in the negative integrated value.

【0063】(実施の形態6)実施の形態6について図
6を参照して説明する。実施の形態5では、実施の形態
1の構成のデジタルスチルカメラにおいて、合焦点を特
定する第5の方法を説明する。図6は、合焦点を特定す
る第5の方法を説明するためのフローチャートであり、
本実施の形態6のワンショットAF動作の概略を示す。
(Embodiment 6) Embodiment 6 will be described with reference to FIG. In the fifth embodiment, a fifth method for specifying the focal point in the digital still camera having the configuration of the first embodiment will be described. FIG. 6 is a flowchart for explaining a fifth method of specifying the focal point,
The outline of the one-shot AF operation of the sixth embodiment is shown.

【0064】図6において、まず、初期焦点レンズ位置
において、撮影して画像データ(例えば、画像取り込み
8bit/画素)を取り込み(ステップS10)、AF
エリア(例えば、256×256画素のエリア)を切り
出す(ステップS11)。ついで、このAFエリアにお
いて、平均輝度(Yave )を算出し(ステップS1
2)、この平均輝度(Yave )が特定輝度範囲(適正輝
度範囲)内にあるか否かを判断する。具体的には、Ylo
w (例えば、100)≦Yave ≦Yhigh(例えば、13
0)であるか否かを判断する(ステップS13)。この
判断の結果、Ylow≦Yave ≦Yhighである場合には、
ステップS14に移行して、ワンショットAFの実質的
な処理を開始する。
In FIG. 6, first, at the initial focus lens position, an image is taken and image data (for example, image capture 8 bits / pixel) is captured (step S10), and AF is performed.
An area (for example, an area of 256 × 256 pixels) is cut out (step S11). Next, in this AF area, an average luminance (Yave) is calculated (step S1).
2) It is determined whether or not the average luminance (Yave) is within a specific luminance range (appropriate luminance range). Specifically, Ylo
w (eg, 100) ≦ Yave ≦ Yhigh (eg, 13
0) is determined (step S13). As a result of this determination, if Ylow ≦ Yave ≦ Yhigh,
The process proceeds to step S14 to start the substantial processing of the one-shot AF.

【0065】他方、Ylow ≦Yave ≦Yhighでない場合
にはステップS15に移行して、平均輝度値(Yave )
が、特定輝度範囲(Ylow ≦Yave ≦Yhigh)に入るよ
うに調整を行う。具体的には、この調整は、AFエリア
の全画素について算術的に行う。すなわち、目標平均輝
度値を100とし、平均輝度が95であったとき、差分
の5をオフセットとして加(減)算する。尚、この実施
の形態では、適正輝度範囲の閾値を、Ylow =100、
Yhigh=130とし、適正輝度範囲を超えていたときの
調整する目標平均輝度を100としているが、A/D変
換される最高輝度設定基準に対し40%〜50%であれ
ば、これらの値に限定されない。また、平均輝度値を算
術演算により調整する方法に限らず、撮影条件等を変え
て再度撮影(画像取り込み)して平均輝度値を算出する
ことにしても良い。さて、この平均輝度値の調整が終了
すると、処理はステップS14に移行して、ワンショッ
トAFの実質的な処理を開始する。
On the other hand, if Ylow ≦ Yave ≦ Yhigh is not satisfied, the flow shifts to step S15, where the average luminance value (Yave)
Is adjusted so as to fall within a specific luminance range (Ylow ≦ Yave ≦ Yhigh). Specifically, this adjustment is performed arithmetically for all pixels in the AF area. That is, when the target average luminance value is 100 and the average luminance is 95, the difference of 5 is added (decreased) as an offset. In this embodiment, the threshold of the appropriate luminance range is set to Ylow = 100,
The target average luminance to be adjusted when the luminance exceeds the appropriate luminance range is set to 100. However, if the target average luminance is 40% to 50% with respect to the maximum luminance setting reference for A / D conversion, these values are Not limited. The average luminance value is not limited to the method of adjusting the average luminance value by arithmetic operation, and the photographing (image capturing) may be performed again by changing the photographing conditions and the like, and the average luminance value may be calculated. When the adjustment of the average luminance value is completed, the process proceeds to step S14, and the substantial processing of the one-shot AF is started.

【0066】以下、ワンショットAFの実質的な処理に
ついて説明する。まず、ステップS14では、AFエリ
アの画像データに対応する輝度信号を、FFT(IFF
T)演算部44によって空間成分から周波数成分に変換
する。そして、各復元フィルタ(例えば、FiltN
o.0〜120)について、合焦点の検索が行われる
(ステップS16)。具体的には、まず、フィルタリン
グ部45は、この周波数成分に変換された信号に対し、
復元フィルタデータROM46から読み込まれたデータ
(1の復元フィルタ)にアクセスし(ステップS2
4)、復元処理を行う(ステップS17)。そして、高
周波成分積算器47は、入力される信号の特定の高周波
成分を抽出しこの特定の高周波成分を累積して高周波成
分積算値を算出する(ステップS18)。また、FFT
(IFFT)演算部44は、フィルタリング処理された
データを空間成分に変換する(ステップS19)。負値
積算部48は、再変換されたデータの負値を積算して負
値積算値を算出する(ステップS20)。この高周波成
分積算値及び負値積算値の算出は、全ての復元フィルタ
(FiltNo.0〜120について行われる(ステッ
プS21)。
Hereinafter, the substantial processing of the one-shot AF will be described. First, in step S14, a luminance signal corresponding to the image data in the AF area is converted to an FFT (IFFF).
T) The spatial component is converted into a frequency component by the calculation unit 44. Then, each restoration filter (for example, FiltN
o. A search for a focal point is performed for (0 to 120) (step S16). Specifically, first, the filtering unit 45 applies the signal converted to the frequency component to
The data (1 restoration filter) read from the restoration filter data ROM 46 is accessed (step S2).
4), a restoration process is performed (step S17). Then, the high frequency component integrator 47 extracts a specific high frequency component of the input signal and accumulates the specific high frequency component to calculate a high frequency component integrated value (step S18). Also, FFT
The (IFFT) calculation unit 44 converts the filtered data into spatial components (step S19). The negative value integrating unit 48 calculates the negative value integrated value by integrating the negative values of the reconverted data (step S20). The calculation of the high-frequency component integrated value and the negative value integrated value is performed for all restoration filters (Filt Nos. 0 to 120) (step S21).

【0067】最後に、上記算出した高周波成分積算値群
及び負値積算値群に基づき、合焦点位置を算出して(ス
テップS22)、合焦点位置に焦点レンズを駆動する
(ステップS23)。
Finally, based on the calculated high-frequency component integrated value group and negative value integrated value group, the in-focus position is calculated (step S22), and the focusing lens is driven to the in-focus position (step S23).

【0068】以上説明したように、本実施の形態6にお
いては、一連のワンショットAF動作を行うに先立ち、
AFエリア内の平均輝度を算出し、その平均輝度が特定
輝度範囲からはずれている場合に、当該AFエリア平均
輝度が当該特定輝度範囲に入るように輝度調整し、その
後ワンショットAF動作に入ることによって、合焦点を
特定しているので、ワンショットAFによって合焦点指
標を算出する際、取り込んだAFエリアの輝度により起
因した本来の合焦点からのずれを防止することができ、
高精度に合焦点を決定することが可能となる。
As described above, in the sixth embodiment, prior to performing a series of one-shot AF operations,
Calculate the average luminance in the AF area, and when the average luminance is out of the specific luminance range, adjust the luminance so that the average luminance in the AF area falls in the specific luminance range, and then enter the one-shot AF operation. Since the focal point is specified, the deviation from the original focal point caused by the brightness of the captured AF area can be prevented when calculating the focal point index by one-shot AF,
It is possible to determine the focal point with high accuracy.

【0069】(実施の形態7)実施の形態7について図
7及び図8を参照して説明する。実施の形態7では、実
施の形態1の構成のデジタルスチルカメラにおいて、ワ
ンショットAFを行うに先立ち、AFエリアに対し窓関
数処理を施して、AFエリアの近傍の影響を少なくする
例を説明する。
(Seventh Embodiment) A seventh embodiment will be described with reference to FIGS. In the seventh embodiment, an example will be described in which, in the digital still camera having the configuration of the first embodiment, a window function process is performed on an AF area prior to performing one-shot AF to reduce the influence near the AF area. .

【0070】図7は、AFエリア内の画素位置と相対強
度の関係の一例を示す。同図において、横軸はAFエリ
ア内の画素位置、縦軸は相対強度を示す。尚、同図で
は、説明を簡潔にするため一次元で示しているが、実際
には2次元に拡張している。
FIG. 7 shows an example of the relationship between the pixel position in the AF area and the relative intensity. In the figure, the horizontal axis indicates the pixel position in the AF area, and the vertical axis indicates the relative intensity. Although the drawing is shown in one dimension for simplicity, it is actually expanded to two dimensions.

【0071】まず、初期焦点レンズ位置において、撮影
(画像取り込み)を行い、AFエリアを切り出す。ここ
では、256×256画素のサイズである。このAFエ
リアにおいて、下式(4)に示すような窓関数処理を2
次元的に行う。
First, photographing (image capture) is performed at the initial focus lens position, and an AF area is cut out. Here, the size is 256 × 256 pixels. In this AF area, window function processing as shown in the following equation (4)
Perform dimensionally.

【0072】 V[i] =data[i]*{0.54−0.46* cos(2.0*3.14*i/N)} ・・・(4) ただし、V:窓関数処理後の画素位置iの画素データ i:画素位置0〜255 data:窓関数処理前の画素位置iの画素データ N:窓サイズここではN=256V [i] = data [i] * {0.54-0.46 * cos (2.0 * 3.14 * i / N)} (4) where V: window function processing Pixel data at the subsequent pixel position i: Pixel position 0 to 255 data: Pixel data at the pixel position i before the window function processing N: Window size N = 256

【0073】この窓関数処理は、いわゆる画素位置によ
る重み付けであって、図7に示されるとおり、AFエリ
アのエッジ近くなるにしたがって画像情報としてのウェ
イトが落ちることを示している。そして、窓関数処理が
終了した後、ワンショットAFの実質的な処理に入る。
尚、この実施の形態では、窓関数としてハミング窓を使
用しているが、本発明はこれに限定されるものではな
い。
This window function process is a so-called weighting based on the pixel position, and as shown in FIG. 7, shows that the weight as image information decreases as the edge of the AF area approaches. Then, after the window function processing is completed, the subroutine enters the substantial processing of the one-shot AF.
In this embodiment, a Hamming window is used as a window function, but the present invention is not limited to this.

【0074】図8は、上記窓関数処理を行うための窓関
数処理ユニットの構成例を示している。図8に示す窓関
数処理ユニットは、セレクタ21で選択された窓関数に
基づいて窓関数処理を行う窓関数処理部20と、複数種
の窓関数1〜Mを記憶した窓関数データROM22と、
複数の窓関数の中から最適な窓関数を選択するセレクタ
21とを備える。
FIG. 8 shows a configuration example of a window function processing unit for performing the window function processing. The window function processing unit illustrated in FIG. 8 includes a window function processing unit 20 that performs a window function process based on the window function selected by the selector 21, a window function data ROM 22 storing a plurality of types of window functions 1 to M,
A selector 21 for selecting an optimal window function from a plurality of window functions.

【0075】次に、この窓関数処理ユニットの動作を簡
単に説明する。まず、CCDから取り込まれた画像デー
タはA/D変換された後、輝度データに変換される。そ
して、AFエリアの画像データ(輝度データ)が抽出さ
れ、窓関数処理部20に入力される。窓関数処理部20
は、窓関数データROM22から読み出された窓関数デ
ータと画像輝度データとを演算し、窓関数処理した画像
データを出力する。このとき、窓関数データROM22
には、複数の窓関数が格納されており、セレクタ21に
より、どの窓関数処理を行うかが選択される。また、セ
レクタ21は、例えば、交換レンズからの情報や復元フ
ィルタからの情報に基づき、窓関数を選択することにし
ても良い。尚、本実施の形態7を実施するためには、上
記図8に示した窓関数処理ユニットを、実施の形態1の
構成のデジタルスチルカメラに付加すれば良い。
Next, the operation of the window function processing unit will be briefly described. First, the image data captured from the CCD is A / D converted and then converted into luminance data. Then, image data (luminance data) of the AF area is extracted and input to the window function processing unit 20. Window function processing unit 20
Calculates the window function data and the image luminance data read from the window function data ROM 22, and outputs the image data subjected to the window function processing. At this time, the window function data ROM 22
Stores a plurality of window functions, and the selector 21 selects which window function process is to be performed. The selector 21 may select a window function based on information from an interchangeable lens or information from a restoration filter, for example. In order to implement the seventh embodiment, the window function processing unit shown in FIG. 8 may be added to the digital still camera having the configuration of the first embodiment.

【0076】以上説明したように、本実施の形態7にお
いては、一連のワンショットAFを行うに先立ち、AF
エリアに対し窓関数処理を施しているので、AFエリア
の近傍の影響を少なくすることが可能となる。付言する
と、一般に、ワンショットAF処理を行う際の処理の1
つであるフーリエ変換(FFT)処理をAFエリアにつ
いて行うとき、AFエリアの辺近傍がエッジとなり、不
要な高周波成分を生じることがあり、また、ワンショッ
トAFでは、合焦点の特定に高周波成分積算値を利用す
ることもあり、上記不要な高周波成分が混入すると合焦
点特定の精度が低下するが、本実施の形態7では、AF
エリアに対し窓関数処理を施しているので、その影響を
防止することができる。
As described above, in the seventh embodiment, prior to performing a series of one-shot AF, the AF
Since the window function processing is performed on the area, the influence near the AF area can be reduced. In addition, generally, one of the processes when performing the one-shot AF process is described.
When the Fourier transform (FFT) processing is performed on the AF area, the vicinity of the side of the AF area becomes an edge, and unnecessary high-frequency components may be generated. In the one-shot AF, high-frequency component integration is performed to specify a focal point. Although the value may be used, if the unnecessary high-frequency components are mixed, the accuracy of the focus determination is reduced.
Since the window function processing is performed on the area, the influence can be prevented.

【0077】(実施の形態8)実施の形態8について図
9を参照して説明する。実施の形態8では、実施の形態
1の構成のデジタルスチルカメラにおいて、効率的な復
元フィルタの配置例を説明する。
Embodiment 8 Embodiment 8 will be described with reference to FIG. In the eighth embodiment, an example of efficient arrangement of restoration filters in the digital still camera having the configuration of the first embodiment will be described.

【0078】図9は、実施の形態8に係る復元フィルタ
を説明するための図を示し、(a)は従来の復元フィル
タの配置例を示し、(b)は本実施の形態8に係る復元
フィルタの配置例を示す。また、図9は初期焦点レンズ
位置を無限大としたときのものを示す。ただし、同図
は、復元フィルタの構造を分かり易く示したものであ
り、実際の距離にこのフィルタが存在するわけではな
い。
FIGS. 9A and 9B are diagrams for explaining a restoration filter according to the eighth embodiment. FIG. 9A shows an example of the arrangement of a conventional restoration filter, and FIG. 9B shows the restoration according to the eighth embodiment. The example of arrangement of a filter is shown. FIG. 9 shows the case where the initial focus lens position is set to infinity. However, FIG. 3 shows the structure of the restoration filter in an easily understandable manner, and this filter does not necessarily exist at an actual distance.

【0079】図9(a)に示す従来の復元フィルタの構
成では、120枚フィルタを使用し、図9(b)に示す
本実施の形態の復元フィルタの構成では、復元フィルタ
を60枚使用しており、復元フィルタを30[cm]〜
300[cm]∞の距離に割り付けている。
In the configuration of the conventional restoration filter shown in FIG. 9A, 120 filters are used, and in the configuration of the restoration filter of the present embodiment shown in FIG. 9B, 60 restoration filters are used. And the restoration filter is 30 [cm] ~
It is assigned to a distance of 300 [cm] ∞.

【0080】ところで、合焦点を特定する場合、実際に
は、合焦点は1点のみではなく、被写界深度などを考慮
すればある範囲の幅を持った、すなわち、見かけ上合焦
しているとみなされる範囲で決定される。特に、被写体
が遠方にあればあるほど、この合焦許容範囲は広くな
り、この範囲で対応する復元フィルタを複数配置しても
意味はない。これに対して、至近距離であるほど合焦許
容範囲は狭くなるため、より多くの対応する復元フィル
タを配置しなければならない。
When the focal point is specified, actually, the focal point is not only one point, but has a certain range of width in consideration of the depth of field and the like. Is determined within the range considered to be In particular, the farther the subject is, the wider the allowable focus range becomes, and it is meaningless to arrange a plurality of corresponding restoration filters in this range. On the other hand, the closer the distance is, the narrower the allowable focus range becomes. Therefore, more corresponding restoration filters must be arranged.

【0081】本実施の形態8では、図9(b)に示され
るように、復元フィルタを、至近側で密、遠方側で粗に
なるように配置する。これにより精度の高いワンショッ
トAFが実現できるようにしている。尚、この実施の形
態では、速度・コスト・実装の面から、復元フィルタの
数をなるべく減らすようにして、復元フィルタ数を12
0枚〜60枚にして各距離に割り振っているが、本発明
はこれに限られるものではなく、復元フィルタ数を12
0枚のままで割り振っても良い。また、復元フィルタ数
もここに列挙されたものに限られるものではない。
In the eighth embodiment, as shown in FIG. 9B, the restoration filters are arranged so as to be dense on the near side and coarse on the far side. As a result, highly accurate one-shot AF can be realized. In this embodiment, in terms of speed, cost, and mounting, the number of restoration filters is reduced as much as
Although 0 to 60 sheets are allocated to each distance, the present invention is not limited to this, and the number of restoration filters is 12
It is also possible to assign the number of sheets without changing them. Also, the number of restoration filters is not limited to those listed here.

【0082】以上説明したように、本実施の形態8にお
いては、ワンショットAFに使用する復元フィルタを、
至近距離に対応する復元フィルタの数の密度を遠距離に
対応する復元フィルタの数の密度に対して相対的に大き
くしているので、無駄なく効率良く復元フィルタを配置
でき、精度の高いワンショットAFを実現できる。
As described above, in the eighth embodiment, the restoration filter used for the one-shot AF is
Since the density of the number of restoration filters corresponding to the closest distance is relatively large with respect to the density of the number of restoration filters corresponding to the long distance, the restoration filters can be efficiently arranged without waste, and one-shot with high accuracy AF can be realized.

【0083】(実施の形態9)実施の形態9について図
10を参照して説明する。実施の形態10では、実施の
形態1の構成のデジタルスチルカメラにおいて、複数の
AFエリアを設けて合焦する動作例を説明する。
(Embodiment 9) Embodiment 9 will be described with reference to FIG. In the tenth embodiment, an example of an operation in which a plurality of AF areas are provided for focusing in the digital still camera having the configuration of the first embodiment will be described.

【0084】図10は、本実施の形態9に係るAFエリ
アを説明するための説明図を示し、図10(a)は画像
フレームの中央付近の数カ所にAFエリアを設定した場
合を示し、図10(b)は画像フレームの全体を均等に
分割したAFエリアを示す。
FIG. 10 is an explanatory diagram for explaining an AF area according to the ninth embodiment. FIG. 10A shows a case where AF areas are set at several places near the center of an image frame. 10B shows an AF area obtained by equally dividing the entire image frame.

【0085】図10(a)は、画像フレームを1280
×1024画素とし、画像フレームの中央近傍に、並列
にAFエリア(256×256画素)3つ設定したもの
であり、便宜的に左から順に、左AFエリア、中央AF
エリア、右AFエリアとする。また、図10(b)は、
画像フレームを1280×1024画素とし、画像フレ
ームを均等に5×4に分割したAFエリアを設定したも
のであり、便宜的に、左上から右下に向かって、AFエ
リア11,AFエリア12,・・・、AFエリア21,
AFエリア22,・・・AFエリア45とする。
FIG. 10A shows a case where the image frame is 1280.
× 1024 pixels, and three AF areas (256 × 256 pixels) are set in parallel near the center of the image frame. For convenience, the left AF area and the central AF area are arranged in order from the left.
Area, right AF area. FIG. 10 (b)
The image frame is 1280 × 1024 pixels, and an AF area is set by equally dividing the image frame into 5 × 4. For convenience, the AF area 11, the AF area 12,. .., AF area 21,
The AF area 22,...

【0086】図10(a)において、複数の被写体候補
が存在し、撮影者がどの被写体を目標とするかを選定す
る場合を想定する。まず、デジタルスチルビデオカメラ
では、一回のワンショットAF動作により、取り込まれ
た画像フレームから、左AFエリア、中央AFエリア、
右AFエリアに対応する領域を切り出し、各々のエリア
毎に合焦指標値が算出される。
In FIG. 10A, it is assumed that there are a plurality of subject candidates, and the photographer selects which subject is the target. First, in a digital still video camera, a left AF area, a central AF area,
An area corresponding to the right AF area is cut out, and a focus index value is calculated for each area.

【0087】撮影者は、図示しない操作ボタンを操作
し、目標とする被写体を含むAFエリアを選択する。こ
れに応じて、デジタルスチルビデオカメラでは、選択さ
れたAFエリアの合焦指標値を取り出し、その値を基
に、焦点レンズを所定の位置に移動させるように制御す
る。これにより、AFエリアが1つしかないとき、順
次、AFエリアをその被写体候補に合わせて、その度に
ワンショットAF動作を繰り返すような冗長動作が避け
られ、高速なワンショットAF動作が得られる。
The photographer operates an operation button (not shown) to select an AF area including a target subject. In response, the digital still video camera retrieves the focus index value of the selected AF area and controls the focus lens to move to a predetermined position based on the value. Accordingly, when there is only one AF area, a redundant operation in which the AF area is sequentially adjusted to the subject candidate and the one-shot AF operation is repeated each time is avoided, and a high-speed one-shot AF operation is obtained. .

【0088】図10(b)においても、上記図10
(a)で説明したのと同様な動作が行われる。ただし、
この場合は、合焦指標値を算出する場合には、全てのA
Fエリアでなくとも良く、撮影者によっていくつかのピ
ックアップされたAFエリアについてのみ行うことにし
ても良い。また、全てのAFエリアについてその合焦指
標値が算出される場合、その被写体距離情報が画像情報
とともに格納されれば、ポスト処理として、パーソナル
コンピュータとアプリケーションソフトウエアに代表さ
れる適当な画像処理手段により、至近から遠方に至るま
で焦点の合った画像を生成することも可能となる。
In FIG. 10 (b), FIG.
The same operation as described in (a) is performed. However,
In this case, when calculating the focus index value, all A
It may not be the F area, but may be performed only for some AF areas picked up by the photographer. When the focus index value is calculated for all AF areas, if the subject distance information is stored together with the image information, appropriate image processing means typified by a personal computer and application software can be used as post processing. Thereby, it is also possible to generate an in-focus image from near to far.

【0089】尚、本発明においては、上記図10に示す
AFエリアのサイズ、形状、配置に限定されるものでは
なく、また、各AFエリアに重複部分があっても良い。
In the present invention, the size, shape, and arrangement of the AF areas shown in FIG. 10 are not limited, and each AF area may have an overlapping portion.

【0090】以上説明したように、上記実施の形態9に
おいては、少なくとも2以上のAFエリアを備え、この
各AFエリア毎の合焦指標値を算出し、操作者により指
定されたAFエリアに関してのみ合焦動作を行うことと
したので、冗長な動作を排し高速なワンショットAFを
実現できる。
As described above, in the ninth embodiment, at least two or more AF areas are provided, the focus index value for each AF area is calculated, and only the AF area designated by the operator is calculated. Since the focusing operation is performed, a high-speed one-shot AF can be realized by eliminating redundant operations.

【0091】(実施の形態10)実施の形態10につい
て図11及び図12を参照して説明する。実施の形態1
0では、実施の形態1の構成のデジタルスチルカメラに
おいて、ワンショットAFを粗調に使用し、山登りサー
ボ法を微調に使用する動作例を説明する。
(Embodiment 10) Embodiment 10 will be described with reference to FIG. 11 and FIG. Embodiment 1
0, an operation example in which the one-shot AF is used for coarse adjustment and the hill-climbing servo method is used for fine adjustment in the digital still camera having the configuration of the first embodiment will be described.

【0092】本実施の形態10では、まず、ワンショッ
トAFを粗調に使用して、概略の被写体位置を決定し、
その対応位置まで焦点レンズを移動させ、ついで、山登
りサーボ法により微調を行って、最終的な合焦位置まで
焦点レンズを移動させる。
In the tenth embodiment, first, a rough subject position is determined by using one-shot AF for coarse adjustment.
The focus lens is moved to the corresponding position, and then fine adjustment is performed by the hill-climbing servo method to move the focus lens to the final focus position.

【0093】図11は、従来のワンショットAF及び山
登りサーボ法を説明するための説明図、図12は、実施
の形態10に係るワンショットAF及び山登りサーボ法
を説明するための説明図を示す。また、図11及び図1
2は、ワンショットAF動作を説明するための図(同図
の上方に示す図)と山登りサーボ法を説明するための図
(同図の下方に示す図)を対応づけて示す。
FIG. 11 is an explanatory diagram for explaining the conventional one-shot AF and hill-climbing servo method, and FIG. 12 is an explanatory diagram for explaining the one-shot AF and the hill-climbing servo method according to the tenth embodiment. . 11 and FIG.
FIG. 2 shows a diagram for explaining the one-shot AF operation (the diagram shown in the upper part of the figure) and a figure for explaining the hill-climbing servo method (the figure shown in the lower part of the figure) in association with each other.

【0094】図12において、上記ワンショットAF動
作を説明するための図は、レンズ位置、被写体位置、復
元フィルタ、及びワンショットAF評価値の関係を示し
ている。同図に示す如く、焦点位置が∞〜Near(最
至近)の間に、各々が各距離に対応した7つの復元フィ
ルタNo.1〜No.7(フィルタ群)を備えている。
各々の復元フィルタNo.1〜No.7によって画像を
復元しAF評価値を求める。ここで、合焦点はAF評価
値の最小値を示すフィルタナンバーであり、図12に示
す例の場合、被写体位置近傍のフィルタNo.6におい
て、AF評価値が合焦位置であることを出力する。この
信号に基づき、焦点レンズをフィルタNo.5に相当す
る位置に移動させる。尚、従来では、図11に示すよう
に、フィルタNo.6に移動していた。
In FIG. 12, a diagram for explaining the one-shot AF operation shows a relationship among a lens position, a subject position, a restoration filter, and a one-shot AF evaluation value. As shown in the drawing, when the focal position is between ∞ and Near (closest), seven restoration filter Nos. Each corresponding to each distance. 1 to No. 7 (filter group).
Each restoration filter No. 1 to No. 7, the image is restored, and the AF evaluation value is obtained. Here, the focal point is a filter number indicating the minimum value of the AF evaluation value. In the case of the example shown in FIG. At 6, the AF evaluation value is output to indicate that it is the in-focus position. Based on this signal, the focus lens is set to the filter No. Move to the position corresponding to 5. Conventionally, as shown in FIG. Had moved to 6.

【0095】その後、山登りサーボ法の制御に切替えて
微調を行う。従来では、図11に示すように、合焦点の
方向を検出するため、少なくとも2点を移動してデータ
をとり、AF評価値の傾き方向(くだりスロープか上が
りスロープ)かを知る必要があった。これに対して、本
実施の形態では、図12に示すように、焦点レンズを粗
調の合焦点指標値の1つ手前の指標値に移動し、続い
て、山登りサーボ法により、No.5からNo.6の方
向に移動させ、最終的な合焦位置に移動させる。山登り
サーボ法ではAF評価値の最大となる位置が合焦位置と
して検出される。すなわち、山登りサーボ法で走査する
方向は一方向(この実施例では、フィルタNo.の大き
くなる方向)に定まる。よって、従来のように、新たに
合焦方向を検出するような冗長な動作が不必要となる。
Thereafter, the control is switched to the control of the hill-climbing servo method to perform fine adjustment. In the related art, as shown in FIG. 11, in order to detect the direction of the focal point, it is necessary to move at least two points to acquire data and to know whether the AF evaluation value is in the inclination direction (a hollow slope or a rising slope). . On the other hand, in the present embodiment, as shown in FIG. 12, the focus lens is moved to the index value immediately before the in-focus index value of the coarse adjustment, and then the No. 1 lens is moved by the hill-climbing servo method. 5 to No. 5 6 to move to the final focus position. In the hill-climbing servo method, the position at which the AF evaluation value becomes maximum is detected as the focus position. That is, the scanning direction by the hill-climbing servo method is determined to be one direction (in this embodiment, the direction in which the filter number increases). Therefore, a redundant operation for detecting a new focusing direction as in the related art is unnecessary.

【0096】尚、ワンショットAF粗調用に7個の復元
フィルタを具備しているがこれに限定されるものではな
い。
Although the seven restoration filters are provided for one-shot AF coarse adjustment, the invention is not limited to this.

【0097】以上説明したように、本実施の形態10に
おいては、ワンショットAFにより仮の合焦位置を決定
し、ついで、当該仮の合焦位置よりも手前の位置から山
登りサーボ法により走査して最終的な合焦位置を決定す
ることとしたので、復元フィルタの数を低減することが
可能となりメモリコストを安価にすることができ、安価
な構成で、高精度・高速なワンショットAFが可能とな
る。
As described above, in the tenth embodiment, a tentative focus position is determined by one-shot AF, and scanning is performed by a hill-climbing servo method from a position before the tentative focus position. As a result, the number of restoration filters can be reduced, the memory cost can be reduced, and a high-precision and high-speed one-shot AF can be realized with an inexpensive configuration. It becomes possible.

【0098】また、本実施の形態10においては、山登
りサーボ法で使用する高周波成分は、ワンショットAF
で使用するFFTエンジン(FFT(IFFT)演算部
44及び高周波成分積算器47等)を利用できるので、
山登りサーボ法のための新たなデバイスを必要としな
い。
In the tenth embodiment, the high-frequency component used in the hill-climbing servo method is a one-shot AF
Since the FFT engine (FFT (IFFT) calculation unit 44 and high-frequency component integrator 47, etc.) used in the above can be used,
No new device is required for the hill climbing servo method.

【0099】尚、本発明は上記した実施の形態に限定さ
れるものではなく、発明の要旨を変更しない範囲で適宜
変更可能である。
The present invention is not limited to the above-described embodiment, but can be appropriately changed without changing the gist of the present invention.

【0100】また、本発明の自動焦点制御装置は、ビデ
オカメラ、スチルビデオカメラ等の撮像素子を用いた画
像入力機器に広く適用可能である。
The automatic focus control device of the present invention can be widely applied to image input devices using an image pickup device such as a video camera and a still video camera.

【0101】[0101]

【発明の効果】請求項1に係る自動焦点制御装置は、初
期焦点レンズ位置において撮像して画像データを出力
し、当該画像データに対して、点像半径に対応した複数
の復元フィルタを用いて画像データの復元を行って各復
元フィルタ毎に復元された画像データ群について各々A
F評価値を算出し、当該算出した各AF評価値を照合し
て合焦位置を決定する自動焦点制御装置において、AF
エリアにおける復元された画像データ群の各負値積算値
を算出する負値積算値算出手段と、各負値積算値を各A
F評価値とし、当該各AF評価値の最小値を合焦点する
一方、当該最小値が複数存在する場合には、当該複数の
最小値のうち点像半径の最大のものを合焦点とする合焦
点特定手段と、を備えたこととしたので、負値積算値に
疑似ピークが存在する場合においても、高精度に合焦点
を決定することが可能となる。
According to the first aspect of the present invention, there is provided an automatic focus control device which picks up an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. Each of the image data groups restored for each restoration filter by restoring the image data
In an automatic focus control device that calculates an F evaluation value and determines the in-focus position by comparing the calculated AF evaluation values,
Negative value integrated value calculating means for calculating each negative value integrated value of the restored image data group in the area;
The F evaluation value is set, and the minimum value of each of the AF evaluation values is focused. If there are a plurality of the minimum values, the focus point is set to the largest of the point image radii of the plurality of minimum values. Since the focus determining means is provided, it is possible to determine the focal point with high accuracy even when a pseudo peak exists in the negative integrated value.

【0102】また、請求項2に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
AFエリアにおける復元された画像データ群の各負値積
算値を算出する負値積算値算出手段と、AFエリアの復
元された画像データ群の各高周波成分積算値を算出する
高周波成分算出手段と、復元された各画像データに対応
する負値積算値と高周波成分積算値との比に基づいて、
画像データ群の各AF評価値を各々算出し、当該算出し
た各AF評価値のうち最小値を合焦点とする一方、当該
最小値が複数存在する場合には、当該複数の最小値のう
ち点像半径の最大のものを合焦点とする合焦点特定手段
と、を備えたこととしたので、負値積算値に疑似ピーク
があっても高精度に合焦点を算出することが可能とな
る。
Further, the automatic focus control device according to claim 2 captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Negative value integrated value calculating means for calculating each negative value integrated value of the restored image data group in the AF area; high frequency component calculating means for calculating each high frequency component integrated value of the restored image data group in the AF area; Based on the ratio of the negative value integrated value and high frequency component integrated value corresponding to each restored image data,
Each of the AF evaluation values of the image data group is calculated, and the minimum value among the calculated AF evaluation values is used as the focal point. Since it is provided with the focusing point specifying means for focusing on the largest image radius, it is possible to calculate the focusing point with high accuracy even if the negative integrated value has a pseudo peak.

【0103】また、請求項3に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
AFエリアにおける復元された画像データ群の各負値積
算値を算出する負値積算値算出手段と、AFエリアの前
記復元された画像データ群の各高周波成分積算値を算出
する高周波成分算出手段と、各画像データに対応する負
値積算値と高周波成分積算値との比に基づいて、画像デ
ータ群の各AF評価値を各々算出し、当該算出したAF
評価値のうち最小値を仮の合焦点とする仮の合焦点特定
手段と、仮の合焦点から、点像半径が大きくなる方向に
前記負値積算値と前記高周波成分積算値との比を再度走
査し、当該走査した負値積算値と高周波成分積算値との
比が特定閾値以下になる場合の点像半径分を重みとして
仮の合焦点に付加して真の合焦点を特定する真の合焦点
特定手段と、を備えたこととしたので、負値積算値に疑
似ピークがあっても高精度に合焦点を算出することが可
能となる。
The automatic focus control device according to claim 3 captures an image at the initial focus lens position, outputs image data, and applies a plurality of restoration filters corresponding to the point image radius to the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Negative value integrated value calculation means for calculating each negative value integrated value of the restored image data group in the AF area; and high frequency component calculation means for calculating each high frequency component integrated value of the restored image data group in the AF area; And calculating each AF evaluation value of the image data group based on the ratio between the negative value integrated value and the high frequency component integrated value corresponding to each image data.
A temporary focus specifying means that sets the minimum value among the evaluation values as a temporary focus, and a ratio between the negative value integrated value and the high frequency component integrated value in the direction in which the point image radius increases from the temporary focus. Scan again and add a point image radius when the ratio of the scanned negative value integrated value to the high frequency component integrated value is equal to or less than a specific threshold value to a temporary focus point as a weight to specify a true focus point. And the in-focus point specifying means, it is possible to calculate the in-focus point with high accuracy even if there is a pseudo peak in the negative integrated value.

【0104】また、請求項4に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
AFエリアにおける復元された画像データ群の各負値積
算値を算出する負値積算値算出手段と、AFエリアの復
元された画像データ群の各高周波成分積算値を算出する
高周波成分算出手段と、各画像データに対応する負値積
算値と高周波成分積算値との比に基づいて、画像データ
群の各AF評価値を各々算出し、当該算出した各AF評
価値のうち最小値を仮の合焦点とする仮の合焦点特定手
段と、仮の合焦点から、点像半径が大きくなる方向に負
値積算値と高周波成分積算値との比を再度走査し、当該
走査した負値積算値と高周波成分積算値との比が特定閾
値以下になる場合に、その場合の点像半径分及び負値積
算値と高周波成分積算値との比と特定閾値との差分を重
みとして仮の合焦点に付加して真の合焦点を特定する真
の合焦点特定手段と、を備えたこととしたので、負値積
算値に疑似ピークがあっても高精度に合焦点を算出する
ことが可能となる。
The automatic focus control device according to claim 4 captures an image at an initial focus lens position, outputs image data, and applies a plurality of restoration filters corresponding to a point image radius to the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Negative value integrated value calculating means for calculating each negative value integrated value of the restored image data group in the AF area; high frequency component calculating means for calculating each high frequency component integrated value of the restored image data group in the AF area; Each AF evaluation value of the image data group is calculated based on the ratio between the negative value integrated value and the high frequency component integrated value corresponding to each image data, and the minimum value among the calculated AF evaluation values is provisionally calculated. The provisional in-focus specifying means to be the focus, and from the provisional in-focus point, the ratio between the negative value integrated value and the high-frequency component integrated value is re-scanned in the direction in which the point image radius increases, and the scanned negative value integrated value and When the ratio with the high-frequency component integrated value is equal to or less than the specific threshold, the difference between the point image radius and the ratio between the negative-value integrated value and the high-frequency component integrated value and the specific threshold is used as a weight for the temporary focus point. True focal point specifying means to additionally specify the true focal point Since it was decided with a, it is possible to calculate the focus even with high accuracy a pseudo peak negative value integrated value.

【0105】また、請求項5に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
合焦動作を行う前に、AFエリア内の画像データの平均
輝度を算出し、当該算出した平均輝度が特定輝度範囲内
にない場合には、当該平均輝度が特定輝度範囲内となる
ように輝度調整した後、合焦動作を行うこととしたの
で、ワンショットAFによって合焦点指標を算出する
際、取り込んだAFエリアの輝度に起因した本来の合焦
点からのずれを防止することができ、高精度に合焦点を
決定することが可能となる。
The automatic focus control device according to claim 5 captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Before performing the focusing operation, the average luminance of the image data in the AF area is calculated, and if the calculated average luminance is not within the specific luminance range, the luminance is adjusted so that the average luminance falls within the specific luminance range. Since the focusing operation is performed after the adjustment, the deviation from the original focal point due to the brightness of the captured AF area can be prevented when the focusing index is calculated by the one-shot AF. It is possible to determine the focal point with accuracy.

【0106】また、請求項6に係る自動焦点制御装置
は、請求項5に係る自動焦点制御装置において、特定輝
度範囲は、A/D変換される最高輝度設定基準に対し
て、40%〜50%であることとしたので、より高精度
に合焦点を決定することが可能となる。
According to a sixth aspect of the present invention, in the automatic focus control device according to the fifth aspect, the specific luminance range is 40% to 50% of the maximum luminance setting criterion for A / D conversion. %, It is possible to determine the focal point with higher accuracy.

【0107】また、請求項7に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
画像復元を行う前に、AFエリアの画像データに対し
て、一次元若しくは二次元の窓関数処理を施す窓関数処
理手段を備えたこととしたので、AFエリアの近傍の影
響を少なくすることができ、高精度に合焦点を決定する
ことが可能となる。
The automatic focus control device according to claim 7 captures an image at an initial focus lens position, outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
Before performing image restoration, a window function processing unit that performs one-dimensional or two-dimensional window function processing on the image data in the AF area is provided, so that the influence near the AF area can be reduced. It is possible to determine the focal point with high accuracy.

【0108】また、請求項8に係る自動焦点制御装置
は、請求項7に係る自動焦点制御装置において、窓関数
処理手段は、複数の窓関数を記憶若しくは生成する窓関
数保持手段と、複数の窓関数の中から最適な窓関数を選
択する窓関数選択手段と、選択された窓関数に基づきA
Fエリアの画像データに対して、窓関数処理を施す窓関
数実行手段と、を備えたこととしたので、簡単な構成で
窓関数処理を行うことが可能となる。
The automatic focus control device according to claim 8 is the automatic focus control device according to claim 7, wherein the window function processing means includes: a window function holding means for storing or generating a plurality of window functions; Window function selecting means for selecting an optimum window function from window functions; and A based on the selected window function.
Since window function execution means for performing window function processing on image data in the F area is provided, the window function processing can be performed with a simple configuration.

【0109】また、請求項9に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、記憶手段に記憶され
た、点像半径に対応した複数の復元フィルタを用いて画
像データの復元を行って各復元フィルタ毎に復元された
画像データ群について各々AF評価値を算出し、当該算
出した各AF評価値を照合して合焦位置を決定する自動
焦点制御装置において、記憶手段には、至近距離では遠
距離に比して細かい点像半径の間隔で、対応する復元フ
ィルタが格納されていることとしたので、無駄なく効率
良く復元フィルタを配置でき、精度の高いワンショット
AFを実現できる。
The automatic focus control device according to the ninth aspect of the present invention picks up an image at an initial focus lens position and outputs image data, and the image data corresponds to the point image radius stored in the storage means. Image data is restored using a plurality of restoration filters, AF evaluation values are calculated for the image data groups restored for each restoration filter, and the calculated AF evaluation values are collated to determine a focus position. In the automatic focus control device, the corresponding restoration filter is stored in the storage means at an interval of a small point image radius at a short distance as compared with a long distance, so that the restoration filter can be efficiently stored without waste. The one-shot AF with high accuracy can be realized.

【0110】また、請求項10に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
少なくとも2以上のAFエリアと、各AFエリア毎の合
焦指標値を算出する合焦指標値算出手段と、前記少なく
とも2以上のAFエリアの1を指定する指定手段と、を
備え、指定されたAFエリアに関して合焦動作を行うこ
ととしたので、冗長な動作を排し高速なワンショットA
Fを実現できる。
The automatic focus control device according to the tenth aspect captures an image at an initial focus lens position and outputs image data, and uses a plurality of restoration filters corresponding to a point image radius for the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
At least two or more AF areas, focusing index value calculating means for calculating a focusing index value for each AF area, and specifying means for specifying one of the at least two AF areas. Since the focusing operation is performed with respect to the AF area, redundant operations are eliminated, and a high-speed one-shot A
F can be realized.

【0111】また、請求項11に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像して画像データを
出力し、当該画像データに対して、点像半径に対応した
複数の復元フィルタを用いて画像データの復元を行って
各復元フィルタ毎に復元された画像データ群について各
々AF評価値を算出し、当該算出した各AF評価値を照
合して合焦位置を決定する自動焦点制御装置において、
まず、復元フィルタを用いて画像データの復元を行い、
当該復元された画像データに基づいてAF評価値を算出
し、当該算出したAF評価値を照合して仮の合焦位置を
決定し、ついで、当該仮の合焦位置よりも手前の位置か
ら山登りサーボ法により走査して最終的な合焦位置を決
定することとしたので、復元フィルタの数を低減できる
のでメモリコストを安価にすることができ、安価な構成
で、高精度・高速なワンショットAFが可能となる。
The automatic focus control device according to the eleventh aspect picks up an image at an initial focus lens position, outputs image data, and applies a plurality of restoration filters corresponding to a point image radius to the image data. In an automatic focus control device that calculates an AF evaluation value for each image data group restored for each restoration filter by performing restoration of image data, and compares the calculated AF evaluation values to determine a focus position,
First, the image data is restored using the restoration filter.
An AF evaluation value is calculated based on the restored image data, the calculated AF evaluation value is collated to determine a temporary focus position, and then a hill-climbing is performed from a position before the temporary focus position. Since the final focus position is determined by scanning using the servo method, the number of restoration filters can be reduced, so that the memory cost can be reduced. AF becomes possible.

【0112】また、請求項12に係る自動焦点制御装置
は、初期焦点レンズ位置において撮像された画像データ
の全て若しくはその一部を周波数成分に変換するフーリ
エ変換手段と、周波数成分に変換された画像データの全
て若しくはその一部を空間周波数成分に逆変換する逆フ
ーリエ変換手段と、点像半径に対応した複数の復元フィ
ルタを用いて、周波数成分に変換された画像データの復
元を行うフィルタリング手段と、復元フィルタにより復
元された画像データの全部若しくはその一部について特
定の高周波成分を積算して高周波成分積算値を算出する
高周波成分積算手段と、空間周波数成分に逆変換された
画像データの全て若しくはその一部について負値積算値
を算出する負値積算手段と、高周波成分積算値及び/又
は負値積算値に基づき、合焦指標値を算出する合焦指標
演算手段と、を備えたこととしたので、高精度・高速な
ワンショットAFが可能となる。
The automatic focus control device according to claim 12 is a Fourier transform means for converting all or a part of the image data captured at the initial focus lens position into a frequency component, and an image converted into a frequency component. Inverse Fourier transform means for inversely transforming all or a part of the data into spatial frequency components, and filtering means for restoring image data converted to frequency components, using a plurality of restoration filters corresponding to the point image radius. A high-frequency component integrating means for calculating a high-frequency component integrated value by integrating a specific high-frequency component for all or a part of the image data restored by the restoration filter, and all or all of the image data inversely transformed into spatial frequency components A negative value integrating means for calculating a negative integrated value for a part thereof, and a high frequency component integrated value and / or a negative integrated value based on the negative integrated value. Come, and the focus index calculation means for calculating the focus index value, since it was decided with a, it is possible to highly accurate, high-speed one-shot AF.

【0113】また、請求項13に係る自動焦点制御装置
は、請求項12に係る自動焦点制御装置において、各手
段のうち少なくとも一つをハードウエアで構成したの
で、より高速なワンショットAFが可能となる。
Further, in the automatic focus control device according to the thirteenth aspect, since at least one of the respective means is configured by hardware in the automatic focus control device according to the twelfth aspect, one-shot AF at a higher speed can be performed. Becomes

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施の形態1に係る自動焦点制御装置を適用し
たデジタルスチルカメラの構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of a digital still camera to which an automatic focus control device according to a first embodiment is applied.

【図2】実施の形態2に係わり、合焦点を特定する第1
の方法を説明するための説明図である。
FIG. 2 is a diagram illustrating a first example of specifying a focal point according to the second embodiment.
FIG. 4 is an explanatory diagram for describing the method.

【図3】実施の形態3に係わり、合焦点を特定する第2
の方法を説明するための説明図である。
FIG. 3 is a diagram illustrating a second example of specifying a focal point according to the third embodiment.
FIG. 4 is an explanatory diagram for describing the method.

【図4】実施の形態4に係わり、合焦点を特定する第3
の方法を説明するための説明図である。
FIG. 4 is a diagram illustrating a third example of specifying a focal point according to the fourth embodiment.
FIG. 4 is an explanatory diagram for describing the method.

【図5】実施の形態5に係わり、合焦点を特定する第4
の方法を説明するための説明図である。
FIG. 5 relates to a fifth embodiment, and is a fourth example for specifying a focal point.
FIG. 4 is an explanatory diagram for describing the method.

【図6】実施の形態6に係わり、合焦点を特定する第5
の方法を説明するための説明図である。
FIG. 6 relates to a sixth embodiment, and relates to a fifth embodiment for specifying a focal point.
FIG. 4 is an explanatory diagram for describing the method.

【図7】実施の形態7に係わり、ワンショットAFを行
うに先立ち、AFエリアに対し窓関数処理を施して、A
Fエリアの近傍の影響を少なくした動作例を説明するた
めの説明図である。
FIG. 7 relates to the seventh embodiment and performs a window function process on the AF area before performing one-shot AF;
FIG. 9 is an explanatory diagram for describing an operation example in which the influence near the F area is reduced.

【図8】実施の形態7に係わり、窓関数処理ユニットの
構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a window function processing unit according to the seventh embodiment.

【図9】実施の形態8に係わり、復元フィルタの配置例
を説明するための説明図である。
FIG. 9 is an explanatory diagram illustrating an example of arrangement of a restoration filter according to the eighth embodiment.

【図10】本実施の形態9に係わり、AFエリアを説明
するための説明図である。
FIG. 10 is an explanatory diagram for describing an AF area according to the ninth embodiment.

【図11】従来技術に係わり、ワンショットAF及び山
登りサーボ法を説明するための説明図である。
FIG. 11 is an explanatory diagram illustrating a one-shot AF and a hill-climbing servo method according to the related art.

【図12】本実施の形態10に係わり、ワンショットA
F及び山登りサーボ法を説明するための説明図である。
FIG. 12 is a view illustrating one shot A according to the tenth embodiment.
It is explanatory drawing for demonstrating F and a hill climbing servo method.

【符号の説明】[Explanation of symbols]

1 レンズ系 2 絞り 3 フロントエンド部 4 イメージプリプロセッサ(IPP)部 5 CPUI/F 6 CPU 7 焦点レンズ制御部 8 絞り制御部 31 CCD 32 信号処理部 33 A/D変換器 41 RGB分離部 42 RGBゲイン調整部 43 輝度値生成部 44 FFT(IFFT)演算部 45 フィルタリング部 46 復元フィルタROM 47 高周波成分積算器 48 負値積算部 20 窓関数処理部 21 セレクタ 22 窓関数データROM Reference Signs List 1 lens system 2 aperture 3 front end section 4 image preprocessor (IPP) section 5 CPU I / F 6 CPU 7 focus lens control section 8 aperture control section 31 CCD 32 signal processing section 33 A / D converter 41 RGB separation section 42 RGB gain Adjustment unit 43 Luminance value generation unit 44 FFT (IFFT) calculation unit 45 Filtering unit 46 Restoration filter ROM 47 High frequency component integrator 48 Negative value integration unit 20 Window function processing unit 21 Selector 22 Window function data ROM

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、 前記各負値積算値を各AF評価値とし、当該各AF評価
値の最小値を合焦点する一方、当該最小値が複数存在す
る場合には、当該複数の最小値のうち点像半径の最大の
ものを合焦点とする合焦点特定手段と、 を備えたことを特徴とする自動焦点制御装置。
An image is output at an initial focus lens position, and image data is output. The image data is restored using a plurality of restoration filters corresponding to a point image radius. An AF evaluation value is calculated for each of the image data groups restored for each
An automatic focus control device that determines an in-focus position by comparing an F evaluation value; a negative value integrated value calculating unit that calculates each negative value integrated value of the restored image data group in an AF area; The integrated value is used as each AF evaluation value, and the minimum value of each AF evaluation value is focused. If a plurality of the minimum values exist, the one with the largest point image radius among the plurality of minimum values is combined. An automatic focus control device, comprising:
【請求項2】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、 前記AFエリアの前記復元された画像データ群の各高周
波成分積算値を算出する高周波成分算出手段と、 復元された各画像データに対応する前記負値積算値と前
記高周波成分積算値との比に基づいて、前記画像データ
群の各AF評価値を各々算出し、当該算出した各AF評
価値のうち最小値を合焦点とする一方、当該最小値が複
数存在する場合には、当該複数の最小値のうち点像半径
の最大のものを合焦点とする合焦点特定手段と、 を備えたことを特徴とする自動焦点制御装置。
2. An image pickup device that outputs an image data by capturing an image at an initial focus lens position, and restores the image data using a plurality of restoration filters corresponding to a point image radius. An AF evaluation value is calculated for each of the image data groups restored for each
An automatic focus control device that determines an in-focus position by comparing an F evaluation value; a negative value integrated value calculating unit that calculates each negative value integrated value of the restored image data group in an AF area; High-frequency component calculating means for calculating each high-frequency component integrated value of the restored image data group, based on a ratio of the negative value integrated value and the high-frequency component integrated value corresponding to each restored image data, Each of the AF evaluation values of the image data group is calculated, and the minimum value among the calculated AF evaluation values is used as the focal point. An automatic focus control device, comprising: a focus determining unit that focuses on the largest image radius.
【請求項3】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、 前記AFエリアの前記復元された画像データ群の各高周
波成分積算値を算出する高周波成分算出手段と、 各画像データに対応する前記負値積算値と前記高周波成
分積算値との比に基づいて、前記画像データ群の各AF
評価値を各々算出し、当該算出したAF評価値のうち最
小値を仮の合焦点とする仮の合焦点特定手段と、 前記仮の合焦点から、点像半径が大きくなる方向に前記
負値積算値と前記高周波成分積算値との比を再度走査
し、当該走査した前記負値積算値と前記高周波成分積算
値との比が特定閾値以下になる場合の点像半径分を重み
として仮の合焦点に付加して真の合焦点を特定する真の
合焦点特定手段と、 を備えたことを特徴とする自動焦点制御装置。
3. An image pickup device at an initial focus lens position, outputs image data, and restores the image data using a plurality of restoration filters corresponding to a point image radius. An AF evaluation value is calculated for each of the image data groups restored for each
An automatic focus control device that determines an in-focus position by comparing an F evaluation value; a negative value integrated value calculating unit that calculates each negative value integrated value of the restored image data group in an AF area; High-frequency component calculation means for calculating each high-frequency component integrated value of the restored image data group; and the image data group based on a ratio of the negative value integrated value and the high-frequency component integrated value corresponding to each image data. Each AF
Tentative in-focus specifying means for calculating an evaluation value and setting the minimum value among the calculated AF evaluation values as a tentative focal point; and the negative value from the tentative in-focus point in a direction in which a point image radius increases. The ratio between the integrated value and the high-frequency component integrated value is again scanned, and the point image radius when the ratio of the scanned negative value integrated value and the high-frequency component integrated value is equal to or less than a specific threshold is used as a weight. An automatic focus control device, comprising: a true in-focus specifying means for specifying a true in-focus point in addition to the in-focus point.
【請求項4】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 AFエリアにおける前記復元された画像データ群の各負
値積算値を算出する負値積算値算出手段と、 前記AFエリアの前記復元された画像データ群の各高周
波成分積算値を算出する高周波成分算出手段と、 各画像データに対応する前記負値積算値と前記高周波成
分積算値との比に基づいて、前記画像データ群の各AF
評価値を各々算出し、当該算出した各AF評価値のうち
最小値を仮の合焦点とする仮の合焦点特定手段と、 前記仮の合焦点から、点像半径が大きくなる方向に前記
負値積算値と前記高周波成分積算値との比を再度走査
し、当該走査した前記負値積算値と前記高周波成分積算
値との比が特定閾値以下になる場合に、その場合の点像
半径分及び前記負値積算値と前記高周波成分積算値との
比と前記特定閾値との差分を重みとして前記仮の合焦点
に付加して真の合焦点を特定する真の合焦点特定手段
と、 を備えたことを特徴とする自動焦点制御装置。
4. An image pickup device at an initial focus lens position and outputs image data. The image data is restored using a plurality of restoration filters corresponding to a point image radius. An AF evaluation value is calculated for each of the image data groups restored for each
An automatic focus control device that determines an in-focus position by comparing an F evaluation value; a negative value integrated value calculating unit that calculates each negative value integrated value of the restored image data group in an AF area; High-frequency component calculation means for calculating each high-frequency component integrated value of the restored image data group; and the image data group based on a ratio of the negative value integrated value and the high-frequency component integrated value corresponding to each image data. Each AF
Tentative in-focus specifying means for calculating each of the evaluation values and setting the minimum value among the calculated AF evaluation values as a tentative in-focus; and the negative in the direction in which the point image radius increases from the tentative in-focus. The ratio between the value integrated value and the high-frequency component integrated value is again scanned, and when the ratio between the scanned negative value integrated value and the high-frequency component integrated value is equal to or less than a specific threshold, the point image radius in that case is reduced. And a true focal point specifying means for adding a difference between the ratio of the negative value integrated value and the high frequency component integrated value and the specific threshold value as a weight to the temporary focal point to specify a true focal point, An automatic focus control device, comprising:
【請求項5】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 合焦動作を行う前に、AFエリア内の画像データの平均
輝度を算出し、当該算出した平均輝度が特定輝度範囲内
にない場合には、当該平均輝度が特定輝度範囲内となる
ように輝度調整した後、合焦動作を行うことを特徴とす
る自動焦点制御装置。
5. An image pickup device which picks up an image at an initial focus lens position, outputs image data, and restores the image data using a plurality of restoration filters corresponding to a point image radius. An AF evaluation value is calculated for each of the image data groups restored for each
In an automatic focus control device that determines an in-focus position by comparing an F evaluation value, before performing a focusing operation, an average luminance of image data in an AF area is calculated, and the calculated average luminance is within a specific luminance range. If not, an automatic focus control device performs a focus operation after adjusting the luminance so that the average luminance is within a specific luminance range.
【請求項6】 前記特定輝度範囲は、A/D変換される
最高輝度設定基準に対して、40%〜50%であること
を特徴とする請求項5記載の自動焦点制御装置。
6. The automatic focus control device according to claim 5, wherein the specific luminance range is 40% to 50% with respect to a maximum luminance setting criterion for A / D conversion.
【請求項7】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 前記画像復元を行う前に、AFエリアの画像データに対
して、一次元若しくは二次元の窓関数処理を施す窓関数
処理手段を備えたことを特徴とする自動焦点制御装置。
7. Image restoration is performed by imaging at an initial focus lens position, outputting image data, and restoring the image data using a plurality of restoration filters corresponding to a point image radius. An AF evaluation value is calculated for each of the image data groups restored for each
An automatic focus control device that determines an in-focus position by comparing an F evaluation value, wherein a window function process that performs one-dimensional or two-dimensional window function processing on image data in an AF area before performing the image restoration. An automatic focus control device comprising:
【請求項8】 前記窓関数処理手段は、複数の窓関数を
記憶若しくは生成する窓関数保持手段と、前記複数の窓
関数の中から最適な窓関数を選択する窓関数選択手段
と、前記選択された窓関数に基づき前記AFエリアの画
像データに対して、窓関数処理を施す窓関数実行手段
と、を備えたことを特徴とする請求項7記載の自動焦点
制御装置。
8. The window function processing unit includes: a window function holding unit that stores or generates a plurality of window functions; a window function selection unit that selects an optimal window function from the plurality of window functions; 8. The automatic focus control device according to claim 7, further comprising: a window function executing unit that performs a window function process on the image data of the AF area based on the window function.
【請求項9】 初期焦点レンズ位置において撮像して画
像データを出力し、、当該画像データに対して、記憶手
段に記憶された、点像半径に対応した複数の復元フィル
タを用いて画像データの復元を行って各復元フィルタ毎
に復元された画像データ群について各々AF評価値を算
出し、当該算出した各AF評価値を照合して合焦位置を
決定する自動焦点制御装置において、 前記記憶手段には、至近距離では遠距離に比して細かい
点像半径の間隔で、対応する復元フィルタが格納されて
いることを特徴とする自動焦点制御装置。
9. An image is picked up at an initial focus lens position and image data is output. The image data is output from the image data by using a plurality of restoration filters corresponding to a point image radius stored in a storage means. An automatic focus control device that calculates an AF evaluation value for each of the image data groups restored for each restoration filter by performing restoration, and compares the calculated AF evaluation values to determine an in-focus position; Wherein a corresponding restoration filter is stored at an interval of a point image radius which is finer at a close distance than at a long distance.
【請求項10】 初期焦点レンズ位置において撮像して
画像データを出力し、、当該画像データに対して、点像
半径に対応した複数の復元フィルタを用いて画像データ
の復元を行って各復元フィルタ毎に復元された画像デー
タ群について各々AF評価値を算出し、当該算出した各
AF評価値を照合して合焦位置を決定する自動焦点制御
装置において、 少なくとも2以上のAFエリアと、各AFエリア毎の合
焦指標値を算出する合焦指標値算出手段と、前記少なく
とも2以上のAFエリアの1を指定する指定手段と、を
備え、 前記指定されたAFエリアに関して合焦動作を行うこと
を特徴とする自動焦点制御装置。
10. An image pickup device at an initial focus lens position and outputs image data. The image data is restored using a plurality of restoration filters corresponding to a point image radius. In an automatic focus control device that calculates an AF evaluation value for each of the image data groups restored for each and determines the in-focus position by comparing the calculated AF evaluation values, at least two or more AF areas, Focusing index value calculating means for calculating a focusing index value for each area, and specifying means for specifying one of the at least two or more AF areas, and performing a focusing operation on the specified AF area. An automatic focus control device characterized by the above-mentioned.
【請求項11】 初期焦点レンズ位置において撮像して
画像データを出力し、当該画像データに対して、点像半
径に対応した複数の復元フィルタを用いて画像データの
復元を行って各復元フィルタ毎に復元された画像データ
群について各々AF評価値を算出し、当該算出した各A
F評価値を照合して合焦位置を決定する自動焦点制御装
置において、 まず、前記復元フィルタを用いて画像データの復元を行
い、当該復元された画像データに基づいてAF評価値を
算出し、当該算出したAF評価値を照合して仮の合焦位
置を決定し、ついで、当該仮の合焦位置よりも手前の位
置から山登りサーボ法により走査して最終的な合焦位置
を決定することを特徴とする自動焦点制御装置。
11. Image data is output at an initial focus lens position, and image data is output. The image data is restored using a plurality of restoration filters corresponding to a point image radius. The AF evaluation value is calculated for each of the image data groups restored to
In an automatic focus control device that determines an in-focus position by comparing an F evaluation value, first, image data is restored using the restoration filter, and an AF evaluation value is calculated based on the restored image data. Determining a temporary focus position by comparing the calculated AF evaluation values, and then scanning by a hill-climbing servo method from a position before the temporary focus position to determine a final focus position. An automatic focus control device characterized by the above-mentioned.
【請求項12】 初期焦点レンズ位置において撮像され
た画像データの全て若しくはその一部を周波数成分に変
換するフーリエ変換手段と、 周波数成分に変換された画像データの全て若しくはその
一部を空間周波数成分に逆変換する逆フーリエ変換手段
と、 点像半径に対応した複数の復元フィルタを用いて、前記
周波数成分に変換された画像データの復元を行うフィル
タリング手段と、 前記復元フィルタにより復元された画像データの全部若
しくはその一部について特定の高周波成分を積算して高
周波成分積算値を算出する高周波成分積算手段と、 前記空間周波数成分に逆変換された画像データの全て若
しくはその一部について負値積算値を算出する負値積算
手段と、 前記高周波成分積算値及び/又は前記負値積算値に基づ
き、合焦指標値を算出する合焦指標演算手段と、 を備えたことを特徴とする自動焦点制御装置。
12. Fourier transform means for converting all or a part of image data captured at an initial focus lens position into a frequency component, and converting all or a part of the image data converted into a frequency component into a spatial frequency component Inverse Fourier transform means for inversely transforming the image data, filtering means for restoring the image data converted to the frequency component using a plurality of restoration filters corresponding to the point image radius, image data restored by the restoration filter A high-frequency component integrating means for calculating a high-frequency component integrated value by integrating a specific high-frequency component for all or a part of the image data; and a negative-value integrated value for all or a part of the image data inversely converted to the spatial frequency component. Negative value integrating means for calculating a focus index value based on the high frequency component integrated value and / or the negative value integrated value Automatic focus control apparatus characterized by comprising; and the focus index calculation means for calculating.
【請求項13】 前記請求項12記載の自動焦点制御装
置において、前記各手段のうち少なくとも一つをハード
ウエアで構成したことを特徴とする自動焦点制御装置。
13. An automatic focus control device according to claim 12, wherein at least one of said means is constituted by hardware.
JP10112852A 1998-04-09 1998-04-09 Automatic focus control device Pending JPH11295589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10112852A JPH11295589A (en) 1998-04-09 1998-04-09 Automatic focus control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10112852A JPH11295589A (en) 1998-04-09 1998-04-09 Automatic focus control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003196987A Division JP2004004923A (en) 2003-07-15 2003-07-15 Automatic focus control device

Publications (1)

Publication Number Publication Date
JPH11295589A true JPH11295589A (en) 1999-10-29

Family

ID=14597150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10112852A Pending JPH11295589A (en) 1998-04-09 1998-04-09 Automatic focus control device

Country Status (1)

Country Link
JP (1) JPH11295589A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729594B2 (en) 2000-09-12 2017-08-08 Wag Acquisition, L.L.C. Streaming media delivery system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729594B2 (en) 2000-09-12 2017-08-08 Wag Acquisition, L.L.C. Streaming media delivery system
US9742824B2 (en) 2000-09-12 2017-08-22 Wag Acquisition, L.L.C. Streaming media delivery system
US9762636B2 (en) 2000-09-12 2017-09-12 Wag Acquisition, L.L.C. Streaming media delivery system
US10298638B2 (en) 2000-09-12 2019-05-21 Wag Acquisition, L.L.C. Streaming media delivery system
US10298639B2 (en) 2000-09-12 2019-05-21 Wag Acquisition, L.L.C. Streaming media delivery system
US10567453B2 (en) 2000-09-12 2020-02-18 Wag Acquisition, L.L.C. Streaming media delivery system

Similar Documents

Publication Publication Date Title
US8184171B2 (en) Image pickup apparatus, image processing apparatus, image pickup method, and image processing method
US7382411B2 (en) Method for focus adjusting and camera
US5877809A (en) Method of automatic object detection in image
KR101488655B1 (en) Method and apparatus for auto focusing
EP1954031A1 (en) Imaging device, image processing device, and program
KR100897768B1 (en) Auto focusing method and devices that can use the method
US7957633B2 (en) Focus adjusting apparatus and focus adjusting method
JP4647885B2 (en) camera
JP2004325517A (en) Imaging device
JPH05300421A (en) Automatic focusing device
JP6072632B2 (en) Imaging apparatus, imaging method, and imaging system
US7733411B2 (en) Image capturing apparatus performing filtering process with variable cut-off frequency
JP2000152064A (en) Automatic focus control device
JP2004004923A (en) Automatic focus control device
JPH11295589A (en) Automatic focus control device
JPH11331676A (en) Automatic focus control device
JP4902946B2 (en) Auto focus camera
WO2005033763A1 (en) Imaging lens position control device
US7298413B2 (en) Photographing apparatus with automatic focus
JP2005020061A (en) Video signal processing apparatus and video signal processing method
JPH0961705A (en) Auto focus device
JP2001242371A (en) Automatic focus control device
JPH05199443A (en) Focused position detecting device for electronic camera
JP2002277730A (en) Electronic camera automatic focus control method, apparatus and program
JP2004294965A (en) Automatic focusing device and automatic focusing method