JP2014032214A - Imaging apparatus and focus position detection method - Google Patents
Imaging apparatus and focus position detection method Download PDFInfo
- Publication number
- JP2014032214A JP2014032214A JP2010267932A JP2010267932A JP2014032214A JP 2014032214 A JP2014032214 A JP 2014032214A JP 2010267932 A JP2010267932 A JP 2010267932A JP 2010267932 A JP2010267932 A JP 2010267932A JP 2014032214 A JP2014032214 A JP 2014032214A
- Authority
- JP
- Japan
- Prior art keywords
- phase difference
- correlation calculation
- divided
- areas
- difference detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/34—Systems for automatic generation of focusing signals using different areas in a pupil plane
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/10—Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
- H04N25/11—Arrangement of colour filter arrays [CFA]; Filter mosaics
- H04N25/13—Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements
- H04N25/134—Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on three different wavelength filter elements
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/02—Viewfinders
- G03B13/10—Viewfinders adjusting viewfinders field
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/18—Focusing aids
- G03B13/20—Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/672—Focus control based on electronic image sensor signals based on the phase difference signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/70—SSIS architectures; Circuits associated therewith
- H04N25/703—SSIS architectures incorporating pixels for producing signals other than image signals
- H04N25/704—Pixels specially adapted for focusing, e.g. phase difference pixel sets
Abstract
Description
本発明は、被写体までの距離を検出し撮影レンズの焦点位置制御を行う撮像装置及びその合焦位置検出方法に関する。 The present invention relates to an imaging apparatus that detects a distance to a subject and controls a focal position of a photographic lens, and an in-focus position detection method thereof.
主要な被写体までの距離を検出する合焦位置検出方法には、コントラスト方式や位相差AF方式がある。位相差AF方式は、コントラスト方式に比べて合焦位置の検出を高速,高精度に行うことができるため、一眼レフカメラで多く採用されている。 In-focus position detection methods for detecting the distance to the main subject include a contrast method and a phase difference AF method. The phase difference AF method is often used in single-lens reflex cameras because it can detect the in-focus position at a higher speed and with higher accuracy than the contrast method.
従来の一眼レフカメラで採用されている位相差AF方式は、例えば下記の特許文献1に記載されている様に、被写体画像を撮像する固体撮像素子とは別に、2つの左右に配置される位相差検出用ラインセンサを設け、第1のラインセンサの検出情報と第2のラインセンサの検出情報との位相差に基づき、主要被写体までの距離を検出する構成になっている。
The phase difference AF method employed in the conventional single-lens reflex camera is, for example, as described in
この特許文献1記載の位相差AF方式は、固体撮像素子とは別に位相差検出用のラインセンサが必要となり、部品コスト,製造コストが嵩んでしまい、更に装置が大型化してしまうという問題がある。
The phase difference AF method described in
これに対し、下記の特許文献2に記載されている様に、固体撮像素子受光面上に位相差検出用の画素を設けたものが提案されている。被写体画像を撮像する固体撮像素子として位相差検出用の画素が形成された固体撮像素子を採用することで、外部の位相差検出用センサが不要となり、低コスト化を図ることが可能となる。
On the other hand, as described in
しかしながら、特許文献2に記載の従来技術は、一眼レフカメラが対象であり、大面積の固体撮像素子を搭載することが前提となっている。位相差検出画素は、特許文献2に記載されている様に、1対の隣接画素の夫々の遮光膜開口を小さくし、かつ一方と他方で遮光膜開口位置を位相差検出方向(通常の場合は左右方向)にずらすことで位相差を検出する構成になっている。
However, the conventional technique described in
一画素一画素の受光面積を大きくとれる大判(大面積)の固体撮像素子であれば、遮光膜開口を少しくらい小さくしても位相差情報を高速かつ高精度にとることができる。しかし、一画素一画素の受光面積を大きくとれない、例えばコンパクトカメラ等に搭載する固体撮像素子では、もともとの遮光膜開口が小さいため、これを更に小さくし、受光時間を短時間にして位相差情報を高速に取得すると、位相差情報の精度つまり合焦位置検出精度が落ちてしまうという問題が生じる。 With a large-sized (large area) solid-state imaging device capable of increasing the light receiving area of each pixel, phase difference information can be obtained at high speed and with high accuracy even if the light shielding film aperture is slightly reduced. However, the light receiving area of each pixel cannot be increased. For example, in a solid-state image sensor mounted on a compact camera or the like, the original light-shielding film aperture is small. If the information is acquired at high speed, there arises a problem that the accuracy of the phase difference information, that is, the focus position detection accuracy is lowered.
本発明の目的は、小面積の固体撮像素子に適用した場合でも高速かつ高精度に位相差情報を取得し合焦位置を求めることができる撮像装置及びその合焦位置検出方法を提供することにある。 An object of the present invention is to provide an imaging apparatus capable of acquiring phase difference information and obtaining a focus position at high speed and with high accuracy even when applied to a solid-state image sensor having a small area, and a focus position detection method thereof. is there.
本発明の撮像装置及びその合焦位置検出方法は、被写体の画像を撮像する受光面に設けられた位相差検出エリア内に、瞳分割した第1の位相差検出画素及び第2の位相差検出画素で構成されるペア画素が配列形成された撮像素子と、
該撮像素子の前段に置かれ、前記被写体の合焦した光学像を前記受光面に結像させるフォーカスレンズと、
前記第1の位相差検出画素の検出情報と前記第2の位相差検出画素の検出情報との位相差を求め、該位相差に基づき前記フォーカスレンズを前記合焦する位置に制御する制御手段とを備える撮像装置であって、
前記位相差の検知方向に対して直角方向に前記位相差検出エリアを複数の分割エリアに分割し、
前記分割エリア毎に、当該分割エリア内の前記直角方向に一列に並ぶ複数の前記第1の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第1の位相差検出画素毎に加算すると共に、前記直角方向に一列に並ぶ複数の前記第2の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第2の位相差検出画素毎に加算し、
前記分割エリア毎に、前記第1の位相差検出画素の前記加算した信号と前記第2の位相差検出画素の前記加算した信号との相関関係を演算して分割エリア毎の相関演算曲線を算出し、
前記分割エリア毎に算出された前記分割エリア毎の相関演算曲線のうち任意複数個の前記相関演算曲線間に所定演算処理を施して複数エリアの相関演算曲線を求め、該複数エリアの相関演算曲線から前記フォーカスレンズを前記合焦位置に制御する位相差を求めることを特徴とする。
According to the imaging apparatus and the focus position detection method of the present invention, a first phase difference detection pixel and a second phase difference detection that are divided into pupils in a phase difference detection area provided on a light receiving surface that captures an image of a subject. An image sensor in which a pair of pixels composed of pixels is formed;
A focus lens that is placed in front of the image sensor and forms a focused optical image of the subject on the light receiving surface;
Control means for obtaining a phase difference between detection information of the first phase difference detection pixel and detection information of the second phase difference detection pixel, and controlling the focus lens to the in-focus position based on the phase difference; An imaging device comprising:
Dividing the phase difference detection area into a plurality of divided areas in a direction perpendicular to the phase difference detection direction;
For each of the divided areas, the output signals of the plurality of first phase difference detection pixels arranged in a line in the perpendicular direction in the divided area are output in the direction in which the phase difference in the divided area is detected. A plurality of first phase difference detection pixels are added and a plurality of second phase difference detection pixel output signals arranged in a line in the perpendicular direction are arranged in a direction in which the phase difference in the divided area is detected. For each of the second phase difference detection pixels,
For each divided area, a correlation calculation curve for each divided area is calculated by calculating a correlation between the added signal of the first phase difference detection pixel and the added signal of the second phase difference detection pixel. And
A correlation calculation curve for a plurality of areas is obtained by performing a predetermined calculation process between the plurality of correlation calculation curves among the correlation calculation curves for each of the divided areas calculated for each of the divided areas. To obtain a phase difference for controlling the focus lens to the in-focus position.
本発明によれば、分割エリア毎に評価曲線(相関演算曲線)を求め、複数の評価曲線に対し所定演算処理を施して全体(複数エリア)の評価曲線を求め、この全体の評価曲線(全エリア評価曲線)から位相差量を算出するため、画素加算数が多くなって被写体のパターンが平均化されてしまうことがなく、小さな固体撮像素子を搭載する場合であっても高速かつ高精度に位相差AFを行うことが可能となる。 According to the present invention, an evaluation curve (correlation calculation curve) is obtained for each divided area, and a predetermined calculation process is performed on the plurality of evaluation curves to obtain an entire (multiple area) evaluation curve. Since the phase difference amount is calculated from the area evaluation curve), the pixel addition number does not increase and the pattern of the subject is not averaged. Even when a small solid-state image sensor is mounted, it is fast and highly accurate. It is possible to perform phase difference AF.
以下、本発明の一実施形態について、図面を参照して説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の一実施形態に係るデジタルカメラの機能ブロック図である。本実施形態のデジタルカメラ10は、被写体の静止画像或いは動画像を撮影しカメラ10内で撮像画像信号をデジタル処理する機能を有し、望遠レンズ及びフォーカスレンズを備える撮影レンズ20と、撮影レンズ20の背部に置かれその結像面に配置された固体撮像素子21と、固体撮像素子21の各画素から出力されるアナログの画像データを自動利得調整(AGC)や相関二重サンプリング処理等のアナログ処理するアナログ信号処理部22と、アナログ信号処理部22から出力されるアナログ画像データをデジタル画像データに変換するアナログデジタル変換部(A/D)23と、後述のシステム制御部(CPU)29からの指示によってA/D23,アナログ信号処理部22,固体撮像素子21,撮影レンズ20の駆動制御を行う駆動制御部24と、CPU29からの指示によって発光するフラッシュ25とを備える。
FIG. 1 is a functional block diagram of a digital camera according to an embodiment of the present invention. The
本実施形態のデジタルカメラ10は更に、A/D23から出力されるデジタル画像データを取り込み補間処理やホワイトバランス補正,RGB/YC変換処理等を行うデジタル信号処理部26と、画像データをJPEG形式などの画像データに圧縮したり逆に伸長したりする圧縮/伸長処理部27と、メニューなどを表示したりスルー画像や撮像画像を表示する表示部28と、デジタルカメラ全体を統括制御するシステム制御部(CPU)29と、フレームメモリ等の内部メモリ30と、JPEG画像データ等を格納する記録メディア32との間のインタフェース処理を行うメディアインタフェース(I/F)部31と、これらを相互に接続するバス40とを備え、また、システム制御部29には、ユーザからの指示入力を行う操作部33が接続されている。
The
システム制御部29は、固体撮像素子21から動画状態で出力されデジタル信号処理部26で処理された撮像画像データ(スルー画像)を配下のデジタル信号処理部26等を用いて後述するように解析して評価曲線(相関演算曲線)を求め、主要被写体までの距離を検出する。そして、システム制御部29は、駆動部24を介し、撮影レンズ20のうちのフォーカスレンズの位置制御を行い、被写体に合焦した光学像が固体撮像素子21の受光面に結像するようにする。
The
固体撮像素子21は、本実施形態ではCMOS型であり、固体撮像素子21の出力信号をアナログ信号処理部(AFE:アナログフロントエンド)22で処理するが、このAFE部分(相関二重サンプリング処理やクランプ処理を行う回路や利得制御を行う信号増幅回路等)は固体撮像素子チップ上に周辺回路として設けられるのが普通である。また、固体撮像素子21のチップ上には、その他にも、水平走査回路や垂直走査回路、雑音低減回路,同期信号発生回路等が周辺回路として受光部周りに形成され、図1のA/D変換部23も形成される場合がある。なお、固体撮像素子21は、CCD型でも、以下に説明する実施形態はそのまま適用可能である。
The solid-state
図2は、固体撮像素子21の受光面の説明図である。固体撮像素子21の受光面には、図示しない多数の画素(受光素子:フォトダイオード)が二次元アレイ状に配列形成されている。この実施形態では、複数の画素が正方格子状に配列形成されている。なお、画素配列は正方格子配列に限るものではなく、奇数行の画素行に対して偶数行の画素行が1/2画素ピッチづつずらして配列された、所謂、ハニカム配列でも良い。
FIG. 2 is an explanatory diagram of the light receiving surface of the solid-
受光面の任意の一部領域位置、図示する例では中央位置に、矩形の位相差検出エリア40が設けられている。この例では、位相差検出エリア40は受光面に対して1箇所だけ設けているが、撮影画面内のどこでもAF可能とできるよう複数箇所に設けても良い。受光面の全領域を位相差検出エリアとすることでも良い。
A rectangular phase
本実施形態では、位相差検出エリア40を、位相差検出方向(この例では左右方向つまりx方向を位相差検出方向としている。)に対し垂直方向(上下方向y)に4分割しており、各分割エリアI,II,III,IV毎に、後述の相関演算を行う構成となっている。なお、分割数は4つに限るものではなく、6分割でも7分割でも良く、任意数に分割できる。
In the present embodiment, the phase
図3は、位相差検出エリア40内の、図2の点線矩形枠41で示す部分の表面拡大模式図である。固体撮像素子21の受光面には、多数の画素が正方格子配列されており、位相差検出エリア40内でも同様である。
FIG. 3 is a schematic enlarged surface view of a portion indicated by a dotted
図示する例では、各画素をR(赤),G(緑),B(青)で示している。R,G,Bは各画素上に積層したカラーフィルタの色を表し、カラーフィルタ配列は、この例ではベイヤ配列となっているが、ベイヤ配列に限るものではなく、ストライプ等の他のカラーフィルタ配列でも良い。 In the illustrated example, each pixel is indicated by R (red), G (green), and B (blue). R, G, and B represent colors of the color filters stacked on each pixel, and the color filter array is a Bayer array in this example, but is not limited to the Bayer array, and other color filters such as stripes. An array may be used.
位相差検出エリア40内の画素配列,カラーフィルタ配列は、位相差検出エリア40外の受光面の画素配列,カラーフィルタ配列と同じであるが、位相差検出エリア40内では、ペアを構成する斜めに隣接する同色画素を、位相差検出画素1x,1yとしている。位相差検出用のペア画素は、本実施形態では、エリア40内の離散的,周期的な位置、図示する例では市松位置に設けられている。
The pixel array and the color filter array in the phase
なお、図示する例では、カラーフィルタ配列がベイヤ配列のため同色画素が斜めに隣接するのであって、横ストライプ配列の場合には同色画素は水平方向に並ぶため、ペアを構成する2画素は横に隣接することになる。あるいは、横ストライプ配列で同じ色フィルタ行内にペアを構成する2画素を設けるのではなく、縦方向に最近接する同色のフィルタ行の夫々にペアを構成する各画素を離して設けることでも良い。縦ストライプ配列の場合も同様である。 In the illustrated example, the same color pixels are diagonally adjacent because the color filter array is a Bayer array, and in the case of a horizontal stripe array, the same color pixels are arranged in the horizontal direction. Will be adjacent to. Alternatively, instead of providing two pixels constituting a pair in the same color filter row in the horizontal stripe arrangement, each pixel constituting the pair may be provided separately in each filter row of the same color closest in the vertical direction. The same applies to the vertical stripe arrangement.
本実施形態では、位相差検出画素1x,1yを、R,G,Bのうち最も多いGフィルタ搭載画素に設けており、水平方向(x方向)に8画素置き、垂直方向(y方向)に8画素置き、かつ全体的に市松位置となるように配置されている。従って、位相差検出方向(左右方向)で見たとき、位相差検出画素1xは4画素置きに配置されることになる。
In the present embodiment, the phase
図4は、図3の位相差検出画素1x,1yだけを抜き出して模式的に表示した図である。ペア画素を構成する位相差検出画素1x,1yは、特許文献2と同様に、その遮光膜開口2x,2yが他の画素(位相差検出画素以外の画素)より小さく形成され、かつ、画素1xの遮光膜開口2xは左方向に偏心して設けられ、画素1yの遮光膜開口2yは右方向(位相差検出方向)に偏心して設けられている。
FIG. 4 is a diagram schematically showing only the phase
図4の下段に示す曲線Xは、横一行に並ぶ位相差検出画素1xの検出信号量をプロットしたグラフであり、曲線Yは、これら画素1xとペアを構成する位相差検出画素1yの検出信号量をプロットしたグラフである。
The curve X shown in the lower part of FIG. 4 is a graph in which the detection signal amounts of the phase
ペア画素1x,1yは隣接画素であり極めて近接しているため、同一被写体からの光を受光していると考えられる。このため、曲線Xと曲線Yとは同一形状になると考えられ、その左右方向(位相差検出方向)のずれが、瞳分割したペア画素の一方の画素1xで見た画像と、他方の画素1yで見た画像との位相差量となる。
Since the
この曲線Xと曲線Yの相関演算を行うことで、位相差量(横ズレ量)を求めることができ、この位相差量から被写体までの距離を算出することが可能となる。曲線Xと曲線Yの相関量の評価値を求める方法は、公知の方法(例えば特許文献1に記載された方法や特許文献2に記載された方法)を採用すれば良い。例えば、曲線Xを構成する各点X(i)と、曲線Yを構成する各点Y(i+j)の差分の絶対値の積算値を評価値とし、最大評価値を与えるj値を、位相差量(横ズレ量)とする。
By performing the correlation calculation between the curve X and the curve Y, the phase difference amount (lateral deviation amount) can be obtained, and the distance to the subject can be calculated from the phase difference amount. A known method (for example, a method described in
しかし、1画素1画素の受光面積が小さい場合、個々の信号量は小さくなってノイズの割合が増えるため、相関演算を行っても精度良く位相差量を検出することが困難となる。そこで、図2の位相差検出エリア40内において、水平方向同一位置にある画素1xの検出信号を垂直方向に複数画素分だけ加算し、水平方向同一位置にある画素1yの検出信号を垂直方向に複数画素分だけ加算すれば、ノイズの影響を低減して合焦位置の検出精度(AF精度)を向上させることが可能となる。
However, when the light receiving area of each pixel is small, the amount of each signal is small and the ratio of noise is increased. Therefore, it is difficult to detect the phase difference with high accuracy even if correlation calculation is performed. Therefore, within the phase
しかし、画素加算数を多くすれば良いというものではなく、画素加算数が多くなるほど、それだけ位相差検出エリア40の画素加算対象とする位相差検出画素の配置領域が上下方向(垂直方向)に延びることになる。被写体パターンは、位相差検出エリア40の上部分で撮像されるパターンと中間部分で撮像されるパターンと下部分で撮像されるパターンとでは異なるのが普通である。このため、これらを全て画素加算してしまうと、位相差検出方向(左右方向)で被写体の画素加算後のパターンが平均化されてしまい、位相差を求める評価値が下がってしまうという問題が生じる。
However, it is not necessary to increase the number of pixel additions. As the number of pixel additions increases, the arrangement area of the phase difference detection pixels to be added to the pixels in the phase
そこで、本実施形態では、図2に示す様に、位相差検出エリア40を4分割し、画素加算範囲を各分割エリア内に限定し、分割エリアを超えて画素加算しない様にしている。つまり、各分割エリアI,II,III,IV毎に画素加算して分割エリア評価曲線(相関演算カーブ)を求め、各分割エリア評価曲線を加算して位相差検出エリア40の全体の評価曲線(全エリア評価曲線)を求めることとしている。
Therefore, in the present embodiment, as shown in FIG. 2, the phase
図5には、分割エリア毎の夫々の評価曲線I,II,III,IVと、これら4本の分割エリア評価曲線を合計した全エリア評価曲線(全エリアの相関演算曲線)Vを示すグラフである。分割エリア評価曲線Iは、分割領域I内で位相差検出画素1xの検出信号を垂直方向(例えば図3の符号45)に画素加算して得られた図4の曲線Xと、同じく分割領域I内で位相差検出画素1yの検出信号を垂直方向(例えば図3の符号46)に画素加算して得られた図4の曲線Yとを相関演算して求めた評価曲線である。この例の場合、最大評価値は最小値として求められる。
FIG. 5 is a graph showing the respective evaluation curves I, II, III, IV for each divided area and the total area evaluation curve (correlation calculation curve for all areas) V obtained by adding up these four divided area evaluation curves. is there. The divided area evaluation curve I is the same as the divided area I in FIG. 4 obtained by adding the detection signals of the phase
同じく、分割エリア評価曲線IIは分割領域IIで得られた評価曲線であり、分割エリア評価曲線IIIは分割領域IIIで得られた評価曲線であり、分割エリア評価曲線IVは分割領域IVで得られた評価曲線である。 Similarly, the divided area evaluation curve II is an evaluation curve obtained in the divided area II, the divided area evaluation curve III is an evaluation curve obtained in the divided area III, and the divided area evaluation curve IV is obtained in the divided area IV. It is an evaluation curve.
これら4本の分割エリア評価曲線I,II,III,IVの各々を求めるための加算画素数は、位相差検出エリア40の垂直方向に並ぶ位相差検出画素1xの画素数に対して、ほぼ分割エリア数分の1となるため、被写体のパターンが平均化される虞が少なく、精度良く評価値を算出することが可能となる。
The number of added pixels for obtaining each of these four divided area evaluation curves I, II, III, and IV is substantially divided with respect to the number of phase
そして、本実施形態では、これら4本の分割エリア評価曲線I,II,III,IVを合計した全エリア評価曲線Vを求め、更に、全エリア評価曲線Vからサブピクセル補間演算を行うことで、位相差量(デフォーカス量)を求める。これにより、ノイズに強く、かつ被写体の各分割エリア毎の評価値を保ったまま位相差の高精度な演算が可能となり、AF精度の向上を図ることが可能となる。 In the present embodiment, the total area evaluation curve V obtained by totaling these four divided area evaluation curves I, II, III, and IV is obtained, and further, sub-pixel interpolation is performed from the total area evaluation curve V. The phase difference amount (defocus amount) is obtained. This makes it possible to perform highly accurate calculation of the phase difference while being resistant to noise and maintaining the evaluation value for each divided area of the subject, thereby improving the AF accuracy.
図5のグラフの横軸の1単位は、図3の位相差検出画素の画素間隔(8画素間隔の市松配列であるため、4画素間隔となる。)であるため、全エリア評価曲線Vの最小値の位置と、この最小値に対して右側に延びる曲線と左側に延びる曲線の夫々の勾配等を勘案して、真の最小値(最大評価値)を与える位置つまり位相差量をサブピクセル補間演算で算出する。これにより、図3の一画素単位で位相差量を求めることが可能となる。 Since one unit of the horizontal axis of the graph of FIG. 5 is the pixel interval of the phase difference detection pixels of FIG. 3 (because of the checkered array of 8 pixel intervals, the interval is 4 pixels), Considering the position of the minimum value and the gradient of the curve extending to the right and the curve extending to the left side relative to this minimum value, the position that gives the true minimum value (maximum evaluation value), that is, the phase difference amount is subpixel. Calculate by interpolation. As a result, the phase difference amount can be obtained for each pixel in FIG.
上述した実施形態では、4本の分割エリア評価曲線I,II,III,IVを合計して全エリア評価曲線Vを求め、最大評価値を求めるとして説明した。しかし、各分割エリアI,II,III,IV毎に相関演算を行った場合、信頼性の低い相関演算結果しか得られない分割エリアも存在することがある。 In the above-described embodiment, the four divided area evaluation curves I, II, III, and IV are totaled to obtain the entire area evaluation curve V, and the maximum evaluation value is obtained. However, when the correlation calculation is performed for each of the divided areas I, II, III, and IV, there may be a divided area where only a correlation calculation result with low reliability can be obtained.
例えば、図6に示す様に、相関カーブ(評価曲線)IIだけみたとき、最大評価値(この例では最小値)を与える横軸位置が明確でなく不明(例えば複数点の存在)の場合が存在する。この様な場合には、信頼性の低い相関カーブII以外の、信頼性の高い相関カーブI,III,IVの3本の相関カーブだけを加算して合計の全エリア評価曲線(分割領域Iの相関演算曲線は使っていないため「全」エリアではなく複数エリアの相関演算曲線であるが、便宜上、「全エリア評価曲線」という。)Vを求め、この全エリア評価曲線Vをサブピクセル補間処理し、位相差量つまりデフォーカス量を算出する。これにより、AF精度の更なる向上を図ることが可能となる。 For example, as shown in FIG. 6, when only the correlation curve (evaluation curve) II is viewed, the position of the horizontal axis that gives the maximum evaluation value (minimum value in this example) is not clear and unknown (for example, the presence of a plurality of points). Exists. In such a case, except for the correlation curve II with low reliability, only the three correlation curves I, III, and IV with high reliability are added to obtain a total total area evaluation curve (for the divided region I). Since the correlation calculation curve is not used, it is a correlation calculation curve for a plurality of areas instead of the “all” area, but for convenience, it is referred to as “all area evaluation curve”) V is obtained, and this all area evaluation curve V is sub-pixel interpolated. Then, the phase difference amount, that is, the defocus amount is calculated. Thereby, it is possible to further improve the AF accuracy.
信頼性が高いか否かは、信頼性を数値化しこれが所定閾値より高いか否かで判定する。例えば、1本の分割エリア評価曲線に評価値が同程度の最小値となる極小値が複数存在したとき、信頼性が低いと判断する。 Whether or not the reliability is high is determined by quantifying the reliability and determining whether or not the reliability is higher than a predetermined threshold. For example, when there are a plurality of minimum values that have the same minimum evaluation value in a single divided area evaluation curve, it is determined that the reliability is low.
図2の位相差検出エリア40内に撮影距離の異なる複数の被写体が存在する場合がある。仮に、被写体A,Bが存在するとする。この様な場合、例えば図7に示す様に、分割エリアI,II,IIIでは被写体Aに対して最大評価値を出す評価曲線I,II,IIIが算出され、分割エリアIVでは被写体Bに対して最大評価値を出す評価曲線IVが算出される。図6の場合と異なり、図7の評価曲線IVは、信頼性が低い訳ではなく、信頼性は高い。
There may be a plurality of subjects with different shooting distances in the phase
しかし、この様な場合に、全部の分割エリア評価曲線I,II,III,IVを合計して全エリア評価曲線Vを求めると誤合焦となり、合焦位置を誤る虞がある。そこで、この様な場合には、個々の評価曲線I,II,III,IVの最大評価値をとる横軸上の位置(精確な位置ではなく、ある程度の同範囲内にあると考えられる位置で良い。)の多数決をとり、分割エリア評価曲線IVを除外し、多数となる分割エリア評価曲線I,II,IIIを合計することで全エリア評価曲線Vを求める。これにより、位相差検出エリア(AFエリア)に撮影距離の異なる被写体が存在しても、誤合焦を防ぐことが可能となる。 However, in such a case, if all the divided area evaluation curves I, II, III, and IV are totaled to obtain the whole area evaluation curve V, there is a possibility that the in-focus position may be incorrect. Therefore, in such a case, a position on the horizontal axis that takes the maximum evaluation value of each evaluation curve I, II, III, IV (not a precise position, but a position that is considered to be within a certain range of some extent). The total area evaluation curve V is obtained by adding the majority of the divided area evaluation curves I, II, and III. As a result, even when subjects with different shooting distances exist in the phase difference detection area (AF area), it is possible to prevent erroneous focusing.
図7の説明では、4本の分割エリア評価曲線の多数決をとるとして説明した。しかし、分割エリア数が4個であるため、2対2の同数となる場合も存在する。この場合を図8で説明する。図8では、分割エリア評価曲線I,III(被写体Aに対する評価曲線とする。)と、分割エリア評価曲線II,IV(被写体Bに対する評価曲線とする。)の2本づつとなっている。 In the description of FIG. 7, it is assumed that the majority of the four divided area evaluation curves is taken. However, since the number of divided areas is 4, there may be a case where the number is equal to 2 to 2. This case will be described with reference to FIG. In FIG. 8, there are two divided area evaluation curves I and III (the evaluation curves for the subject A) and divided area evaluation curves II and IV (the evaluation curves for the subject B).
この様な場合に、4本の分割エリア評価曲線I,II,III,IVを合計して全エリア評価曲線Vを求めると、被写体Aにも合焦せず、被写体Bにも合焦しない結果になってしまう。そこで、被写体Aか被写体Bのいずれか一方を選ぶことになる。本実施形態では、被写体Aと被写体Bのうち、カメラに近い側の被写体を主要被写体と判断することにする。つまり、位置ズレ量が小さい側(図5の横軸参照:撮像装置に近い側)の被写体を選択し、分割エリア評価曲線I,IIIだけを加算して全エリア評価曲線Vを求め、サブピクセル補間して位相差量を算出する。 In such a case, when the total area evaluation curve V is obtained by adding the four divided area evaluation curves I, II, III, and IV, the subject A is not focused and the subject B is not focused. Become. Therefore, either subject A or subject B is selected. In the present embodiment, of the subjects A and B, the subject closer to the camera is determined as the main subject. That is, the subject on the side where the amount of positional deviation is small (see the horizontal axis in FIG. 5: the side close to the imaging device) is selected, and only the divided area evaluation curves I and III are added to obtain the entire area evaluation curve V, thereby subpixels. The phase difference amount is calculated by interpolation.
これにより、AFエリアに撮影距離の異なる被写体が存在する場合でも、誤合焦を防ぐことが可能となり、かつ、近い被写体に優先的にAFを合わせることが可能となる。 As a result, even when subjects with different shooting distances exist in the AF area, it is possible to prevent erroneous focusing, and it is possible to preferentially focus AF on a close subject.
図9は、本発明の別実施形態に係る位相差検出画素の画素配列を示す図である。上述した各実施形態では、位相差検出方向を横方向(x方向)だけとして位相差検出画素1x,1yを設けたが、本実施形態では、図10に示す様に、横方向を第1位相差検出方向とし、縦方向(y方向)も第2位相差検出方向としている。
FIG. 9 is a diagram showing a pixel arrangement of phase difference detection pixels according to another embodiment of the present invention. In each of the embodiments described above, the phase
このため、図9に示す様に、この実施形態では、正方配列の最隣接4画素A,B,C,Dのうち、左上画素A(位相差画素1xに相当)と右下画素B(位相差画素1yに相当)とで水平方向(x方向)の位相差を検出し、右上画素Cと左下画素Dとで垂直方向(y方向)の位相差を検出する構成となっている。即ち、画素Aの小さな遮光膜開口を左側に偏心させ、画素Bの小さな遮光膜開口を右側に偏心させ、画素Cの小さな遮光膜開口を上側に偏心させ、画素Dの小さな遮光膜開口を下側に偏心させている。
For this reason, as shown in FIG. 9, in this embodiment, among the four adjacent pixels A, B, C, and D in the square array, the upper left pixel A (corresponding to the
上述した図9に示す位相差検出画素A,B,C,Dの組を、図10の位相差検出エリア40内の周期的かつ離散的位置に配列することで、縦方向,横方向の位相差を検出する。この場合、矩形の位相差検出エリア40をメッシュ状に、図11に示す例では縦横共に2分割の計4つのエリアI,II,III,IVに分割する。この4つの分割エリアの夫々では、同一エリア内で縦方向,横方向共に同じ様な評価曲線が得られる蓋然性が高いと考えられる。
By arranging the set of the phase difference detection pixels A, B, C, and D shown in FIG. 9 at periodic and discrete positions in the phase
図12は、4つの分割エリアの夫々で水平方向の分割エリア評価曲線と垂直方向の分割エリア評価曲線の計8本の分割エリア評価曲線を求めた場合の一例を示す図である。分割エリアIからは、水平方向の分割エリア評価曲線Iaと垂直方向の分割エリア評価曲線Ibが求まり、分割エリアIIからは、水平方向の分割エリア評価曲線IIaと垂直方向の分割エリア評価曲線IIbが求まり、分割エリアIIIからは、水平方向の分割エリア評価曲線IIIaと垂直方向の分割エリア評価曲線IIIbが求まり、分割エリアIVからは、水平方向の分割エリア評価曲線IVaと垂直方向の分割エリア評価曲線IVbが求まる。 FIG. 12 is a diagram illustrating an example of a case where a total of eight divided area evaluation curves, that is, a divided area evaluation curve in the horizontal direction and a divided area evaluation curve in the vertical direction, are obtained in each of the four divided areas. From the divided area I, a horizontal divided area evaluation curve Ia and a vertical divided area evaluation curve Ib are obtained, and from the divided area II, a horizontal divided area evaluation curve IIa and a vertical divided area evaluation curve IIb are obtained. From the divided area III, a horizontal divided area evaluation curve IIIa and a vertical divided area evaluation curve IIIb are obtained, and from the divided area IV, the horizontal divided area evaluation curve IVa and the vertical divided area evaluation curve are obtained. IVb is obtained.
図12の例では、分割エリアIVの評価値の信頼性が小さいため、分割エリアI,II,IIIの計6本の分割エリア評価曲線を加算して合計の全エリア評価曲線Vを求め、サブピクセル補間を行い、位相差量つまりデフォーカス量を算出する。この様に、異なる方向の位相差を検出して合焦位置を求めるため、AF精度の更なる向上を図ることが可能となる。また、信頼性の低い分割エリアを除外してAF演算には用いないため、AF精度を更に向上させることができる。 In the example of FIG. 12, since the reliability of the evaluation value of divided area IV is small, a total of six divided area evaluation curves for divided areas I, II, and III are added to obtain a total total area evaluation curve V. Pixel interpolation is performed to calculate a phase difference amount, that is, a defocus amount. In this way, since the in-focus position is obtained by detecting the phase difference in different directions, it is possible to further improve the AF accuracy. Further, since the divided areas with low reliability are excluded and are not used for the AF calculation, the AF accuracy can be further improved.
以上述べた実施形態の様に、位相差検出エリアを複数領域に分割し、分割エリア毎に分割エリア評価曲線を求め、信頼性の高い分割エリア評価曲線だけを加算して合計の全エリア評価曲線を求め、この全エリア評価曲線をサブピクセル補間して位相差量を算出し撮影レンズの合焦制御を行うため、小面積の撮像素子を使用する場合であっても一眼レフカメラと同程度の高速かつ高精度なAF性能を得ることが可能となる。 As in the embodiment described above, the phase difference detection area is divided into a plurality of areas, a divided area evaluation curve is obtained for each divided area, and only a highly reliable divided area evaluation curve is added to obtain a total total area evaluation curve. The total area evaluation curve is sub-pixel interpolated to calculate the amount of phase difference and control the focus of the photographic lens, so even when using a small area image sensor, it is comparable to a single-lens reflex camera. High-speed and high-precision AF performance can be obtained.
なお、上述した実施形態では、位相差検出画素を構成する瞳分割したペア画素として、小さくした遮光膜開口を互いに反対方向にずらした例を用いて説明したが、瞳分割して位相差検出画素を構成する方法はこれに限るものではなく、例えばペア画素に一つのマイクロレンズを搭載して瞳分割することでも良い。 In the above-described embodiment, the pupil-divided pair pixel constituting the phase difference detection pixel has been described by using an example in which the reduced light shielding film openings are shifted in opposite directions. The method of configuring is not limited to this, and for example, one microlens may be mounted on a pair of pixels to divide the pupil.
また、上述した実施形態では、個々のエリア毎の相関演算曲線に対し所要演算処理を施して全エリア(或いは複数エリア)評価曲線を求める場合、所要演算処理として「加算合計」する例について述べたが、他にも、「平均値」や「乗算値」を求めることでも良い。 Further, in the above-described embodiment, an example in which “addition and summation” is performed as the required calculation process when the required calculation process is performed on the correlation calculation curve for each area to obtain an evaluation curve for all areas (or a plurality of areas) has been described. However, “average value” and “multiplication value” may be obtained in addition.
更に、上述した実施形態では、位相差を検出するペア画素を位相差検出エリア内の離散的,周期的な位置に設けた例について述べたが、必ずしも周期的,離散的位置に設ける必要はなく、ランダムな位置(同一行に設けられる位相差検出画素がランダムな位置にあっても図4の曲線X,Yは求められる。)であっても良く、あるいは全画素を位相差検出画素とすることでも良い。 Furthermore, in the above-described embodiment, the example in which the pair pixels for detecting the phase difference are provided at discrete and periodic positions in the phase difference detection area has been described. However, the pixel need not necessarily be provided at the periodic and discrete positions. 4 may be random positions (even if the phase difference detection pixels provided in the same row are at random positions, the curves X and Y in FIG. 4 can be obtained), or all the pixels are used as phase difference detection pixels. That's fine.
以上述べた実施形態の撮像装置及びその合焦位置検出方法は、被写体の画像を撮像する受光面に設けられた位相差検出エリア内に、瞳分割した第1の位相差検出画素及び第2の位相差検出画素で構成されるペア画素が配列形成された撮像素子と、
該撮像素子の前段に置かれ、前記被写体の合焦した光学像を前記受光面に結像させるフォーカスレンズと、
前記第1の位相差検出画素の検出情報と前記第2の位相差検出画素の検出情報との位相差を求め、該位相差に基づき前記フォーカスレンズを前記合焦する位置に制御する制御手段とを備える撮像装置及びその合焦位置検出方法であって、
前記位相差の検知方向に対して直角方向に前記位相差検出エリアを複数の分割エリアに分割し、
前記分割エリア毎に、当該分割エリア内の前記直角方向に一列に並ぶ複数の前記第1の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第1の位相差検出画素毎に加算すると共に、前記直角方向に一列に並ぶ複数の前記第2の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第2の位相差検出画素毎に加算し、
前記分割エリア毎に、前記第1の位相差検出画素の前記加算した信号と前記第2の位相差検出画素の前記加算した信号との相関関係を演算して分割エリア毎の相関演算曲線を算出し、
前記分割エリア毎に算出された前記分割エリア毎の相関演算曲線のうち任意複数個の前記相関演算曲線間に所定演算処理を施して複数エリアの相関演算曲線を求め、該複数エリアの相関演算曲線から前記フォーカスレンズを前記合焦位置に制御する位相差を求める
ことを特徴とする。
The imaging apparatus and the focus position detection method thereof according to the embodiments described above include the first phase difference detection pixel and the second phase divided in the phase difference detection area provided on the light receiving surface that captures the image of the subject. An image sensor in which a pair of pixels composed of phase difference detection pixels are arrayed;
A focus lens that is placed in front of the image sensor and forms a focused optical image of the subject on the light receiving surface;
Control means for obtaining a phase difference between detection information of the first phase difference detection pixel and detection information of the second phase difference detection pixel, and controlling the focus lens to the in-focus position based on the phase difference; An imaging apparatus including the same and a focusing position detection method thereof,
Dividing the phase difference detection area into a plurality of divided areas in a direction perpendicular to the phase difference detection direction;
For each of the divided areas, the output signals of the plurality of first phase difference detection pixels arranged in a line in the perpendicular direction in the divided area are output in the direction in which the phase difference in the divided area is detected. A plurality of first phase difference detection pixels are added and a plurality of second phase difference detection pixel output signals arranged in a line in the perpendicular direction are arranged in a direction in which the phase difference in the divided area is detected. For each of the second phase difference detection pixels,
For each divided area, a correlation calculation curve for each divided area is calculated by calculating a correlation between the added signal of the first phase difference detection pixel and the added signal of the second phase difference detection pixel. And
A correlation calculation curve for a plurality of areas is obtained by performing a predetermined calculation process between the plurality of correlation calculation curves among the correlation calculation curves for each of the divided areas calculated for each of the divided areas. To obtain a phase difference for controlling the focus lens to the in-focus position.
また、実施形態の撮像装置及びその合焦位置検出方法は、前記複数エリアの相関演算曲線を算出するとき前記分割エリア毎の各相関演算曲線の信頼性評価を行い、信頼性が所定閾値より高い前記分割エリア毎の相関演算曲線に対してだけ前記所定演算処理を施して前記複数エリアの相関演算曲線を求めることを特徴とする。 In the imaging apparatus and the focus position detection method according to the embodiment, when calculating the correlation calculation curves of the plurality of areas, the reliability of each correlation calculation curve for each divided area is evaluated, and the reliability is higher than a predetermined threshold. The correlation calculation curves for the plurality of areas are obtained by performing the predetermined calculation process only on the correlation calculation curves for the divided areas.
また、実施形態の撮像装置及びその合焦位置検出方法は、前記分割エリア毎の相関演算曲線の最大評価値を与える位置が同程度の範囲内となる分割エリア毎の相関演算曲線だけを用いて前記複数エリアの相関演算曲線を求めることを特徴とする。 In addition, the imaging apparatus and the focus position detection method of the embodiment use only the correlation calculation curve for each divided area in which the position for giving the maximum evaluation value of the correlation calculation curve for each divided area is within the same range. A correlation calculation curve for the plurality of areas is obtained.
また、実施形態の撮像装置及びその合焦位置検出方法は、各分割エリア毎の相関演算曲線の前記最大評価値を与える位置の多数決をとり、多数となる前記分割エリア毎の相関演算曲線だけを用いて前記複数エリアの相関演算曲線を求めることを特徴とする。 In addition, the imaging apparatus and the focus position detection method of the embodiment take a majority decision of the position that gives the maximum evaluation value of the correlation calculation curve for each divided area, and obtain only a large number of correlation calculation curves for each divided area. And calculating a correlation calculation curve of the plurality of areas.
また、実施形態の撮像装置及びその合焦位置検出方法は、前記最大評価値を与える位置が同程度の範囲内となる数が複数となり前記複数エリアの相関演算曲線が複数求まるときは、前記最大評価値を与える位置の位相差ズレ量が小さい方の前記複数エリアの相関演算曲線を選択することを特徴とする。 Further, in the imaging apparatus and the focus position detection method of the embodiment, when the number of positions where the maximum evaluation value is given is within a similar range and a plurality of correlation calculation curves of the plurality of areas are obtained, the maximum The correlation calculation curve of the plurality of areas having the smaller phase difference shift amount at the position where the evaluation value is given is selected.
また、実施形態の撮像装置及びその合焦位置検出方法は、前記最大評価値を与える位置が同程度の範囲内となる数が複数となり前記複数エリアの相関演算曲線が複数求まるときは、前記最大評価値を与える位置が前記撮像素子から近い方の前記複数エリアの相関演算曲線を選択することを特徴とする。 Further, in the imaging apparatus and the focus position detection method of the embodiment, when the number of positions where the maximum evaluation value is given is within a similar range and a plurality of correlation calculation curves of the plurality of areas are obtained, the maximum The correlation calculation curve of the plurality of areas whose position where the evaluation value is given is closer to the image sensor is selected.
また、実施形態の撮像装置及びその合焦位置検出方法は、水平方向の位相差を検出する前記第1の位相差検出画素及び前記第2の位相差検出画素のペア画素の他に垂直方向の位相差を検出する前記第1の位相差検出画素及び前記第2の位相差検出画素のペア画素を前記撮像素子の前記位相差検出エリア内に設け、前記位相差検出エリアをメッシュ状に複数の分割エリアに分割し、各分割エリア毎に、前記水平方向の前記分割エリア毎の相関演算曲線と前記垂直方向の前記分割エリア毎の相関演算曲線とを求め、分割エリア数の2倍の数の前記分割エリア毎の相関演算曲線に基づいて前記複数エリアの相関演算曲線を求めることを特徴とする。 In addition, in the imaging apparatus and the focus position detection method thereof according to the embodiment, in addition to the pair of pixels of the first phase difference detection pixel and the second phase difference detection pixel that detect the phase difference in the horizontal direction, A pair pixel of the first phase difference detection pixel and the second phase difference detection pixel for detecting a phase difference is provided in the phase difference detection area of the image sensor, and the phase difference detection area is formed in a plurality of mesh shapes. Dividing into divided areas, for each divided area, obtain a correlation calculation curve for each of the divided areas in the horizontal direction and a correlation calculation curve for each of the divided areas in the vertical direction, and have twice the number of divided areas. A correlation calculation curve for the plurality of areas is obtained based on a correlation calculation curve for each of the divided areas.
また、実施形態の撮像装置及びその合焦位置検出方法は、前記2倍の数の前記分割エリア毎の相関演算曲線のうち、同一分割エリアにおける前記水平方向の分割エリア毎の相関演算曲線と前記垂直方向の分割エリア毎の相関演算曲線とが異なる最大評価値を持つ場合には当該分割エリアの2本の分割エリア毎の相関演算曲線を除外した残りの分割エリア毎の相関演算曲線から前記複数エリアの相関演算曲線を求めることを特徴とする。 In addition, the imaging apparatus and the focus position detection method according to the embodiment include the correlation calculation curve for each of the horizontal divided areas in the same divided area among the two times as many correlation calculation curves for each of the divided areas, and the above-described correlation calculation curve. If the correlation calculation curve for each divided area in the vertical direction has a different maximum evaluation value, the plurality of correlation calculation curves for the remaining divided areas excluding the correlation calculation curves for the two divided areas of the divided area An area correlation calculation curve is obtained.
以上述べた実施形態によれば、分割エリア毎に画素加算を行うため、画素加算数が多くなって被写体のパターンが平均化されていることがなく、また、画素加算を行うために精度の高い位相差量を検出でき、小型小面積の固体撮像素子であっても高速かつ高精度に位相差AFを実現可能となる。 According to the embodiment described above, since pixel addition is performed for each divided area, the number of pixel additions is increased and the pattern of the subject is not averaged, and the pixel addition is highly accurate. The phase difference amount can be detected, and the phase difference AF can be realized at high speed and with high accuracy even with a small and small area solid-state imaging device.
本発明に係る合焦位置検出方法は、高速かつ高精度なAF性能を得ることができるため、デジタルカメラ特にコンパクトなデジタルカメラやカメラ付携帯電話機、カメラ付電子装置、内視鏡用撮像装置等に適用すると有用である。 Since the in-focus position detection method according to the present invention can obtain high-speed and high-precision AF performance, a digital camera, particularly a compact digital camera, a camera-equipped mobile phone, an electronic device with a camera, an imaging device for an endoscope, etc. It is useful to apply to.
1x,1y 位相差検出画素
2x,2y 位相差検出画素の遮光膜開口
10 撮像装置
20 撮影レンズ
21 固体撮像素子
24 駆動部
26 デジタル信号処理部
29 システム制御部
40 位相差検出エリア
I,II,III,IV 分割エリア
1x, 1y Phase
Claims (16)
該撮像素子の前段に置かれ、前記被写体の合焦した光学像を前記受光面に結像させるフォーカスレンズと、
前記第1の位相差検出画素の検出情報と前記第2の位相差検出画素の検出情報との位相差を求め、該位相差に基づき前記フォーカスレンズを前記合焦する位置に制御する制御手段とを備え、
該制御手段は、
前記位相差の検知方向に対して直角方向に前記位相差検出エリアを複数の分割エリアに分割する手段と、
前記分割エリア毎に、当該分割エリア内の前記直角方向に一列に並ぶ複数の前記第1の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第1の位相差検出画素毎に加算すると共に、前記直角方向に一列に並ぶ複数の前記第2の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第2の位相差検出画素毎に加算する手段と、
前記分割エリア毎に、前記第1の位相差検出画素の前記加算した信号と前記第2の位相差検出画素の前記加算した信号との相関関係を演算して分割エリア毎の相関演算曲線を算出する手段と、
前記分割エリア毎に算出された前記分割エリア毎の相関演算曲線のうち任意複数個の前記相関演算曲線間に所定演算処理を施して複数エリアの相関演算曲線を求め、該複数エリアの相関演算曲線から前記フォーカスレンズを前記合焦位置に制御する位相差を求める手段と
を備える撮像装置。 An imaging element in which a pair of pixels composed of a first phase difference detection pixel and a second phase difference detection pixel divided into pupils are arrayed in a phase difference detection area provided on a light receiving surface for picking up an image of a subject. When,
A focus lens that is placed in front of the image sensor and forms a focused optical image of the subject on the light receiving surface;
Control means for obtaining a phase difference between detection information of the first phase difference detection pixel and detection information of the second phase difference detection pixel, and controlling the focus lens to the in-focus position based on the phase difference; With
The control means includes
Means for dividing the phase difference detection area into a plurality of divided areas in a direction perpendicular to the phase difference detection direction;
For each of the divided areas, the output signals of the plurality of first phase difference detection pixels arranged in a line in the perpendicular direction in the divided area are output in the direction in which the phase difference in the divided area is detected. A plurality of first phase difference detection pixels are added and a plurality of second phase difference detection pixel output signals arranged in a line in the perpendicular direction are arranged in a direction in which the phase difference in the divided area is detected. Means for adding each of the second phase difference detection pixels;
For each divided area, a correlation calculation curve for each divided area is calculated by calculating a correlation between the added signal of the first phase difference detection pixel and the added signal of the second phase difference detection pixel. Means to
A correlation calculation curve for a plurality of areas is obtained by performing a predetermined calculation process between the plurality of correlation calculation curves among the correlation calculation curves for each of the divided areas calculated for each of the divided areas. An imaging device comprising: a phase difference for controlling the focus lens to the in-focus position.
該撮像素子の前段に置かれ、前記被写体の合焦した光学像を前記受光面に結像させるフォーカスレンズと、
前記第1の位相差検出画素の検出情報と前記第2の位相差検出画素の検出情報との位相差を求め、該位相差に基づき前記フォーカスレンズを前記合焦する位置に制御する制御手段とを備える撮像装置の合焦位置検出方法であって、
前記位相差の検知方向に対して直角方向に前記位相差検出エリアを複数の分割エリアに分割し、
前記分割エリア毎に、当該分割エリア内の前記直角方向に一列に並ぶ複数の前記第1の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第1の位相差検出画素毎に加算すると共に、前記直角方向に一列に並ぶ複数の前記第2の位相差検出画素の出力信号を、該分割エリア内の前記位相差を検出する方向に並ぶ複数の前記第2の位相差検出画素毎に加算し、
前記分割エリア毎に、前記第1の位相差検出画素の前記加算した信号と前記第2の位相差検出画素の前記加算した信号との相関関係を演算して分割エリア毎の相関演算曲線を算出し、
前記分割エリア毎に算出された前記分割エリア毎の相関演算曲線のうち任意複数個の前記相関演算曲線間に所定演算処理を施して複数エリアの相関演算曲線を求め、該複数エリアの相関演算曲線から前記フォーカスレンズを前記合焦位置に制御する位相差を求める
ことを特徴とする撮像装置の合焦位置検出方法。 An imaging element in which a pair of pixels composed of a first phase difference detection pixel and a second phase difference detection pixel divided into pupils are arrayed in a phase difference detection area provided on a light receiving surface for picking up an image of a subject. When,
A focus lens that is placed in front of the image sensor and forms a focused optical image of the subject on the light receiving surface;
Control means for obtaining a phase difference between detection information of the first phase difference detection pixel and detection information of the second phase difference detection pixel, and controlling the focus lens to the in-focus position based on the phase difference; An in-focus position detection method for an imaging apparatus comprising:
Dividing the phase difference detection area into a plurality of divided areas in a direction perpendicular to the phase difference detection direction;
For each of the divided areas, the output signals of the plurality of first phase difference detection pixels arranged in a line in the perpendicular direction in the divided area are output in the direction in which the phase difference in the divided area is detected. A plurality of first phase difference detection pixels are added and a plurality of second phase difference detection pixel output signals arranged in a line in the perpendicular direction are arranged in a direction in which the phase difference in the divided area is detected. For each of the second phase difference detection pixels,
For each divided area, a correlation calculation curve for each divided area is calculated by calculating a correlation between the added signal of the first phase difference detection pixel and the added signal of the second phase difference detection pixel. And
A correlation calculation curve for a plurality of areas is obtained by performing a predetermined calculation process between the plurality of correlation calculation curves among the correlation calculation curves for each of the divided areas calculated for each of the divided areas. A phase difference for controlling the focus lens to the in-focus position is obtained from the focus position detecting method for the imaging apparatus.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010267932A JP2014032214A (en) | 2010-11-30 | 2010-11-30 | Imaging apparatus and focus position detection method |
PCT/JP2011/076721 WO2012073727A1 (en) | 2010-11-30 | 2011-11-18 | Imaging device and focal position detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010267932A JP2014032214A (en) | 2010-11-30 | 2010-11-30 | Imaging apparatus and focus position detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014032214A true JP2014032214A (en) | 2014-02-20 |
Family
ID=46171671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010267932A Pending JP2014032214A (en) | 2010-11-30 | 2010-11-30 | Imaging apparatus and focus position detection method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2014032214A (en) |
WO (1) | WO2012073727A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015210489A (en) * | 2014-04-30 | 2015-11-24 | キヤノン株式会社 | Imaging apparatus and imaging method |
JP2016133674A (en) * | 2015-01-20 | 2016-07-25 | キヤノン株式会社 | Focus control device, and method, program and storage medium therefor |
US20160381284A1 (en) * | 2014-03-25 | 2016-12-29 | Fujifilm Corporation | Imaging device and focusing control method |
JP2017223741A (en) * | 2016-06-13 | 2017-12-21 | キヤノン株式会社 | Imaging device and control method thereof |
CN106062607B (en) * | 2014-03-18 | 2018-09-25 | 富士胶片株式会社 | Photographic device and focusing control method |
US10313577B2 (en) | 2016-01-21 | 2019-06-04 | Canon Kabushiki Kaisha | Focus detection apparatus, focus detection method, and image capturing apparatus |
JP2020013083A (en) * | 2018-07-20 | 2020-01-23 | 株式会社ニコン | Focus detector, imaging device, and interchangeable lens |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6446599B2 (en) | 2016-04-07 | 2018-12-26 | 富士フイルム株式会社 | Focus control device, lens device, imaging device, focus control method, focus control program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4867566B2 (en) * | 2006-10-18 | 2012-02-01 | 株式会社ニコン | Imaging device, focus detection device, and imaging device |
JP5045350B2 (en) * | 2007-10-01 | 2012-10-10 | 株式会社ニコン | Imaging device and imaging apparatus |
JP5207797B2 (en) * | 2008-03-28 | 2013-06-12 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP5361356B2 (en) * | 2008-12-09 | 2013-12-04 | キヤノン株式会社 | Focus detection apparatus and control method thereof |
JP5202289B2 (en) * | 2008-12-25 | 2013-06-05 | キヤノン株式会社 | Imaging device |
JP4692654B2 (en) * | 2009-02-20 | 2011-06-01 | 株式会社ニコン | Imaging apparatus and image processing program |
JP4766133B2 (en) * | 2009-03-11 | 2011-09-07 | 株式会社ニコン | Imaging device |
-
2010
- 2010-11-30 JP JP2010267932A patent/JP2014032214A/en active Pending
-
2011
- 2011-11-18 WO PCT/JP2011/076721 patent/WO2012073727A1/en active Application Filing
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106062607B (en) * | 2014-03-18 | 2018-09-25 | 富士胶片株式会社 | Photographic device and focusing control method |
US20160381284A1 (en) * | 2014-03-25 | 2016-12-29 | Fujifilm Corporation | Imaging device and focusing control method |
US9948851B2 (en) * | 2014-03-25 | 2018-04-17 | Fujifilm Corporation | Imaging device and focusing control method |
JP2015210489A (en) * | 2014-04-30 | 2015-11-24 | キヤノン株式会社 | Imaging apparatus and imaging method |
JP2016133674A (en) * | 2015-01-20 | 2016-07-25 | キヤノン株式会社 | Focus control device, and method, program and storage medium therefor |
US9848117B2 (en) | 2015-01-20 | 2017-12-19 | Canon Kabushiki Kaisha | Focus control apparatus, method therefor, and storage medium |
US10313577B2 (en) | 2016-01-21 | 2019-06-04 | Canon Kabushiki Kaisha | Focus detection apparatus, focus detection method, and image capturing apparatus |
JP2017223741A (en) * | 2016-06-13 | 2017-12-21 | キヤノン株式会社 | Imaging device and control method thereof |
JP2020013083A (en) * | 2018-07-20 | 2020-01-23 | 株式会社ニコン | Focus detector, imaging device, and interchangeable lens |
JP7279313B2 (en) | 2018-07-20 | 2023-05-23 | 株式会社ニコン | Focus detection device and imaging device |
Also Published As
Publication number | Publication date |
---|---|
WO2012073727A1 (en) | 2012-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5493010B2 (en) | Imaging apparatus and focus position detection method thereof | |
JP5493011B2 (en) | Imaging apparatus and focus position detection method thereof | |
JP5572765B2 (en) | Solid-state imaging device, imaging apparatus, and focusing control method | |
US9742984B2 (en) | Image capturing apparatus and method of controlling the same | |
JP5860936B2 (en) | Imaging device | |
JP5552214B2 (en) | Focus detection device | |
JP5202289B2 (en) | Imaging device | |
JP5613843B2 (en) | Solid-state imaging device, imaging apparatus, and focusing control method | |
WO2012073727A1 (en) | Imaging device and focal position detection method | |
US8723991B2 (en) | Color imaging element, imaging device, and storage medium storing an imaging program | |
JP2014139679A (en) | Imaging apparatus and method for controlling focusing of the same | |
US8723992B2 (en) | Color imaging element, imaging device, and storage medium storing an imaging program | |
EP2690875A1 (en) | Color image sensor, imaging device, and control program for imaging device | |
EP2690872A1 (en) | Color image capturing element, image capturing device, and image capturing program | |
JP5634614B2 (en) | Imaging device and imaging apparatus | |
JP5786355B2 (en) | Defocus amount detection device and electronic camera | |
EP2696585A1 (en) | Color image capturing element, image capturing device, and image capturing program | |
JP7250428B2 (en) | Imaging device and its control method | |
JP6741549B2 (en) | Imaging device and control method thereof | |
JP2016009024A (en) | Focus detector, control method of the same, and imaging apparatus |