JP4823167B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4823167B2
JP4823167B2 JP2007209697A JP2007209697A JP4823167B2 JP 4823167 B2 JP4823167 B2 JP 4823167B2 JP 2007209697 A JP2007209697 A JP 2007209697A JP 2007209697 A JP2007209697 A JP 2007209697A JP 4823167 B2 JP4823167 B2 JP 4823167B2
Authority
JP
Japan
Prior art keywords
pixel group
image
focus detection
frequency component
imaging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007209697A
Other languages
Japanese (ja)
Other versions
JP2009044636A5 (en
JP2009044636A (en
Inventor
昌大 瓦田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2007209697A priority Critical patent/JP4823167B2/en
Priority to PCT/JP2008/064264 priority patent/WO2009022634A1/en
Priority to CN2008801029387A priority patent/CN101809994B/en
Priority to EP08792321.5A priority patent/EP2179581B1/en
Priority to US12/602,797 priority patent/US8203645B2/en
Publication of JP2009044636A publication Critical patent/JP2009044636A/en
Publication of JP2009044636A5 publication Critical patent/JP2009044636A5/ja
Application granted granted Critical
Publication of JP4823167B2 publication Critical patent/JP4823167B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、デジタルカメラやビデオカメラ等の撮像装置に関し、特に撮像素子からの出力に基づいて焦点検出を行う撮像装置に関する。   The present invention relates to an imaging apparatus such as a digital camera or a video camera, and more particularly to an imaging apparatus that performs focus detection based on an output from an imaging element.

撮像装置に用いられている撮像素子を構成する一部の画素の光学特性を他の画素と異ならせて、該一部の画素からの出力に基づいて焦点検出を行う撮像装置が特許文献1にて開示されている。   Patent Document 1 discloses an image pickup apparatus that performs optical focus detection based on an output from a part of pixels by making optical characteristics of some pixels constituting an image pickup element used in the image pickup apparatus different from those of other pixels. Are disclosed.

特許文献1にて開示された撮像装置では、撮像素子の一部に互いに対をなす焦点検出画素を複数配置する。ここで、図5には、画素行列のうち一部の行に焦点検出画素を配置した撮像素子の画素配置例を示す。   In the imaging apparatus disclosed in Patent Document 1, a plurality of focus detection pixels that are paired with each other are arranged in a part of the imaging element. Here, FIG. 5 shows a pixel arrangement example of an image sensor in which focus detection pixels are arranged in some rows of the pixel matrix.

図5において、R,G,Bはそれぞれ、赤フィルタ、緑フィルタ、青フィルタが配置された通常の撮像画素である。また、S1,S2は第1及び第2の焦点検出画素であり、撮像画素とは光学特性が異なる。   In FIG. 5, R, G, and B are normal imaging pixels in which a red filter, a green filter, and a blue filter are arranged, respectively. In addition, S1 and S2 are first and second focus detection pixels, which have different optical characteristics from the imaging pixels.

図6には、第1の焦点検出画素S1の構造を示す。図6において、第1の焦点検出画素の光入射側には、マイクロレンズ501が形成されている。502はマイクロレンズ501を形成するための平面を構成する平滑層である。   FIG. 6 shows the structure of the first focus detection pixel S1. In FIG. 6, a microlens 501 is formed on the light incident side of the first focus detection pixel. Reference numeral 502 denotes a smooth layer constituting a plane for forming the microlens 501.

503は遮光層であり、第1の焦点検出画素S1の光電変換領域504の中心Oに対して一方向に偏心した絞り開口部を有する。   Reference numeral 503 denotes a light shielding layer, which has a diaphragm opening that is eccentric in one direction with respect to the center O of the photoelectric conversion region 504 of the first focus detection pixel S1.

また、図7には、第2の焦点検出画素S2の構造を示す。図7において、第2の焦点検出画素の光入射側には、マイクロレンズ601が形成されている。602はマイクロレンズ601を形成するための平面を構成する平滑層である。   FIG. 7 shows the structure of the second focus detection pixel S2. In FIG. 7, a microlens 601 is formed on the light incident side of the second focus detection pixel. Reference numeral 602 denotes a smooth layer that forms a plane for forming the microlens 601.

603は遮光層であり、第2の焦点検出画素S2の光電変換領域604の中心Oに対して、第1の焦点検出画素S1に設けられた遮光層503とは反対方向に偏心した絞り開口部を有する。すなわち、第1及び第2の焦点検出画素S1,S2の遮光層503,603は、各マイクロレンズの光軸を挟んだ対称な位置に絞り開口部を有する。   Reference numeral 603 denotes a light shielding layer, and an aperture opening that is decentered in the opposite direction to the light shielding layer 503 provided in the first focus detection pixel S1 with respect to the center O of the photoelectric conversion region 604 of the second focus detection pixel S2. Have That is, the light shielding layers 503 and 603 of the first and second focus detection pixels S1 and S2 have diaphragm openings at symmetrical positions with the optical axis of each microlens interposed therebetween.

このような構成によれば、撮像光学系を第1の焦点検出画素S1から見た場合と第2の焦点検出画素S2から見た場合とで、撮像光学系の瞳が対称に分割されたことと等価となる。   According to such a configuration, the pupil of the imaging optical system is divided symmetrically when the imaging optical system is viewed from the first focus detection pixel S1 and when viewed from the second focus detection pixel S2. Is equivalent to

図5において、第1の焦点検出画素S1を含む行と第2の焦点検出画素S2を含む行には、撮像素子の画素数が多くなるにつれてより近似した2像が形成されるようになる。撮像光学系が被写体に対してピントが合っている状態では、第1の焦点検出画素S1を含む行と第2の焦点検出画素S2を含む行から得られる出力(像信号)は互いに一致する。   In FIG. 5, two images closer to each other are formed in the row including the first focus detection pixel S1 and the row including the second focus detection pixel S2 as the number of pixels of the image sensor increases. In a state where the imaging optical system is in focus with respect to the subject, the outputs (image signals) obtained from the row including the first focus detection pixel S1 and the row including the second focus detection pixel S2 match each other.

これに対し、撮像光学系のピントがずれているならば、第1の焦点検出画素S1を含む行と第2の焦点検出画素S2を含む行から得られる像信号には位相差が生じる。そして、該位相差の方向は、前ピン状態と後ピン状態とで逆になる。   On the other hand, if the imaging optical system is out of focus, a phase difference occurs between the image signals obtained from the row including the first focus detection pixel S1 and the row including the second focus detection pixel S2. The direction of the phase difference is reversed between the front pin state and the rear pin state.

図8A及び図8Bには、ピント状態と位相差との関係を示す。これらの図においては、示した両焦点検出画素S1,S2を互いに近づけて、それぞれをA,Bとして示している。また、撮像画素は省略している。 8A and 8B show the relationship between the focus state and the phase difference. In these figures, close together the two focus detection pixels S1, S2 shown in FIG. 5 are denoted by the respective A, and B. In addition, imaging pixels are omitted.

被写体上の特定点からの光束は、焦点検出画素Aに対応する分割瞳を通って該焦点検出画素Aに入射する光束ΦLaと、焦点検出画素Bに対応する分割瞳を通って該焦点検出画素Bに入射する光束ΦLbとに分割される。これら2つの光束は、被写体上の同一点から入射しているため、撮像光学系のピントが合った状態では、図8Aに示すように、同一のマイクロレンズを通過して撮像素子上の1点に到達する。したがって、第1の焦点検出画素A(S1)を含む行と第2の焦点検出画素B(S2)を含む行からそれぞれ得られる像信号は互いに一致する。   The light beam from a specific point on the subject passes through the divided pupil corresponding to the focus detection pixel A, enters the focus detection pixel A, and passes through the divided pupil corresponding to the focus detection pixel B. It is divided into a light beam ΦLb incident on B. Since these two light beams are incident from the same point on the subject, when the imaging optical system is in focus, one point on the image sensor passes through the same microlens as shown in FIG. 8A. To reach. Accordingly, the image signals obtained from the row including the first focus detection pixel A (S1) and the row including the second focus detection pixel B (S2) respectively coincide with each other.

しかし、図8Bに示すように、xだけピントがずれている状態では、光束ΦLa,ΦLbのマイクロレンズへの入射角の変化分だけ両光束ΦLa,ΦLbの到達位置が互いにずれる。したがって、第1の焦点検出画素A(S1)を含む行と第2の焦点検出画素B(S2)を含む行からそれぞれ得られる像信号には位相差が生じる。   However, as shown in FIG. 8B, in a state where the focus is shifted by x, the arrival positions of the two light beams ΦLa and ΦLb are shifted from each other by the change in the incident angle of the light beams ΦLa and ΦLb to the microlens. Therefore, there is a phase difference between the image signals obtained from the row including the first focus detection pixel A (S1) and the row including the second focus detection pixel B (S2).

以上のことを利用して、特許文献1にて開示された撮像装置は撮像素子を用いた焦点検出を行う。   Using the above, the imaging apparatus disclosed in Patent Document 1 performs focus detection using an imaging element.

ただし、このように焦点検出画素を含む撮像素子を用いて静止画を取得する場合に、焦点検出画素の位置に相当する画素データが欠損する。焦点検出画素で得られた信号を静止画用の画像信号として用いると、焦点検出画素の視野が通常の撮像画素の視野とは異なるために、焦点検出画素からの信号とその周辺の画素からの信号との連続性が失われ、良好な画像を取得できない。   However, when a still image is acquired using an image sensor including a focus detection pixel in this way, pixel data corresponding to the position of the focus detection pixel is lost. When the signal obtained from the focus detection pixel is used as an image signal for a still image, since the field of view of the focus detection pixel is different from the field of view of a normal imaging pixel, the signal from the focus detection pixel and the surrounding pixels The continuity with the signal is lost and a good image cannot be obtained.

このような問題を解決するため、特許文献1にて開示された撮像装置では、焦点検出画素からの信号に相当する像信号を、その周辺画素の像信号を用いて補間するようにしている。
特開2000−156823号公報
In order to solve such a problem, in the imaging apparatus disclosed in Patent Document 1, an image signal corresponding to a signal from a focus detection pixel is interpolated using an image signal of its peripheral pixels.
JP 2000-156823 A

しかしながら、特許文献1にて開示されているように、焦点検出画素の像信号をその周辺画素の像信号で補間すると、該周辺画素によって取得される画像が、他の領域の画素によって取得される画像に比べて鮮鋭度が低くなる場合がある。   However, as disclosed in Patent Document 1, when the image signal of the focus detection pixel is interpolated with the image signal of the peripheral pixel, an image acquired by the peripheral pixel is acquired by a pixel in another region. The sharpness may be lower than that of the image.

また、空間周波数の低い被写体像を受光する場合、焦点検出画素の視野とその周辺の撮像画素の視野との違いから、周辺の撮像画素からの像信号に対する焦点検出画素からの像信号の連続性が低くなる。このため、焦点検出画素の位置の像信号を、周辺の撮像画素からの像信号に基づいて補間するのが好ましい。この場合、被写体像の空間周波数が低いので、補間処理による鮮鋭度の低下は目立ち難い。   In addition, when receiving a subject image with a low spatial frequency, the continuity of the image signal from the focus detection pixel with respect to the image signal from the peripheral imaging pixel is different from the visual field of the focus detection pixel and the peripheral imaging pixel. Becomes lower. For this reason, it is preferable to interpolate the image signal at the position of the focus detection pixel based on the image signal from the surrounding imaging pixels. In this case, since the spatial frequency of the subject image is low, the reduction in sharpness due to the interpolation processing is not noticeable.

一方、空間周波数の高い被写体像を受光する場合、焦点検出画素の位置の像信号は周辺の撮像画素からの像信号に対してもともと連続性が低い。このため、補間処理をすることによる鮮鋭度の低下が目立ってしまう。したがって、焦点検出画素の数が多くなるにつれて、補間処理による鮮鋭度の低い画像領域が増加し、得られる画像の品位が低下してしまう。   On the other hand, when a subject image having a high spatial frequency is received, the image signal at the position of the focus detection pixel is originally less continuous than the image signals from the surrounding imaging pixels. For this reason, the reduction in sharpness due to the interpolation processing becomes conspicuous. Therefore, as the number of focus detection pixels increases, the image area with low sharpness by interpolation processing increases, and the quality of the obtained image decreases.

また、撮像センサ上に視野の異なる位相センサを設けそれらの位相差センサにより得られる位相差に基づいて焦点検出を行う場合、位相センサの前面に瞳分割を行うための絞りを設けている。また、位相センサにはカラーフィルタを光線入射面に設けない。これらのため、位相センサから出力される像信号は、周辺に位置する画素の信号レベルと異なってしまい、位相センサから出力される像信号を静止画データにそのまま用いられなかった。 Further, the phase difference sensor having different field provided on the image sensor, when performing focus detection based on the phase difference obtained by their phase difference sensor, provided with a stop for dividing the pupil in front of the phase difference sensor Yes. Further, the phase difference sensor is not provided with a color filter on the light incident surface. For these reasons, the image signal output from the phase difference sensor differs from the signal level of the pixels located in the periphery, and the image signal output from the phase difference sensor cannot be used as it is for still image data.

ところで、一般的に、デフォーカス量の大きい焦点位置での像信号は、高周波成分が少ない。逆に、デフォーカス量の小さい焦点位置での像信号は、デフォーカス範囲のうちで高周波成分が最も多くなる。   By the way, in general, an image signal at a focal position with a large defocus amount has few high-frequency components. Conversely, the image signal at the focal position where the defocus amount is small has the highest number of high frequency components within the defocus range.

本発明は、撮像素子内での焦点検出画素の数が多くなっても、高い鮮鋭度の画像を取得できるようにした撮像装置及びその制御方法を提供する。   The present invention provides an imaging apparatus capable of acquiring a high sharpness image even when the number of focus detection pixels in the imaging element increases, and a control method therefor.

本発明の一側面としての撮像装置は、撮像光学系からの光束により形成された被写体像を光電変換する第1の画素群、及び撮像光学系からの光束のうち分割された光束を光電変換する複数の焦点検出画素を含む第2の画素群を有する撮像素子と、第2の画素群からの出力に基づいて撮像光学系の焦点状態を検出する焦点検出手段と、第1の画素群上に形成された被写体像の空間周波数成分を検出する周波数成分検出手段と、撮像素子からの出力により得られる画像のうち第2の画素群に対応する部分画像を第1の画素群の出力に基づいて生成する画像生成手段とを有する。さらに、該撮像装置は、周波数成分検出手段により検出された空間周波数成分に応じて画像生成手段に部分画像を生成させるか否かを切り換える制御手段を有することを特徴とする。   An imaging apparatus as one aspect of the present invention photoelectrically converts a first pixel group that photoelectrically converts a subject image formed by a light beam from an imaging optical system, and a split light beam among the light beams from the imaging optical system. An imaging device having a second pixel group including a plurality of focus detection pixels, focus detection means for detecting a focus state of the imaging optical system based on an output from the second pixel group, and the first pixel group Based on the output of the first pixel group, the frequency component detection means for detecting the spatial frequency component of the formed subject image and the partial image corresponding to the second pixel group among the images obtained by the output from the image sensor Image generating means for generating. Further, the imaging apparatus includes control means for switching whether or not to cause the image generation means to generate a partial image in accordance with the spatial frequency component detected by the frequency component detection means.

また、本発明の他の一側面としての撮像装置の制御方法は、撮像光学系からの光束により形成された被写体像を光電変換する第1の画素群、及び撮像光学系からの光束のうち分割された光束を光電変換する複数の焦点検出画素を含む第2の画素群を有する撮像素子を備えた撮像装置の制御方法である。該制御方法は、第2の画素群からの出力に基づいて撮像光学系の焦点状態を検出するステップと、第1の画素群上に形成された被写体像の空間周波数成分を検出するステップと、撮像素子からの出力により得られる画像のうち第2の画素群に対応する部分画像を第1の画素群の出力に基づいて生成するステップとを有する。さらに、該制御方法は、検出された空間周波数成分に応じて部分画像を生成させるか否かを切り換えるステップを有することを特徴とする。   According to another aspect of the present invention, there is provided a control method for an image pickup apparatus, the first pixel group for photoelectrically converting a subject image formed by a light beam from an image pickup optical system, and a division of a light beam from the image pickup optical system. It is a control method of an imaging device provided with an imaging device which has the 2nd pixel group containing a plurality of focus detection pixels which carry out photoelectric conversion of the emitted light beam. The control method includes detecting a focus state of the imaging optical system based on an output from the second pixel group, detecting a spatial frequency component of a subject image formed on the first pixel group, Generating a partial image corresponding to the second pixel group in the image obtained by the output from the image sensor based on the output of the first pixel group. Further, the control method includes a step of switching whether or not to generate a partial image according to the detected spatial frequency component.

本発明では、被写体像の空間周波数成分に応じて、第2の画素群に対応する部分画像を生成させるか否かを切り換える。このため、例えば、被写体像の空間周波数が高い場合に上記部分画像を生成させないようにすることで、撮像素子内の焦点検出画素の数が多くなっても、高い鮮鋭度の画像を取得することが可能である。   In the present invention, whether to generate a partial image corresponding to the second pixel group is switched according to the spatial frequency component of the subject image. For this reason, for example, by preventing the generation of the partial image when the spatial frequency of the subject image is high, an image with high sharpness can be obtained even if the number of focus detection pixels in the image sensor increases. Is possible.

以下、本発明の好ましい実施例について図面を参照しながら説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

図1には、本発明の実施例1である撮像装置としてのデジタルカメラの構成を示す。   FIG. 1 shows the configuration of a digital camera as an image pickup apparatus that is Embodiment 1 of the present invention.

カメラ100は、被写体から光束により被写体像を形成する撮像光学系101と、該撮像光学系101に含まれるフォーカスレンズ(図示せず)の位置を制御するレンズ制御部102と、撮像光学系101からの入射光量を調節する絞り103とを有する。さらに、カメラ100は、撮像光学系101からの光束によって被写体像がその受光面上に形成されるCMOSセンサにより構成される光電変換素子としての撮像素子104を備えている。   The camera 100 includes an imaging optical system 101 that forms a subject image from a subject by a light beam, a lens control unit 102 that controls the position of a focus lens (not shown) included in the imaging optical system 101, and the imaging optical system 101. And a diaphragm 103 for adjusting the amount of incident light. Furthermore, the camera 100 includes an image sensor 104 as a photoelectric conversion element configured by a CMOS sensor in which a subject image is formed on the light receiving surface by a light beam from the image pickup optical system 101.

撮像素子104は、それぞれR,G,Bのうちいずれか1色のカラーフィルタを有し、撮像光学系101により形成される被写体像を光電変換する複数の撮像画素により構成される撮像画素群(第1の画素群)105を有する。撮像画素群105は、被写体画像を生成するために用いられる像信号を出力する。また、撮像素子104は、撮像光学系101の焦点状態の検出(焦点検出)に用いられる一対の像信号を出力する焦点検出画素群(第2の画素群)106を有する。   The imaging element 104 has a color filter of any one of R, G, and B, and is an imaging pixel group (consisting of a plurality of imaging pixels that photoelectrically convert a subject image formed by the imaging optical system 101 ( A first pixel group) 105. The imaging pixel group 105 outputs an image signal used for generating a subject image. Further, the image sensor 104 includes a focus detection pixel group (second pixel group) 106 that outputs a pair of image signals used for detection of the focus state (focus detection) of the imaging optical system 101.

焦点検出画素群106は、後述する瞳分割光学系107により瞳分割された光束を光電変換する、それぞれ複数の第1及び第2の焦点検出画素を含む。複数の第1の焦点検出画素により第1の位相差センサが構成され、複数の第2の焦点検出画素により第2の位相差センサが構成される。そして、第1の位相差センサは、上記一対の像信号のうち一方の像信号を出力し、第2の位相差センサは、上記一対の像信号のうち他方の像信号を出力する。   The focus detection pixel group 106 includes a plurality of first and second focus detection pixels that photoelectrically convert a light beam that has been pupil-divided by a pupil-division optical system 107 described later. A plurality of first focus detection pixels constitute a first phase difference sensor, and a plurality of second focus detection pixels constitute a second phase difference sensor. The first phase difference sensor outputs one image signal of the pair of image signals, and the second phase difference sensor outputs the other image signal of the pair of image signals.

さらに、撮像素子104は、第1の位相差センサと第2の位相差センサとに、撮像光学系101からの光束のうち瞳分割した光束をそれぞれ入射させるための瞳分割光学系107を備えている。   Further, the image sensor 104 includes a pupil division optical system 107 for causing each of the first phase difference sensor and the second phase difference sensor to make the pupil-divided light flux out of the light flux from the imaging optical system 101 incident. Yes.

ここで、図2には、本実施例に用いられる撮像素子104の画素配列を示している。図2において、焦点検出画素群106における第1の焦点検出画素をS1とし、第2の焦点検出画素をS2として示している。   Here, FIG. 2 shows a pixel array of the image sensor 104 used in this embodiment. In FIG. 2, the first focus detection pixel in the focus detection pixel group 106 is indicated as S1, and the second focus detection pixel is indicated as S2.

第1及び第2の焦点検出画素S1,S2の構造はそれぞれ、図6及び図7に示した構造と同様である。すなわち、第1及び第2の焦点検出画素S1,S2に設けられた遮光層が、瞳分割光学系107としてのマイクロレンズの光軸を挟んだ対称な位置に絞り開口部を有する構造を有している。   The structures of the first and second focus detection pixels S1 and S2 are the same as those shown in FIGS. That is, the light shielding layer provided in the first and second focus detection pixels S1 and S2 has a structure having a diaphragm opening at a symmetrical position across the optical axis of the microlens as the pupil division optical system 107. ing.

図2において、第1の焦点検出画素S1が離散的に挿入された画素行が第1の位相差センサを構成する。また、第1の位相差センサに対して所定間隔(図2では1画素分の間隔)をあけて配置され、第2の焦点検出画素S2が離散的に挿入された画素行が第2の位相差センサを構成する。そして、これら第1及び第2の位相差センサを含む1つの焦点検出画素群(第2の画素群)が1つの焦点検出エリアを形成する。図2では、撮像素子104の上部と下部にそれぞれ第1の焦点検出エリア及び第2の焦点検出エリアが配置されている。   In FIG. 2, a pixel row in which the first focus detection pixels S1 are discretely inserted constitutes a first phase difference sensor. In addition, the pixel row in which the second focus detection pixels S2 are discretely inserted is arranged at a second position with a predetermined interval (one pixel interval in FIG. 2) with respect to the first phase difference sensor. A phase difference sensor is configured. One focus detection pixel group (second pixel group) including these first and second phase difference sensors forms one focus detection area. In FIG. 2, a first focus detection area and a second focus detection area are arranged above and below the image sensor 104, respectively.

図1に示すように、カメラ100は、各焦点検出エリアの第1及び第2の位相差センサから出力される一対の像信号の位相差を相関演算を用いて求める焦点検出部(焦点検出手段)108を有する。 As shown in FIG. 1, the camera 100 includes a focus detection unit (focus detection unit) that obtains a phase difference between a pair of image signals output from the first and second phase difference sensors in each focus detection area using correlation calculation. ) 108.

ここで、「第1及び第2の位相差センサ(言い換えれば焦点検出画素群106)から出力される一対の像信号」とは、基本的には、焦点検出画素S1,S2の出力信号のみから生成された一対の像信号である。ただし、焦点検出画素群全体の出力信号から一対の像信号を生成してもよい。   Here, “a pair of image signals output from the first and second phase difference sensors (in other words, the focus detection pixel group 106)” basically refers to only the output signals of the focus detection pixels S1 and S2. It is a pair of generated image signals. However, a pair of image signals may be generated from the output signals of the entire focus detection pixel group.

焦点検出部108は、さらに該位相差に基づいて、その焦点検出エリアに像が形成されている被写体に対する撮像光学系101の焦点状態を示すデフォーカス量を算出する。   The focus detection unit 108 further calculates a defocus amount indicating a focus state of the imaging optical system 101 with respect to a subject on which an image is formed in the focus detection area based on the phase difference.

なお、本実施例では、焦点検出部108でデフォーカス量の算出まで行う場合について説明するが、焦点検出部108では像信号の位相差を演算し、後述するカメラ制御部116で該位相差に基づいてデフォーカス量を算出するようにしてもよい。また、本実施例では、焦点状態をデフォーカス量として説明するが、位相差を焦点状態として扱ってもよい。   In the present embodiment, the case where the focus detection unit 108 calculates the defocus amount will be described. However, the focus detection unit 108 calculates the phase difference of the image signal, and the camera control unit 116 described later calculates the phase difference. The defocus amount may be calculated based on this. In this embodiment, the focus state is described as the defocus amount, but the phase difference may be handled as the focus state.

このようにして、焦点検出部108は、各焦点検出エリアで個別に焦点検出(デフォーカス量の算出)を行う。   In this manner, the focus detection unit 108 performs focus detection (defocus amount calculation) individually in each focus detection area.

焦点検出画素群106(第1及び第2の焦点検出画素S1,S2)では、図6及び図7からも分かるように、画素ごとに設けられた遮光層によって視野が制限されている。したがって、焦点検出画素群106からの像信号のレベルは、撮像画素群105のうち焦点検出画素群106の近傍に位置する複数の画素(以下、近傍画素群という)から出力される像信号のレベルと異なって(例えば、低くなって)しまうIn the focus detection pixel group 106 (first and second focus detection pixels S1 and S2), as can be seen from FIGS. 6 and 7, the field of view is limited by the light shielding layer provided for each pixel. Therefore, the level of the image signal from the focus detection pixel group 106 is the level of the image signal output from a plurality of pixels located in the vicinity of the focus detection pixel group 106 in the imaging pixel group 105 (hereinafter referred to as the neighborhood pixel group). (For example, it becomes lower) .

このため、カメラ100は、焦点検出画素群106からの像信号を近傍画素群の像信号のレベルに近づけるために、焦点検出画素群106からの像信号に対するゲインを調整するゲイン調整部110を有する。   Therefore, the camera 100 includes a gain adjustment unit 110 that adjusts the gain for the image signal from the focus detection pixel group 106 so that the image signal from the focus detection pixel group 106 approaches the level of the image signal of the neighboring pixel group. .

また、カメラ100は、近傍画素群(撮像画素群105)からの像信号に含まれる特定の周波数成分(高周波成分)の強度を検出する空間周波数検出部(周波数成分検出手段)109を有する。該高周波成分は、近傍画素群上(第1の画素群上)に形成される被写体像の空間周波数成分を表す。   In addition, the camera 100 includes a spatial frequency detection unit (frequency component detection unit) 109 that detects the intensity of a specific frequency component (high frequency component) included in an image signal from a neighboring pixel group (imaging pixel group 105). The high frequency component represents a spatial frequency component of the subject image formed on the neighboring pixel group (on the first pixel group).

さらに、カメラ100は、焦点検出画素群106に対応する画像データを近傍画素群の出力に基づいて補間して生成する画素補間部(画像生成手段)111を備える。言い換えれば、画素補間部111は、撮像素子104からの出力により得られる画像全体の中で、焦点検出画素群106に対応する部分画像を撮像画素群105(近傍画素群)の出力に基づいて生成する。   Further, the camera 100 includes a pixel interpolation unit (image generation unit) 111 that generates image data corresponding to the focus detection pixel group 106 by interpolating based on the output of the neighboring pixel group. In other words, the pixel interpolation unit 111 generates a partial image corresponding to the focus detection pixel group 106 in the entire image obtained by the output from the imaging element 104 based on the output of the imaging pixel group 105 (neighboring pixel group). To do.

「焦点検出画素群106に対応する画像データ(部分画像)」は、焦点検出画素群106全体をカバーする領域に対する画像データであってもよいし、焦点検出画素S1,S2ごとの画像データであってもよい。   The “image data (partial image) corresponding to the focus detection pixel group 106” may be image data for an area covering the entire focus detection pixel group 106, or image data for each of the focus detection pixels S1 and S2. May be.

また、カメラ100は、撮像画素群105から出力される像信号に対して、ガンマ補正、ホワイトバランス調整、表示用のリサンプリング及び画像圧縮符号化等の画像処理を行う画像処理部112を有する。   The camera 100 also includes an image processing unit 112 that performs image processing such as gamma correction, white balance adjustment, display resampling, and image compression coding on the image signal output from the imaging pixel group 105.

さらに、カメラ100は、画像処理部112から出力された画像データ(静止画データ)を表示する表示部113と、該画像データを半導体メモリや光ディスク等の記録媒体に記録する記録部114を有する。また、カメラ100は、使用者の操作入力を受け付ける操作部115と、カメラ100全体を制御するカメラ制御部116とを有する。   Furthermore, the camera 100 includes a display unit 113 that displays image data (still image data) output from the image processing unit 112, and a recording unit 114 that records the image data on a recording medium such as a semiconductor memory or an optical disk. In addition, the camera 100 includes an operation unit 115 that receives a user's operation input and a camera control unit 116 that controls the entire camera 100.

カメラ制御部116は、焦点検出部108から得られるデフォーカス量に基づいて、合焦を得るためのフォーカスレンズの駆動量を算出する。算出された駆動量はレンズ制御部102に出力され、レンズ制御部102は該駆動量に基づいてフォーカスレンズを移動させる。このようにしてオートフォーカス(AF)が行われ、撮像光学系101の合焦状態を得ることができる。   Based on the defocus amount obtained from the focus detection unit 108, the camera control unit 116 calculates the drive amount of the focus lens for obtaining focus. The calculated drive amount is output to the lens control unit 102, and the lens control unit 102 moves the focus lens based on the drive amount. In this way, autofocus (AF) is performed, and the in-focus state of the imaging optical system 101 can be obtained.

図3には、本実施例のカメラ100(主としてカメラ制御部116)の動作を示す。この動作は、カメラ制御部116内の不図示のメモリに格納されたコンピュータプログラムに従って実行される。   FIG. 3 shows the operation of the camera 100 (mainly the camera control unit 116) of the present embodiment. This operation is executed according to a computer program stored in a memory (not shown) in the camera control unit 116.

カメラ制御部116は、操作部115からのAF指令信号(例えば、レリーズボタンの半押し操作によって出力される信号)が入力されることにより、ステップS301から動作を開始する。なお、ここでは、特に説明をしないが、AF動作と並行して露出演算等の撮像準備動作が行われているものとする。   The camera control unit 116 starts the operation from step S301 when an AF command signal from the operation unit 115 (for example, a signal output by half-pressing the release button) is input. Although not specifically described here, it is assumed that an imaging preparation operation such as an exposure calculation is performed in parallel with the AF operation.

ステップS301にて、カメラ制御部116は、撮像素子104における焦点検出画素群106での電荷蓄積を開始させる。そして、電荷蓄積の完了後、カメラ制御部116は、焦点検出画素群106から像信号を焦点検出部108に対して出力させる。焦点検出部108では、前述したようにデフォーカス量を算出してカメラ制御部116に出力する。カメラ制御部116は、前述したようにフォーカスレンズの駆動量を算出してレンズ制御部102に出力し、フォーカスレンズを合焦位置に向けて移動させる。   In step S <b> 301, the camera control unit 116 starts charge accumulation in the focus detection pixel group 106 in the image sensor 104. After completing the charge accumulation, the camera control unit 116 causes the focus detection pixel group 106 to output an image signal to the focus detection unit 108. The focus detection unit 108 calculates the defocus amount as described above and outputs it to the camera control unit 116. As described above, the camera control unit 116 calculates the driving amount of the focus lens and outputs it to the lens control unit 102 to move the focus lens toward the in-focus position.

フォーカスレンズの移動後、被写体像の変化によって露出条件が変化していることが考えられるため、新しいフォーカスレンズ位置にて露出演算を再度行う。その後、ステップS302に進む。   Since the exposure condition may have changed due to the change in the subject image after the focus lens is moved, the exposure calculation is performed again at the new focus lens position. Thereafter, the process proceeds to step S302.

ステップS302では、カメラ制御部116は、操作部115から撮像指令信号(例えば、レリーズボタンの全押し操作によって出力される信号)が入力されたか否かを判定する。撮像指令信号が未入力である場合は、本ステップの判定を繰り返す。一方、撮像指令信号が入力された場合は、ステップS303に進む。   In step S <b> 302, the camera control unit 116 determines whether an imaging command signal (for example, a signal output when the release button is fully pressed) is input from the operation unit 115. If the imaging command signal is not input, the determination in this step is repeated. On the other hand, when the imaging command signal is input, the process proceeds to step S303.

ステップS303では、カメラ制御部116は、被写体画像を取得する撮像のために、撮像素子104に撮像画素群105および焦点検出画素群106での電荷蓄積を開始させる。蓄積完了後、カメラ制御部116は、撮像画素105の像信号を空間周波数検出部109と画素補間部111に出力させ、焦点検出画素群106の像信号を空間周波数検出部109とゲイン調整部110に出力させる。この出力後、ステップS304に進む。   In step S <b> 303, the camera control unit 116 causes the image sensor 104 to start charge accumulation in the imaging pixel group 105 and the focus detection pixel group 106 for imaging to acquire a subject image. After the accumulation is completed, the camera control unit 116 outputs the image signal of the imaging pixel 105 to the spatial frequency detection unit 109 and the pixel interpolation unit 111, and the image signal of the focus detection pixel group 106 to the spatial frequency detection unit 109 and the gain adjustment unit 110. To output. After this output, the process proceeds to step S304.

ステップS304では、カメラ制御部116は、カウンタを初期化する(n=1)。カウンタの数値nは、撮像素子104上に設けられたn個の焦点検出エリアの番号に対応する。   In step S304, the camera control unit 116 initializes a counter (n = 1). The numerical value n of the counter corresponds to the number of n focus detection areas provided on the image sensor 104.

次にステップS305では、カメラ制御部116は、空間周波数検出部109に、第nの焦点検出エリアにおける焦点検出画素群106の近傍に配置された近傍画素群の像信号から高周波成分を検出させる。そして、カメラ制御部116は、検出された高周波成分の強度が所定の閾値(所定値)より高いか否かを判定する。該判定は、第nの焦点検出エリアに形成された被写体像の空間周波数が、この焦点検出エリア(焦点検出画素群106)に対応する画像データを生成するための画素補間部111による画像データ補間を行うことで良好な全体画像が得られる値か否かの判定である。 Next, in step S305, the camera control unit 116 causes the spatial frequency detection unit 109 to detect a high frequency component from the image signal of the neighboring pixel group arranged in the vicinity of the focus detection pixel group 106 in the nth focus detection area . Then, the camera control unit 116 determines whether or not the intensity of the detected high frequency component is higher than a predetermined threshold (predetermined value). The determination is made by image data interpolation by the pixel interpolation unit 111 for generating image data in which the spatial frequency of the subject image formed in the nth focus detection area corresponds to this focus detection area (focus detection pixel group 106). This is a determination as to whether or not the value is such that a good overall image is obtained.

ここで、多くの場合、デフォーカス量が大きい状態での像信号(被写体像)には高周波成分が少ない(コントラストが低い)。逆に、デフォーカス量が小さい状態(合焦状態に近い状態)での像信号には高周波成分が多い(コントラストが高い)。そして、前述したように、画素補間部111による画像データ補間を被写体像の空間周波数が低い状態で行う場合は画像の鮮鋭度の低下が目立たないが、被写体像の空間周波数が高い状態で行うと鮮鋭度の低下が目立つ。   Here, in many cases, an image signal (subject image) in a state where the defocus amount is large has few high-frequency components (low contrast). Conversely, the image signal in a state where the defocus amount is small (a state close to the in-focus state) has a high frequency component (contrast is high). As described above, when the image data interpolation performed by the pixel interpolation unit 111 is performed in a state where the spatial frequency of the subject image is low, the reduction in the sharpness of the image is not noticeable, but when the spatial interpolation is performed in a state where the spatial frequency of the subject image is high. The reduction in sharpness is noticeable.

そこで、本実施例では、被写体像の空間周波数(像信号の高周波成分)の強度の高低に応じて画素補間部111による画像データ補間を行うか否かを切り換える。すなわち、検出強度が閾値より高い場合は、画像データ補間を行わずにステップS306に進み、検出強度が閾値より低い場合は、画像データ補間を行うためにステップS308に進む。   Therefore, in this embodiment, whether to perform the image data interpolation by the pixel interpolation unit 111 is switched according to the intensity of the spatial frequency of the subject image (the high frequency component of the image signal). That is, when the detected intensity is higher than the threshold, the process proceeds to step S306 without performing the image data interpolation, and when the detected intensity is lower than the threshold, the process proceeds to step S308 to perform the image data interpolation.

ステップS306では、カメラ制御部116は、第nの焦点検出エリア(以下、第nの焦点検出画素群106という)の平均像信号と近傍画素群の平均像信号とを比較する。そして、これらの信号レベルが同じ又は同じとみなせる範囲まで近づくように、ゲイン調整部110に第nの焦点検出画素群106の像信号にかけるゲインを調整させる。なお、画素群の平均像信号の比較に代えて、像信号のピーク値を比較してもよい。こうしてゲインを調整した後、ステップS307に進む。   In step S306, the camera control unit 116 compares the average image signal of the nth focus detection area (hereinafter referred to as the nth focus detection pixel group 106) with the average image signal of the neighboring pixel group. Then, the gain adjusting unit 110 adjusts the gain applied to the image signal of the nth focus detection pixel group 106 so that these signal levels are close to the same or the range where the signal levels can be regarded as the same. Note that the peak values of the image signals may be compared instead of comparing the average image signals of the pixel groups. After adjusting the gain in this way, the process proceeds to step S307.

ステップS307では、カメラ制御部116は、ステップS306でゲイン調整された第nの焦点検出画素群106の像信号を、撮像画素群105の像信号における第nの焦点検出画素群106に対応する領域(又は位置)に挿入する。これにより、撮像画素群105からの像信号に基づく画像と第nの焦点検出画素群106からの像信号(ゲイン調整後の像信号)に基づく部分画像とが合成された合成画像データが生成される。カメラ制御部116は、合成画像データを画像処理部112に出力する。その後、ステップS310に進む。   In step S307, the camera control unit 116 converts the image signal of the nth focus detection pixel group 106 that has been gain-adjusted in step S306 into a region corresponding to the nth focus detection pixel group 106 in the image signal of the imaging pixel group 105. (Or position). As a result, composite image data is generated in which an image based on the image signal from the imaging pixel group 105 and a partial image based on the image signal (image signal after gain adjustment) from the nth focus detection pixel group 106 are combined. The The camera control unit 116 outputs the composite image data to the image processing unit 112. Thereafter, the process proceeds to step S310.

一方、ステップS308では、カメラ制御部116は、画素補間部111に、第nの焦点検出画素群106の近傍画素群の像信号に基づいて、第nの焦点検出画素群106に対応する補間用部分画像データを補間演算によって生成させる。すなわち、画素補間部111は、撮像素子104からの出力により得られる画像全体のうち、第nの焦点検出画素群106に対応する部分画像を撮像画素群105(近傍画素群)の出力に基づいて生成する。   On the other hand, in step S308, the camera control unit 116 instructs the pixel interpolation unit 111 to perform interpolation corresponding to the nth focus detection pixel group 106 based on the image signal of the neighboring pixel group of the nth focus detection pixel group 106. Partial image data is generated by interpolation calculation. That is, the pixel interpolation unit 111 selects a partial image corresponding to the nth focus detection pixel group 106 out of the entire image obtained by the output from the imaging element 104 based on the output of the imaging pixel group 105 (neighboring pixel group). Generate.

ここで、本実施例では、撮像画素群105のカラーフィルタ配置の周期性から、特に焦点検出画素S1,S2に対して緑成分の画素信号を補間する必要がある。したがって、図2における近傍画素群のうち焦点検出画素S1,S2に斜め方向にて隣接する緑成分の画素の信号に基づいて、焦点検出画素S1,S2の位置に相当する画素信号を生成する。補間に用いる近傍画素としては、上述した焦点検出画素S1,S2に対して斜め方向に隣接する緑成分の画素に限らない。すなわち、さらに位置が離れた緑成分の画素も用い、信号レベルの位置的変化からエッジ検出を行って、被写体像のエッジ位置を考慮した補間演算を行ってもよい。 Here, in this embodiment, due to the periodicity of the color filter arrangement of the imaging pixel group 105, it is necessary to interpolate a green component pixel signal particularly with respect to the focus detection pixels S1 and S2. Therefore, pixel signals corresponding to the positions of the focus detection pixels S1 and S2 are generated based on the signals of the green component pixels adjacent to the focus detection pixels S1 and S2 in the oblique direction in the neighboring pixel group in FIG. The neighboring pixels used for the interpolation are not limited to the green component pixels that are adjacent to the focus detection pixels S1 and S2 in the oblique direction. That is, the green component pixels that are further distant from each other may be used, and edge detection may be performed from the positional change in the signal level, and interpolation calculation may be performed in consideration of the edge position of the subject image.

補間用部分画像データが生成された後、ステップS309に進む。   After the partial image data for interpolation is generated, the process proceeds to step S309.

ステップS309では、カメラ制御部116は、ステップS308で生成された第nの焦点検出画素群106に対する補間用部分画像データの像信号を、撮像画素群105の像信号における第nの焦点検出画素群106に対応する領域(又は位置)に挿入する。これにより、撮像画素群105からの像信号に基づく画像と第nの焦点検出画素群106に対する補間用部分画像とが合成された合成画像データが生成される。カメラ制御部116は、合成画像データを画像処理部112に出力する。その後、ステップS310に進む。   In step S309, the camera control unit 116 uses the image signal of the partial image data for interpolation for the nth focus detection pixel group 106 generated in step S308 as the nth focus detection pixel group in the image signal of the imaging pixel group 105. It is inserted into an area (or position) corresponding to 106. Thereby, composite image data in which an image based on the image signal from the imaging pixel group 105 and the partial image for interpolation with respect to the nth focus detection pixel group 106 are combined is generated. The camera control unit 116 outputs the composite image data to the image processing unit 112. Thereafter, the process proceeds to step S310.

ステップS310では、カメラ制御部116は、全て(n個)の焦点検出エリアに対してステップS305〜S309の処理を完了したか否かを判定する。まだ全ての焦点検出エリアに対して処理が終わっていなければ、ステップS311に進み、カウンタ値を1増やしてステップS305に戻る。これにより、次の焦点検出エリアに対する上記処理が行われる。一方、全ての焦点検出エリアに対して上記処理を終えていれば、ステップS312に進む。   In step S310, the camera control unit 116 determines whether the processes in steps S305 to S309 have been completed for all (n) focus detection areas. If the processing has not been completed for all focus detection areas, the process proceeds to step S311 to increment the counter value by 1, and the process returns to step S305. As a result, the above processing for the next focus detection area is performed. On the other hand, if the above process is completed for all focus detection areas, the process proceeds to step S312.

ステップS312では、カメラ制御部116は、画像処理部112に、合成画像データに対するガンマ補正、ホワイトバランス調整、表示用のリサンプリング及び画像圧縮符号化を行わせる。画像処理部112は、これらの処理が施された画像データを表示部113に出力する。表示部113は、撮像された画像をユーザに確認させるため、該画像データを表示する。   In step S312, the camera control unit 116 causes the image processing unit 112 to perform gamma correction, white balance adjustment, display resampling, and image compression encoding on the composite image data. The image processing unit 112 outputs the image data subjected to these processes to the display unit 113. The display unit 113 displays the image data so that the user can confirm the captured image.

また、画像処理部112は、上記処理が施された画像データを記録部114へも出力する。記録部114は、該画像データを記録媒体に記録する。   The image processing unit 112 also outputs the image data subjected to the above processing to the recording unit 114. The recording unit 114 records the image data on a recording medium.

以上のような動作により、撮像素子104内に設けられる焦点検出画素の数が多くても、高い鮮鋭度を有する良好な画像を取得することができる。   By the operation as described above, even if the number of focus detection pixels provided in the image sensor 104 is large, a good image having high sharpness can be acquired.

図4には、本発明の実施例2である撮像装置としてのデジタルカメラの構成を示す。なお、本実施例において、実施例1と共通する構成要素には実施例1と同符号を付して説明に代える。   FIG. 4 shows the configuration of a digital camera as an image pickup apparatus that is Embodiment 2 of the present invention. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and the description is omitted.

実施例1では、近傍画素群(撮像画素群105)からの像信号の高周波成分の強度を検出する空間周波数検出部109を有する場合について説明した。これに対し、本実施例のカメラ400では、該空間周波数検出部109の代わりに、フォーカス評価手段としての鮮鋭度検出部401に設けられた高周波成分検出部401aを用いる。   In the first embodiment, the case where the spatial frequency detection unit 109 that detects the intensity of the high frequency component of the image signal from the neighboring pixel group (the imaging pixel group 105) is described has been described. On the other hand, in the camera 400 of the present embodiment, a high-frequency component detection unit 401 a provided in the sharpness detection unit 401 as a focus evaluation unit is used instead of the spatial frequency detection unit 109.

高周波成分検出部401aは、撮像画素群105からの像信号に含まれる高周波成分を検出(抽出)する。そして、鮮鋭度検出部401は、該高周波成分に基づいてフォーカス評価情報(AF評価値信号)を生成し、カメラ制御部116に出力する。フォーカス評価情報は、被写体像のコントラスト状態、言い換えれば、鮮鋭度を表す。   The high frequency component detection unit 401 a detects (extracts) a high frequency component included in the image signal from the imaging pixel group 105. Then, the sharpness detection unit 401 generates focus evaluation information (AF evaluation value signal) based on the high frequency component and outputs the focus evaluation information to the camera control unit 116. The focus evaluation information represents the contrast state of the subject image, in other words, the sharpness.

カメラ制御部116は、フォーカス評価情報の値が最大となる位置にフォーカスレンズを移動させて、合焦状態を得る。これはいわゆるコントラスト検出方式のAFであり、実施例1で説明した位相差を用いたAF(位相差検出方式AF)との組み合わせによって、より高精度かつ高速に合焦状態を得ることができる。   The camera control unit 116 moves the focus lens to a position where the value of the focus evaluation information is maximized to obtain a focused state. This is a so-called contrast detection AF, and it is possible to obtain a focused state with higher accuracy and higher speed by combining with the AF using the phase difference described in the first embodiment (phase difference detection AF).

例えば、カメラ制御部116は、まず実施例1でも説明した焦点検出部108を用いた焦点検出を行い、フォーカスレンズを合焦位置近傍に移動させる。次に、カメラ制御部116は、鮮鋭度検出部401からのフォーカス評価情報を用いてフォーカスレンズをより精度の高い合焦位置に移動させる。   For example, the camera control unit 116 first performs focus detection using the focus detection unit 108 described in the first embodiment, and moves the focus lens to the vicinity of the in-focus position. Next, the camera control unit 116 uses the focus evaluation information from the sharpness detection unit 401 to move the focus lens to a more accurate focus position.

また、コントラスト検出方式AFは、カメラ400によって動画を撮像する場合の合焦状態の維持に有効である。   Further, the contrast detection AF is effective for maintaining a focused state when a moving image is captured by the camera 400.

そして、本実施例では、高周波成分検出部401aによって得られた近傍画素群からの像信号の高周波成分の強度を、図3のステップS305で所定の閾値と比較する。これにより、実施例1と同様の効果を得ることができる。   In this embodiment, the intensity of the high frequency component of the image signal from the neighboring pixel group obtained by the high frequency component detection unit 401a is compared with a predetermined threshold in step S305 in FIG. Thereby, the same effect as Example 1 can be acquired.

なお、本実施例において、図3のステップS305で強度の判定を行う高周波成分と、フォーカス評価情報を生成するために用いられる高周波成分とで周波数域が異なっていてもよい。この場合、高周波成分検出部401aでの周波数成分検出のために行われるフィルタリング演算のフィルタ係数を、強度の判定を行う高周波成分を検出する場合とフォーカス評価情報の生成のために高周波成分を検出する場合とで切り換えられるようにすればよい。   In the present embodiment, the frequency range may be different between the high frequency component for which the intensity is determined in step S305 in FIG. 3 and the high frequency component used for generating the focus evaluation information. In this case, the filter coefficient of the filtering calculation performed for the frequency component detection in the high frequency component detection unit 401a is detected when detecting the high frequency component for determining the intensity and for generating the focus evaluation information. What is necessary is just to make it switch according to a case.

以上説明した実施例は代表的な例にすぎず、本発明の実施に際しては、実施例に対して種々の変形や変更が可能である。   The embodiments described above are merely representative examples, and various modifications and changes can be made to the embodiments when the present invention is implemented.

本発明の実施例であるデジタルカメラの構成を示すブロック図。1 is a block diagram illustrating a configuration of a digital camera that is an embodiment of the present invention. 実施例における撮像画素群と焦点検出画素群の配列を示す図。The figure which shows the arrangement | sequence of the imaging pixel group in an Example, and a focus detection pixel group. 実施例のカメラの動作を示すフローチャート。The flowchart which shows operation | movement of the camera of an Example. 本発明の実施例2であるデジタルカメラの構成を示すブロック図。FIG. 5 is a block diagram illustrating a configuration of a digital camera that is Embodiment 2 of the present invention. 撮像画素群と焦点検出画素群の配列を示す図。The figure which shows the arrangement | sequence of an imaging pixel group and a focus detection pixel group. の焦点検出画素の構造を示す図。The figure which shows the structure of a 1st focus detection pixel. 第2の焦点検出画素の構造を示す図。The figure which shows the structure of a 2nd focus detection pixel. 焦点状態(合焦状態)に応じた像信号の位相差を説明するための模式図。The schematic diagram for demonstrating the phase difference of the image signal according to a focus state (focusing state). 焦点状態(前ピン状態)に応じた像信号の位相差を説明するための模式図。The schematic diagram for demonstrating the phase difference of the image signal according to a focus state (front pin state).

符号の説明Explanation of symbols

100 デジタルカメラ(撮像装置)
101 撮像光学系
105 撮像画素群
106 焦点検出画素群
107 瞳分割光学系
109 空間周波数検出部
110 ゲイン調整部
111 画素補間部
112 画像処理部
116 カメラ制御部
400 鮮鋭度検出部
501,601 マイクロレンズ
503,603 遮光層
504,604 光電変換領域
100 Digital camera (imaging device)
DESCRIPTION OF SYMBOLS 101 Imaging optical system 105 Imaging pixel group 106 Focus detection pixel group 107 Pupil division | segmentation optical system 109 Spatial frequency detection part 110 Gain adjustment part 111 Pixel interpolation part 112 Image processing part 116 Camera control part 400 Sharpness detection part 501 601 Micro lens 503 , 603 Light-shielding layer 504, 604 Photoelectric conversion region

Claims (5)

撮像光学系からの光束により形成された被写体像を光電変換する第1の画素群、及び前記撮像光学系からの光束のうち分割された光束を光電変換する複数の焦点検出画素を含む第2の画素群を有する撮像素子と、
前記第2の画素群からの出力に基づいて前記撮像光学系の焦点状態を検出する焦点検出手段と、
前記第1の画素群上に形成される被写体像の空間周波数成分を検出する周波数成分検出手段と、
前記撮像素子からの出力により得られる画像のうち前記第2の画素群に対応する部分画像を前記第1の画素群の出力に基づいて生成する画像生成手段と、
前記周波数成分検出手段により検出された空間周波数成分に応じて前記画像生成手段に前記部分画像を生成させるか否かを切り換える制御手段とを有することを特徴とする撮像装置。
A second pixel group including a first pixel group that photoelectrically converts a subject image formed by a light beam from the imaging optical system, and a plurality of focus detection pixels that photoelectrically convert a divided light beam among the light beams from the imaging optical system; An image sensor having a pixel group;
Focus detection means for detecting a focus state of the imaging optical system based on an output from the second pixel group;
Frequency component detection means for detecting a spatial frequency component of a subject image formed on the first pixel group;
Image generating means for generating a partial image corresponding to the second pixel group in an image obtained by output from the imaging device based on the output of the first pixel group;
An imaging apparatus comprising: control means for switching whether to cause the image generation means to generate the partial image according to a spatial frequency component detected by the frequency component detection means.
前記制御手段は、前記空間周波数成分の強度が所定値より高い場合は前記画像生成手段に前記部分画像を生成させず、前記空間周波数成分の強度が前記所定値より低い場合は前記画像生成手段に前記部分画像を生成させることを特徴とする請求項1に記載の撮像装置。   The control unit does not cause the image generation unit to generate the partial image when the intensity of the spatial frequency component is higher than a predetermined value, and causes the image generation unit to generate the partial image when the intensity of the spatial frequency component is lower than the predetermined value. The imaging apparatus according to claim 1, wherein the partial image is generated. 前記第2の画素群からの出力に対するゲイン調整を行う調整手段を有し、
前記制御手段は、前記画像生成手段に前記部分画像を生成させない場合は、前記調整手段に前記ゲイン調整を行わせることを特徴とする請求項1又は2に記載の撮像装置。
Adjustment means for performing gain adjustment on the output from the second pixel group;
The imaging apparatus according to claim 1, wherein the control unit causes the adjustment unit to perform the gain adjustment when the image generation unit does not generate the partial image.
前記第1の画素群からの出力に含まれる周波数成分を検出して前記被写体像のコントラスト状態に対応するフォーカス評価情報を生成するフォーカス評価手段を有し、
前記周波数成分検出手段として、前記フォーカス評価手段を用いることを特徴とする請求項1から3のいずれか1つに記載の撮像装置。
A focus evaluation unit that detects a frequency component included in the output from the first pixel group and generates focus evaluation information corresponding to a contrast state of the subject image;
The imaging apparatus according to claim 1, wherein the focus evaluation unit is used as the frequency component detection unit.
撮像光学系からの光束により形成された被写体像を光電変換する第1の画素群、及び前記撮像光学系からの光束のうち分割された光束を光電変換する複数の焦点検出画素を含む第2の画素群を有する撮像素子を備えた撮像装置の制御方法であって、
前記第2の画素群からの出力に基づいて前記撮像光学系の焦点状態を検出するステップと、
前記第1の画素群上に形成された被写体像の空間周波数成分を検出するステップと、
前記撮像素子からの出力により得られる画像のうち前記第2の画素群に対応する部分画像を前記第1の画素群の出力に基づいて生成するステップと、
前記検出された空間周波数成分に応じて前記部分画像を生成させるか否かを切り換えるステップとを有することを特徴とする撮像装置の制御方法。
A second pixel group including a first pixel group that photoelectrically converts a subject image formed by a light beam from the imaging optical system, and a plurality of focus detection pixels that photoelectrically convert a divided light beam among the light beams from the imaging optical system; A method for controlling an imaging device including an imaging device having a pixel group,
Detecting a focus state of the imaging optical system based on an output from the second pixel group;
Detecting a spatial frequency component of a subject image formed on the first pixel group;
Generating a partial image corresponding to the second pixel group in the image obtained by the output from the imaging element based on the output of the first pixel group;
And a step of switching whether or not to generate the partial image in accordance with the detected spatial frequency component.
JP2007209697A 2007-08-10 2007-08-10 Imaging device Expired - Fee Related JP4823167B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2007209697A JP4823167B2 (en) 2007-08-10 2007-08-10 Imaging device
PCT/JP2008/064264 WO2009022634A1 (en) 2007-08-10 2008-08-01 Image-pickup apparatus and control method therof
CN2008801029387A CN101809994B (en) 2007-08-10 2008-08-01 Image-pickup apparatus and control method therof
EP08792321.5A EP2179581B1 (en) 2007-08-10 2008-08-01 Image-pickup apparatus and control method therof
US12/602,797 US8203645B2 (en) 2007-08-10 2008-08-01 Image-pickup apparatus and control method thereof with image generation based on a detected spatial frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007209697A JP4823167B2 (en) 2007-08-10 2007-08-10 Imaging device

Publications (3)

Publication Number Publication Date
JP2009044636A JP2009044636A (en) 2009-02-26
JP2009044636A5 JP2009044636A5 (en) 2010-11-18
JP4823167B2 true JP4823167B2 (en) 2011-11-24

Family

ID=40444847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007209697A Expired - Fee Related JP4823167B2 (en) 2007-08-10 2007-08-10 Imaging device

Country Status (1)

Country Link
JP (1) JP4823167B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5563283B2 (en) 2009-12-09 2014-07-30 キヤノン株式会社 Image processing device
JP2011221290A (en) 2010-04-09 2011-11-04 Olympus Corp Imaging device and camera
JP5645474B2 (en) * 2010-05-19 2014-12-24 富士フイルム株式会社 Imaging apparatus and method for correcting captured image signal
JP5757699B2 (en) * 2010-07-27 2015-07-29 オリンパス株式会社 Imaging device
JP5888940B2 (en) * 2011-11-11 2016-03-22 オリンパス株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP6087674B2 (en) * 2013-02-27 2017-03-01 キヤノン株式会社 Imaging device
WO2014141561A1 (en) 2013-03-13 2014-09-18 富士フイルム株式会社 Imaging device, signal processing method, and signal processing program
JP6289017B2 (en) * 2013-03-27 2018-03-07 キヤノン株式会社 Imaging apparatus, control method therefor, program, and storage medium
JP5775918B2 (en) * 2013-09-27 2015-09-09 オリンパス株式会社 Imaging apparatus, image processing method, and image processing program
JP6460653B2 (en) * 2014-06-11 2019-01-30 オリンパス株式会社 Image processing apparatus, imaging apparatus including the same, image processing method, and image processing program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002320236A (en) * 2001-04-23 2002-10-31 Canon Inc Imaging apparatus
JP4564831B2 (en) * 2004-11-26 2010-10-20 キヤノン株式会社 Imaging apparatus and control method thereof
JP4967296B2 (en) * 2005-10-03 2012-07-04 株式会社ニコン Imaging device, focus detection apparatus, and imaging system
JP4835136B2 (en) * 2005-12-06 2011-12-14 株式会社ニコン Solid-state imaging device having a function for generating a focus detection signal, and an electronic camera

Also Published As

Publication number Publication date
JP2009044636A (en) 2009-02-26

Similar Documents

Publication Publication Date Title
JP5264131B2 (en) Imaging device
JP4823167B2 (en) Imaging device
US8203645B2 (en) Image-pickup apparatus and control method thereof with image generation based on a detected spatial frequency
US10212334B2 (en) Focusing adjustment apparatus and focusing adjustment method
US8018524B2 (en) Image-pickup method and apparatus having contrast and phase difference forcusing methods wherein a contrast evaluation area is changed based on phase difference detection areas
JP5424679B2 (en) Imaging apparatus and signal processing apparatus
US8890994B2 (en) Image capturing apparatus
JP4823168B2 (en) Imaging device
JP6298362B2 (en) Imaging apparatus, control method therefor, and imaging system
JP2008309882A (en) Digital camera
US9591243B2 (en) Focus detecting apparatus, control method thereof, and image-pickup apparatus
JP2014153509A (en) Imaging device and imaging method
JP2011028048A (en) Image capturing apparatus, and method of controlling the same
JP6415140B2 (en) Imaging apparatus and control method thereof
JP4823169B2 (en) Imaging device
US20180048805A1 (en) Control apparatus for performing focus detection, image capturing apparatus, control method, and non-transitory computer-readable storage medium
JPWO2017154366A1 (en) Low pass filter control device, low pass filter control method, and imaging device
US20200092489A1 (en) Optical apparatus, control method, and non-transitory computer-readable storage medium
JP2017223760A (en) Imaging device and focus adjustment method
JP5207893B2 (en) Imaging apparatus and control method thereof
JP2019168661A (en) Controller, imaging unit, method for control, program, and storage medium
JP2016071275A (en) Image-capturing device and focus control program
US9888162B2 (en) Image processing apparatus, image processing method, and storage medium having a changing unit that changes a read region depending on a reproduction mode
JP2014206601A (en) Imaging apparatus and focus adjustment method
JP7019442B2 (en) Image pickup device and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100806

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100930

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4823167

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees