JP2007333720A - Correlation calculation method, correlation calculation device, focus detecting device, and imaging device - Google Patents

Correlation calculation method, correlation calculation device, focus detecting device, and imaging device Download PDF

Info

Publication number
JP2007333720A
JP2007333720A JP2006300607A JP2006300607A JP2007333720A JP 2007333720 A JP2007333720 A JP 2007333720A JP 2006300607 A JP2006300607 A JP 2006300607A JP 2006300607 A JP2006300607 A JP 2006300607A JP 2007333720 A JP2007333720 A JP 2007333720A
Authority
JP
Japan
Prior art keywords
data
calculation
correlation
signal data
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006300607A
Other languages
Japanese (ja)
Other versions
JP5066893B2 (en
Inventor
Yosuke Kusaka
洋介 日下
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2006300607A priority Critical patent/JP5066893B2/en
Priority to US11/798,275 priority patent/US7586588B2/en
Publication of JP2007333720A publication Critical patent/JP2007333720A/en
Application granted granted Critical
Publication of JP5066893B2 publication Critical patent/JP5066893B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)
  • Measurement Of Optical Distance (AREA)
  • Focusing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To accurately detect the correlation of a pair of signal data rows. <P>SOLUTION: In this correlation calculation method, the degree of correlation between the first signal data row and the second signal data row is calculated. The method performs the first information generating step of generating first calculation data by multiplying first data in the first signal data row by the data near the second data corresponding to the first data in the second signal data row, a second information generating step of generating second calculation data by multiplying second data in the second signal data row by the data near first data in the first signal data row, and the degree-of-correlation detection step of calculating the degree of correlation between the first calculation data and the second calculation data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の信号データ列の相関関係を演算する相関演算方法と相関演算装置、およびそれらを用いた焦点検出装置および撮像装置に関する。   The present invention relates to a correlation calculation method and a correlation calculation device for calculating the correlation of a plurality of signal data strings, and a focus detection device and an imaging device using them.

対象物体の光像をそれぞれ一対の光電変換素子アレイ上に形成し、それらの光電変換素子アレイから出力される一対の電気信号データ列の相関を演算する装置が知られている。例えば、撮影光学系の射出瞳面の異なる領域を通過した一対の光束をイメージセンサーで受光し、イメージセンサー上に結像された一対の光像を一対の電気信号データ列に変換し、これらの信号データ列の相関を演算して撮影光学系の焦点調節状態を検出する焦点検出装置が知られている(例えば、特許文献1参照)。   There is known an apparatus that forms a light image of a target object on a pair of photoelectric conversion element arrays, and calculates a correlation between a pair of electric signal data strings output from the photoelectric conversion element arrays. For example, a pair of light beams that have passed through different areas of the exit pupil plane of the photographing optical system are received by an image sensor, a pair of light images formed on the image sensor are converted into a pair of electrical signal data strings, and A focus detection device that detects the focus adjustment state of a photographing optical system by calculating the correlation of a signal data string is known (see, for example, Patent Document 1).

この出願の発明に関連する先行技術文献としては次のものがある。
特開平04−338905号公報
Prior art documents related to the invention of this application include the following.
JP 04-338905 A

しかしながら、上述した従来の相関演算方法では、一対の信号データ列A1、A2、・・、ANとB1、B2、・・、BN(Nはデータの個数)をずらし量kを変えながら比較し、単に両信号データ列の差の絶対値の総和Σ|An−Bn+k|を求めて両信号データ列の相関量C(k)としているので、例えば一対の光束のいずれか一方に撮影光学系による“ケラレ”が発生した場合には、イメージセンサーから出力される一対の信号データ列に相対的な歪みが発生し、両信号データ列の相関関係を正確に検出できなくなるという問題がある。   However, in the above-described conventional correlation calculation method, a pair of signal data sequences A1, A2,..., AN and B1, B2,..., BN (N is the number of data) are compared while changing the shift amount k. Since the total sum Σ | An−Bn + k | of the absolute values of the differences between the two signal data sequences is simply obtained and used as the correlation amount C (k) between the two signal data sequences, for example, one of the pair of light fluxes has a photographing optical system. When the “vignetting” occurs due to the relative distortion of the pair of signal data strings output from the image sensor, the correlation between the two signal data strings cannot be accurately detected.

(1) 本発明は、第1信号データ列と第2信号データ列との相関度を演算する相関演算において、第1信号データ列中の第1データと、第2信号データ列中の第1データに対応する第2データの近傍のデータとを乗算して第1演算データを生成するとともに、第2信号データ列中の第2データと、第1信号データ列の第1データの近傍のデータとを乗算して第2演算データを生成し、第1演算データと第2演算データとの相関度を演算する。
(2) また、本発明は、第1信号データ列と第2信号データ列との相関度を演算する相関演算において、まず、第1信号データ列中の第1データとその近傍のデータに第1演算を行って演算データを演算するとともに、第2信号データ列中の第1データに対応する第2データとその近傍のデータに第2演算を行って演算データを演算し、それらの演算データを乗算して第1演算データを演算する。次に、第2信号データ列中の第2データとその近傍のデータに第1演算を行って演算データを演算するとともに、第1信号データ列中の第1データとその近傍のデータに第2演算を行って演算データを演算し、それらの演算データを乗算して第2演算データを演算する。そして、第1演算データと第2演算データとの相関度を演算する。
(1) In the correlation calculation for calculating the degree of correlation between the first signal data string and the second signal data string, the present invention provides the first data in the first signal data string and the first data in the second signal data string. The first calculation data is generated by multiplying the data in the vicinity of the second data corresponding to the data, and the second data in the second signal data string and the data in the vicinity of the first data in the first signal data string Are multiplied to generate second calculation data, and the degree of correlation between the first calculation data and the second calculation data is calculated.
(2) Further, in the correlation calculation for calculating the degree of correlation between the first signal data string and the second signal data string, the present invention first calculates the first data in the first signal data string and data in the vicinity thereof. 1 operation is performed to calculate operation data, and 2nd operation is performed on the second data corresponding to the first data in the second signal data string and data in the vicinity thereof to calculate operation data, and the operation data To calculate the first calculation data. Next, the first calculation is performed on the second data in the second signal data string and the data in the vicinity thereof to calculate the calculation data, and the second data is calculated in the first data in the first signal data string and the data in the vicinity thereof. An operation is performed to calculate operation data, and the operation data is multiplied to calculate second operation data. Then, the degree of correlation between the first calculation data and the second calculation data is calculated.

本発明によれば、例えば一対の焦点検出用光束のいずれか一方に撮影光学系によるケラレが発生してイメージセンサーから出力される一対の信号データ列に相対的な歪みが発生しても、両信号データ列の相関関係を正確に検出することができる。   According to the present invention, even if, for example, vignetting due to the photographing optical system occurs in one of the pair of focus detection light beams and relative distortion occurs in the pair of signal data strings output from the image sensor, both It is possible to accurately detect the correlation of the signal data sequence.

《発明の第1の実施の形態》
本願発明を撮像装置としてのディジタルスチルカメラに適用した一実施の形態を説明する。図1は一実施の形態のディジタルスチルカメラの構成を示す図である。一実施の形態のディジタルスチルカメラ201は交換レンズ202とカメラボディ203とから構成され、交換レンズ202はカメラボディ203のマウント部204に装着される。
<< First Embodiment of the Invention >>
An embodiment in which the present invention is applied to a digital still camera as an imaging apparatus will be described. FIG. 1 is a diagram illustrating a configuration of a digital still camera according to an embodiment. A digital still camera 201 according to an embodiment includes an interchangeable lens 202 and a camera body 203, and the interchangeable lens 202 is attached to a mount portion 204 of the camera body 203.

交換レンズ202はレンズ205〜207、絞り208、レンズ駆動制御装置209などを備えている。なお、レンズ206はズーミング用、レンズ207はフォーカシング用である。レンズ駆動制御装置209はCPUとその周辺部品を備え、フォーカシング用レンズ207と絞り208の駆動制御、ズーミング用レンズ206、フォーカシング用レンズ207および絞り208の位置検出、カメラボディ203の制御装置との通信によるレンズ情報の送信とカメラ情報の受信などを行う。   The interchangeable lens 202 includes lenses 205 to 207, a diaphragm 208, a lens drive control device 209, and the like. The lens 206 is for zooming, and the lens 207 is for focusing. The lens drive control device 209 includes a CPU and its peripheral components, and controls the driving of the focusing lens 207 and the aperture 208, detects the positions of the zooming lens 206, the focusing lens 207 and the aperture 208, and communicates with the control device of the camera body 203. Transmit lens information and receive camera information.

一方、カメラボディ203は撮像素子211、カメラ駆動制御装置212、メモリカード213、LCDドライバー214、LCD215、接眼レンズ216などを備えている。撮像素子211は交換レンズ202の予定結像面(予定焦点面)に配置され、交換レンズ202により結像された被写体像を撮像して画像信号を出力する。撮像素子211には撮像用画素(以下、単に撮像画素という)が二次元状に配置されており、その内の焦点検出位置に対応した部分には撮像画素に代えて焦点検出用画素(以下、単に焦点検出画素という)列が組み込まれている。   On the other hand, the camera body 203 includes an image sensor 211, a camera drive control device 212, a memory card 213, an LCD driver 214, an LCD 215, an eyepiece 216, and the like. The imaging element 211 is disposed on the planned image plane (planned focal plane) of the interchangeable lens 202, captures the subject image formed by the interchangeable lens 202, and outputs an image signal. An imaging pixel (hereinafter simply referred to as an imaging pixel) is two-dimensionally arranged in the imaging element 211, and a focus detection pixel (hereinafter, referred to as a focus detection position) is replaced with an imaging pixel in a portion corresponding to the focus detection position. A column (simply called focus detection pixels) is incorporated.

カメラ駆動制御装置212はCPUとメモリなどの周辺部品を備え、撮像素子211の駆動制御、撮像画像の処理、交換レンズ202の焦点検出および焦点調節、絞り208の制御、LCD215の表示制御、レンズ駆動制御装置209との通信、カメラ全体のシーケンス制御などを行う。なお、カメラ駆動制御装置212は、マウント部204に設けられた電気接点217を介してレンズ駆動制御装置209と通信を行う。   The camera drive control device 212 includes peripheral components such as a CPU and a memory, and controls the drive of the image sensor 211, processing of the captured image, focus detection and focus adjustment of the interchangeable lens 202, control of the aperture 208, display control of the LCD 215, lens drive Communication with the control device 209, sequence control of the entire camera, and the like are performed. The camera drive control device 212 communicates with the lens drive control device 209 via an electrical contact 217 provided on the mount unit 204.

メモリカード213は撮像画像を記憶する画像ストレージである。LCD215は液晶ビューファインダー(EVF:電子ビューファインダー)の表示器として用いられ、撮影者は接眼レンズ216を介してLCD215に表示された撮像画像を視認することができる。   The memory card 213 is an image storage that stores captured images. The LCD 215 is used as a display of a liquid crystal viewfinder (EVF: electronic viewfinder), and a photographer can visually recognize a captured image displayed on the LCD 215 via an eyepiece lens 216.

交換レンズ202を通過して撮像素子211上に結像された被写体像は撮像素子211により光電変換され、画像出力がカメラ駆動制御装置212へ送られる。カメラ駆動制御装置212は、焦点検出画素の出力に基づいて焦点検出位置におけるデフォーカス量を演算し、このデフォーカス量をレンズ駆動制御装置209へ送る。また、カメラ駆動制御装置212は、撮像画素の出力に基づいて生成した画像信号をLCDドライバー214へ送り、LCD215に表示するとともに、メモリカード213に記憶する。   The subject image that has passed through the interchangeable lens 202 and formed on the image sensor 211 is photoelectrically converted by the image sensor 211, and the image output is sent to the camera drive controller 212. The camera drive control device 212 calculates the defocus amount at the focus detection position based on the output of the focus detection pixel, and sends this defocus amount to the lens drive control device 209. Further, the camera drive control device 212 sends an image signal generated based on the output of the imaging pixel to the LCD driver 214, displays it on the LCD 215, and stores it in the memory card 213.

レンズ駆動制御装置209は、ズーミングレンズ206、フォーカシングレンズ207および絞り208の位置を検出し、検出位置に基づいてレンズ情報を演算するか、あるいは予め用意されたルックアップテーブルから検出位置に応じたレンズ情報を選択し、カメラ駆動制御装置212へ送る。また、レンズ駆動制御装置209は、カメラ駆動制御装置212から受信したデフォーカス量に基づいてレンズ駆動量を演算し、レンズ駆動量に基づいてフォーカシング用レンズ207を駆動制御する。   The lens drive control device 209 detects the positions of the zooming lens 206, the focusing lens 207, and the diaphragm 208 and calculates lens information based on the detected positions, or a lens corresponding to the detected position from a lookup table prepared in advance. Information is selected and sent to the camera drive controller 212. Further, the lens drive control device 209 calculates the lens drive amount based on the defocus amount received from the camera drive control device 212, and drives and controls the focusing lens 207 based on the lens drive amount.

図2は、交換レンズ202の予定結像面に設定した撮像画面G上の焦点検出領域を示す。撮像画面G上にG1〜G5の焦点検出領域を設定し、撮像素子211の焦点検出画素を撮像画面G上の各焦点検出領域G1〜G5の長手方向に直線状に配列する。つまり、撮像素子211上の焦点検出画素列は、撮影画面G上に結像された被写体像の内の焦点検出領域G1〜G5の像をサンプリングする。撮影者は撮影構図に応じて焦点検出領域G1〜G5の中から任意の焦点検出領域を手動で選択する。   FIG. 2 shows a focus detection area on the imaging screen G set on the planned imaging plane of the interchangeable lens 202. The focus detection areas G1 to G5 are set on the imaging screen G, and the focus detection pixels of the imaging element 211 are linearly arranged in the longitudinal direction of the focus detection areas G1 to G5 on the imaging screen G. That is, the focus detection pixel array on the image sensor 211 samples the images of the focus detection areas G1 to G5 in the subject image formed on the shooting screen G. The photographer manually selects an arbitrary focus detection area from the focus detection areas G1 to G5 according to the shooting composition.

図3は撮像素子211の詳細な構成を示す正面図である。なお、図3は撮像素子211上のひとつの焦点検出領域の周囲を拡大した部分拡大図である。撮像素子211は撮像画素310と焦点検出用の焦点検出画素311から構成される。   FIG. 3 is a front view showing a detailed configuration of the image sensor 211. FIG. 3 is a partially enlarged view in which the periphery of one focus detection region on the image sensor 211 is enlarged. The image pickup device 211 includes an image pickup pixel 310 and a focus detection pixel 311 for focus detection.

図4に示すように、撮像画素310はマイクロレンズ10、光電変換部11、不図示の色フィルターから構成される。また、図5に示すように、焦点検出画素311はマイクロレンズ10、一対の光電変換部12,13から構成される。撮像画素310の光電変換部11は、マイクロレンズ10によって明るい交換レンズの射出瞳(たとえばF1.0)を通過する光束をすべて受光するような形状に設計される。一方、焦点検出画素311の一対の光電変換部12、13は、マイクロレンズ10によって交換レンズの特定の射出瞳(たとえばF2.8)を通過する光束をすべて受光するような形状に設計される。   As shown in FIG. 4, the imaging pixel 310 includes the microlens 10, the photoelectric conversion unit 11, and a color filter (not shown). As shown in FIG. 5, the focus detection pixel 311 includes a microlens 10 and a pair of photoelectric conversion units 12 and 13. The photoelectric conversion unit 11 of the imaging pixel 310 is designed in such a shape that the microlens 10 receives all the light beams that pass through the exit pupil (for example, F1.0) of a bright interchangeable lens. On the other hand, the pair of photoelectric conversion units 12 and 13 of the focus detection pixel 311 are designed so as to receive all light beams passing through a specific exit pupil (for example, F2.8) of the interchangeable lens by the microlens 10.

2次元状に配置された撮像画素310には赤(R)、緑(G)、青(B)のいずれかの色フィルターが備えられ、各色フィルターは図6に示す分光感度特性を有している。RGBの色フィルターを備えた撮像画素310は、図3に示すようにベイヤー配列される。   The imaging pixels 310 arranged two-dimensionally are provided with red (R), green (G), or blue (B) color filters, and each color filter has the spectral sensitivity characteristics shown in FIG. Yes. The imaging pixels 310 having RGB color filters are arranged in a Bayer array as shown in FIG.

一方、焦点検出画素311には、光量をかせぐために色フィルターは設けられておらず、その分光感度特性は光電変換を行うフォトダイオードの分光感度と、赤外カットフィルター(不図示)の分光感度とを総合した図7に示す分光感度特性を有している。焦点検出画素311の分光感度は、図6に示す撮像画素310の内の緑画素G、赤画素R、青画素Bの分光感度を加算したような分光感度特性となり、その感度の光波長領域は緑画素G、赤画素R、青画素Bの感度の光波長領域を包含している。   On the other hand, the focus detection pixel 311 is not provided with a color filter in order to increase the amount of light, and the spectral sensitivity characteristics thereof are the spectral sensitivity of a photodiode that performs photoelectric conversion and the spectral sensitivity of an infrared cut filter (not shown). The spectral sensitivity characteristics shown in FIG. The spectral sensitivity of the focus detection pixel 311 has a spectral sensitivity characteristic that is obtained by adding the spectral sensitivities of the green pixel G, the red pixel R, and the blue pixel B in the imaging pixel 310 shown in FIG. The light wavelength region of the sensitivity of the green pixel G, the red pixel R, and the blue pixel B is included.

焦点検出画素311は、図2に示す焦点検出領域G1〜G5の撮像画素310のBフィルターとGフィルターが配置されるべき行または列に、直線状に隙間なしに密に配置される。焦点検出画素311を撮像画素310のBフィルターとGフィルターが配置されるべき行または列に配置することによって、画素補間により焦点検出画素311の位置の画素信号を算出する場合に、多少誤差が生じても人間の眼には目立たなくすることができる。この理由は、人間の目は青より赤に敏感であることと、緑画素の密度が青画素と赤画素より高いので、緑画素の1画素の欠陥に対する画像劣化への寄与が小さいためである。   The focus detection pixels 311 are arranged densely in a straight line without a gap in the rows or columns where the B filters and G filters of the imaging pixels 310 in the focus detection regions G1 to G5 shown in FIG. When the focus detection pixel 311 is arranged in a row or a column where the B filter and the G filter of the imaging pixel 310 should be arranged, an error occurs when the pixel signal at the position of the focus detection pixel 311 is calculated by pixel interpolation. But it can be inconspicuous to human eyes. This is because the human eye is more sensitive to red than blue and because the density of green pixels is higher than that of blue and red pixels, the contribution to image degradation for a single pixel defect in the green pixel is small. .

なお、上述した補色フィルターの撮像画素を二次元状に展開した撮像素子では、出力誤差が比較的目立たない青成分を含むシアンとマゼンダが配置されるべき画素位置に焦点検出画素311を配置する。   Note that, in the above-described imaging element in which the imaging pixels of the complementary color filter are developed two-dimensionally, the focus detection pixels 311 are arranged at pixel positions where cyan and magenta including a blue component whose output error is relatively inconspicuous should be arranged.

図8は撮像画素310の断面図である。撮像画素310において、撮像用の光電変換部11の前方にマイクロレンズ10が配置され、マイクロレンズ10により光電変換部11が前方に投影される。光電変換部11は半導体回路基板29上に形成され、不図示の色フィルタはマイクロレンズ10と光電変換部11の中間に配置される。   FIG. 8 is a cross-sectional view of the imaging pixel 310. In the imaging pixel 310, the microlens 10 is disposed in front of the photoelectric conversion unit 11 for imaging, and the photoelectric conversion unit 11 is projected forward by the microlens 10. The photoelectric conversion unit 11 is formed on the semiconductor circuit substrate 29, and a color filter (not shown) is disposed between the microlens 10 and the photoelectric conversion unit 11.

図9は焦点検出画素311の断面図である。焦点検出画素311において、焦点検出用の光電変換部12,13の前方にマイクロレンズ10が配置され、マイクロレンズ10により光電変換部12,13が前方に投影される。光電変換部12,13は半導体回路基板29上に形成される。   FIG. 9 is a cross-sectional view of the focus detection pixel 311. In the focus detection pixel 311, the microlens 10 is disposed in front of the focus detection photoelectric conversion units 12 and 13, and the photoelectric conversion units 12 and 13 are projected forward by the microlens 10. The photoelectric conversion units 12 and 13 are formed on the semiconductor circuit substrate 29.

次に、図10により瞳分割方式による焦点検出方法を説明する。図10において、交換レンズ202の光軸91上に配置される焦点検出画素311のマイクロレンズ50と、そのマイクロレンズ50の後方に配置される一対の光電変換部52,53、および交換レンズ202の光軸91外に配置される焦点検出画素311のマイクロレンズ60と、そのマイクロレンズ60の後方に配置される一対の光電変換部62,63を例にあげて説明する。交換レンズ202の予定結像面に配置したマイクロレンズ50、60の前方の距離d4の位置に、交換レンズ202の射出瞳90を設定する。ここで、距離d4は、マイクロレンズ50、60の曲率、屈折率、マイクロレンズ50、60と光電変換部52,53、62,63との間の距離などに応じて決まる値であって、この明細書では測距瞳距離と呼ぶ。   Next, a focus detection method based on the pupil division method will be described with reference to FIG. In FIG. 10, the microlens 50 of the focus detection pixel 311 disposed on the optical axis 91 of the interchangeable lens 202, the pair of photoelectric conversion units 52 and 53 disposed behind the microlens 50, and the interchangeable lens 202. The microlens 60 of the focus detection pixel 311 disposed outside the optical axis 91 and the pair of photoelectric conversion units 62 and 63 disposed behind the microlens 60 will be described as an example. The exit pupil 90 of the interchangeable lens 202 is set at a position of a distance d4 in front of the microlenses 50 and 60 arranged on the planned image formation surface of the interchangeable lens 202. Here, the distance d4 is a value determined according to the curvature and refractive index of the microlenses 50 and 60, the distance between the microlenses 50 and 60 and the photoelectric conversion units 52, 53, 62, and 63, and the like. In the specification, this is called a distance measuring pupil distance.

マイクロレンズ50、60は交換レンズ202の予定結像面に配置されており、光軸91上のマイクロレンズ50によって一対の光電変換部52,53の形状がマイクロレンズ50から投影距離d4だけ離間した射出瞳90上に投影され、その投影形状は測距瞳92,93を形成する。一方、光軸91外のマイクロレンズ60によって一対の光電変換部62,63の形状が投影距離d4だけ離間した射出瞳90上に投影され、その投影形状は測距瞳92,93を形成する。すなわち、投影距離d4にある射出瞳90上で各焦点検出画素の光電変換部の投影形状(測距瞳92,93)が一致するように、各画素の投影方向が決定される。   The microlenses 50 and 60 are arranged on the planned imaging plane of the interchangeable lens 202, and the shape of the pair of photoelectric conversion units 52 and 53 is separated from the microlens 50 by the projection distance d4 by the microlens 50 on the optical axis 91. The projected image is projected onto the exit pupil 90, and the projection shape forms distance measuring pupils 92 and 93. On the other hand, the shape of the pair of photoelectric conversion units 62 and 63 is projected on the exit pupil 90 separated by the projection distance d4 by the microlens 60 outside the optical axis 91, and the projection shape forms the distance measuring pupils 92 and 93. That is, the projection direction of each pixel is determined so that the projection shapes (ranging pupils 92 and 93) of the photoelectric conversion units of the focus detection pixels coincide on the exit pupil 90 at the projection distance d4.

光電変換部52は、測距瞳92を通過しマイクロレンズ50へ向う焦点検出光束72によってマイクロレンズ50上に形成される像の強度に対応した信号を出力する。光電変換部53は、測距瞳93を通過しマイクロレンズ50へ向う焦点検出光束73によってマイクロレンズ50上に形成される像の強度に対応した信号を出力する。光電変換部62は、測距瞳92を通過しマイクロレンズ60へ向う焦点検出光束82によってマイクロレンズ60上に形成される像の強度に対応した信号を出力する。光電変換部63は、測距瞳93を通過しマイクロレンズ60へ向う焦点検出光束83によってマイクロレンズ60上に形成される像の強度に対応した信号を出力する。なお、焦点検出画素311の配列方向は一対の瞳距離の分割方向と一致させる。   The photoelectric conversion unit 52 outputs a signal corresponding to the intensity of the image formed on the microlens 50 by the focus detection light beam 72 passing through the distance measuring pupil 92 and traveling toward the microlens 50. The photoelectric conversion unit 53 outputs a signal corresponding to the intensity of the image formed on the microlens 50 by the focus detection light beam 73 passing through the distance measuring pupil 93 and traveling toward the microlens 50. The photoelectric conversion unit 62 outputs a signal corresponding to the intensity of the image formed on the microlens 60 by the focus detection light beam 82 passing through the distance measuring pupil 92 and traveling toward the microlens 60. The photoelectric conversion unit 63 outputs a signal corresponding to the intensity of the image formed on the microlens 60 by the focus detection light beam 83 passing through the distance measuring pupil 93 and traveling toward the microlens 60. Note that the arrangement direction of the focus detection pixels 311 is made to coincide with the division direction of the pair of pupil distances.

このような焦点検出画素を直線状に多数配列し、各画素の一対の光電変換部の出力を測距瞳92と測距瞳93に対応した出力グループにまとめることによって、一対の測距瞳92と93を各々通過する焦点検出光束が焦点検出画素列上に形成する一対の像の強度分布に関する情報を得ることができる。さらに、この情報に対して後述する像ズレ検出演算処理(相関処理、位相差検出処理)を施すことによって、いわゆる瞳分割方式で一対の像の像ズレ量を検出することができる。そして、この像ズレ量に所定の変換係数を乗ずることによって、予定結像面に対する現在の結像面(予定結像面上のマイクロレンズアレイの位置に対応した焦点検出位置における結像面)の偏差(デフォーカス量)を算出することができる。   A large number of such focus detection pixels are arranged in a straight line, and the output of the pair of photoelectric conversion units of each pixel is collected into an output group corresponding to the distance measurement pupil 92 and the distance measurement pupil 93, thereby forming a pair of distance measurement pupils 92. And 93, information relating to the intensity distribution of a pair of images formed on the focus detection pixel column by the focus detection light fluxes passing through each of them can be obtained. Furthermore, by applying an image shift detection calculation process (correlation process, phase difference detection process) to be described later to this information, the image shift amount of a pair of images can be detected by a so-called pupil division method. Then, by multiplying this image shift amount by a predetermined conversion coefficient, the current imaging plane (imaging plane at the focus detection position corresponding to the position of the microlens array on the planned imaging plane) with respect to the planned imaging plane is determined. Deviation (defocus amount) can be calculated.

なお、図10では、光軸91上にある第一焦点検出画素(マイクロレンズ50と一対の光電変換部52,53)と隣接する第一焦点検出画素(マイクロレンズ60と一対の光電変換部62,63)を模式的に例示したが、その他の焦点検出画素においても同様に、一対の光電変換部がそれぞれ一対の測距瞳から各マイクロレンズに到来する光束を受光する。   In FIG. 10, the first focus detection pixel (the microlens 60 and the pair of photoelectric conversion units 62) adjacent to the first focus detection pixel (the microlens 50 and the pair of photoelectric conversion units 52 and 53) on the optical axis 91. 63) is also schematically illustrated, but in other focus detection pixels as well, similarly, a pair of photoelectric conversion units receive light beams coming from the pair of distance measuring pupils to the respective microlenses.

図11は射出瞳面における投影関係を示す正面図である。焦点検出画素311から一対の光電変換部12,13をマイクロレンズ10により射出瞳面90に投影した測距瞳92,93の外接円は、結像面から見た場合に所定の開口F値(以下、測距瞳F値と呼ぶ。ここではF2.8)となる。撮像画素310の光電変換部11をマイクロレンズ10により射出瞳面90に投影すると領域94となり、領域94は測距瞳92,93を包含した広い領域となっている。   FIG. 11 is a front view showing a projection relationship on the exit pupil plane. The circumscribed circle of the distance measuring pupils 92 and 93 obtained by projecting the pair of photoelectric conversion units 12 and 13 from the focus detection pixel 311 onto the exit pupil plane 90 by the microlens 10 is a predetermined aperture F value (when viewed from the imaging plane). Hereinafter, it is referred to as a distance measuring pupil F value, which is F2.8). When the photoelectric conversion unit 11 of the imaging pixel 310 is projected onto the exit pupil plane 90 by the microlens 10, the region 94 is formed, and the region 94 is a wide region including the distance measuring pupils 92 and 93.

図11において、破線で示す交換レンズ202の絞り開口に対応した領域95の中心と、測距瞳92,93の外接円の中心との位置関係は、交換レンズ202固有の射出瞳の位置と焦点検出画素の画面上の位置(光軸からの距離)に応じて変化し、必ずしも一致しない。交換レンズ202の射出瞳の大きさが測距瞳92,93の外接円の大きさよりも小さく、かつ中心が一致しない場合には、一対の測距瞳92、93を通過する光束がアンバランスに“ケラレ”ることになり、これらの光束により形成される一対の像の光量が一致せず、歪みが生じる。   In FIG. 11, the positional relationship between the center of the region 95 corresponding to the aperture opening of the interchangeable lens 202 indicated by the broken line and the center of the circumscribed circle of the distance measuring pupils 92 and 93 is the position and focal point of the exit pupil unique to the interchangeable lens 202. The detection pixel changes according to the position on the screen (distance from the optical axis) and does not necessarily match. When the size of the exit pupil of the interchangeable lens 202 is smaller than the size of the circumscribed circle of the distance measuring pupils 92 and 93 and the centers do not coincide with each other, the light beams passing through the pair of distance measuring pupils 92 and 93 are unbalanced. “Vignetting” occurs, and the amount of light of the pair of images formed by these light beams does not match, resulting in distortion.

図12は、1つの焦点検出位置における像信号の強度分布(光量)を縦軸に、焦点検出位置内の位置偏差を横軸にとって示したものである。焦点検出位置内の位置偏差とは、例えば図3に示す撮像素子211上の1つの焦点検出位置に属する複数の焦点検出画素の位置に相当する。焦点検出光束にケラレが生じていない場合の一対の像信号400,401は、図12(a)に示すように、同一の像信号関数が単に横にシフトしたものとなっている。焦点検出光束にケラレが生ずると、測距瞳を通る焦点検出用光束の量が焦点検出位置および焦点検出位置内での位置偏差によって変化し、一対の像信号402,403は図12(b)のようになり、同一の信号を相対的にシフトしたものにはならない。   FIG. 12 shows the intensity distribution (light quantity) of the image signal at one focus detection position on the vertical axis and the position deviation within the focus detection position on the horizontal axis. The position deviation within the focus detection position corresponds to the positions of a plurality of focus detection pixels belonging to one focus detection position on the image sensor 211 shown in FIG. 3, for example. In the pair of image signals 400 and 401 when no vignetting occurs in the focus detection light beam, the same image signal function is simply shifted horizontally as shown in FIG. When vignetting occurs in the focus detection light beam, the amount of the focus detection light beam passing through the distance measuring pupil changes depending on the focus detection position and the position deviation within the focus detection position, and the pair of image signals 402 and 403 are shown in FIG. Thus, the same signal is not relatively shifted.

《撮像動作》
図13は、一実施の形態のディジタルスチルカメラ(撮像装置)210の撮像動作を示すフローチャートである。カメラ駆動制御装置212は、ステップ100でカメラの電源が投入されるとこの撮像動作を繰り返し実行する。ステップ110において撮像素子211から撮像画素310のデータを間引き読み出しし、電子ビューファインダーLCD215に表示させる。撮像画素310のデータを間引き読み出しする際には、焦点検出画素311がなるべく含まれないような設定で間引き読み出しをすることによって、表示品質を向上させることができる。逆に、焦点検出画素311を含むように間引き読み出しを行い、電子ビューファインダーLCD215上に焦点検出画素出力を補正せずに表示させることによって、焦点検出位置をユーザーに認識可能に表示することもできる。
《Imaging operation》
FIG. 13 is a flowchart illustrating an imaging operation of the digital still camera (imaging device) 210 according to the embodiment. The camera drive control device 212 repeatedly executes this imaging operation when the camera is turned on in step 100. In step 110, the data of the imaging pixel 310 is read out from the imaging device 211 and displayed on the electronic viewfinder LCD 215. When the data of the imaging pixel 310 is thinned and read out, the display quality can be improved by performing the thinning out reading with a setting that does not include the focus detection pixel 311 as much as possible. Conversely, by performing thinning readout so as to include the focus detection pixel 311 and displaying it on the electronic viewfinder LCD 215 without correcting the focus detection pixel output, the focus detection position can be displayed recognizable to the user. .

ステップ120では焦点検出画素列からデータを読み出す。なお、図2に示す焦点検出エリアG1〜G5の中から予めエリア選択操作部材(不図示)により任意のエリアが選択されているので、選択された焦点検出エリアに対応する焦点検出画素列からデータを読み出す。続くステップ130において焦点検出画素列に対応した一対の像データに基づいて、後述する像ズレ検出演算処理すなわち相関演算処理を行い、像ズレ量を演算し、さらにデフォーカス量を算出する。ステップ140では合焦近傍か否か、つまり算出したデフォーカス量の絶対値が合焦判定基準値以内であるか否かを調べる。   In step 120, data is read from the focus detection pixel array. Since an arbitrary area is selected in advance from the focus detection areas G1 to G5 shown in FIG. 2 by an area selection operation member (not shown), data is acquired from the focus detection pixel row corresponding to the selected focus detection area. Is read. In subsequent step 130, based on a pair of image data corresponding to the focus detection pixel row, an image shift detection calculation process, that is, a correlation calculation process, which will be described later, is performed to calculate the image shift amount, and further calculate the defocus amount. In step 140, it is checked whether or not the focus is close, that is, whether or not the calculated absolute value of the defocus amount is within the focus determination reference value.

合焦近傍でないと判定した場合はステップ150へ進み、算出したデフォーカス量をレンズ駆動制御装置209へ送信し、交換レンズ202のフォーカシング用レンズ207を合焦位置に駆動させ、ステップ110へ戻って上記動作を繰り返す。なお、焦点検出不能な場合もこのステップ150へ分岐し、レンズ駆動制御装置209へスキャン駆動命令を送信し、交換レンズ202のフォーカシング用レンズ207を無限位置と至近位置の間でスキャン駆動させ、ステップ110へ戻って上記動作を繰り返す。   If it is determined that the lens is not in focus, the process proceeds to step 150, the calculated defocus amount is transmitted to the lens drive control device 209, the focusing lens 207 of the interchangeable lens 202 is driven to the focus position, and the process returns to step 110. Repeat the above operation. Even when focus detection is impossible, the process branches to step 150, a scan drive command is transmitted to the lens drive control device 209, and the focusing lens 207 of the interchangeable lens 202 is driven to scan between the infinite position and the closest position. Returning to 110, the above operation is repeated.

一方、合焦近傍であると判定した場合はステップ160へ進み、レリーズボタン(不図示)の操作によりシャッターレリーズがなされたか否かを判定し、なされていない場合はステップ110へ戻って上記動作を繰り返す。シャッターレリーズがなされた場合はステップ170へ進み、レンズ駆動制御装置209へ絞り調整命令を送信し、交換レンズ202の絞り208をカメラ駆動制御装置212で露出演算により決定した制御F値、またはユーザーが手動で設定したF値に設定する。   On the other hand, if it is determined that it is close to the in-focus state, the process proceeds to step 160 to determine whether or not a shutter release has been performed by operating a release button (not shown). If not, the process returns to step 110 to perform the above operation. repeat. When the shutter release is performed, the process proceeds to step 170, an aperture adjustment command is transmitted to the lens drive control device 209, and the control F value determined by the exposure calculation of the aperture 208 of the interchangeable lens 202 by the camera drive control device 212, or the user Set the manually set F value.

絞り制御が終了した時点で、撮像素子211に撮像動作を行わせ、撮像素子211の撮像画素310およびすべての焦点検出画素311から画像データを読み出す。ステップ180において、焦点検出画素列の各画素位置における画素データを、焦点検出画素311のデータおよび周囲の撮像画素310のデータに基づいて補間する。ステップ190では撮像画素310のデータおよび補間された焦点検出画素位置のデータからなる画像データをメモリーカード213に保存し、ステップ110へ戻って上記動作を繰り返す。   When the aperture control is completed, the image sensor 211 is caused to perform an imaging operation, and image data is read from the image pickup pixel 310 and all the focus detection pixels 311 of the image pickup element 211. In step 180, pixel data at each pixel position in the focus detection pixel row is interpolated based on the data of the focus detection pixel 311 and the data of the surrounding imaging pixels 310. In step 190, image data composed of the data of the imaging pixel 310 and the interpolated focus detection pixel position data is stored in the memory card 213, and the process returns to step 110 to repeat the above operation.

《焦点検出動作》
図14は、図13に示す撮像動作の中のステップ130の焦点検出動作の詳細を示すフローチャートである。ステップ300において焦点検出演算処理すなわち相関演算処理を開始し、ステップ310で焦点検出画素列から出力される一対の信号データ列(α1〜αM、β1〜βM:Mはデータの個数)に対して下記(1)式に示すような高周波カットフィルター処理を施し、第1信号データ列A1〜ANと第2信号データ列B1〜BN(Nはデータ個数)を生成し、信号データ列から相関処理に悪影響を及ぼすノイズ成分や高周波成分を除去する。
An=αn+2×αn+1+αn+2,
Bn=βn+2×βn+1+βn+2 ・・・(1)
(1)式において、n=1〜Nである。なお、演算時間の短縮を図る場合や、すでに大きくデフォーカスしていて高周波成分が少ないことがわかっている場合には、ステップ310の高周波カットフィルター処理を省略することができる。
<Focus detection operation>
FIG. 14 is a flowchart showing details of the focus detection operation in step 130 in the imaging operation shown in FIG. In step 300, focus detection calculation processing, that is, correlation calculation processing is started. In step 310, a pair of signal data sequences (α1 to αM, β1 to βM: M is the number of data) are output as follows. High frequency cut filter processing as shown in equation (1) is performed to generate first signal data strings A1 to AN and second signal data strings B1 to BN (N is the number of data), and adversely affect correlation processing from the signal data strings. Removes noise components and high frequency components.
An = αn + 2 × αn + 1 + αn + 2,
Bn = βn + 2 × βn + 1 + βn + 2 (1)
In the formula (1), n = 1 to N. Note that the high-frequency cut filter processing in step 310 can be omitted if the calculation time is to be shortened or if it is already defocused and it is known that there are few high-frequency components.

ステップ320において、ずらし量k(整数)における第1信号データ列A1〜ANと第2信号データ列B1〜BNとの相関量を演算するために、まず第1信号データ列A1〜ANに対して第2信号データ列B1〜BNを相対的に所定量kだけずらす。   In step 320, in order to calculate the correlation amount between the first signal data string A1 to AN and the second signal data string B1 to BN at the shift amount k (integer), first, the first signal data string A1 to AN is calculated. The second signal data strings B1 to BN are relatively shifted by a predetermined amount k.

続くステップ330では、第1信号データ列A1〜ANの中の任意の範囲のデータ、つまり注目するデータAnとその近傍のデータAn-r〜An+s(r、sは任意の整数;以下、この範囲を“微少範囲”と呼ぶ)に対して第1演算(詳細後述)を行って演算データを得るとともに、ずらし量kだけずれた第2信号データ列B1〜BNの中の第1信号データ列の上記注目データAnに対応するデータBn+kとその近傍の微少範囲データBn-r〜Bn+sに対して第2演算(詳細後述)を行って演算データを得る。そして、それらの演算データを乗算して第1演算データを算出する。   In the subsequent step 330, data in an arbitrary range in the first signal data string A1 to AN, that is, the data An of interest and its neighboring data An-r to An + s (r and s are arbitrary integers; A first calculation (detailed later) is performed on this range (referred to as “small range”) to obtain calculation data, and the first signal data in the second signal data strings B1 to BN shifted by the shift amount k. A second calculation (detailed later) is performed on the data Bn + k corresponding to the attention data An in the column and the minute range data Bn-r to Bn + s in the vicinity thereof to obtain calculation data. Then, the first calculation data is calculated by multiplying the calculation data.

ステップ340において、第2信号データ列B1〜BNの中の上記微少範囲データBn-r〜Bn+sに対して上記第1演算を行って演算データを得るとともに、第1信号データ列A1〜ANの中の上記微少範囲データAn-r〜An+sに対して上記第2演算を行って演算データを得る。そして、それらの演算データを乗算して第2演算データを算出する。   In step 340, the first calculation is performed on the minute range data Bn-r to Bn + s in the second signal data strings B1 to BN to obtain calculation data, and the first signal data strings A1 to AN are obtained. The second calculation is performed on the minute range data An-r to An + s of the data to obtain calculation data. Then, the second calculation data is calculated by multiplying the calculation data.

なお、詳細を後述するが、ステップ330と340における演算結果の第1演算データと第2演算データは、ともに任意の“微少範囲”において第1信号データ列と第2信号データ列の歪みが相殺されたデータとなる。   As will be described in detail later, the first calculation data and the second calculation data of the calculation results in steps 330 and 340 cancel out the distortion of the first signal data string and the second signal data string in any “small range”. Data.

また、上述したステップ330と340では、第1信号データ列と第2信号データ列の“微少範囲”に対して第1演算と第2演算を施して演算データを得る例を示したが、第1信号データ列A1〜ANの任意の位置における注目データAnと、ずらし量kだけずれた第2信号データ列B1〜BNの前記注目データAnの位置に対応するデータBn+kの近傍のデータ、例えばBn+1+kあるいはBn+2+kなどとを乗算して第1演算データを生成するとともに、第2信号データ列B1〜BNのデータBn+kと、第1信号データ列A1〜ANの注目データAnの近傍のデータ、例えばAn+1あるいはAn+2などとを乗算して第2演算データを生成してもよい。   In steps 330 and 340 described above, an example is shown in which the first calculation and the second calculation are performed on the “small range” of the first signal data string and the second signal data string to obtain calculation data. Data in the vicinity of the data Bn + k corresponding to the position of the data of interest An in any position of the 1 signal data string A1 to AN and the position of the data of interest An in the second signal data string B1 to BN shifted by the shift amount k; For example, the first operation data is generated by multiplying Bn + 1 + k or Bn + 2 + k, and the data Bn + k of the second signal data strings B1 to BN and the first signal data strings A1 to AN. The second calculation data may be generated by multiplying the data in the vicinity of the attention data An, for example, An + 1 or An + 2.

ステップ350において第1演算データと第2演算データの差の絶対値を算出する。この演算結果は、“微少範囲”における第1信号データ列と第2信号データ列の相関度(類似度)を示す量となる。続くステップ360で“微少範囲”をずらしながらステップ330〜350の処理を繰り返し、ステップ350における相関度を示す量の演算結果を累積加算することによって、所定のずらし量kにおける相関量C(k)を算出する。   In step 350, the absolute value of the difference between the first calculation data and the second calculation data is calculated. This calculation result is an amount indicating the degree of correlation (similarity) between the first signal data string and the second signal data string in the “small range”. In the following step 360, the processing of steps 330 to 350 is repeated while shifting the “small range”, and the calculation result of the amount indicating the degree of correlation in step 350 is cumulatively added, whereby the correlation amount C (k) at the predetermined shift amount k. Is calculated.

ステップ370においてずらし量kを所定範囲で変更しながらステップ320〜360の処理を繰り返し、ずらし量kに関する相関量C(K)のデータを算出する。ここで、ずらし量kでかつ“微少範囲”の中心位置nにおける第1演算データをEn,kとし、第2演算データをFn,kとすると、最終的に得られる相関量C(K)は下記(2)式のように表される。
C(k)=Σ|En,k−Fn,k| ・・・(2)
(2)式において、Σ演算はnについて累積されるとともに、nのとる範囲はずらし量kに応じてEn,kとFn,kのデータが存在する範囲に限定される。また、ずらし量kは整数であり、一対のデータの検出ピッチを単位とした相対的シフト量である。
In step 370, the process of steps 320 to 360 is repeated while changing the shift amount k within a predetermined range, and the correlation amount C (K) data relating to the shift amount k is calculated. Here, assuming that the first calculation data at the center position n of the shift amount k and the “small range” is En, k and the second calculation data is Fn, k, the finally obtained correlation amount C (K) is It is expressed as the following formula (2).
C (k) = Σ | En, k−Fn, k | (2)
In equation (2), the Σ operation is accumulated for n, and the range taken by n is limited to the range in which data of En, k and Fn, k exist according to the shift amount k. The shift amount k is an integer, and is a relative shift amount in units of the detection pitch of a pair of data.

ステップ380において、(2)式の演算結果は、例えば図15(a)に示すように、一対のデータの相関が高いシフト量k=kj=2において相関量C(k)が最小(小さいほど相関度が高い)になる。下記(3)〜(6)式による3点内挿の手法を用いて連続的な相関量に対する最小値C(x)を与えるシフト量xを求める。
x=kj+D/SLOP ・・・(3),
C(x)=C(kj)−|D| ・・・(4),
D={C(kj-1)−C(kj+1)}/2 ・・・(5),
SLOP=MAX{C(kj+1)−C(kj),C(kj-1)−C(kj)} ・・・(6)
In step 380, as shown in FIG. 15 (a), for example, as shown in FIG. Correlation degree is high). A shift amount x that gives a minimum value C (x) with respect to a continuous correlation amount is obtained using a three-point interpolation method according to the following equations (3) to (6).
x = kj + D / SLOP (3),
C (x) = C (kj) − | D | (4),
D = {C (kj-1) -C (kj + 1)} / 2 (5),
SLOP = MAX {C (kj + 1) -C (kj), C (kj-1) -C (kj)} (6)

ステップ390では(3)式で求めたシフト量xにより、被写体像面の予定結像面に対するデフォーカス量DEFを下記(7)式で求めることができる。
DEF=KX・PY・x ・・・(7)
(7)式において、PYは検出ピッチであり、KXは一対の測距瞳の重心の開き角の大きさによって決まる変換係数である。算出したデフォーカス量DEFに信頼性があるかどうかは次のようにして判定する。図15(b)に示すように、一対のデータの相関度が低い場合は内挿された相関量の最小値C(x)の値が大きくなる。したがって、C(x)が所定値以上の場合は信頼性が低いと判定する。あるいは、C(x)をデータのコントラストで規格化するために、コントラストに比例した値となるSLOPでC(x)を除した値が所定値以上の場合は信頼性が低いと判定する。あるいはまた、コントラストに比例した値となるSLOPが所定値以下の場合は、被写体が低コントラストであり、算出したデフォーカス量DEFの信頼性は低いとする。
In step 390, the defocus amount DEF of the subject image plane with respect to the planned image formation plane can be obtained by the following equation (7) based on the shift amount x obtained by the equation (3).
DEF = KX · PY · x (7)
In equation (7), PY is a detection pitch, and KX is a conversion coefficient determined by the size of the opening angle of the center of gravity of the pair of distance measuring pupils. Whether or not the calculated defocus amount DEF is reliable is determined as follows. As shown in FIG. 15B, when the correlation between the pair of data is low, the value of the interpolated minimum amount C (x) of the correlation amount becomes large. Therefore, when C (x) is equal to or greater than a predetermined value, it is determined that the reliability is low. Alternatively, in order to normalize C (x) with the contrast of data, if the value obtained by dividing C (x) by SLOP that is proportional to the contrast is equal to or greater than a predetermined value, it is determined that the reliability is low. Alternatively, when SLOP that is a value proportional to the contrast is equal to or less than a predetermined value, it is assumed that the subject has low contrast and the reliability of the calculated defocus amount DEF is low.

図15(c)に示すように、一対のデータの相関度が低く、シフト範囲kmin〜kmaxの間で相関量C(k)の落ち込みがない場合は、最小値C(x)を求めることができず、このような場合は焦点検出不能と判定する。焦点検出が可能であった場合には算出した像ズレ量に所定の変換係数を乗じてデフォーカス量を算出する。ステップ400において焦点検出演算処理(相関演算処理)を終了してリターンする。   As shown in FIG. 15C, when the correlation between the pair of data is low and there is no drop in the correlation amount C (k) between the shift ranges kmin to kmax, the minimum value C (x) is obtained. In such a case, it is determined that the focus cannot be detected. When focus detection is possible, the defocus amount is calculated by multiplying the calculated image shift amount by a predetermined conversion coefficient. In step 400, the focus detection calculation process (correlation calculation process) is terminated and the process returns.

《相関演算》
次に、図14に示す相関演算処理の実施例を説明する。図16は一実施の形態の相関演算の思想を説明するための図であり、実線で示す第1信号データ列A1〜ANと破線で示す第2信号データ列B1〜BNとに交換レンズ202のケラレなどに起因した歪みが生じ、両信号データ列の波形にゲイン差が生じた場合を示す。このようなゲイン差がある場合でも、各信号データ列の中の“微少範囲”の特性、すなわち隣接するデータの大きさの比An/An+1、Bn+k/Bn+1+kは大きな影響を受けない。この“微少範囲”の特性An/An+1、Bn+k/Bn+1+kには分母部が含まれるから、これらの“微少範囲”の特性に分母部の共通項(An+1×Bn+1+k)を乗ずることによって、分母部が0になった場合の発散の影響や分母部の値が小さい場合のノイズの影響を抑制することができる。
《Correlation operation》
Next, an example of the correlation calculation process shown in FIG. 14 will be described. FIG. 16 is a diagram for explaining the concept of correlation calculation according to an embodiment. The interchangeable lens 202 is divided into first signal data strings A1 to AN indicated by solid lines and second signal data strings B1 to BN indicated by broken lines. A case where distortion caused by vignetting or the like occurs and a gain difference occurs between the waveforms of both signal data strings is shown. Even when there is such a gain difference, the “small range” characteristics in each signal data string, that is, the ratios An / An + 1 and Bn + k / Bn + 1 + k of adjacent data are large. Not affected. Since these “minor range” characteristics An / An + 1 and Bn + k / Bn + 1 + k include a denominator part, these “minor range” characteristics include common terms (An + 1 × By multiplying by (Bn + 1 + k), it is possible to suppress the influence of divergence when the denominator becomes 0 and the influence of noise when the value of the denominator is small.

例えば、隣接するデータの大きさの比An/An+1、Bn+k/Bn+1+kに、分母部の共通項(An+1×Bn+1+k)を乗じてAn×Bn+1+k、Bn+k×An+1を求める。このようにして算出した2つの信号データ列間の“微少範囲”の特性どうしの相関、この場合は差の絶対値をとることによって、2つの信号データ列間の相関度(類似度)を高精度に検出することが可能になる。さらに、“微少範囲”の位置を所定の範囲でずらしながら相関度を累積することによって、偶発的に生じた相関を排除して高精度な相関検出を行うことができる。   For example, the ratio An / An + 1, Bn + k / Bn + 1 + k of adjacent data sizes is multiplied by a common term (An + 1 × Bn + 1 + k) in the denominator portion, and An × Bn + 1 + k, Bn + k × An + 1 are obtained. By taking the correlation between the characteristics of the “small range” between the two signal data strings calculated in this way, in this case the absolute value of the difference, the degree of correlation (similarity) between the two signal data strings is increased. It becomes possible to detect with accuracy. Furthermore, by accumulating the degree of correlation while shifting the position of the “small range” within a predetermined range, it is possible to eliminate the accidentally generated correlation and perform highly accurate correlation detection.

第1信号データ列A1〜ANの任意のデータAnと、ずらし量kだけずれた第2信号データ列B1〜BNのデータAnに対応するデータBn+kの近傍のデータ、例えば1個隣のBn+1+kまたは2個隣のデータBn+2+kとを乗算して第1演算データ(An×Bn+1+k)または(An×Bn+2+k)を生成するとともに、第2信号データ列B1〜BNのデータBn+kと、第1信号データ列A1〜ANの注目しているデータAnの近傍のデータ、例えば1個隣のAn+1または2個隣のAn+2とを乗算して第2演算データ(Bn+k×An+1)または(Bn+k×An+2)を生成する。そして、第1演算データと第2演算データに基づいて上記(2)式により第1信号データ列と第2信号データ列の相関を求める。この相関演算例を処理例1および処理例2として後述する。   Arbitrary data An in the first signal data sequence A1 to AN and data in the vicinity of the data Bn + k corresponding to the data An in the second signal data sequence B1 to BN shifted by the shift amount k, for example, one adjacent Bn + 1 + k or two adjacent data Bn + 2 + k is multiplied to generate the first operation data (An × Bn + 1 + k) or (An × Bn + 2 + k), and the second The data Bn + k of the signal data sequence B1 to BN and the data in the vicinity of the data An of interest of the first signal data sequence A1 to AN, for example, the next one An + 1 or the next two An + 2 To generate second operation data (Bn + k × An + 1) or (Bn + k × An + 2). Then, the correlation between the first signal data string and the second signal data string is obtained by the above equation (2) based on the first calculation data and the second calculation data. This correlation calculation example will be described later as Processing Example 1 and Processing Example 2.

また、上述した他の相関演算例として、第1信号データ列A1〜ANの中の任意の範囲のデータ、つまり注目するデータAnとその近傍の微少範囲データAn-r〜An+sに対して第1演算を行って演算データを得るとともに、ずらし量kだけずれた第2信号データ列B1〜BNの中の第1信号データ列の上記注目データAnに対応するデータBn+kとその近傍の微少範囲データBn-r〜Bn+sに対して第2演算を行って演算データを得る。そして、それらの演算データを乗算して第1演算データを算出する。
さらに、第2信号データ列B1〜BNの中の上記微少範囲データBn-r〜Bn+sに対して上記第1演算を行って演算データを得るとともに、第1信号データ列A1〜ANの中の上記微少範囲データAn-r〜An+sに対して上記第2演算を行って演算データを得る。そして、それらの演算データを乗算して第2演算データを算出する。
そして、第1演算データと第2演算データに基づいて上記(2)式により第1信号データ列と第2信号データ列の相関を求める。この相関演算例を処理例3〜処理例8として後述する。
As another example of the correlation calculation described above, for an arbitrary range of data in the first signal data string A1 to AN, that is, the data An of interest and the minute range data An-r to An + s in the vicinity thereof. The calculation data is obtained by performing the first calculation, and the data Bn + k corresponding to the attention data An in the first signal data string in the second signal data strings B1 to BN shifted by the shift amount k and the vicinity thereof A second calculation is performed on the minute range data Bn-r to Bn + s to obtain calculation data. Then, the first calculation data is calculated by multiplying the calculation data.
Further, the first calculation is performed on the minute range data Bn-r to Bn + s in the second signal data strings B1 to BN to obtain calculation data, and the first signal data strings A1 to AN The second calculation is performed on the minute range data An-r to An + s to obtain calculation data. Then, the second calculation data is calculated by multiplying the calculation data.
Based on the first calculation data and the second calculation data, the correlation between the first signal data string and the second signal data string is obtained by the above equation (2). This correlation calculation example will be described later as Processing Example 3 to Processing Example 8.

《相関演算処理例1》
相関量C(k)を次式により求める。
C(k)=Σ|(An×Bn+1+k)−(Bn+k×An+1)| ・・・(8)
(8)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn、An+1、Bn+k、Bn+1+kのデータが存在する範囲に限定される。図17に相関演算処理例1のデータフローを示す。この処理例1では、第1信号データ列Aの中の注目データAnと、ずらし量kだけずれた第2信号データ列Bの中の注目データAnに対応するデータBn+kから1個ずれたデータBn+1+kとを乗じて第1演算データ(An×Bn+k)を求めるとともに、第2信号データ列BのデータBn+kと第1信号データ列Aの注目データAnから1個ずれたデータAn+1とを乗じて第2演算データ(Bn+k×An+1)を求め、第1演算データと第2演算データの差の絶対値の総和により第1信号データ列Aと第2信号データ列Bの相関量C(k)を演算する。
<< Correlation calculation processing example 1 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (An × Bn + 1 + k) − (Bn + k × An + 1) | (8)
In equation (8), the Σ operation is accumulated for n, and the range taken by n is limited to a range in which data of An, An + 1, Bn + k, and Bn + 1 + k exist according to the shift amount k. . FIG. 17 shows a data flow of correlation calculation processing example 1. In this processing example 1, the target data An in the first signal data string A is shifted by one from the data Bn + k corresponding to the target data An in the second signal data string B shifted by the shift amount k. The data Bn + 1 + k is multiplied to obtain the first calculation data (An × Bn + k), and one piece is obtained from the data Bn + k of the second signal data string B and the attention data An of the first signal data string A. The second calculation data (Bn + k × An + 1) is obtained by multiplying the shifted data An + 1, and the first signal data string A is obtained by the sum of absolute values of the difference between the first calculation data and the second calculation data. A correlation amount C (k) of the second signal data string B is calculated.

ここで、図18に示すような一対の像信号データ列A、Bに対して相関演算処理例1を実施する場合について考察する。撮像素子211から出力される一対の像信号データ列(A1、A2、・・、AN)、(B1、B2、・・、BN)に相対的な歪みが発生し、図18に示すように、両像信号データ列の波形(1+sinω)のゲインと傾きに差が生じたとする。この二つの信号データ列A、Bに対して相関演算処理例1を実行した結果を図19に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例1により周期的に高い相関(落ち込んだ位置)が得られることがわかる。   Here, a case where the correlation calculation processing example 1 is performed on a pair of image signal data strings A and B as shown in FIG. 18 will be considered. A relative distortion occurs in a pair of image signal data strings (A1, A2,..., AN), (B1, B2,..., BN) output from the image sensor 211, and as shown in FIG. It is assumed that there is a difference between the gain and inclination of the waveform (1 + sinω) of both image signal data strings. FIG. 19 shows the result of executing the correlation calculation processing example 1 on these two signal data strings A and B. As is clear from the figure, it can be seen that, even though the two signal data strings A and B are distorted, the correlation calculation processing example 1 can obtain a high correlation (a depressed position) periodically.

この相関演算処理例1によれば、上述した従来の相関演算方法、すなわち単に両信号データ列A、Bの差の絶対値の総和Σ|An−Bn+k|を求めて両信号データ列の相関量C(k)とするのに比べ、二つの信号データ列A、Bに相対的な歪みが発生している場合でも、二つの信号データ列A、Bの相関量を正確に求めることができる。また、この相関演算処理例1では、相関演算式(8)が分数形式になっていないので、分母部が0になることによる演算の発散がなく、また分母部が0に近い場合のノイズの影響もない。   According to this correlation calculation processing example 1, the above-described conventional correlation calculation method, that is, simply obtaining the sum Σ | An−Bn + k | of the absolute values of the differences between the two signal data strings A and B is used to Compared with the correlation amount C (k), the correlation amount between the two signal data strings A and B can be accurately obtained even when relative distortion occurs in the two signal data strings A and B. it can. Further, in this correlation calculation processing example 1, since the correlation calculation formula (8) is not in the fractional format, there is no divergence of calculation due to the denominator being zero, and noise in the case where the denominator is close to zero. There is no effect.

《相関演算処理例2》
相関量C(k)を次式により求める。
C(k)=Σ|(An×Bn+2+k)−(Bn+k×An+2)| ・・・(9)
(9)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn、An+2、Bn+k、Bn+2+kのデータが存在する範囲に限定される。図20に相関演算処理例2のデータフローを示す。この相関演算処理例2は、(8)式に示す相関演算処理1よりも演算対象のデータ間隔をより広げた演算としている。
<< Correlation calculation processing example 2 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (An × Bn + 2 + k) − (Bn + k × An + 2) | (9)
In equation (9), the Σ operation is accumulated for n, and the range taken by n is limited to a range in which data of An, An + 2, Bn + k, and Bn + 2 + k exist according to the shift amount k. . FIG. 20 shows a data flow of the correlation calculation processing example 2. In this correlation calculation processing example 2, the calculation target data interval is further expanded as compared with the correlation calculation processing 1 shown in the equation (8).

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理2を実行したした結果を図21に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例2により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理2によれば、相関演算処理1による上述した効果に加え、注目データAn、Bn+kから2個ずれた位置のデータBn+2+k、An+2を演算対象とし、演算対象のデータ間隔をより広くしているので、信号データ列に含まれる高周波成分やノイズの影響を緩和することができ、耐ノイズ性能が向上する。   FIG. 21 shows the result of executing the correlation calculation process 2 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is apparent from the figure, it can be seen that, even though the two signal data strings A and B are distorted, the correlation calculation processing example 2 can provide a high correlation (a depressed position) periodically. According to the correlation calculation process 2, in addition to the above-described effects of the correlation calculation process 1, the data Bn + 2 + k and An + 2 at positions shifted by two from the attention data An and Bn + k are set as calculation targets. Since the target data interval is made wider, the influence of high frequency components and noise included in the signal data string can be alleviated, and noise resistance performance is improved.

《相関演算処理例3》
相関量C(k)を次式により求める。
C(k)=Σ|(An−An+1)×(Bn+k+Bn+1+k)−(Bn+k−Bn+1+k)×(An+An+1)|
・・・(10)
(10)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn、An+1、Bn+k、Bn+1+kのデータが存在する範囲に限定される。図22に相関演算処理例3のデータフローを示す。
<< Correlation calculation processing example 3 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (An−An + 1) × (Bn + k + Bn + 1 + k) − (Bn + k−Bn + 1 + k) × (An + An + 1) |
... (10)
In equation (10), the Σ operation is accumulated for n, and the range taken by n is limited to a range in which data of An, An + 1, Bn + k, and Bn + 1 + k exist according to the shift amount k. . FIG. 22 shows a data flow of the correlation calculation processing example 3.

この相関演算処理例3は、(10)式から明らかなように、第1信号データ列Aの中の注目データAnとその近傍の微少範囲データAn〜An+1に対して隣接データの差分すなわち1次微分(第1演算)を行って演算データ(An−An+1)を得るとともに、ずらし量kだけずれた第2信号データ列Bの中の第1信号データ列の上記注目データAnに対応するデータBn+kとその近傍の微少範囲データBn+k〜Bn+1+kに対して加算すなわち平均化(第2演算)を行って演算データ(Bn+k+Bn+1+k)を得る。そして、それらの演算データを乗算して第1演算データ(An−An+1)×(Bn+k+Bn+1+k)を算出する。   As is apparent from the equation (10), this correlation calculation processing example 3 is the difference between adjacent data with respect to the data of interest An in the first signal data string A and the minute range data An to An + 1 in the vicinity thereof, that is, A first derivative (first calculation) is performed to obtain calculation data (An−An + 1), and the attention data An of the first signal data string in the second signal data string B shifted by the shift amount k is added to the attention data An. Calculation data (Bn + k + Bn + 1 + k) is obtained by adding or averaging (second calculation) to the corresponding data Bn + k and the minute range data Bn + k to Bn + 1 + k in the vicinity thereof. . Then, the calculation data is multiplied to calculate the first calculation data (An−An + 1) × (Bn + k + Bn + 1 + k).

さらに、第2信号データ列Bの中の上記微少範囲データBn+k〜Bn+1+kに対して隣接データの差分すなわち1次微分(第1演算)を行って演算データ(Bn+k−Bn+1+k)を得るとともに、第1信号データ列Aの中の上記微少範囲データAn〜An+1に対して加算すなわち平均化(第2演算)を行って演算データ(An+An+1)を得る。そして、それらの演算データを乗算して第2演算データ(Bn+k−Bn+1+k)×(An+An+1)を算出する。そして、第1演算データと第2演算データに基づいて上記(2)式により第1信号データ列と第2信号データ列の相関を求める。   Further, the difference data of the adjacent data, that is, the primary differentiation (first calculation) is performed on the minute range data Bn + k to Bn + 1 + k in the second signal data string B to obtain calculation data (Bn + k−). Bn + 1 + k) is obtained, and addition data, that is, averaging (second operation) is performed on the minute range data An to An + 1 in the first signal data string A to obtain operation data (An + An + 1). Get. Then, the second operation data (Bn + k−Bn + 1 + k) × (An + An + 1) is calculated by multiplying the operation data. Then, the correlation between the first signal data string and the second signal data string is obtained by the above equation (2) based on the first calculation data and the second calculation data.

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理3を実行したした結果を図23に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例3により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理3によれば、相関演算処理1による上述した効果に加え、信号データ列の特性値として隣接データの差分(1次微分)と隣接データの平均値との比を用いているので、信号データ列に含まれる高周波成分やノイズの影響を緩和することができ、耐ノイズ性能が向上する。また、信号データ列A、Bに含まれるDC成分を除去することができ、2つの信号データ列A、BにDCオフセットが含まれる場合にも、高精度な相関検出が可能になる。   FIG. 23 shows a result of executing the correlation calculation process 3 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is clear from the figure, it can be seen that, although the two signal data strings A and B are distorted, the correlation calculation processing example 3 can obtain a high correlation (a depressed position) periodically. According to this correlation calculation process 3, in addition to the above-described effects of the correlation calculation process 1, the ratio between the difference (first derivative) of adjacent data and the average value of adjacent data is used as the characteristic value of the signal data string. The influence of high frequency components and noise included in the signal data string can be reduced, and the noise resistance performance is improved. Further, the DC components included in the signal data sequences A and B can be removed, and even when the two signal data sequences A and B include a DC offset, highly accurate correlation detection can be performed.

《相関演算処理4》
相関量C(k)を次式により求める。
C(k)=Σ|(An−An+2)×(Bn+k+Bn+2+k)−(Bn+k−Bn+2+k)×(An+An+2)|
・・・(11)
(11)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn、An+2、Bn+k、Bn+2+kのデータが存在する範囲に限定される。図24に相関演算処理4のデータフローを示す。この相関演算処理4は、(10)式に示す相関演算処理3よりも演算対象のデータ間隔を広げた演算としている。
<< Correlation calculation process 4 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (An−An + 2) × (Bn + k + Bn + 2 + k) − (Bn + k−Bn + 2 + k) × (An + An + 2) |
(11)
In equation (11), the Σ operation is accumulated for n, and the range taken by n is limited to a range in which data of An, An + 2, Bn + k, and Bn + 2 + k exist according to the shift amount k. . FIG. 24 shows a data flow of the correlation calculation process 4. The correlation calculation process 4 is an operation in which the data interval to be calculated is wider than the correlation calculation process 3 shown in the equation (10).

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理4を実行したした結果を図25に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例4により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理4によれば、相関演算処理1による上述した効果に加え、演算対象のデータ間隔をより広くしているので、信号データ列に含まれる高周波成分やノイズの影響を緩和することができ、耐ノイズ性能が向上する。   FIG. 25 shows the result of executing the correlation calculation process 4 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is clear from the figure, it can be seen that, although the two signal data strings A and B are distorted, the correlation calculation processing example 4 can obtain a high correlation (a depressed position) periodically. According to this correlation calculation process 4, in addition to the above-described effects of the correlation calculation process 1, the calculation target data interval is made wider, so that the influence of high frequency components and noise included in the signal data string can be reduced. This improves noise resistance.

《相関演算処理5》
相関量C(k)を次式により求める。
C(k)=Σ|(2×An−An-1−An+1)×(Bn-1+k+Bn+k+Bn+1+k)−(2×Bn+k−Bn-1+k−Bn+1+k)×(An-1+An+An+1)| ・・・(12)
(12)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn-1、An、An+1、Bn-1+k、Bn+k、Bn+1+kのデータが存在する範囲に限定される。図26に相関演算処理5のデータフローを示す。この相関演算処理5は、信号データ列の特性値として、隣接データの差分(2次微分;第1演算に相当)と、隣接データの平均値(第2演算に相当)との比を採用した場合の相関演算式である。
<< Correlation calculation process 5 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (2 × An−An−1−An + 1) × (Bn−1 + k + Bn + k + Bn + 1 + k) − (2 × Bn + k−Bn−1 + k−Bn + 1 + k) × (An−1 + An + An + 1) | (12)
In the equation (12), the Σ operation is accumulated for n, and the range taken by n is An-1, An, An + 1, Bn-1 + k, Bn + k, Bn + 1 + k according to the shift amount k. It is limited to the range where the data of exists. FIG. 26 shows a data flow of the correlation calculation process 5. This correlation calculation process 5 employs a ratio between the difference between adjacent data (secondary differential; corresponding to the first calculation) and the average value of the adjacent data (corresponding to the second calculation) as the characteristic value of the signal data string. It is a correlation calculation formula in the case.

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理5を実行したした結果を図27に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例5により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理5によれば、相関演算処理1による上述した効果に加え、信号データ列A、Bに含まれる高周波成分やノイズの影響を緩和することができるので、耐ノイズ性能が向上する。さらに、信号データ列A、Bに含まれるDC成分および1次傾き成分を除去することができ、2つの信号データ列にDCオフセットや1次傾き成分の違いが含まれる場合にも、高精度な相関検出が可能になる。   FIG. 27 shows the result of executing the correlation calculation processing 5 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is clear from the figure, it can be seen that, even though the two signal data strings A and B are distorted, the correlation calculation processing example 5 can obtain a high correlation (a depressed position) periodically. According to the correlation calculation process 5, in addition to the above-described effects of the correlation calculation process 1, the influence of high frequency components and noise included in the signal data sequences A and B can be reduced, so that the noise resistance performance is improved. Furthermore, the DC component and the primary gradient component included in the signal data sequences A and B can be removed, and even when the two signal data sequences include a difference in DC offset or primary gradient component, high accuracy is achieved. Correlation detection is possible.

《相関演算処理6》
相関量C(k)を次式により求める。
C(k)=Σ|(2×An−An-2−An+2)×(Bn-2+k+Bn+k+Bn+2+k)−(2×Bn+k−Bn-2+k−Bn+2+k)×(An-2+An+An+2)| ・・・(13)
(13)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn-2、An、An+2、Bn-2+k、Bn+k、Bn+2+kのデータが存在する範囲に限定される。図28に相関演算処理6のデータフローを示す。この相関演算処理6は、(12)式に示す相関演算処理5よりも演算対象のデータ間隔を広げた演算としている。
<< Correlation calculation process 6 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (2 × An−An−2−An + 2) × (Bn−2 + k + Bn + k + Bn + 2 + k) − (2 × Bn + k−Bn−2 + k−Bn + 2 + k) × (An-2 + An + An + 2) | (13)
In equation (13), the Σ operation is accumulated for n, and the range taken by n is An-2, An, An + 2, Bn-2 + k, Bn + k, Bn + 2 + k according to the shift amount k. It is limited to the range where the data of exists. FIG. 28 shows a data flow of the correlation calculation processing 6. The correlation calculation process 6 is an operation in which the calculation target data interval is wider than the correlation calculation process 5 shown in the equation (12).

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理6を実行したした結果を図29に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例6により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理例6によれば、相関演算処理例5による上述した効果に加え、演算対象のデータ間隔をより広くしているので、信号データ列に含まれる高周波成分やノイズの影響を緩和することができ、耐ノイズ性能が向上する。   FIG. 29 shows the result of executing the correlation calculation process 6 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is apparent from the figure, it can be seen that, even though the two signal data strings A and B are distorted, the correlation calculation processing example 6 can obtain a high correlation (a depressed position) periodically. According to this correlation calculation processing example 6, in addition to the above-described effects of the correlation calculation processing example 5, the data interval to be calculated is made wider, so that the influence of high frequency components and noise included in the signal data string is reduced. Noise resistance performance can be improved.

《相関演算処理7》
相関量C(k)を次式により求める。
C(k)=Σ|(An×Bn-1+k×Bn+1+k)−(Bn+k×An-1×An+1)| ・・・(14)
(14)式において、Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn-1、An、An+1、Bn-1+k、Bn+k、Bn+1+kのデータが存在する範囲に限定される。図30に相関演算処理例7のデータフローを示す。
<< Correlation calculation process 7 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (An 2 × Bn−1 + k × Bn + 1 + k) − (Bn + k 2 × An−1 × An + 1) | (14)
In the equation (14), the Σ operation is accumulated for n, and the range taken by n is An-1, An, An + 1, Bn-1 + k, Bn + k, Bn + 1 + k according to the shift amount k. It is limited to the range where the data of exists. FIG. 30 shows a data flow of the correlation calculation processing example 7.

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理例7を実行したした結果を図31に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例7により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理例7によれば、相関演算式(14)が分数形式になっていないので、分母部が0になることによる演算の発散がなく、また分母部が0に近い場合のノイズの影響もない。   FIG. 31 shows the result of executing correlation calculation processing example 7 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is clear from the figure, it can be seen that, even though the two signal data strings A and B are distorted, the correlation calculation processing example 7 provides a high correlation (a depressed position) periodically. According to this correlation calculation processing example 7, since the correlation calculation formula (14) is not in a fractional format, there is no divergence of calculation due to the denominator being zero, and noise in the case where the denominator is close to zero. There is no effect.

《相関演算処理例8》
相関量C(k)を次式により求める。
C(k)=Σ|(An×Bn-2+k×Bn+2+k)−(Bn+k×An-2×An+2)| ・・・(15)
Σ演算はnについて累積され、nのとる範囲はずらし量kに応じてAn-2、An、An+2、Bn-2+k、Bn+k、Bn+2+kのデータが存在する範囲に限定される。この相関演算処理例8は、(14)式に示す相関演算処理7よりも演算対象のデータ間隔を広げた演算としている。図32に相関演算処理例8のデータフローを示す。
<< Correlation calculation processing example 8 >>
The correlation amount C (k) is obtained by the following equation.
C (k) = Σ | (An 2 × Bn−2 + k × Bn + 2 + k) − (Bn + k 2 × An−2 × An + 2) | (15)
The Σ operation is accumulated for n, and the range that n takes is a range in which data of An−2, An, An + 2, Bn−2 + k, Bn + k, and Bn + 2 + k exist according to the shift amount k. It is limited to. In this correlation calculation processing example 8, the calculation target data interval is wider than the correlation calculation processing 7 shown in equation (14). FIG. 32 shows a data flow of the correlation calculation processing example 8.

二つの信号データ列A、Bに相対的な歪みが発生した図18に示す信号データ列A、Bに対して相関演算処理例8を実行したした結果を図33に示す。図から明らかなように、二つの信号データ列A、Bが歪んでいるにも関わらず、相関演算処理例8により周期的に高い相関(落ち込んだ位置)が得られることがわかる。この相関演算処理例8によれば、相関演算処理例7による上述した効果に加え、演算対象のデータ間隔をより広くしているので、信号データ列に含まれる高周波成分やノイズの影響を緩和することができ、耐ノイズ性能が向上する。   FIG. 33 shows a result of executing the correlation calculation processing example 8 on the signal data strings A and B shown in FIG. 18 in which relative distortion has occurred in the two signal data strings A and B. As is apparent from the figure, it can be seen that, although the two signal data strings A and B are distorted, the correlation calculation processing example 8 can provide a high correlation (a depressed position) periodically. According to the correlation calculation processing example 8, in addition to the above-described effects of the correlation calculation processing example 7, the data interval to be calculated is made wider, so that the influence of high frequency components and noise included in the signal data string is reduced. Noise resistance performance can be improved.

《第1の実施の形態の変形例》
図3に示す撮像素子211では焦点検出画素311を隙間なく配列する例を示したが、図34に焦点検出画素311を撮像画素310の青画素の位置に1画素おきに一列に配列した撮像素子211Aの例を示す。焦点検出画素311の配置間隔が大きくなることによって、焦点検出精度が多少低下するものの焦点検出画素311の密度が低くなるので、焦点検出画素311の位置の画像信号を補間処理により求めた画像品質が向上する。
<< Modification of First Embodiment >>
3 shows an example in which the focus detection pixels 311 are arranged without a gap, but FIG. 34 shows an image pickup element in which the focus detection pixels 311 are arranged in a line at every other pixel position of the blue pixels of the imaging pixel 310. An example of 211A is shown. Although the density of the focus detection pixels 311 is reduced due to the fact that the focus detection accuracy is slightly reduced by increasing the arrangement interval of the focus detection pixels 311, the image quality obtained by interpolating the image signal at the position of the focus detection pixels 311 is improved. improves.

図3に示す撮像素子211では、図5に示すように焦点検出画素311ごとに一対の光電変換部12,13を備えた例を示した。図35に、ひとつの画素内にひとつの光電変換部を備えた焦点検出画素313,314を示す。焦点検出画素313は、図35(a)に示すように、マイクロレンズ10と光電変換部16を備えている。また、焦点検出画素314は、図35(b)に示すように、マイクロレンズ10と光電変換部17とを備えている。光電変換部16,17はマイクロレンズ10により交換レンズの射出瞳に投影され、図10に示す測距瞳92,93を形成する。したがって、焦点検出画素313,314により焦点検出の用いる一対の像の出力を得ることができる。   In the imaging device 211 illustrated in FIG. 3, an example is illustrated in which a pair of photoelectric conversion units 12 and 13 are provided for each focus detection pixel 311 as illustrated in FIG. 5. FIG. 35 shows focus detection pixels 313 and 314 each having one photoelectric conversion unit in one pixel. The focus detection pixel 313 includes the microlens 10 and the photoelectric conversion unit 16 as illustrated in FIG. Further, the focus detection pixel 314 includes the microlens 10 and the photoelectric conversion unit 17 as illustrated in FIG. The photoelectric conversion units 16 and 17 are projected onto the exit pupil of the interchangeable lens by the microlens 10 to form distance measuring pupils 92 and 93 shown in FIG. Therefore, a pair of image outputs used for focus detection can be obtained by the focus detection pixels 313 and 314.

図36に、図35(a)、(b)に示す焦点検出画素313,314を交互に一列に配置した撮像素子211Bの例を示す。隣接する焦点検出画素313と焦点検出画素314が一対となり、図3に示す撮像素子211の焦点検出画素311に相当し、焦点検出に用いる一対の像の出力を得ることができる。   FIG. 36 shows an example of an image sensor 211B in which the focus detection pixels 313 and 314 shown in FIGS. 35A and 35B are alternately arranged in a line. A pair of adjacent focus detection pixels 313 and focus detection pixels 314 correspond to the focus detection pixels 311 of the image sensor 211 shown in FIG. 3, and a pair of image outputs used for focus detection can be obtained.

図3に示す撮像素子211では、図37(a)に示すように、R、G、Bの各色フィルターを備えた撮像画素310をベイヤー配列とした例を示したが、色フィルターの構成や配列は上述した一実施の形態に限定されない。例えば、図37(b)に示すように、G(緑)、黄(Ye)、マゼンダ(Mg)、シアン(Cy)を補色配列にしてもよい。この補色フィルターを用いる場合には、焦点検出画素311を、出力誤差が比較的目立たない青成分を含むシアンとマゼンタが配置されるべき画素位置に配置する。   In the image pickup device 211 shown in FIG. 3, as shown in FIG. 37A, an example in which the image pickup pixels 310 provided with R, G, and B color filters are arranged in a Bayer array is shown. Is not limited to the embodiment described above. For example, as shown in FIG. 37B, G (green), yellow (Ye), magenta (Mg), and cyan (Cy) may be arranged in a complementary color arrangement. When this complementary color filter is used, the focus detection pixel 311 is arranged at a pixel position where cyan and magenta including a blue component whose output error is relatively inconspicuous should be arranged.

図3に示す撮像素子211では焦点検出画素311に色フィルターを設けない例を示したが、撮像画素310と同色の色フィルターのうち、ひとつの色フィルター、例えば緑色フィルターを設けた場合でも、本発明を適用することができる。   In the image sensor 211 shown in FIG. 3, an example in which the focus detection pixel 311 is not provided with a color filter is shown. However, even if one color filter, for example, a green filter, is provided among the color filters of the same color as the image pickup pixel 310, The invention can be applied.

図13に示す撮像動作では、補間処理により焦点検出画素311の位置の画像信号を補正した画像データをメモリーカード213に格納する例を示したが、補正した画像データを電子ビューファインダー215や、ボディの背面に設けられた不図示の背面モニター画面に表示するようにしてもよい。   In the imaging operation illustrated in FIG. 13, the example in which the image data in which the image signal at the position of the focus detection pixel 311 is corrected by interpolation processing is stored in the memory card 213 is shown. However, the corrected image data is stored in the electronic viewfinder 215 or the body. You may make it display on the back monitor screen not shown provided in the back.

なお、上述した撮像素子211、211A、211Bは、CCDイメージセンサー、CMOSイメージセンサーとして形成することができる。   Note that the imaging elements 211, 211A, and 211B described above can be formed as a CCD image sensor or a CMOS image sensor.

上述した一実施の形態ではマイクロレンズを用いた瞳分割方式による焦点検出を例に上げて説明したが、本願発明の相関演算方法は上述した方式の焦点検出に限定されず、再結像瞳分割方式の焦点検出にも適用することができ、上述したような効果を奏することができる。   In the embodiment described above, focus detection by the pupil division method using microlenses has been described as an example. However, the correlation calculation method of the present invention is not limited to the focus detection of the method described above, and re-imaging pupil division is performed. The present invention can be applied to the focus detection of the method, and the effects as described above can be obtained.

図38により、本願発明の実施の形態による相関演算方法を適用した再結像瞳分割方式の焦点検出について説明する。図において、191は交換レンズの光軸、110,120はコンデンサーレンズ、111、121は絞りマスク、112,113、122,123は絞り開口、114、115、124,125は再結像レンズ、116、126は焦点検出用のイメージセンサー(CCD)である。また、132,133、142,143は焦点検出光束、190は交換レンズの予定結像面の前方d5の距離に設定された射出瞳である。なお、距離d5は、コンデンサーレンズ110,120の焦点距離とコンデンサーレンズ110,120と絞り開口112,113、122,123の間の距離などに応じて決まる距離であり、測距瞳距離という。192はコンデンサーレンズ110,120により投影された絞り開口112,122の領域(測距瞳)、193はコンデンサーレンズ110,120により投影された絞り開口113,123の領域(測距瞳)である。   With reference to FIG. 38, focus detection of the re-imaging pupil division method to which the correlation calculation method according to the embodiment of the present invention is applied will be described. In the figure, 191 is an optical axis of the interchangeable lens, 110 and 120 are condenser lenses, 111 and 121 are aperture masks, 112, 113, 122 and 123 are aperture openings, 114, 115, 124 and 125 are re-imaging lenses, 116 126 are image sensors (CCD) for focus detection. Reference numerals 132, 133, 142, and 143 denote focus detection light beams. Reference numeral 190 denotes an exit pupil set at a distance d5 in front of the planned imaging plane of the interchangeable lens. The distance d5 is a distance determined according to the focal lengths of the condenser lenses 110 and 120 and the distances between the condenser lenses 110 and 120 and the aperture openings 112, 113, 122, and 123, and is referred to as a distance measuring pupil distance. Reference numeral 192 denotes a region of the apertures 112 and 122 projected by the condenser lenses 110 and 120 (ranging pupil), and reference numeral 193 denotes a region of the apertures 113 and 123 projected by the condenser lenses 110 and 120 (ranging pupil).

コンデンサーレンズ110、絞りマスク111、絞り開口112,113、再結像レンズ114,115、イメージセンサ116が、一つの位置で焦点検出を行う再結像方式の瞳分割型位相差検出の焦点検出ユニットを構成する。図38では、光軸191上にある焦点検出ユニットと光軸外にある焦点検出ユニットを模式的に例示する。複数の焦点検出ユニットを組み合わせることによって、図2に示す5箇所の焦点検出位置G1〜G5において再結像方式の瞳分割型位相差検出で焦点検出を行う焦点検出専用センサーを実現することができる。   The condenser lens 110, aperture mask 111, aperture openings 112 and 113, re-imaging lenses 114 and 115, and image sensor 116 are re-imaging pupil division type phase difference detection focus detection units that perform focus detection at one position. Configure. FIG. 38 schematically illustrates a focus detection unit on the optical axis 191 and a focus detection unit outside the optical axis. By combining a plurality of focus detection units, it is possible to realize a focus detection dedicated sensor that performs focus detection by re-imaging pupil division type phase difference detection at the five focus detection positions G1 to G5 shown in FIG. .

コンデンサーレンズ110からなる焦点検出ユニットは、交換レンズの予定結像面近傍に配置されたコンデンサーレンズ110、その背後に配置されたイメージセンサー116、コンデンサーレンズ110とイメージセンサー116の間に配置され、予定結像面近傍に結像された1次像をイメージセンサー116上に再結像する一対の再結像レンズ114,115、一対の再結像レンズの近傍(図では前面)に配置された一対の絞り開口112,113を有する絞りマスク111から構成される。イメージセンサー116は複数の光電変換部が直線に沿って密に配置されたラインセンサーであって、光電変換部の配置方向は一対の測距瞳の分割方向(=絞り開口の並び方向)と一致させる。   The focus detection unit including the condenser lens 110 is disposed in the vicinity of the condenser lens 110 disposed in the vicinity of the planned imaging plane of the interchangeable lens, the image sensor 116 disposed behind the condenser lens 110, and disposed between the condenser lens 110 and the image sensor 116. A pair of re-imaging lenses 114 and 115 for re-imaging the primary image formed in the vicinity of the imaging plane on the image sensor 116, and a pair disposed in the vicinity (front side in the figure) of the pair of re-imaging lenses. The aperture mask 111 having the aperture apertures 112 and 113. The image sensor 116 is a line sensor in which a plurality of photoelectric conversion units are densely arranged along a straight line, and the arrangement direction of the photoelectric conversion units matches the dividing direction of the pair of distance measuring pupils (= the direction in which the aperture openings are arranged). Let

イメージセンサー116上に再結像された一対の像の強度分布に対応した情報がイメージセンサー116から出力され、この情報に対して後述する像ズレ検出演算処理(相関処理、位相差検出処理)を施すことによって、いわゆる瞳分割型位相差検出方式(再結像方式)で一対の像の像ズレ量が検出される。像ズレ量に所定の変換係数を乗ずることによって、予定結像面に対する現在の結像面の偏差(デフォーカス量)が算出される。   Information corresponding to the intensity distribution of the pair of images re-imaged on the image sensor 116 is output from the image sensor 116, and image shift detection calculation processing (correlation processing and phase difference detection processing) to be described later is performed on this information. By applying this, the image shift amount of the pair of images is detected by a so-called pupil division type phase difference detection method (re-imaging method). By multiplying the image shift amount by a predetermined conversion coefficient, the deviation (defocus amount) of the current image plane with respect to the planned image plane is calculated.

イメージセンサー116は再結像レンズ114,115により予定結像面上に投影されており、デフォーカス量(像ズレ量)の検出精度は、像ズレ量の検出ピッチ(再結像方式の場合は予定結像面上に投影された光電変換部の配列ピッチ)により決まる。   The image sensor 116 is projected on the planned imaging plane by the re-imaging lenses 114 and 115, and the detection accuracy of the defocus amount (image deviation amount) is determined by the detection pitch of the image deviation amount (in the case of the re-imaging method). This is determined by the arrangement pitch of the photoelectric conversion units projected on the planned imaging plane.

コンデンサーレンズ110は絞りマスク111の絞り開口112,113を射出瞳190上に領域192,193として投影している。これらの領域192,193を測距瞳と呼ぶ。すなわち、イメージセンサー116上に再結像される一対の像は射出瞳190上の一対の測距瞳192,193を通過する光束によって形成される。射出瞳190上の一対の測距瞳192,193を通過する光束132、133を焦点検出光束と呼ぶ。   The condenser lens 110 projects the aperture openings 112 and 113 of the aperture mask 111 as areas 192 and 193 on the exit pupil 190. These areas 192 and 193 are called distance measuring pupils. That is, a pair of images re-imaged on the image sensor 116 is formed by a light beam passing through the pair of distance measuring pupils 192 and 193 on the exit pupil 190. The light beams 132 and 133 that pass through the pair of distance measuring pupils 192 and 193 on the exit pupil 190 are referred to as focus detection light beams.

また、本願発明は撮影光学系を通過する光束を瞳分割する方式の焦点検出に限定されず、外光三角測距方式による距離測定にも適用することができ、上述したような効果を奏することができる。図39により、本願発明の実施の形態による相関演算方法を適用した外光三角測距方式の距離測定について説明する。レンズ320とその結像面に配置されたイメージセンサー326からなるユニットと、レンズ330とその結像面に配置されたイメージセンサー336からなるユニットとが基線長を隔てて配置される。これら一対のユニットが測距装置347を構成する。測距対象350の像がレンズ320と330によりイメージセンサ326と336上に形成される。   The invention of the present application is not limited to focus detection using a method in which the light beam passing through the photographing optical system is divided into pupils, but can also be applied to distance measurement by the external light triangulation method, and has the effects described above. Can do. With reference to FIG. 39, distance measurement of an external light triangulation system to which the correlation calculation method according to the embodiment of the present invention is applied will be described. A unit composed of the lens 320 and the image sensor 326 disposed on the imaging surface thereof, and a unit composed of the lens 330 and the image sensor 336 disposed on the imaging surface thereof are disposed with a baseline length therebetween. The pair of units constitutes the distance measuring device 347. An image of the distance measuring object 350 is formed on the image sensors 326 and 336 by the lenses 320 and 330.

イメージセンサー326と336上に形成される像の位置関係は、測距装置347から測距対象350までの距離に応じて変化する。したがって、イメージセンサー326と336の信号データに対して本発明を適用した像ズレ検出を行うことによって、2像の相対的位置関係を検出し、この位置関係に基づいて測距対象350までの距離を測定することができる。外光三角測距方式においては、レンズ320と330に汚れや雨滴が付着することによって、一対の信号にレベル差が生じたり歪みが生じたりするので、本願発明の相関演算方法を適用することによって、それらの問題が発生してもイメージセンサー326と336から出力される一対の像信号信号データ列の相関関係を正確に検出できる。   The positional relationship between the images formed on the image sensors 326 and 336 changes according to the distance from the distance measuring device 347 to the distance measuring object 350. Therefore, the relative positional relationship between the two images is detected by performing image shift detection applying the present invention to the signal data of the image sensors 326 and 336, and the distance to the distance measuring object 350 is determined based on this positional relationship. Can be measured. In the external light triangulation method, dirt and raindrops adhere to the lenses 320 and 330, which causes a level difference or distortion in the pair of signals. By applying the correlation calculation method of the present invention, Even if these problems occur, the correlation between the pair of image signal signal data strings output from the image sensors 326 and 336 can be accurately detected.

なお、以上の説明において相関度演算は2つのデータの差の絶対値の和を用いているが、その他の相関演算方式であってもよい。例えば2つのデータの乗算の和によって相関量を算出し、相関量のピーク値を与えるずらし量から2つの信号データ列の相対的なずれ量を検出するようにしてもよい。また、2つのデータのMAX値の和によって相関量を算出し、相関量のボトム値を与えるずらし量から2つの信号データ列の相対的なずれ量を検出するようにしてもよい。さらに、2つのデータのMIN値の和によって相関量を算出し、相関量のピーク値を与えるずらし量から2つの信号データ列の相対的なずれ量を検出するようにしてもよい。   In the above description, the correlation calculation uses the sum of the absolute values of the differences between the two data, but other correlation calculation methods may be used. For example, the correlation amount may be calculated by the sum of multiplications of two data, and the relative shift amount between the two signal data strings may be detected from the shift amount that gives the peak value of the correlation amount. Alternatively, the correlation amount may be calculated from the sum of the MAX values of the two data, and the relative shift amount between the two signal data strings may be detected from the shift amount that gives the bottom value of the correlation amount. Furthermore, the correlation amount may be calculated by the sum of the MIN values of the two data, and the relative shift amount between the two signal data strings may be detected from the shift amount that gives the peak value of the correlation amount.

本願発明の実施の形態による撮像装置は、交換レンズとカメラボディから構成されるデジタルスチルカメラやフィルムスチルカメラに限定されず、レンズ一体型のデジタルスチルカメラやフィルムスチルカメラ、あるいはビデオカメラにも適用することができる。また、本願発明は、携帯電話などに内蔵される小型カメラモジュールや監視カメラなどにも適用することができる。さらに、カメラ以外の焦点検出装置や測距装置、あるいはステレオ測距装置にも適用することができる。   The imaging device according to the embodiment of the present invention is not limited to a digital still camera or a film still camera including an interchangeable lens and a camera body, but is also applied to a lens-integrated digital still camera, a film still camera, or a video camera. can do. The present invention can also be applied to a small camera module, a surveillance camera, or the like built in a mobile phone. Furthermore, the present invention can be applied to a focus detection device other than a camera, a distance measuring device, or a stereo distance measuring device.

本実施の形態は、時間が異なるイメージセンサーの信号間の相関を検出して被写体像の動きやカメラのブレを検出する装置にも適用することができる。また、イメージセンサーの画像信号と特定の画像信号のパターンマッチングにも適用することができる。さらに、画像信号データの相関を検出するものに限定されず、音に関するデータの相関やその他一般に2つの信号の相関を検出するあらゆるものにも適用することができ、上述した効果を奏することができる。   The present embodiment can also be applied to an apparatus that detects a movement of a subject image or a camera shake by detecting a correlation between image sensor signals at different times. Further, it can be applied to pattern matching between an image signal of an image sensor and a specific image signal. Further, the present invention is not limited to detecting the correlation of image signal data, but can be applied to any of the correlations of data related to sound and other generally detecting the correlation of two signals, and the effects described above can be achieved. .

以上説明したように、一実施の形態では、例えば一対の焦点検出用光束のいずれか一方に撮影光学系によるケラレが発生してイメージセンサーから出力される一対の信号データ列に相対的な歪みが発生しても、両信号データ列の相関関係を正確に検出することができる。   As described above, in one embodiment, for example, vignetting due to the photographing optical system occurs in one of a pair of focus detection light beams, and a pair of signal data strings output from the image sensor has a relative distortion. Even if it occurs, the correlation between both signal data strings can be detected accurately.

《発明の第2の実施の形態》
上述した第1の実施の形態の焦点検出演算方法(相関演算方法)によれば、演算対象の一対の信号列、すなわち第1信号データ列と第2信号データ列との間にゲイン差があっても、両信号データ列の相関関係を正確に検出することができる。ところが、第1信号データ列と第2信号データ列との間にゲイン差とオフセットがあった場合には、相関演算結果の精度が低下する。そこで、この第2の実施の形態では、第1信号データ列と第2信号データ列との間にゲイン差とオフセットがあった場合の焦点検出演算方法(相関演算方法)を説明する。なお、この第2の実施の形態では上述した第1の実施の形態およびその変形例と相違する箇所のみを説明する。
<< Second Embodiment of the Invention >>
According to the focus detection calculation method (correlation calculation method) of the first embodiment described above, there is a gain difference between a pair of calculation target signal sequences, that is, the first signal data sequence and the second signal data sequence. However, it is possible to accurately detect the correlation between both signal data strings. However, when there is a gain difference and an offset between the first signal data string and the second signal data string, the accuracy of the correlation calculation result decreases. Therefore, in the second embodiment, a focus detection calculation method (correlation calculation method) when there is a gain difference and an offset between the first signal data string and the second signal data string will be described. In the second embodiment, only portions different from the above-described first embodiment and modifications thereof will be described.

《焦点検出動作》
図40は第2の実施の形態の焦点検出動作の詳細を示すフローチャートである。なお、図14に示す処理と同様な処理を行うステップに対しては同一のステップ番号を付して相違点を中心に説明する。ステップ300において焦点検出演算処理すなわち相関演算処理を開始し、ステップ310で焦点検出画素列から出力される一対の信号データ列(α1〜αM、β1〜βM:Mはデータの個数)に対して下記(16)式に示すような高周波カットフィルター処理を施し、第1信号データ列a1〜aNと第2信号データ列b1〜bN(Nはデータ個数)を生成し、信号データ列から相関処理に悪影響を及ぼすノイズ成分や高周波成分を除去する。
an=αn+2×αn+1+αn+2,
bn=βn+2×βn+1+βn+2 ・・・(16)
(16)式において、n=1〜Nである。なお、演算時間の短縮を図る場合や、すでに大きくデフォーカスしていて高周波成分が少ないことがわかっている場合には、ステップ310の高周波カットフィルター処理を省略することができる。
<Focus detection operation>
FIG. 40 is a flowchart showing details of the focus detection operation of the second embodiment. Note that steps that perform the same processing as the processing shown in FIG. 14 are denoted by the same step numbers, and differences will be mainly described. In step 300, focus detection calculation processing, that is, correlation calculation processing is started. In step 310, a pair of signal data sequences (α1 to αM, β1 to βM: M is the number of data) are output as follows. High-frequency cut filter processing as shown in equation (16) is performed to generate first signal data sequences a1 to aN and second signal data sequences b1 to bN (N is the number of data), and adversely affect correlation processing from the signal data sequences. Remove noise components and high frequency components.
an = αn + 2 × αn + 1 + αn + 2,
bn = βn + 2 × βn + 1 + βn + 2 (16)
In the formula (16), n = 1 to N. Note that the high-frequency cut filter processing in step 310 can be omitted if the calculation time is to be shortened or if it is already defocused and it is known that there are few high-frequency components.

ステップ315において、第1信号データ列a1〜aNと第2信号データ列b1〜bNからそれぞれのデータ列の平均値ax、bxを減じ、第1’信号データ列A1〜ANと第2’信号データ列B1〜BNを生成する。なお、第1の実施の形態の第1信号列データおよび第2信号列データと、第2の実施の形態の第1信号列データおよび第2信号列データとを便宜上、同じ記号A1〜ANおよびB1〜BNを用いて説明するが、この第2の実施の形態の第1信号列データA1〜ANおよび第2信号列データB1〜BNは下記(17)式および(18)式の演算を施した後の信号列データである。
ax=(Σan)/N,
bx=(Σbn)/N ・・・(17)
An=an−ax,
Bn=bn−bx ・・・(18)
(17)式、(18)式において、n=1〜Nである。
後述するように平均値を減ずることにより、第1信号データ列と第2信号データ列の間にオフセットが発生している場合でも後述する相関演算処理により第1信号データ列と第2信号データ列の高精度な相関検出が可能となる。
In step 315, the average values ax and bx of the respective data sequences are subtracted from the first signal data sequence a1 to aN and the second signal data sequence b1 to bN to obtain the first 'signal data sequence A1 to AN and the second' signal data. Generate columns B1-BN. For convenience, the first signal sequence data and the second signal sequence data of the first embodiment and the first signal sequence data and the second signal sequence data of the second embodiment are represented by the same symbols A1 to AN and The first signal string data A1 to AN and the second signal string data B1 to BN of the second embodiment are calculated using the following equations (17) and (18). It is the signal string data after having been processed.
ax = (Σan) / N,
bx = (Σbn) / N (17)
An = an-ax,
Bn = bn−bx (18)
In the formulas (17) and (18), n = 1 to N.
As will be described later, even if an offset is generated between the first signal data string and the second signal data string by reducing the average value, the first signal data string and the second signal data string are subjected to correlation calculation processing described later. Can be detected with high accuracy.

ステップ320において、ずらし量k(整数)における第1’信号データ列A1〜ANと第2’信号データ列B1〜BNとの相関量を演算するために、まず第1’信号データ列A1〜ANに対して第2’信号データ列B1〜BNを相対的に所定量kだけずらす。   In step 320, in order to calculate the correlation amount between the first 'signal data sequence A1 to AN and the second' signal data sequence B1 to BN at the shift amount k (integer), first, the first 'signal data sequence A1 to AN. The second 'signal data strings B1 to BN are shifted relative to each other by a predetermined amount k.

続くステップ330では、第1’信号データ列A1〜ANの中の任意の範囲のデータ、つまり注目するデータAnとその近傍のデータAn-r〜An+s(r、sは任意の整数;以下、この範囲を“微少範囲”と呼ぶ)に対して第1演算(詳細後述)を行って演算データを得るとともに、ずらし量kだけずれた第2’信号データ列B1〜BNの中の第1’信号データ列の上記注目データAnに対応するデータBn+kとその近傍の微少範囲データBn-r〜Bn+sに対して第2演算(詳細後述)を行って演算データを得る。そして、それらの演算データを乗算して第1演算データを算出する。   In the next step 330, data in an arbitrary range in the first 'signal data string A1 to AN, that is, the data An of interest and its neighboring data An-r to An + s (r and s are arbitrary integers; The first calculation (detailed later) is performed on this range (referred to as a “small range”) to obtain calculation data, and the first among the second ′ signal data strings B1 to BN shifted by the shift amount k. 'A second calculation (detailed later) is performed on the data Bn + k corresponding to the attention data An in the signal data string and the minute range data Bn-r to Bn + s in the vicinity thereof to obtain calculation data. Then, the first calculation data is calculated by multiplying the calculation data.

ステップ340において、第2’信号データ列B1〜BNの中の上記微少範囲データBn-r〜Bn+sに対して上記第1演算を行って演算データを得るとともに、第1’信号データ列A1〜ANの中の上記微少範囲データAn-r〜An+sに対して上記第2演算を行って演算データを得る。そして、それらの演算データを乗算して第2演算データを算出する。   In step 340, the first calculation is performed on the minute range data Bn-r to Bn + s in the second 'signal data strings B1 to BN to obtain calculation data, and the first' signal data string A1. The second calculation is performed on the minute range data An-r to An + s in .about.AN to obtain calculation data. Then, the second calculation data is calculated by multiplying the calculation data.

なお、詳細を後述するが、ステップ330と340における演算結果の第1演算データと第2演算データは、ともに任意の“微少範囲”において第1’信号データ列と第2’信号データ列の歪みが相殺されたデータとなる。   Although details will be described later, the first calculation data and the second calculation data of the calculation results in Steps 330 and 340 are both distorted in the first 'signal data string and the second' signal data string in an arbitrary "small range". Is offset data.

また、上述したステップ330と340では、第1’信号データ列と第2’信号データ列の“微少範囲”に対して第1演算と第2演算を施して演算データを得る例を示したが、第1’信号データ列A1〜ANの任意の位置における注目データAnと、ずらし量kだけずれた第2’信号データ列B1〜BNの前記注目データAnの位置に対応するデータBn+kの近傍のデータ、例えばBn+1+kあるいはBn+2+kなどとを乗算して第1演算データを生成するとともに、第2’信号データ列B1〜BNのデータBn+kと、第1’信号データ列A1〜ANの注目データAnの近傍のデータ、例えばAn+1あるいはAn+2などとを乗算して第2演算データを生成してもよい。   Further, in steps 330 and 340 described above, an example is shown in which calculation data is obtained by performing the first calculation and the second calculation on the “small range” of the first ′ signal data string and the second ′ signal data string. The data Bn + k corresponding to the position of the target data An in any position of the first 'signal data string A1 to AN and the position of the target data An of the second' signal data string B1 to BN shifted by the shift amount k. The first operation data is generated by multiplying neighboring data, for example, Bn + 1 + k or Bn + 2 + k, and the data Bn + k of the second 'signal data sequence B1 to BN and the first' The second calculation data may be generated by multiplying the data in the vicinity of the target data An of the signal data strings A1 to AN, for example, An + 1 or An + 2.

ステップ350において第1演算データと第2演算データの差の絶対値を算出する。この演算結果は、“微少範囲”における第1’信号データ列と第2’信号データ列の相関度(類似度)を示す量となる。続くステップ360で“微少範囲”をずらしながらステップ330〜350の処理を繰り返し、ステップ350における相関度を示す量の演算結果を累積加算することによって、所定のずらし量kにおける相関量C(k)を算出する。   In step 350, the absolute value of the difference between the first calculation data and the second calculation data is calculated. The calculation result is an amount indicating the degree of correlation (similarity) between the first 'signal data string and the second' signal data string in the "small range". In the following step 360, the processing of steps 330 to 350 is repeated while shifting the “small range”, and the calculation result of the amount indicating the degree of correlation in step 350 is cumulatively added, whereby the correlation amount C (k) at the predetermined shift amount k. Is calculated.

以下、ステップ360〜400における処理は図14に示す処理と同様であり、説明を省略する。   Hereinafter, the processing in steps 360 to 400 is the same as the processing shown in FIG.

《相関演算》
次に、図40に示す相関演算処理の実施例を説明する。図41は第2の実施の形態の相関演算の思想を説明するための図であり、実線で示す第1信号データ列a1〜aNと破線で示す第2信号データ列b1〜bNとに交換レンズ202のケラレなどに起因した歪みが生じ、両信号データ列の波形にゲイン差およびオフセットが生じた場合を示す。
《Correlation operation》
Next, an example of the correlation calculation process shown in FIG. 40 will be described. FIG. 41 is a diagram for explaining the concept of correlation calculation according to the second embodiment. The interchangeable lens includes first signal data strings a1 to aN indicated by solid lines and second signal data strings b1 to bN indicated by broken lines. A case in which distortion due to vignetting 202 or the like occurs and a gain difference and an offset occur in the waveforms of both signal data strings is shown.

オフセットについては、第1信号データ列a1〜aNと第2信号データ列b1〜bNからそれぞれの平均値を減じて第1’信号データ列A1〜ANと第2’信号データ列B1〜BNを生成することによりキャンセルされる。また、第1’信号データ列A1〜ANと第2’信号データ列B1〜BNに残存するゲイン差に関しては、次のようにしてキャンセルされる。各信号データ列の中の“微少範囲”の特性、すなわち隣接するデータの大きさの比An/An+1、Bn+k/Bn+1+kはゲイン差がある場合でも大きな影響を受けない。この“微少範囲”の特性An/An+1、Bn+k/Bn+1+kには分母部が含まれるから、これらの“微少範囲”の特性に分母部の共通項(An+1×Bn+1+k)を乗ずることによって、分母部が0になった場合の発散の影響や分母部の値が小さい場合のノイズの影響を抑制することができる。   As for the offset, the first signal data sequence A1 to AN and the second signal signal sequence B1 to BN are generated by subtracting the respective average values from the first signal data sequence a1 to aN and the second signal data sequence b1 to bN. To cancel. Further, the gain difference remaining in the first 'signal data sequence A1 to AN and the second' signal data sequence B1 to BN is canceled as follows. “Small range” characteristics in each signal data string, that is, the ratios An / An + 1 and Bn + k / Bn + 1 + k of adjacent data are not greatly affected even when there is a gain difference. . Since these “minor range” characteristics An / An + 1 and Bn + k / Bn + 1 + k include a denominator part, these “minor range” characteristics include common terms (An + 1 × By multiplying by (Bn + 1 + k), it is possible to suppress the influence of divergence when the denominator becomes 0 and the influence of noise when the value of the denominator is small.

例えば、隣接するデータの大きさの比An/An+1、Bn+k/Bn+1+kに、分母部の共通項(An+1×Bn+1+k)を乗じてAn×Bn+1+k、Bn+k×An+1を求める。このようにして算出した2つの信号データ列間の“微少範囲”の特性どうしの相関、この場合は差の絶対値をとることによって、2つの信号データ列間の相関度(類似度)を高精度に検出することが可能になる。さらに、“微少範囲”の位置を所定の範囲でずらしながら相関度を累積することによって、偶発的に生じた相関を排除して高精度な相関検出を行うことができる。   For example, the ratio An / An + 1, Bn + k / Bn + 1 + k of adjacent data sizes is multiplied by a common term (An + 1 × Bn + 1 + k) in the denominator portion, and An × Bn + 1 + k, Bn + k × An + 1 are obtained. By taking the correlation between the “small range” characteristics between the two signal data strings calculated in this way, in this case the absolute value of the difference, the degree of correlation (similarity) between the two signal data strings is increased. It becomes possible to detect with accuracy. Furthermore, by accumulating the degree of correlation while shifting the position of the “small range” within a predetermined range, it is possible to eliminate the accidentally generated correlation and perform highly accurate correlation detection.

第1’信号データ列A1〜ANの任意のデータAnと、ずらし量kだけずれた第2’信号データ列B1〜BNのデータAnに対応するデータBn+kの近傍のデータ、例えば1個隣のBn+1+kまたは2個隣のデータBn+2+kとを乗算して第1演算データ(An×Bn+1+k)または(An×Bn+2+k)を生成するとともに、第2’信号データ列B1〜BNのデータBn+kと、第1’信号データ列A1〜ANの注目しているデータAnの近傍のデータ、例えば1個隣のAn+1または2個隣のAn+2とを乗算して第2演算データ(Bn+k×An+1)または(Bn+k×An+2)を生成する。そして、第1演算データと第2演算データに基づいて上記(2)式により第3信号データ列と第4信号データ列の相関を求める。この相関演算例は上述した処理例1および処理例2であり、説明を省略する。   Arbitrary data An in the first 'signal data sequence A1 to AN and data in the vicinity of data Bn + k corresponding to the data An in the second' signal data sequence B1 to BN shifted by the shift amount k, for example, one adjacent Bn + 1 + k or two adjacent data Bn + 2 + k is multiplied to generate the first operation data (An × Bn + 1 + k) or (An × Bn + 2 + k), The data Bn + k of the second 'signal data sequence B1 to BN and the data in the vicinity of the data An of interest of the first' signal data sequence A1 to AN, for example, the next one An + 1 or the next two The second operation data (Bn + k × An + 1) or (Bn + k × An + 2) is generated by multiplying by An + 2. Based on the first calculation data and the second calculation data, the correlation between the third signal data string and the fourth signal data string is obtained by the above equation (2). This correlation calculation example is the processing example 1 and the processing example 2 described above, and a description thereof will be omitted.

また、他の相関演算例として、第1’信号データ列A1〜ANの中の任意の範囲のデータ、つまり注目するデータAnとその近傍の微少範囲データAn-r〜An+sに対して第1演算を行って演算データを得るとともに、ずらし量kだけずれた第2’信号データ列B1〜BNの中の第1信号データ列の上記注目データAnに対応するデータBn+kとその近傍の微少範囲データBn-r〜Bn+sに対して第2演算を行って演算データを得る。そして、それらの演算データを乗算して第1演算データを算出する。
さらに、第2’信号データ列B1〜BNの中の上記微少範囲データBn-r〜Bn+sに対して上記第1演算を行って演算データを得るとともに、第1’信号データ列A1〜ANの中の上記微少範囲データAn-r〜An+sに対して上記第2演算を行って演算データを得る。そして、それらの演算データを乗算して第2演算データを算出する。
そして、第1演算データと第2演算データに基づいて上記(2)式により第1信号データ列と第2信号データ列の相関を求める。この相関演算例は上述した処理例3〜処理例8であり、説明を省略する。
第1’信号データ列Anと第2’信号データ列Bnの相関演算結果は、ゲイン差およびオフセットを有する第1信号データ列anと第2信号データ列bnに関するゲイン差およびオフセットに因る誤差を除去した高精度な相関演算結果となる。
As another example of the correlation calculation, the data of an arbitrary range in the first 'signal data sequence A1 to AN, that is, the data An of interest and the minute range data An-r to An + s in the vicinity thereof are The calculation data is obtained by performing one calculation, and the data Bn + k corresponding to the attention data An in the first signal data string B2 to BN shifted by the shift amount k and the vicinity thereof A second calculation is performed on the minute range data Bn-r to Bn + s to obtain calculation data. Then, the first calculation data is calculated by multiplying the calculation data.
Further, the first calculation is performed on the minute range data Bn−r to Bn + s in the second ′ signal data strings B1 to BN to obtain calculation data, and the first ′ signal data strings A1 to AN are obtained. The second calculation is performed on the minute range data An-r to An + s in FIG. Then, the second calculation data is calculated by multiplying the calculation data.
Based on the first calculation data and the second calculation data, the correlation between the first signal data string and the second signal data string is obtained by the above equation (2). This correlation calculation example is the processing example 3 to the processing example 8 described above, and a description thereof is omitted.
The correlation calculation result of the first 'signal data sequence An and the second' signal data sequence Bn shows an error due to the gain difference and offset regarding the first signal data sequence an and the second signal data sequence bn having a gain difference and offset. The removed highly accurate correlation calculation result is obtained.

ここで、図42に示すような一対の像信号データ列a、bに対して相関演算処理例1を実施する場合について考察する。撮像素子211から出力される一対の像信号データ列(a1、a2、・・、aN)、(b1、b2、・・、bN)として、ゲイン差2倍、オフセット2を有する2つの像関数2*(2+sinω)+2、(2+sinω)を設定する。このような一対の像信号データ列a、bに対し、まずそれぞれの平均値を減じてオフセット分をキャンセルした信号データ列A、Bが生成される。次に、この二つの信号データ列A、Bに対して相関演算処理例9を実行した結果を図43(a)に示す。図から明らかなように、元の二つの信号データ列a,bがゲイン差およびオフセットを有しているにも関わらず、相関演算処理例1により高精度な相関(グラフ上の明確に落ち込み)が得られることがわかる。   Here, consider a case where the correlation calculation processing example 1 is performed on a pair of image signal data strings a and b as shown in FIG. As a pair of image signal data strings (a1, a2,..., AN) and (b1, b2,..., BN) output from the image sensor 211, two image functions 2 having a gain difference of 2 and an offset of 2 are used. * Set (2 + sinω) +2, (2 + sinω). For such a pair of image signal data sequences a and b, first, signal data sequences A and B are generated by subtracting the respective average values and canceling the offset. Next, FIG. 43A shows the result of executing the correlation calculation processing example 9 on these two signal data strings A and B. As is clear from the figure, the correlation calculation processing example 1 enables high-precision correlation (clear drop on the graph) even though the original two signal data sequences a and b have a gain difference and an offset. It can be seen that

図43(b)は、一対の像信号データ列a、bに対し、平均値を減じないでそのまま相関演算処理例9を実行した結果である。図から明らかなように、元の二つの信号データ列a,bがゲイン差およびオフセットを有しているため、グラフ上の落ち込みの程度は図43(a)に示す平均値を減じた場合よりも緩やかになり、その分、相関演算精度が低下することがわかる。また、図43(c)は、一対の像信号データ列a、bに対し、従来の相関演算(C(k)=Σ|an−bn+k|)を適用した場合の結果である。図から明らかなように、二つの信号データ列a,bがゲイン差およびオフセットを有している場合には、相関グラフの落ち込みが正しいズレ量の位置で生ぜず、相関検出が不能になっていることがわかる。   FIG. 43B shows a result of executing the correlation calculation processing example 9 as it is without reducing the average value for the pair of image signal data sequences a and b. As is apparent from the figure, since the original two signal data strings a and b have a gain difference and an offset, the degree of the drop on the graph is lower than that when the average value shown in FIG. It can be seen that the correlation calculation accuracy decreases accordingly. FIG. 43 (c) shows a result when the conventional correlation calculation (C (k) = Σ | an−bn + k |) is applied to the pair of image signal data strings a and b. As is apparent from the figure, when the two signal data strings a and b have a gain difference and an offset, the drop in the correlation graph does not occur at the position of the correct deviation amount, and the correlation detection becomes impossible. I understand that.

第2の実施の形態の相関演算処理においては、まず元の一対のデータ列についてそれぞれの平均値を求めて減じた後、一対のデータ列に関して相関演算処理例1〜8を適用していると説明したが、相関演算中において平均値を減算するようにしてもよい。例えば、相関演算処理例1に対しては、次のように変更することができる。
C(k)=Σ|(an−ax)×(bn+1+k−bx)−(bn+k−bx)×(An+1−ax)| ・・・(19)
また、(19)式において、Σ演算の範囲を元のデータ列の範囲に比較して狭い範囲にした場合には、元のデータ列全体の平均値ax、bxの代わりに、Σ演算の範囲内のデータ列の平均値ax’、bx’を用いるようにしてもよい。このようにすれば、ゲイン差がデータ列中の位置によって変動する場合においても正確な相関演算結果を算出することが可能になる。
In the correlation calculation processing according to the second embodiment, first, after obtaining and subtracting the respective average values for the original pair of data strings, the correlation calculation processing examples 1 to 8 are applied to the pair of data strings. As described above, the average value may be subtracted during the correlation calculation. For example, the correlation calculation processing example 1 can be changed as follows.
C (k) = Σ | (an−ax) × (bn + 1 + k−bx) − (bn + k−bx) × (An + 1−ax) | (19)
In the equation (19), when the Σ operation range is narrower than the original data string range, the Σ operation range is used instead of the average values ax and bx of the entire original data string. The average values ax ′ and bx ′ of the data string may be used. In this way, an accurate correlation calculation result can be calculated even when the gain difference varies depending on the position in the data string.

一実施の形態のディジタルスチルカメラの構成を示す図The figure which shows the structure of the digital still camera of one embodiment 交換レンズの予定結像面に設定した撮像画面上の焦点検出領域を示す図The figure which shows the focus detection area on the imaging screen which is set to the planned image formation surface of the interchangeable lens 撮像素子の詳細な構成を示す正面図Front view showing detailed configuration of image sensor 撮像画素の構成図Configuration diagram of imaging pixels 焦点検出画素の構成図Configuration diagram of focus detection pixels 撮像画素の各色フィルターの分光感度特性を示す図The figure which shows the spectral sensitivity characteristic of each color filter of an image pick-up pixel 焦点検出画素の分光感度特性を示す図The figure which shows the spectral sensitivity characteristic of a focus detection pixel 撮像画素の断面図Cross section of imaging pixel 焦点検出画素の断面図Cross section of focus detection pixel 瞳分割方式による焦点検出方法を説明する図The figure explaining the focus detection method by a pupil division system 射出瞳面における投影関係を示す正面図Front view showing projection relationship on exit pupil plane 1つの焦点検出位置における像信号の強度分布(光量)を縦軸に、焦点検出位置内の位置偏差を横軸にとって示した図A graph showing the intensity distribution (light quantity) of an image signal at one focus detection position on the vertical axis and the position deviation within the focus detection position on the horizontal axis. 一実施の形態のディジタルスチルカメラ(撮像装置)の撮像動作を示すフローチャート1 is a flowchart illustrating an imaging operation of a digital still camera (imaging device) according to an embodiment. 焦点検出動作の詳細を示すフローチャートFlow chart showing details of focus detection operation 相関演算を説明する図Diagram explaining correlation calculation 一実施の形態の相関演算の思想を説明するための図The figure for demonstrating the thought of the correlation calculation of one Embodiment 相関演算処理例1のデータフローを示す図The figure which shows the data flow of the correlation calculation process example 1 二つの信号データ列A、Bに相対的な歪みが発生した場合を示す図The figure which shows the case where relative distortion generate | occur | produces in the two signal data strings A and B 相関演算処理例1を実行した結果を示す図The figure which shows the result of having performed correlation calculation processing example 1 相関演算処理例2のデータフローを示す図The figure which shows the data flow of the correlation calculation processing example 2 相関演算処理2を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing 2 相関演算処理例3のデータフローを示す図The figure which shows the data flow of correlation calculation processing example 3 相関演算処理3を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing 3 相関演算処理4のデータフローを示す図The figure which shows the data flow of correlation calculation processing 4 相関演算処理4を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing 4 相関演算処理5のデータフローを示す図The figure which shows the data flow of the correlation calculation process 5 相関演算処理5を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing 5 相関演算処理6のデータフローを示す図The figure which shows the data flow of the correlation calculation process 6 相関演算処理6を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing 6 相関演算処理例7のデータフローを示す図The figure which shows the data flow of the correlation calculation processing example 7 相関演算処理例7を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing example 7 相関演算処理例8のデータフローを示す図。The figure which shows the data flow of the correlation calculation process example 8. 相関演算処理例8を実行したした結果を示す図The figure which shows the result of having performed correlation calculation processing example 8 焦点検出画素を撮像画素の青画素の位置に1画素おきに一列に配列した撮像素子の例を示す図The figure which shows the example of the image pick-up element which arranged the focus detection pixel at the position of the blue pixel of the image pick-up pixel every other pixel in a line. ひとつの画素内にひとつの光電変換部を備えた焦点検出画素を示す図The figure which shows the focus detection pixel provided with one photoelectric conversion part in one pixel 図35(a)、(b)に示す焦点検出画素を交互に一列に配置した撮像素子の例を示す図FIG. 35 is a diagram illustrating an example of an image sensor in which the focus detection pixels illustrated in FIGS. 35A and 35B are alternately arranged in a line. ベイヤー配列と補色配列を示す図である。It is a figure which shows a Bayer arrangement | sequence and a complementary color arrangement | sequence. 本願発明の実施の形態による相関演算方法を適用した再結像瞳分割方式の焦点検出について説明する図The figure explaining the focus detection of the re-imaging pupil division system to which the correlation calculation method by embodiment of this invention is applied 本願発明の実施の形態による相関演算方法を適用した外光三角測距方式の距離測定について説明する図The figure explaining the distance measurement of the external light triangulation system to which the correlation calculation method by embodiment of this invention is applied 第2の実施の形態の焦点検出動作の詳細を示すフローチャートThe flowchart which shows the detail of the focus detection operation | movement of 2nd Embodiment. 第2の実施の形態の相関演算の思想を説明するための図The figure for demonstrating the thought of the correlation calculation of 2nd Embodiment 第2の実施の形態の相関演算処理例を説明するための図The figure for demonstrating the example of the correlation calculation process of 2nd Embodiment 第2の実施の形態の相関演算処理結果を説明するための図The figure for demonstrating the correlation calculation processing result of 2nd Embodiment

符号の説明Explanation of symbols

202 交換レンズ
209 レンズ駆動制御装置
211 撮像素子
212 カメラ駆動制御装置
202 Interchangeable lens 209 Lens drive control device 211 Image sensor 212 Camera drive control device

Claims (21)

第1信号データ列と第2信号データ列との相関度を演算する相関演算方法であって、
前記第1信号データ列中の第1データと、前記第2信号データ列中の前記第1データに対応する第2データの近傍のデータとを乗算して第1演算データを生成する第1情報生成処理と、
前記第2信号データ列中の前記第2データと、前記第1信号データ列の前記第1データの近傍のデータとを乗算して第2演算データを生成する第2情報生成処理と、
前記第1演算データと前記第2演算データとの相関度を演算する相関度検出処理とを実行することを特徴とする相関演算方法。
A correlation calculation method for calculating a degree of correlation between a first signal data string and a second signal data string,
First information for generating first calculation data by multiplying the first data in the first signal data string by data in the vicinity of the second data corresponding to the first data in the second signal data string Generation process,
A second information generation process for generating second operation data by multiplying the second data in the second signal data sequence by data in the vicinity of the first data in the first signal data sequence;
A correlation calculation method, comprising: executing a correlation detection process for calculating a correlation between the first calculation data and the second calculation data.
第1信号データ列と第2信号データ列との相関度を演算する相関演算方法であって、
前記第1信号データ列中の第1データとその近傍のデータに第1演算を行って演算データを演算するとともに、前記第2信号データ列中の前記第1データに対応する第2データとその近傍のデータに第2演算を行って演算データを演算し、それらの演算データを乗算して第1演算データを演算する第1情報生成処理と、
前記第2信号データ列中の前記第2データとその近傍のデータに前記第1演算を行って演算データを演算するとともに、前記第1信号データ列中の前記第1データとその近傍のデータに前記第2演算を行って演算データを演算し、それらの演算データを乗算して第2演算データを演算する第2情報生成処理と、
前記第1演算データと前記第2演算データとの相関度を演算する相関度検出処理とを実行することを特徴とする相関演算方法。
A correlation calculation method for calculating a degree of correlation between a first signal data string and a second signal data string,
A first calculation is performed on the first data in the first signal data string and data in the vicinity thereof to calculate calculation data, and second data corresponding to the first data in the second signal data string and its A first information generation process for performing a second calculation on neighboring data to calculate calculation data, multiplying the calculation data, and calculating the first calculation data;
The first calculation is performed on the second data in the second signal data string and the data in the vicinity thereof to calculate the calculation data, and the first data in the first signal data string and the data in the vicinity thereof are calculated. A second information generation process for calculating the operation data by performing the second operation, and multiplying the operation data to calculate the second operation data;
A correlation calculation method, comprising: executing a correlation detection process for calculating a correlation between the first calculation data and the second calculation data.
請求項2に記載の相関演算方法において、
前記第1演算は、前記第1データとその近傍データに対する加減算、または前記第2データとその近傍データに対する加減算であることを特徴とする相関演算方法。
The correlation calculation method according to claim 2,
The correlation calculation method, wherein the first calculation is addition / subtraction with respect to the first data and its neighboring data, or addition / subtraction with respect to the second data and its neighboring data.
請求項2に記載の相関演算方法において、
前記第1演算は、前記第1データとその近傍データとを加算する演算、または前記第2データとその近傍のデータとを加算する演算であることを特徴とする相関演算方法。
The correlation calculation method according to claim 2,
The correlation calculation method, wherein the first calculation is an operation of adding the first data and its neighboring data, or an operation of adding the second data and its neighboring data.
請求項2に記載の相関演算方法において、
前記第1演算は、前記第1データとその近傍のデータとの平均演算、または前記第2データとその近傍のデータとの平均演算であることを特徴とする相関演算方法。
The correlation calculation method according to claim 2,
The correlation calculation method, wherein the first calculation is an average calculation of the first data and data in the vicinity thereof, or an average calculation of the second data and data in the vicinity thereof.
請求項2〜5のいずれか1項に記載の相関演算方法において、
前記第2演算は、前記第1データとその近傍のデータに対する微分演算、または前記第2データとその近傍のデータに対する微分演算であることを特徴とする相関演算方法。
In the correlation calculation method according to any one of claims 2 to 5,
The correlation calculation method characterized in that the second calculation is a differential calculation on the first data and its neighboring data, or a differential calculation on the second data and its neighboring data.
請求項1〜6のいずれか1項に記載の相関演算方法において、
前記相関度検出処理は、前記第1演算データと前記第2演算データとの差の絶対値を演算することを特徴とする相関演算方法。
In the correlation calculation method according to any one of claims 1 to 6,
The correlation calculation method, wherein the correlation degree detection processing calculates an absolute value of a difference between the first calculation data and the second calculation data.
請求項7に記載の相関演算方法において、
前記第1信号データ列中の前記第1データを変更しながら前記第1情報生成処理と前記第2情報生成処理とを実行し、前記相関度検出処理で前記第1演算データと前記第2演算データとの差の絶対値の和を演算することを特徴とする相関演算方法。
The correlation calculation method according to claim 7,
The first information generation process and the second information generation process are executed while changing the first data in the first signal data sequence, and the first calculation data and the second calculation are performed in the correlation degree detection process. A correlation calculation method comprising calculating a sum of absolute values of differences from data.
請求項8に記載の相関演算方法において、
前記第1信号データ列と前記第2信号データ列とを相対的にずらして前記第1情報生成処理と前記第2情報生成処理とを実行し、ずらし量ごとに前記相関度検出処理で前記第1演算データと前記第2演算データとの相関度を演算することを特徴とする相関演算方法。
The correlation calculation method according to claim 8,
The first information generation process and the second information generation process are executed by relatively shifting the first signal data sequence and the second signal data sequence, and the correlation degree detection process performs the first information generation process and the second information generation process for each shift amount. A correlation calculation method characterized by calculating a degree of correlation between one calculation data and the second calculation data.
請求項9に記載の相関演算方法において、
前記相関度検出処理は、最大の前記相関度が得られたときの前記第1信号データ列と前記第2信号データ列とのずらし量に基づいて、前記第1信号データ列と前記第2信号データ列とのズレ量を検出することを特徴とする相関演算方法。
The correlation calculation method according to claim 9,
In the correlation degree detection process, the first signal data string and the second signal are based on a shift amount between the first signal data string and the second signal data string when the maximum degree of correlation is obtained. A correlation calculation method characterized by detecting a deviation amount from a data string.
請求項1〜10のいずれか1項に記載の相関演算方法において、
前記第1信号データ列および前記第2信号データ列は、イメージセンサーの出力信号に応じた信号データ列であることを特徴とする相関演算方法。
In the correlation calculation method according to any one of claims 1 to 10,
The correlation calculation method, wherein the first signal data string and the second signal data string are signal data strings corresponding to an output signal of an image sensor.
請求項1〜11のいずれか1項に記載の相関演算方法において、
前記第1情報生成処理と前記第2情報生成処理とを実行する前に、前記第1信号データ列および前記第2信号データ列の高周波成分を除去する処理を施すことを特徴とする相関演算方法。
The correlation calculation method according to any one of claims 1 to 11,
A correlation calculation method characterized by performing a process of removing high-frequency components of the first signal data sequence and the second signal data sequence before executing the first information generation process and the second information generation process. .
請求項1〜12のいずれか1項に記載の相関演算方法において、
前記第1信号データ列中の第1データから該第1データの平均値を差し引くとともに、前記第2信号データ列中の第2データから該第2データの平均値を差し引く処理を施し、前記第1情報生成処理と前記第2情報生成処理は、処理された前記第1信号データ列と前記第2信号データ列を用いて前記第1演算データと前記第2演算データを生成することを特徴とする相関演算方法。
In the correlation calculation method according to any one of claims 1 to 12,
A process of subtracting an average value of the first data from the first data in the first signal data string and subtracting an average value of the second data from the second data in the second signal data string; One information generation process and the second information generation process generate the first calculation data and the second calculation data by using the processed first signal data string and the second signal data string. Correlation calculation method.
第1信号データ列と第2信号データ列との相関度を演算する相関演算装置であって、
前記第1信号データ列中の第1データと、前記第2信号データ列中の前記第1データに対応する第2データの近傍のデータとを乗算して第1演算データを生成する第1情報生成手段と、
前記第2信号データ列中の前記第2データと、前記第1信号データ列の前記第1データの近傍のデータとを乗算して第2演算データを生成する第2情報生成手段と、
前記第1演算データと前記第2演算データとの相関度を演算する相関度検出手段とを備えることを特徴とする相関演算装置。
A correlation calculation device for calculating a degree of correlation between a first signal data string and a second signal data string,
First information for generating first calculation data by multiplying the first data in the first signal data string by data in the vicinity of the second data corresponding to the first data in the second signal data string Generating means;
Second information generating means for generating second operation data by multiplying the second data in the second signal data string by data in the vicinity of the first data in the first signal data string;
A correlation calculation device comprising: a correlation level detection means for calculating a correlation level between the first calculation data and the second calculation data.
第1信号データ列と第2信号データ列との相関度を演算する相関演算装置であって、
前記第1信号データ列中の第1データとその近傍のデータに第1演算を行って演算データを演算するとともに、前記第2信号データ列中の前記第1データに対応する第2データとその近傍のデータに第2演算を行って演算データを演算し、それらの演算データを乗算して第1演算データを演算する第1情報生成手段と、
前記第2信号データ列中の前記第2データとその近傍のデータに前記第1演算を行って演算データを演算するとともに、前記第1信号データ列中の前記第1データとその近傍のデータに前記第2演算を行って演算データを演算し、それらの演算データを乗算して第2演算データを演算する第2情報生成手段と、
前記第1演算データと前記第2演算データとの相関度を演算する相関度検出手段とを備えることを特徴とする相関演算装置。
A correlation calculation device for calculating a degree of correlation between a first signal data string and a second signal data string,
A first calculation is performed on the first data in the first signal data string and data in the vicinity thereof to calculate calculation data, and second data corresponding to the first data in the second signal data string and its First information generating means for performing a second operation on neighboring data to calculate operation data, multiplying the operation data, and calculating the first operation data;
The first calculation is performed on the second data in the second signal data string and the data in the vicinity thereof to calculate the calculation data, and the first data in the first signal data string and the data in the vicinity thereof are calculated. Second information generating means for calculating the operation data by performing the second operation and multiplying the operation data to calculate the second operation data;
A correlation calculation device comprising: a correlation level detection means for calculating a correlation level between the first calculation data and the second calculation data.
請求項14または請求項15に記載の相関演算装置において、
前記第1信号データ列中の第1データから該第1データの平均値を差し引くとともに、前記第2信号データ列中の第2データから該第2データの平均値を差し引く処理を施し、前記第1情報生成手段と前記第2情報生成手段は、処理された前記第1信号データ列と前記第2信号データ列を用いて前記第1演算データと前記第2演算データを生成することを特徴とする相関演算装置。
The correlation calculation device according to claim 14 or 15,
Subtracting the average value of the first data from the first data in the first signal data string and subtracting the average value of the second data from the second data in the second signal data string, One information generation means and the second information generation means generate the first calculation data and the second calculation data by using the processed first signal data string and second signal data string. Correlation calculation device.
撮影光学系の一対の瞳領域を通過した光束を焦点検出光学系を介して受光し、一対の被写体像信号を出力する光電変換手段と、
前記光電変換手段から出力される前記一対の被写体像信号に対して、請求項1〜13のいずれか1項に記載の相関演算方法を用いて前記一対の被写体像信号の像ズレ量を検出する像ズレ検出手段とを備え、
前記像ズレ量に基づいて前記撮影光学系の焦点調節状態を検出することを特徴とする焦点検出装置。
Photoelectric conversion means for receiving a light beam that has passed through a pair of pupil regions of the photographing optical system via a focus detection optical system and outputting a pair of subject image signals;
The image shift amount of the pair of subject image signals is detected using the correlation calculation method according to any one of claims 1 to 13 with respect to the pair of subject image signals output from the photoelectric conversion means. An image shift detection means,
A focus detection apparatus that detects a focus adjustment state of the photographing optical system based on the image shift amount.
請求項17に記載の焦点検出装置において、
前記焦点検出光学系は、前記光電変換手段の画素ごとに設置されるマイクロレンズであることを特徴とする焦点検出装置。
The focus detection apparatus according to claim 17, wherein
The focus detection optical system, wherein the focus detection optical system is a microlens installed for each pixel of the photoelectric conversion means.
請求項17に記載の焦点検出装置において、
前記焦点検出光学系は、前記撮影光学系の予定焦点面に結像された被写体像を前記光電変換手段上に再結像する再結像光学系であることを特徴とする焦点検出装置。
The focus detection apparatus according to claim 17, wherein
The focus detection optical system, wherein the focus detection optical system is a re-imaging optical system that re-images a subject image formed on a predetermined focal plane of the photographing optical system on the photoelectric conversion means.
一対の光学系を介して被写体像を受光する一対の光電変換手段と、
前記一対の光電変換手段から出力される一対の被写体像信号に対して、請求項1〜13のいずれか1項に記載の相関演算方法を用いて前記一対の被写体像信号の像ズレ量を検出する像ズレ検出手段とを備え、
前記像ズレ量に基づいて前記被写体までの距離を測定することを特徴とする測距装置。
A pair of photoelectric conversion means for receiving a subject image via a pair of optical systems;
An image shift amount of the pair of subject image signals is detected using the correlation calculation method according to any one of claims 1 to 13 with respect to the pair of subject image signals output from the pair of photoelectric conversion means. Image deviation detecting means for
A distance measuring apparatus that measures a distance to the subject based on the image shift amount.
請求項17〜20のいずれか1項に記載の焦点検出装置または測距装置を備えたことを特徴とする撮像装置。   An imaging device comprising the focus detection device or the distance measuring device according to any one of claims 17 to 20.
JP2006300607A 2006-05-17 2006-11-06 Correlation calculation method, correlation calculation device, focus detection device, and imaging device Active JP5066893B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006300607A JP5066893B2 (en) 2006-05-17 2006-11-06 Correlation calculation method, correlation calculation device, focus detection device, and imaging device
US11/798,275 US7586588B2 (en) 2006-05-17 2007-05-11 Correlation operation method, correlation operation device, focus detection device and imaging device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006137288 2006-05-17
JP2006137288 2006-05-17
JP2006300607A JP5066893B2 (en) 2006-05-17 2006-11-06 Correlation calculation method, correlation calculation device, focus detection device, and imaging device

Publications (2)

Publication Number Publication Date
JP2007333720A true JP2007333720A (en) 2007-12-27
JP5066893B2 JP5066893B2 (en) 2012-11-07

Family

ID=38933317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006300607A Active JP5066893B2 (en) 2006-05-17 2006-11-06 Correlation calculation method, correlation calculation device, focus detection device, and imaging device

Country Status (1)

Country Link
JP (1) JP5066893B2 (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009001903A1 (en) * 2007-06-28 2008-12-31 Olympus Corporation Imager and image signal processing program
JP2009105681A (en) * 2007-10-23 2009-05-14 Canon Inc Image processing apparatus and image processing program
WO2009102044A1 (en) * 2008-02-13 2009-08-20 Canon Kabushiki Kaisha Image forming apparatus
WO2009104416A1 (en) * 2008-02-22 2009-08-27 パナソニック株式会社 Image pickup device
WO2009104417A1 (en) * 2008-02-22 2009-08-27 パナソニック株式会社 Image pickup device
JP2009251523A (en) * 2008-04-10 2009-10-29 Nikon Corp Correlation calculation method, correlation calculation device, focus detecting device and imaging apparatus
JP2009258144A (en) * 2008-03-28 2009-11-05 Nikon Corp Correlation calculation method, correlation calculation device, focus detecting device, and imaging apparatus
JP2009258230A (en) * 2008-04-14 2009-11-05 Nikon Corp Correlation calculation method, correlation calculation device, focus detecting device and imaging apparatus
JP2009271523A (en) * 2008-04-11 2009-11-19 Nikon Corp Focus detection device and image-capturing apparatus
JP2009282018A (en) * 2008-04-21 2009-12-03 Nikon Corp Correlation calculation method, correlation calculator, focus detector, and imaging apparatus
US8223256B2 (en) 2008-04-11 2012-07-17 Nikon Corporation Correlation calculation method, correlation calculation device, focus detection device and image-capturing apparatus
US8558940B2 (en) 2008-11-27 2013-10-15 Nikon Corporation Image sensor and image-capturing device
WO2014030668A1 (en) 2012-08-21 2014-02-27 株式会社ニコン Focus detection device and imaging device
JP2014038191A (en) * 2012-08-15 2014-02-27 Nikon Corp Correlation calculation device and focus detection device
US8670063B2 (en) 2010-12-28 2014-03-11 Canon Kabushiki Kaisha Focus detection apparatus and focus detection method
WO2014050718A1 (en) 2012-09-28 2014-04-03 株式会社ニコン Focus detection device, and imaging device
WO2014050875A1 (en) 2012-09-27 2014-04-03 株式会社ニコン Image pick-up element and image pick-up device
JP2015148819A (en) * 2015-04-02 2015-08-20 株式会社ニコン Imaging apparatus
JP2017027080A (en) * 2016-10-25 2017-02-02 株式会社ニコン Focus detection device and imaging device
JP2017156764A (en) * 2017-04-20 2017-09-07 株式会社ニコン Focus detection device and focus adjustment device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047681A (en) * 1990-04-25 1992-01-13 Toshiba Corp Picture processor
JPH07318793A (en) * 1995-03-03 1995-12-08 Nikon Corp Focus detecting device
JPH08211284A (en) * 1991-06-07 1996-08-20 Nikon Corp Focus detector
JPH09138125A (en) * 1995-11-14 1997-05-27 Fuji Film Micro Device Kk Distance measuring apparatus
JP2001154089A (en) * 1999-11-26 2001-06-08 Olympus Optical Co Ltd Range finder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047681A (en) * 1990-04-25 1992-01-13 Toshiba Corp Picture processor
JPH08211284A (en) * 1991-06-07 1996-08-20 Nikon Corp Focus detector
JPH07318793A (en) * 1995-03-03 1995-12-08 Nikon Corp Focus detecting device
JPH09138125A (en) * 1995-11-14 1997-05-27 Fuji Film Micro Device Kk Distance measuring apparatus
JP2001154089A (en) * 1999-11-26 2001-06-08 Olympus Optical Co Ltd Range finder

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009001903A1 (en) * 2007-06-28 2008-12-31 Olympus Corporation Imager and image signal processing program
US8269861B2 (en) 2007-06-28 2012-09-18 Olympus Corporation Image acquisition apparatus which has a focus detection function and program recording device
JP2009105681A (en) * 2007-10-23 2009-05-14 Canon Inc Image processing apparatus and image processing program
WO2009102044A1 (en) * 2008-02-13 2009-08-20 Canon Kabushiki Kaisha Image forming apparatus
US8730373B2 (en) 2008-02-13 2014-05-20 Canon Kabushiki Kaisha Image forming apparatus
JP2009217252A (en) * 2008-02-13 2009-09-24 Canon Inc Imaging apparatus and focus control method
WO2009104416A1 (en) * 2008-02-22 2009-08-27 パナソニック株式会社 Image pickup device
WO2009104417A1 (en) * 2008-02-22 2009-08-27 パナソニック株式会社 Image pickup device
JP4902892B2 (en) * 2008-02-22 2012-03-21 パナソニック株式会社 Imaging device
US8077233B2 (en) 2008-02-22 2011-12-13 Panasonic Corporation Imaging apparatus
US8077255B2 (en) 2008-02-22 2011-12-13 Panasonic Corporation Imaging apparatus
JP4902891B2 (en) * 2008-02-22 2012-03-21 パナソニック株式会社 Imaging device
JP2009258144A (en) * 2008-03-28 2009-11-05 Nikon Corp Correlation calculation method, correlation calculation device, focus detecting device, and imaging apparatus
JP2009251523A (en) * 2008-04-10 2009-10-29 Nikon Corp Correlation calculation method, correlation calculation device, focus detecting device and imaging apparatus
US8223256B2 (en) 2008-04-11 2012-07-17 Nikon Corporation Correlation calculation method, correlation calculation device, focus detection device and image-capturing apparatus
JP2009271523A (en) * 2008-04-11 2009-11-19 Nikon Corp Focus detection device and image-capturing apparatus
JP2009258230A (en) * 2008-04-14 2009-11-05 Nikon Corp Correlation calculation method, correlation calculation device, focus detecting device and imaging apparatus
JP2009282018A (en) * 2008-04-21 2009-12-03 Nikon Corp Correlation calculation method, correlation calculator, focus detector, and imaging apparatus
JP2014132354A (en) * 2008-04-21 2014-07-17 Nikon Corp Imaging apparatus
US8558940B2 (en) 2008-11-27 2013-10-15 Nikon Corporation Image sensor and image-capturing device
US8670063B2 (en) 2010-12-28 2014-03-11 Canon Kabushiki Kaisha Focus detection apparatus and focus detection method
JP2014038191A (en) * 2012-08-15 2014-02-27 Nikon Corp Correlation calculation device and focus detection device
WO2014030668A1 (en) 2012-08-21 2014-02-27 株式会社ニコン Focus detection device and imaging device
EP3496393A1 (en) 2012-09-27 2019-06-12 Nikon Corporation Image pick-up element and image pick-up device
WO2014050875A1 (en) 2012-09-27 2014-04-03 株式会社ニコン Image pick-up element and image pick-up device
US20150256778A1 (en) 2012-09-27 2015-09-10 Nikon Corporation Image sensor and image-capturing device
US11405576B2 (en) 2012-09-27 2022-08-02 Nikon Corporation Image sensor and image-capturing device
US11032506B2 (en) 2012-09-27 2021-06-08 Nikon Corporation Image sensor and image-capturing device
US10270999B2 (en) 2012-09-27 2019-04-23 Nikon Corporation Image sensor and image-capturing device
WO2014050718A1 (en) 2012-09-28 2014-04-03 株式会社ニコン Focus detection device, and imaging device
JP2014071290A (en) * 2012-09-28 2014-04-21 Nikon Corp Focus detection device, and imaging device
US9451154B2 (en) 2012-09-28 2016-09-20 Nikon Corporation Focus detection device and image-capturing apparatus
US9756237B2 (en) 2012-09-28 2017-09-05 Nikon Corporation Focus detection device and image-capturing apparatus
JP2015148819A (en) * 2015-04-02 2015-08-20 株式会社ニコン Imaging apparatus
JP2017027080A (en) * 2016-10-25 2017-02-02 株式会社ニコン Focus detection device and imaging device
JP2017156764A (en) * 2017-04-20 2017-09-07 株式会社ニコン Focus detection device and focus adjustment device

Also Published As

Publication number Publication date
JP5066893B2 (en) 2012-11-07

Similar Documents

Publication Publication Date Title
JP5066893B2 (en) Correlation calculation method, correlation calculation device, focus detection device, and imaging device
JP4802993B2 (en) Correlation calculation method, correlation calculation device, focus detection device, and imaging device
JP4858008B2 (en) FOCUS DETECTION DEVICE, FOCUS DETECTION METHOD, AND IMAGING DEVICE
JP4770560B2 (en) Imaging apparatus, camera, and image processing method
JP4973273B2 (en) Digital camera
JP4935162B2 (en) Imaging apparatus, camera, and image processing method
JP5458475B2 (en) Focus detection apparatus and imaging apparatus
JP4857877B2 (en) Imaging device and camera
JP4935161B2 (en) Imaging apparatus, camera, and image processing method
JP5157084B2 (en) Correlation calculation device, focus detection device, and imaging device
JP5157400B2 (en) Imaging device
US7586588B2 (en) Correlation operation method, correlation operation device, focus detection device and imaging device
JP2009159226A (en) Imaging element, focus detection device, focus adjustment device and imaging apparatus
JP5028930B2 (en) Focus detection apparatus and imaging apparatus
JP5423111B2 (en) Focus detection apparatus and imaging apparatus
JP5338112B2 (en) Correlation calculation device, focus detection device, and imaging device
JP5804105B2 (en) Imaging device
JP2010091848A (en) Focus detecting apparatus and imaging apparatus
JP5338113B2 (en) Correlation calculation device, focus detection device, and imaging device
JP5440585B2 (en) Digital camera
JP5332384B2 (en) Correlation calculation device, focus detection device, and imaging device
JP2012226088A (en) Imaging apparatus
JP6102119B2 (en) Correlation calculation device, focus detection device, and electronic camera
JP5338118B2 (en) Correlation calculation device, focus detection device, and imaging device
JP4968009B2 (en) Correlation calculation method, correlation calculation device, focus detection device, and imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100922

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120717

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120730

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5066893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250