[go: up one dir, main page]

JP2018019355A - Imaging apparatus, imaging method, and program - Google Patents

Imaging apparatus, imaging method, and program Download PDF

Info

Publication number
JP2018019355A
JP2018019355A JP2016150336A JP2016150336A JP2018019355A JP 2018019355 A JP2018019355 A JP 2018019355A JP 2016150336 A JP2016150336 A JP 2016150336A JP 2016150336 A JP2016150336 A JP 2016150336A JP 2018019355 A JP2018019355 A JP 2018019355A
Authority
JP
Japan
Prior art keywords
photoelectric conversion
signal
pixel
interpolation
conversion region
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
JP2016150336A
Other languages
Japanese (ja)
Other versions
JP6851744B2 (en
JP2018019355A5 (en
Inventor
甲斐原 博志
Hiroshi Kaibara
博志 甲斐原
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 JP2016150336A priority Critical patent/JP6851744B2/en
Publication of JP2018019355A publication Critical patent/JP2018019355A/en
Publication of JP2018019355A5 publication Critical patent/JP2018019355A5/en
Application granted granted Critical
Publication of JP6851744B2 publication Critical patent/JP6851744B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

【課題】 1つのマイクロレンズに対して複数の光電変換部を有する画素を複数備えた撮像装置において、正常でない信号を出力する光電変換部に対する補間方法を提供する。【解決手段】 撮像装置は、正常ではない信号を出力する光電変換部を含む第1の光電変換領域と、正な信号を出力する光電変換部を含む第2の光電変換領域と、を有する処理対象の画素に対して補間を行う補間手段を有し、この補間手段は、処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、処理対象の画素における第1の光電変換領域の位置に対応する第3の光電変換領域の信号を加重平均した第1の値と、処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、処理対象の画素における第2の光電変換領域の位置に対応する第4の光電変換領域の信号を加重平均した第2の値との比を求め、この比を用いて補間を行う。【選択図】 図8Kind Code: A1 An interpolation method is provided for a photoelectric conversion unit that outputs an abnormal signal in an imaging device having a plurality of pixels having a plurality of photoelectric conversion units for one microlens. SOLUTION: An imaging device has a first photoelectric conversion region including a photoelectric conversion unit that outputs an abnormal signal and a second photoelectric conversion region that includes a photoelectric conversion unit that outputs a positive signal. Interpolating means for interpolating the target pixel, the interpolation means determining the position of the first photoelectric conversion region in the target pixel for each of a plurality of peripheral pixels positioned around the target pixel. and a first value obtained by weighting and averaging the signals of the third photoelectric conversion region corresponding to and the second photoelectric conversion regions in the pixel to be processed of each of the plurality of peripheral pixels located around the pixel to be processed. A ratio between the signal of the fourth photoelectric conversion region corresponding to the position and a second value obtained by weighted averaging is obtained, and interpolation is performed using this ratio. [Selection drawing] Fig. 8

Description

本発明は、複数の光電変換部を有する画素を複数備えた撮像素子の、欠陥を有する光電変換部から読み出された信号の補間の技術に関するものである。   The present invention relates to a technique for interpolating a signal read from a photoelectric conversion unit having a defect in an imaging device including a plurality of pixels each having a plurality of photoelectric conversion units.

1つのマイクロレンズに対して、複数の光電変換部を有する画素を複数備えた撮像素子が知られている。この撮像素子のそれぞれの画素において、複数の光電変換部の一部の光電変換部とそれ以外の光電変換部とから互いに信号を独立に読み出し、独立に読み出した信号の位相差を求めることで、被写体までの距離情報を得ることができる。この複数の光電変換部の一部の光電変換部に欠陥がある場合や、この一部の光電変換部に接続される回路に不具合がある場合には、この光電変換部から読み出された信号はそのままでは位相差検出に用いることができない。   An image sensor having a plurality of pixels each having a plurality of photoelectric conversion units is known for one microlens. In each pixel of the image sensor, signals are read independently from some photoelectric conversion units of the plurality of photoelectric conversion units and other photoelectric conversion units, and the phase difference of the independently read signals is obtained, Distance information to the subject can be obtained. When some of the photoelectric conversion units of the plurality of photoelectric conversion units are defective, or when a circuit connected to the partial photoelectric conversion unit is defective, a signal read from the photoelectric conversion unit Cannot be used for phase difference detection as it is.

そこで、特許文献1には、1つのマイクロレンズに対して複数の光電変換部を有する画素を複数備えた撮像素子において、正常ではない光電変換部の信号に対して、周辺画素の光電変換部の信号を用いて補間する方法が開示されている。   Therefore, in Patent Document 1, in an imaging device including a plurality of pixels each having a plurality of photoelectric conversion units for one microlens, the signals of the photoelectric conversion units of the peripheral pixels are detected with respect to signals of the photoelectric conversion units that are not normal. A method of interpolating using signals is disclosed.

特開2015−56710号公報Japanese Patent Laying-Open No. 2015-56710

しかし、上記特許文献1に記載の補間方法では、正常ではない信号を出力する光電変換部を含む画素(以下、欠陥画素と呼ぶ)と同じカラーフィルタに対応する画素に含まれる光電変換部の信号を用いるため、補間に使える画素の自由度が低い。たとえば、ベイヤー配列にて構成された撮像素子であれば、同じカラーフィルタに対応する画素は、水平および垂直方向においては1つ置きにしか存在しない。そのため、特許文献1に記載の補間方法では、補間を行う際に、水平および垂直方向に隣接する画素の光電変換部から読み出された信号を用いることができない。   However, in the interpolation method described in Patent Document 1, a signal from a photoelectric conversion unit included in a pixel corresponding to the same color filter as a pixel including a photoelectric conversion unit that outputs an abnormal signal (hereinafter referred to as a defective pixel). Therefore, the degree of freedom of pixels that can be used for interpolation is low. For example, in the case of an image sensor configured in a Bayer array, there are only every other pixel corresponding to the same color filter in the horizontal and vertical directions. For this reason, the interpolation method described in Patent Document 1 cannot use signals read from the photoelectric conversion units of pixels adjacent in the horizontal and vertical directions when performing interpolation.

補間する際に用いる信号は、空間的に近い位置から読み出された信号を用いたほうが、補間する際の高周波成分の再現性が向上する。そのため、被写体の模様にもよるが、補間する際の高周波成分の再現性をさらに向上させるためには、補間する際に信号を参照する光電変換部を含む画素の位置は、補間対象の光電変換部を含む画素と同色の画素の位置に限定されないほうが望ましい。   As the signal used for interpolation, the reproducibility of the high-frequency component at the time of interpolation is improved when a signal read from a spatially close position is used. Therefore, although depending on the pattern of the subject, in order to further improve the reproducibility of the high-frequency component during interpolation, the position of the pixel including the photoelectric conversion unit that refers to the signal at the time of interpolation is determined by the photoelectric conversion to be interpolated. It is desirable that the position of the pixel of the same color as the pixel including the portion is not limited.

さらに、補間する際に用いる信号を読み出す光電変換部そのものの信号も正常ではない場合や、飽和していたりする場合も考えられる。あるいは、被写体の模様によっては、近傍の画素に含まれる光電変換部であっても、補間対象の光電変換部とは別の被写体に係る信号を出力している場合も考えられる。   Furthermore, the case where the signal of the photoelectric conversion unit itself that reads out the signal used for the interpolation is not normal or saturated may be considered. Alternatively, depending on the pattern of the subject, even a photoelectric conversion unit included in a nearby pixel may output a signal related to a subject other than the photoelectric conversion unit to be interpolated.

そこで、補間によって得られた信号の精度をさらに向上させるために、補間する際に信号を参照する光電変換部を含む画素の位置の自由度を向上させるとともに、状況に応じて参照する光電変換部から読み出された信号に適切な優先度を設けることが望ましい。   Therefore, in order to further improve the accuracy of the signal obtained by interpolation, the degree of freedom of the position of the pixel including the photoelectric conversion unit that refers to the signal at the time of interpolation is improved, and the photoelectric conversion unit that is referred to according to the situation It is desirable to provide an appropriate priority for the signal read from the.

本発明は、1つのマイクロレンズに対して複数の光電変換領域を有する複数の画素を備え、前記複数の光電変換領域のそれぞれが1つ以上の光電変換部を含む撮像素子と、正常ではないとみなされる信号を出力する光電変換部を含む第1の光電変換領域と、正常とみなされる信号を出力する光電変換部を含む第2の光電変換領域と、を有する処理対象となる画素の、前記第1の光電変換領域に対して第1の補間を行う補間手段と、を有し、前記補間手段は、前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第1の光電変換領域の位置に対応する第3の光電変換領域の信号に対して、係数を用いて加重平均することで得られる第1の値と、前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第2の光電変換領域の位置に対応する第4の光電変換領域の信号に対して、前記係数を用いて加重平均することで得られる第2の値との比を求め、前記第2の光電変換領域の信号、および、前記比を用いて前記第1の補間を行うことを特徴とする撮像装置を提供する。   The present invention includes a plurality of pixels having a plurality of photoelectric conversion regions with respect to one microlens, and each of the plurality of photoelectric conversion regions includes one or more photoelectric conversion units; A pixel to be processed having a first photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as a signal and a second photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as normal; Interpolating means for performing first interpolation on the first photoelectric conversion region, and the interpolating means includes a plurality of peripheral pixels positioned around the pixel to be processed, A first value obtained by performing weighted averaging using a coefficient for a signal in the third photoelectric conversion region corresponding to the position of the first photoelectric conversion region in the pixel, and the periphery of the pixel to be processed Multiple peripherals located in The second value obtained by weighted averaging the signals of the fourth photoelectric conversion regions corresponding to the positions of the second photoelectric conversion regions in the pixels to be processed using the coefficients. The imaging device is characterized in that the first interpolation is performed using the signal of the second photoelectric conversion region and the ratio.

本発明によれば、1つのマイクロレンズに対して複数の光電変換部を有する画素を複数備えた撮像素子を有する撮像装置において、正常ではない信号を出力する光電変換部に対して高い精度で信号を補間することを可能とする。   According to the present invention, in an image pickup apparatus having an image pickup device including a plurality of pixels each having a plurality of photoelectric conversion units for one microlens, a signal with high accuracy is obtained with respect to a photoelectric conversion unit that outputs an abnormal signal. Can be interpolated.

本発明の実施形態における撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device in embodiment of this invention. 本発明の実施形態における撮像素子の構成を説明するための図である。It is a figure for demonstrating the structure of the image pick-up element in embodiment of this invention. 本発明の実施形態における画素アレイの一部を示す等価回路図である。It is an equivalent circuit diagram which shows a part of pixel array in embodiment of this invention. 本発明の実施形態における信号の読み出しのタイミングを示す図である。It is a figure which shows the timing of the reading of the signal in embodiment of this invention. 本発明の実施形態における2つのPDとGの色相のカラーフィルタとを有する画素の信号の補間を示す図である。It is a figure which shows the interpolation of the signal of the pixel which has two PD and the color filter of G hue in embodiment of this invention. 本発明の実施形態における2つのPDとRの色相のカラーフィルタとを有する画素の信号の補間を示す図である。It is a figure which shows the interpolation of the signal of the pixel which has two color filters and color filter of the hue of R in embodiment of this invention. 本発明の実施形態における4つのPDとGの色相のカラーフィルタとを有する画素の信号の補間を示す図である。It is a figure which shows the interpolation of the signal of the pixel which has four PD and the color filter of the hue of G in embodiment of this invention. 本発明の実施形態を説明するためのフローチャートである。It is a flowchart for demonstrating embodiment of this invention.

以下では、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。なお、以下の実施形態は本発明を実施するための一例にすぎず、本発明は図示された構成に限定されるものではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the following embodiment is only an example for implementing this invention, and this invention is not limited to the structure shown in figure.

以下、図面を参照して、本発明の実施形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の実施形態に係る撮像装置の構成を示すブロック図である。同図において、撮像素子100は、撮像光学系で形成された被写体の光学像を電気信号に光電変換する。撮像素子100は後述するCPU(中央処理装置)103等によって制御され、静止画または動画を撮像する。また、後述するように、撮像素子は、複数色からなるカラーフィルタに覆われている。AFE(アナログフロントエンド)101は、撮像素子100から出力されたアナログの画像信号に対して、ゲイン調整や所定の量子化ビットに対応してデジタル変換を行う。TG(タイミングジェネレータ)102は、撮像素子100およびAFE101の駆動タイミングを制御する。本実施形態では、撮像素子100の外部にAFE101、TG102を配置しているが、それらは撮像素子内に内蔵される構成であってもかまわない。   FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention. In the figure, an image sensor 100 photoelectrically converts an optical image of a subject formed by an imaging optical system into an electrical signal. The image sensor 100 is controlled by a CPU (Central Processing Unit) 103, which will be described later, and captures a still image or a moving image. As will be described later, the image sensor is covered with a color filter composed of a plurality of colors. An AFE (analog front end) 101 performs digital conversion on an analog image signal output from the image sensor 100 in accordance with gain adjustment or a predetermined quantization bit. A TG (timing generator) 102 controls the drive timing of the image sensor 100 and the AFE 101. In the present embodiment, the AFE 101 and the TG 102 are arranged outside the image sensor 100, but they may be configured to be built in the image sensor.

上述のように、CPU103は撮像素子の各部を制御するためのプログラムを実行する。操作部104は、撮像命令や撮像条件等の設定をCPU103に対して行う。表示部105は、撮像した静止画像や動画像およびメニュー等の表示を行うディスプレイである。RAM106は、AFE101でデジタル変換された画像データや、後述の画像処理部108で処理された画像データを記憶する画像データ記憶手段の機能と、CPU103が動作を行う際のワークメモリの機能を兼備する。なお、本実施形態では、これらの機能を、RAM106を用いて行うようにしているが、アクセス速度が十分に速くて動作上問題のないレベルのメモリであれば、他のメモリを適用することも可能である。ROM107は、CPU103が各部の動作を制御するためにロードして実行するプログラムを格納する。また、撮像素子100に関する欠陥である光電変換部や信号の飽和レベルなどの情報も、工場出荷時から、ROM107に格納されている。なお、ここでいう欠陥である光電変換部とは、光電変換部の構成自体に欠陥があるものだけでなく、光電変換部に接続される回路に欠陥があるものも含む。すなわち、結果的に出力される信号が正常ではないとみなされる光電変換部を、欠陥である光電変換部ということとする。ここで、本実施形態では、フラッシュメモリを示すが、これは一例であり、アクセス速度が十分に速くて動作上問題のないレベルのメモリであれば、他のメモリを適用することも可能である。画像処理部108は、撮像された静止画または動画の補正や圧縮等の処理を行う。また、後述するA像データとB像データへの分離機能や、画像の補正機能や、静止画像、動画像の生成機能を備える。   As described above, the CPU 103 executes a program for controlling each unit of the image sensor. The operation unit 104 sets an imaging command, imaging conditions, and the like for the CPU 103. The display unit 105 is a display that displays captured still images, moving images, menus, and the like. The RAM 106 has a function of an image data storage unit that stores image data digitally converted by the AFE 101 and image data processed by an image processing unit 108 described later, and a function of a work memory when the CPU 103 operates. . In this embodiment, these functions are performed using the RAM 106, but other memories may be applied as long as the access speed is sufficiently high and there is no problem in operation. Is possible. The ROM 107 stores a program that the CPU 103 loads and executes in order to control the operation of each unit. Information such as a photoelectric conversion unit and a signal saturation level, which are defects related to the image sensor 100, is also stored in the ROM 107 from the time of factory shipment. In addition, the photoelectric conversion part which is a defect here includes not only a part having a defect in the configuration itself of the photoelectric conversion part but also a part having a defect in a circuit connected to the photoelectric conversion part. That is, a photoelectric conversion unit that is regarded as a signal that is output as a result is regarded as a defective photoelectric conversion unit. Here, in the present embodiment, a flash memory is shown, but this is only an example, and other memories can be applied as long as the access speed is sufficiently high and there is no problem in operation. . The image processing unit 108 performs processing such as correction and compression of a captured still image or moving image. In addition, a function for separating A image data and B image data, a function for correcting images, and a function for generating still images and moving images, which will be described later, are provided.

AF演算部109は、相関演算部120から出力される相関演算の結果を用いて、フォーカスレンズの駆動量を算出する。フラッシュメモリ110は、静止画データおよび動画データを記録するための、着脱可能なフラッシュメモリである。本実施形態では、記録媒体としてフラッシュメモリを適用しているが、その他のデータ書き込み可能な不揮発メモリでもよい。また、これらのメモリを内蔵した形態でもよい。   The AF calculation unit 109 calculates the driving amount of the focus lens using the correlation calculation result output from the correlation calculation unit 120. The flash memory 110 is a detachable flash memory for recording still image data and moving image data. In this embodiment, a flash memory is applied as a recording medium, but other data writable nonvolatile memory may be used. Moreover, the form which incorporated these memories may be sufficient.

フォーカルプレーンシャッタ111は、静止画撮像時に露光秒時を調節する。本実施形態では、フォーカルプレーンシャッタ111にて撮像素子100の露光秒時を調節する構成であるが、これに限られるものではなく、撮像素子100が電子シャッタ機能を有し、制御パルスで露光秒時を調節する構成であってもよい。フォーカス駆動回路112は、光学系の焦点位置を変更するものであり、AF演算部109の焦点検出結果に基づいてフォーカスアクチュエータ114の駆動を制御し、第3レンズ119を光軸方向に進退駆動して焦点調節を行う。絞り駆動回路113は、絞りアクチュエータ115の駆動を制御して絞り117の開口径を制御する。第1レンズ116は、撮像光学系(共通光学系)の先端に配置され、光軸方向に進退可能に保持される。絞り117は、その開口径を調節することで撮像時の光量を調節する。そして、絞り117および第2レンズ118は一体となって光軸方向に進退し、第1レンズ116の進退動作との連動により、変倍作用(ズーム機能)を実現する。第3レンズ119は、光軸方向の進退により、撮像光学系の焦点を調節する。相関演算部120は、撮像素子100から出力される画素信号を用いて相関演算を行う。   The focal plane shutter 111 adjusts the exposure time when capturing a still image. In this embodiment, the exposure time of the image sensor 100 is adjusted by the focal plane shutter 111. However, the present invention is not limited to this. The image sensor 100 has an electronic shutter function, and the exposure time is controlled by a control pulse. The structure which adjusts time may be sufficient. The focus drive circuit 112 changes the focal position of the optical system, controls the drive of the focus actuator 114 based on the focus detection result of the AF calculation unit 109, and drives the third lens 119 forward and backward in the optical axis direction. Adjust the focus. The aperture driving circuit 113 controls the aperture diameter of the aperture 117 by controlling the driving of the aperture actuator 115. The first lens 116 is disposed at the tip of the imaging optical system (common optical system) and is held so as to be able to advance and retreat in the optical axis direction. The diaphragm 117 adjusts the light amount at the time of imaging by adjusting the aperture diameter. The diaphragm 117 and the second lens 118 integrally move forward and backward in the optical axis direction, and realize a zooming function (zoom function) in conjunction with the forward and backward movement of the first lens 116. The third lens 119 adjusts the focal point of the imaging optical system by advancing and retreating in the optical axis direction. The correlation calculation unit 120 performs correlation calculation using the pixel signal output from the image sensor 100.

図2は、撮像素子100の構成を説明するための図である。図2(a)は、撮像素子100の構成を示す。図2(a)において、撮像素子は、画素が2次元に配列された画素アレイ100aと、画素アレイ100aの画素の行を選択する垂直走査回路100d、画素アレイ100aの画素の列を選択する水平走査回路100cを持つ。また、撮像素子100はさらに、画素アレイ100aの画素のうち、垂直走査回路100dおよび水平走査回路100cによって選択される画素の信号を読み出すための読み出し回路100bを備える。垂直走査回路100dは、画素アレイ100aの行を選択し、CPU103から出力される水平同期信号に基づいたTG102から出力される読み出しパルスを、選択行において有効にする。読み出し回路100bは列毎に設けられたアンプやメモリを有し、走査行の画素信号を、アンプを介してメモリに格納する。メモリに格納された1行分の画素信号は、水平走査回路100cによって列方向に順に選択され、出力回路100eを介して外部に出力される。この動作を繰り返し、すべての画素の信号を外部に出力する。   FIG. 2 is a diagram for explaining the configuration of the image sensor 100. FIG. 2A shows the configuration of the image sensor 100. In FIG. 2A, the imaging device includes a pixel array 100a in which pixels are two-dimensionally arranged, a vertical scanning circuit 100d that selects a row of pixels in the pixel array 100a, and a horizontal that selects a column of pixels in the pixel array 100a. It has a scanning circuit 100c. The image sensor 100 further includes a readout circuit 100b for reading out signals of pixels selected by the vertical scanning circuit 100d and the horizontal scanning circuit 100c among the pixels of the pixel array 100a. The vertical scanning circuit 100d selects a row of the pixel array 100a, and validates a readout pulse output from the TG 102 based on the horizontal synchronization signal output from the CPU 103 in the selected row. The readout circuit 100b includes an amplifier and a memory provided for each column, and stores the pixel signal of the scanning row in the memory via the amplifier. The pixel signals for one row stored in the memory are sequentially selected in the column direction by the horizontal scanning circuit 100c and output to the outside through the output circuit 100e. This operation is repeated to output all pixel signals to the outside.

撮像素子100の画素アレイ100aを図2(b)に示す。図2(b)において、マイクロレンズアレイは、水平方向にh個、垂直方向にv個配置されたマイクロレンズ100fを含む。PD(フォトダイオード)100h、100gは光電変換を行う光電変換部として、後述するA像用光電変換部、B像用光電変換部を構成する。各画素は、PD2つに対して1つのマイクロレンズ100fが上部に配置される構成となっている。すなわち、各画素は、1つのマイクロレンズに対して光電変換部を複数備える。マイクロレンズ100fを共有している2つのPDで1画素を構成する場合、画素アレイ100aは水平方向にh個、垂直方向にv個の画素を含む。PD100hとPD100gで蓄積された信号は、後述する画素転送動作によって、同時または独立に電圧に信号に変換され、前述した読出し動作によって外部に出力される。PD100hとPD100gは、瞳分割構成となっており、互いに位相差を持った別々の像が入射される。そのため、PD100hとPD100gの信号を独立に読み出し、前述の相関演算部120において相関演算処理を行い、その結果を用いて前述のAF演算部109でフォーカスレンズの駆動量を計算することができる。ここではPD100hをA像用光電変換部、PD100gをB像用光電変換部とする。図2(b)では、マイクロレンズ1つに対してPDが2つ配置される構成であるが、これに限られるものではない。マイクロレンズ1つに対してPDが上下または左右に複数配置される構成であっても本発明を適用することができ、または4つ以上に瞳分割することもできる。たとえば、図2(c)では、PDが4つ配置される例を示している。画素100iは、PD100j、PD100k、PD100mおよびPD100nを有する。PD100j、PD100k、PD100mおよびPD100nには、それぞれ異なる位相の像が入射し、別々に信号を読み出すことが可能である。もしくは、状況に応じ、PD100jとPD100kの信号を加算して読み出し、PD100mとPD100nの信号を加算して読み出すことで、水平方向の位相差を相関演算部120での演算を経て取得することができる。または、PD100jとPD100mの信号を加算して読み出し、PD100kとPD100nの信号を加算して読み出すことで、垂直方向の位相差を相関演算部120での演算を経て取得することができる。このように、PDから得られた信号を位相差検出のために使うことができる。図2(d)は、マイクロレンズのカラーフィルタを示す図である。図2(d)での1マスは、1つのマイクロレンズに対応するカラーフィルタを意味する。マイクロレンズに書いてある「R」、「B」および「G」の文字は、カラーフィルタの色相を表しており、それぞれ「赤」、「青」および「緑」に相当する。本実施形態では、図2(d)で示したように、ベイヤー配列のカラーフィルタに基づいて説明するが、この限りでなく、たとえばイエロー、マゼンダ、シアン、グリーンの4つの色相が2×2に配置されたカラーフィルタなどを用いても実施できる。   A pixel array 100a of the image sensor 100 is shown in FIG. In FIG. 2 (b), the microlens array includes microlenses 100f arranged in h in the horizontal direction and v in the vertical direction. PDs (photodiodes) 100h and 100g constitute an A image photoelectric conversion unit and a B image photoelectric conversion unit, which will be described later, as photoelectric conversion units that perform photoelectric conversion. Each pixel has a configuration in which one microlens 100f is disposed on the top of two PDs. That is, each pixel includes a plurality of photoelectric conversion units for one microlens. When one pixel is constituted by two PDs sharing the microlens 100f, the pixel array 100a includes h pixels in the horizontal direction and v pixels in the vertical direction. Signals accumulated in the PDs 100h and 100g are converted into voltages simultaneously or independently by a pixel transfer operation described later, and output to the outside by the above-described readout operation. The PD 100h and the PD 100g have a pupil division configuration, and separate images having a phase difference from each other are incident. Therefore, the signals of the PDs 100h and PD100g can be read independently, the correlation calculation unit 120 can perform correlation calculation processing, and the AF calculation unit 109 can calculate the driving amount of the focus lens using the result. Here, PD100h is an A image photoelectric conversion unit, and PD100g is a B image photoelectric conversion unit. In FIG. 2B, two PDs are arranged for one microlens, but the present invention is not limited to this. The present invention can be applied to a configuration in which a plurality of PDs are arranged vertically or horizontally with respect to one microlens, or the pupil can be divided into four or more. For example, FIG. 2C shows an example in which four PDs are arranged. The pixel 100i includes a PD 100j, a PD 100k, a PD 100m, and a PD 100n. Images having different phases are incident on the PD 100j, PD 100k, PD 100m, and PD 100n, and signals can be read out separately. Alternatively, depending on the situation, the signals of PD100j and PD100k are added and read out, and the signals of PD100m and PD100n are added and read out, so that the phase difference in the horizontal direction can be obtained through the calculation in the correlation calculation unit 120. . Alternatively, the phase difference in the vertical direction can be obtained through the calculation in the correlation calculation unit 120 by adding and reading the signals of PD100j and PD100m and adding and reading the signals of PD100k and PD100n. Thus, the signal obtained from the PD can be used for phase difference detection. FIG. 2D is a diagram illustrating a color filter of a microlens. One square in FIG. 2D means a color filter corresponding to one microlens. The letters “R”, “B”, and “G” written on the microlens represent the hue of the color filter, and correspond to “red”, “blue”, and “green”, respectively. In the present embodiment, as shown in FIG. 2D, the description will be made based on a Bayer color filter, but the present invention is not limited to this. For example, four hues of yellow, magenta, cyan, and green are 2 × 2. It can also be implemented using a color filter arranged.

以下においては、マイクロレンズ1つに対してPDが2つ配置される構成を用いて実施形態を説明する。図3は、画素アレイ100aに設けられた複数の画素のうち、隣り合う2行(j行と(j+1)行)、2列(i列と(i+1)列)分の画素と、2列(i列と(i+1)列)分の読み出し回路100bの構成を示す等価回路図である。   In the following, the embodiment will be described using a configuration in which two PDs are arranged for one microlens. FIG. 3 shows two adjacent rows (j rows and (j + 1) rows), two columns (i columns and (i + 1) columns), and two columns (a plurality of pixels provided in the pixel array 100a). It is an equivalent circuit diagram showing a configuration of the read circuit 100b for i columns and (i + 1) columns).

j行目の画素301の転送スイッチ302aには制御信号ΦTXA(j)が入力され、転送スイッチ302bのゲートには、制御信号ΦTXB(j)が入力される。リセットスイッチ304は、リセット信号ΦR(j)により制御され、行選択スイッチ306は、行選択信号ΦS(j)によって制御される。同様に、(j+1)行目の画素は、制御信号ΦTXA(j+1)およびΦTXB(j+1)、リセット信号ΦR(j+1)、および行選択信号ΦS(j+1)により制御される。なお、制御信号ΦTXA(j)およびΦTXB(j)、リセット信号ΦR(j)、行選択信号ΦS(j)は、垂直走査回路100dにより制御される。   The control signal ΦTXA (j) is input to the transfer switch 302a of the pixel 301 in the j-th row, and the control signal ΦTXB (j) is input to the gate of the transfer switch 302b. The reset switch 304 is controlled by a reset signal ΦR (j), and the row selection switch 306 is controlled by a row selection signal ΦS (j). Similarly, the pixels in the (j + 1) th row are controlled by control signals ΦTXA (j + 1) and ΦTXB (j + 1), a reset signal ΦR (j + 1), and a row selection signal ΦS (j + 1). Note that the control signals ΦTXA (j) and ΦTXB (j), the reset signal ΦR (j), and the row selection signal ΦS (j) are controlled by the vertical scanning circuit 100d.

また、画素列毎に垂直信号線308を設けており、各々の垂直信号線308は、各列に設けられた読み出し回路100bの電流源307および転送スイッチ310a、310bに接続される。   A vertical signal line 308 is provided for each pixel column, and each vertical signal line 308 is connected to a current source 307 and transfer switches 310a and 310b of the readout circuit 100b provided in each column.

転送スイッチ310aのゲートには制御信号ΦTNが入力され、転送スイッチ310bのゲートには制御信号ΦTSが入力される。また、転送スイッチ312aおよび転送スイッチ312bのゲートには、水平走査回路100cから出力される制御信号ΦPH(i)が入力される。蓄積容量部311aは、転送スイッチ310aがオン状態で転送スイッチ312aがオフ状態にあるときに、垂直信号線308の出力を蓄積する。同様に、蓄積容量部311bは、転送スイッチ310bがオン状態で転送スイッチ312bがオフ状態にあるときに、垂直信号線308の出力を蓄積する。   A control signal ΦTN is input to the gate of the transfer switch 310a, and a control signal ΦTS is input to the gate of the transfer switch 310b. The control signal ΦPH (i) output from the horizontal scanning circuit 100c is input to the gates of the transfer switch 312a and the transfer switch 312b. The storage capacitor unit 311a stores the output of the vertical signal line 308 when the transfer switch 310a is on and the transfer switch 312a is off. Similarly, the storage capacitor unit 311b stores the output of the vertical signal line 308 when the transfer switch 310b is on and the transfer switch 312b is off.

水平走査回路100cの列選択信号ΦPH(i)によりi列目の転送スイッチ312aと転送スイッチ312bとをオン状態にすることで、蓄積容量部311aおよび蓄積容量部311bの出力がそれぞれ別の水平出力線を介して出力回路100eに転送される。   By turning on the transfer switch 312a and the transfer switch 312b of the i-th column by the column selection signal ΦPH (i) of the horizontal scanning circuit 100c, the outputs of the storage capacitor unit 311a and the storage capacitor unit 311b are different horizontal outputs. It is transferred to the output circuit 100e via the line.

上記構成を有する撮像素子100から信号を読み出す読み出し動作として、加算読み出し動作(第1の読み出し動作)と、分割読み出し動作(第2の読み出し動作)とを選択的に行うことが可能である。以下、加算読み出し動作と分割読み出し動作について説明する。なお、本実施形態では、各制御信号がH(high)の状態の時に各スイッチがオン、L(low)の時にオフとなるものとして説明する。   As a read operation for reading a signal from the image sensor 100 having the above configuration, an addition read operation (first read operation) and a divided read operation (second read operation) can be selectively performed. Hereinafter, the addition reading operation and the divided reading operation will be described. In the present embodiment, it is assumed that each switch is turned on when each control signal is in an H (high) state and turned off when each control signal is in an L (low) state.

<加算読み出し動作>(第1の読み出し動作)
図4(a)は、加算読み出し動作により撮像素子100のj行目の画素から信号を読み出す動作のタイミングを示している。時刻T1において、リセット信号ΦR(j)がHになる。次に、時刻T2において、制御信号ΦTXA(j)とΦTXB(j)がHになると、j行目の画素100fのPD100h、100gがリセットされる。
<Addition read operation> (first read operation)
FIG. 4A shows the timing of an operation for reading a signal from the pixel in the j-th row of the image sensor 100 by the addition reading operation. At time T1, the reset signal ΦR (j) becomes H. Next, when the control signals ΦTXA (j) and ΦTXB (j) become H at time T2, the PDs 100h and 100g of the pixel 100f in the j-th row are reset.

次に、時刻T3で制御信号ΦTXA(j)とΦTXB(j)がLになると、PD100h、100gは電荷蓄積を開始する。続いて、時刻T4で行選択信号ΦS(j)がHになると、行選択スイッチ306がオン状態となって垂直信号線308に接続され、ソースフォロアアンプ305が動作状態となる。   Next, when the control signals ΦTXA (j) and ΦTXB (j) become L at time T3, the PDs 100h and 100g start to accumulate charges. Subsequently, when the row selection signal ΦS (j) becomes H at time T4, the row selection switch 306 is turned on and connected to the vertical signal line 308, and the source follower amplifier 305 is in an operating state.

次に、時刻T5でリセット信号ΦR(j)がLにされた後、時刻T6で制御信号ΦTNがHになると、転送スイッチ310aがオン状態となり、垂直信号線308上のリセット解除後の信号(ノイズ信号)が蓄積容量部311aに転送される。   Next, when the reset signal ΦR (j) is set to L at time T5 and then the control signal ΦTN is set to H at time T6, the transfer switch 310a is turned on, and the signal after reset release on the vertical signal line 308 ( Noise signal) is transferred to the storage capacitor 311a.

次に、時刻T7で制御信号ΦTNがLにされ、蓄積容量部311aにノイズ信号が保持される。その後、時刻T8で制御信号ΦTXA(j)とΦTXB(j)がHになると、PD100h、100gの電荷がFD領域(フローティングディフュージョン領域)303に転送される。このとき、2つのPD100h、100gの電荷が同じFD領域303に転送されるので、2つのPD100h、100gの電荷が混合された信号(1画素分の光信号+ノイズ信号)が垂直信号線308に出力される。   Next, at time T7, the control signal ΦTN is set to L, and the noise signal is held in the storage capacitor portion 311a. Thereafter, when the control signals ΦTXA (j) and ΦTXB (j) become H at time T8, the charges of the PDs 100h and 100g are transferred to the FD region (floating diffusion region) 303. At this time, since the charges of the two PDs 100h and 100g are transferred to the same FD region 303, a signal in which the charges of the two PDs 100h and 100g are mixed (an optical signal for one pixel + noise signal) is transmitted to the vertical signal line 308. Is output.

続いて時刻T9で制御信号ΦTXA(j)とΦTXB(j)がLにされる。その後、時刻T10で制御信号ΦTSがHになると、転送スイッチ310bがオン状態になり、垂直信号線308上の信号(1画素分の光信号+ノイズ信号)が蓄積容量部311bに転送される。次に時刻T11で制御信号ΦTSがLにされ、蓄積容量部311bに1画素分の光信号+ノイズ信号が保持された後、時刻T12で行選択信号ΦS(j)がLにされる。   Subsequently, at time T9, the control signals ΦTXA (j) and ΦTXB (j) are set to L. Thereafter, when the control signal ΦTS becomes H at time T10, the transfer switch 310b is turned on, and a signal on the vertical signal line 308 (an optical signal for one pixel + a noise signal) is transferred to the storage capacitor 311b. Next, the control signal ΦTS is set to L at time T11, and the optical signal + noise signal for one pixel is held in the storage capacitor 311b, and then the row selection signal ΦS (j) is set to L at time T12.

この後、水平走査回路100cの列選択信号ΦPHによって、第1画素列から最終画素列まで転送スイッチ312a、312bが順にHにされる。これにより、蓄積容量部311aのノイズ信号と、311bの1画素分の光信号+ノイズ信号がそれぞれ異なる水平出力線を介して出力回路100eに転送される。出力回路100eでは、この2つの水平出力線の差分(1画素分の光信号)を算出し、これに所定ゲインを乗じた信号を出力する。以下、上述した加算読み出し動作により得られた信号を、「第1の加算信号」と呼ぶ。   Thereafter, the transfer switches 312a and 312b are sequentially set to H from the first pixel column to the final pixel column by the column selection signal ΦPH of the horizontal scanning circuit 100c. As a result, the noise signal of the storage capacitor unit 311a and the light signal + noise signal for one pixel of 311b are transferred to the output circuit 100e via different horizontal output lines. The output circuit 100e calculates a difference (optical signal for one pixel) between the two horizontal output lines and outputs a signal obtained by multiplying the difference by a predetermined gain. Hereinafter, the signal obtained by the above-described addition reading operation is referred to as a “first addition signal”.

<分割読み出し動作>(第2の読み出し動作)
次に、分割読み出し動作について図4(b)を用いて説明する。図4(b)は、分割読み出し動作により撮像素子100のj行目の画素から信号を読み出す動作のタイミングを示している。時刻T1においてリセット信号ΦR(j)がHにされる。続いて、時刻T2においてΦTXA(j)とΦTXB(j)がHになると、j行目の画素301のPD100h、100gがリセットされる。次に、時刻T3で制御信号ΦTXA(j)とΦTXB(j)がLになると、PD100h、100gは電荷蓄積を開始する。続いて、時刻T4で行選択信号ΦS(j)がHとなると、行選択スイッチ306がオン状態となって垂直信号線308に接続され、ソースフォロアアンプ305が動作状態となる。
<Division read operation> (second read operation)
Next, the divided read operation will be described with reference to FIG. FIG. 4B shows the timing of an operation for reading a signal from the pixel in the j-th row of the image sensor 100 by the divided readout operation. At time T1, the reset signal ΦR (j) is set to H. Subsequently, when ΦTXA (j) and ΦTXB (j) become H at time T2, the PDs 100h and 100g of the pixels 301 in the j-th row are reset. Next, when the control signals ΦTXA (j) and ΦTXB (j) become L at time T3, the PDs 100h and 100g start to accumulate charges. Subsequently, when the row selection signal ΦS (j) becomes H at time T4, the row selection switch 306 is turned on and connected to the vertical signal line 308, and the source follower amplifier 305 is in an operating state.

時刻T5でリセット信号ΦR(j)がLにされた後、時刻T6で制御信号ΦTNがHになると、転送スイッチ310aがオン状態となり、垂直信号線308上のリセット解除後の信号(ノイズ信号)が蓄積容量部311aに転送される。   After the reset signal ΦR (j) is set to L at time T5, when the control signal ΦTN becomes H at time T6, the transfer switch 310a is turned on, and a signal (noise signal) after the reset is released on the vertical signal line 308. Is transferred to the storage capacitor unit 311a.

次に、時刻T7で制御信号ΦTNがLにされ、蓄積容量部311aにノイズ信号が保持された後、時刻T8でΦTXA(j)がHになると、PD100hの電荷がFD領域303に転送される。このとき、2つのPD100h、100gのうち一方(ここではPD100h)の電荷をFD領域303に転送するので、PD100hの電荷に応じた信号だけが垂直信号線308に出力される。   Next, when the control signal ΦTN is set to L at time T7 and the noise signal is held in the storage capacitor portion 311a, and then ΦTXA (j) becomes H at time T8, the charge of the PD 100h is transferred to the FD region 303. . At this time, one of the two PDs 100h and 100g (here, PD100h) is transferred to the FD region 303, so that only a signal corresponding to the charge of the PD 100h is output to the vertical signal line 308.

次に、時刻T9で制御信号ΦTXA(j)がLにされた後、時刻T10で制御信号ΦTSがHになると、転送スイッチ310bがオン状態になり、垂直信号線308上の信号(1PD分の光信号+ノイズ信号)が蓄積容量部311bに転送される。次に時刻T11で制御信号ΦTSがLにされる。   Next, after the control signal ΦTXA (j) is set to L at time T9, when the control signal ΦTS becomes H at time T10, the transfer switch 310b is turned on, and the signal on the vertical signal line 308 (for 1 PD) Light signal + noise signal) is transferred to the storage capacitor 311b. Next, the control signal ΦTS is set to L at time T11.

この後、水平走査回路100cの列選択信号ΦPHによって、第1画素列から最終画素列まで転送スイッチ312a、312bが順にHにされる。これにより、蓄積容量部311aのノイズ信号と、311bの1PD分の光信号+ノイズ信号がそれぞれ別の水平出力線で出力回路100eに転送される。出力回路100eでは、この2つの水平出力線の差分(1PD分の光信号)を算出し、これに所定ゲインを乗じた信号を出力する。以下、上述した読み出し動作により得られた信号を、「分割信号」と呼ぶ。   Thereafter, the transfer switches 312a and 312b are sequentially set to H from the first pixel column to the final pixel column by the column selection signal ΦPH of the horizontal scanning circuit 100c. As a result, the noise signal of the storage capacitor unit 311a and the light signal + noise signal for 1PD of 311b are transferred to the output circuit 100e through separate horizontal output lines. The output circuit 100e calculates a difference (optical signal for 1 PD) between the two horizontal output lines and outputs a signal obtained by multiplying the difference by a predetermined gain. Hereinafter, a signal obtained by the above-described reading operation is referred to as a “divided signal”.

その後、時刻T12でΦTXA(j)およびΦTXB(j)がHとなり、先に転送したPD100hの電荷に加えて、更にPD100gの電荷と新たに発生したPD100hの電荷とがFD領域303に転送される。このとき、2つのPD100h、100gの電荷が同じFD領域303に転送されるので、2つのPD100h、100gの電荷が混合された信号(1画素分の光信号+ノイズ信号)が垂直信号線308に出力される。   Thereafter, at time T12, ΦTXA (j) and ΦTXB (j) become H, and in addition to the charge of the previously transferred PD100h, the charge of the PD100g and the newly generated charge of the PD100h are transferred to the FD region 303. . At this time, since the charges of the two PDs 100h and 100g are transferred to the same FD region 303, a signal in which the charges of the two PDs 100h and 100g are mixed (an optical signal for one pixel + noise signal) is transmitted to the vertical signal line 308. Is output.

続いて時刻T13で制御信号ΦTXA(j)とΦTXB(j)がLにされた後、時刻T14で制御信号ΦTSがHになると、転送スイッチ310bがオン状態になる。これにより、垂直信号線308上の信号(1画素分の光信号+ノイズ信号)蓄積容量部311bに転送される。   Subsequently, after the control signals ΦTXA (j) and ΦTXB (j) are set to L at time T13, when the control signal ΦTS becomes H at time T14, the transfer switch 310b is turned on. As a result, the signal on the vertical signal line 308 (an optical signal for one pixel + noise signal) is transferred to the storage capacitor 311b.

次に時刻T15で制御信号ΦTSがLにされ、蓄積容量部311bに1画素分の光信号+ノイズ信号が保持された後、時刻T16で行選択信号ΦS(j)がLにされる。   Next, the control signal ΦTS is set to L at time T15, and the optical signal + noise signal for one pixel is held in the storage capacitor 311b, and then the row selection signal ΦS (j) is set to L at time T16.

この後、水平走査回路100cの列選択信号ΦPHによって、第1画素列から最終画素列まで転送スイッチ312a、312bが順にHにされる。これにより、蓄積容量部311a、311bのノイズ信号と、1画素分の光信号+ノイズ信号がそれぞれ異なる水平出力線で出力回路100eに転送される。出力回路100eでは、この2つの水平出力線の差分(1画素分の光信号)を算出し、これに所定のゲインを乗じた信号を出力する。以下、上記読み出し動作により得られた信号を、第1の加算信号と区別するために、「第2の加算信号」と呼ぶ。   Thereafter, the transfer switches 312a and 312b are sequentially set to H from the first pixel column to the final pixel column by the column selection signal ΦPH of the horizontal scanning circuit 100c. As a result, the noise signals of the storage capacitors 311a and 311b and the light signal plus noise signal for one pixel are transferred to the output circuit 100e through different horizontal output lines. The output circuit 100e calculates a difference (optical signal for one pixel) between the two horizontal output lines and outputs a signal obtained by multiplying the difference by a predetermined gain. Hereinafter, the signal obtained by the read operation is referred to as a “second addition signal” in order to distinguish it from the first addition signal.

このようにして読み出した第2の加算信号から、一方のPD100hに対応する分割信号を差し引くことで、他方のPD100gに対応する分割信号を得ることができる。このようにして得られた一対の分割信号を「焦点検出用信号」と呼ぶ。そして、得られた焦点検出用信号に対して公知の相関演算を行うことにより、信号間の位相差を算出することができる。   A divided signal corresponding to the other PD 100g can be obtained by subtracting the divided signal corresponding to one PD 100h from the second addition signal read in this way. The pair of divided signals obtained in this way are called “focus detection signals”. Then, by performing a known correlation operation on the obtained focus detection signal, the phase difference between the signals can be calculated.

上記の分割読み出し動作と加算読み出し動作とは、同じ画素に対しても、必要に応じて、切り替えることができる。ただし、本実施形態では、補間の対象となる画素と後述する周辺画素とにおいては、分割読み出し動作が行われるものとする。   The divided readout operation and the addition readout operation can be switched as necessary for the same pixel. However, in this embodiment, it is assumed that a divided readout operation is performed on a pixel to be interpolated and a peripheral pixel to be described later.

なお、リセット、電荷の蓄積、および、信号の読み出しという一連の動作をPD100hに対して行った後、同様の動作をPD100gに対して行うことで、1回の電荷蓄積動作に対して2つのPD100h、100gの信号を独立に読み出すようにしてもよい。このようにして2回に分けて読み出したPD100h、100gの信号は、加算することで第2の加算信号を得ることができる。また、以上にも述べたように、マイクロレンズ1つに対して2つのPDが配置される構成に限られるものではなく、3つ以上のPDを有する構成であっても同様の考え方で複数回に分けて信号を読みだすことが可能である。   In addition, after performing a series of operations such as reset, charge accumulation, and signal readout on the PD 100h, the same operation is performed on the PD 100g, so that two PDs 100h for one charge accumulation operation. , 100 g of signals may be read independently. The signals of PDs 100h and 100g read out in two steps in this way can be added to obtain a second addition signal. In addition, as described above, the configuration is not limited to the configuration in which two PDs are arranged for one microlens, and even in a configuration having three or more PDs, the same concept can be used multiple times. It is possible to read the signal separately.

<欠陥のある光電変換部から読み出された信号の補間方法>
次に、本実施形態における欠陥がある光電変換部から読み出された信号の補間方法について説明する。図5は、マイクロレンズ1つに対して2つのPDが配置される構成で、1つの画素の1つのPDにのみ欠陥がある場合を示す図である。ここで、画素500の左に配置されているPD501に欠陥があり、正しい信号を取得できないため、このPD501の信号が補間の対象となる。これに対し同じ画素500の右に配置されているPD502には欠陥がないものとする。なお、各々の画素の上部に書いてある文字は、カラーフィルタの色相を表している。
<Interpolation method of signal read from defective photoelectric conversion unit>
Next, a method for interpolating signals read from defective photoelectric conversion units in the present embodiment will be described. FIG. 5 is a diagram illustrating a case where two PDs are arranged for one microlens and only one PD of one pixel has a defect. Here, since the PD 501 arranged on the left side of the pixel 500 has a defect and a correct signal cannot be acquired, the signal of the PD 501 becomes an interpolation target. In contrast, it is assumed that the PD 502 arranged on the right side of the same pixel 500 has no defect. Note that the characters written on the top of each pixel represent the hue of the color filter.

画像処理部108は、PD501の信号に対して、以下の(式1)で、周辺画素それぞれの2つの光電変換部の信号の加重平均の結果の比を用いて補間することができる。   The image processing unit 108 can interpolate the signal of the PD 501 by using the ratio of the result of the weighted average of the signals of the two photoelectric conversion units of each of the peripheral pixels according to the following (Equation 1).

Figure 2018019355
Figure 2018019355

上記の(式1)では、S501は補間によって得られるPD501の信号値を意味し、w1、w2、w3およびw4は、加重係数を表す。画像処理部108は、PD501を有する画素500の上下左右に配置された周辺画素510乃至540のそれぞれに含まれる2つのPDの信号値S511乃至S542と、画素500に含まれる他方のPD502との信号値S502を用いて補間する。具体的には、周辺画素510乃至540のそれぞれにおいてPD501と同じく左側にあるPD511、PD521、PD531およびPD541の信号値S511、S521、S531およびS541に対し、加重係数を掛けて加算した値を求める。さらに、周辺画素510乃至540のそれぞれにおいてPD501と反対側となる右側にあるPD512、PD522、PD532およびPD542の信号値S512、S522、S532およびS542に対して、加重係数を掛けて加算した値を求める。そして、左側のPDの信号値を用いて加重平均して得られた値と、右側のPDの信号値を用いて加重平均して得られた値との比を算出する。この比は、画素500を中心として複数画素を含む領域における、左側のPDと右側のPDの平均的な比率に相当する。そして、算出した比に、画素500の、正常な信号を出力するとみなされた右側のPD502の信号値に掛けて得られた値を、画素500の左側のPD501の信号の補間の値とする。   In the above (Equation 1), S501 means the signal value of PD501 obtained by interpolation, and w1, w2, w3, and w4 represent weighting coefficients. The image processing unit 108 includes two PD signal values S511 to S542 included in each of the peripheral pixels 510 to 540 arranged on the top, bottom, left, and right of the pixel 500 having the PD 501 and a signal from the other PD 502 included in the pixel 500. Interpolation is performed using the value S502. Specifically, in each of the peripheral pixels 510 to 540, a value obtained by multiplying the signal values S511, S521, S531, and S541 of the PD511, PD521, PD531, and PD541 on the left side in the same manner as the PD501 by applying a weighting coefficient is obtained. Further, in each of the peripheral pixels 510 to 540, a value obtained by multiplying the signal values S512, S522, S532, and S542 of the PD 512, PD 522, PD 532, and PD 542 on the right side opposite to the PD 501 by applying a weighting coefficient is obtained. . Then, a ratio between a value obtained by weighted averaging using the signal value of the left PD and a value obtained by weighted averaging using the signal value of the right PD is calculated. This ratio corresponds to an average ratio of the left PD and the right PD in a region including a plurality of pixels with the pixel 500 as the center. Then, a value obtained by multiplying the calculated ratio by the signal value of the right PD 502 of the pixel 500 that is considered to output a normal signal is set as an interpolation value of the signal of the PD 501 on the left side of the pixel 500.

ここで、加重係数w1乃至w4は、画素500の周囲の画素の状態や被写体に応じてその値を変更することより、補間の精度を向上させる役目を有している。例えば、周辺画素に欠陥のある画素が含まれている場合、この画素から得られたPDの信号値を用いて上記の比を求めてしまうと、周辺画素における平均的な比率から乖離した値となる場合がある。そのため、画像処理部108は、ROM107に記憶された欠陥の情報に基づき、欠陥があると判断された周辺画素から得られた信号値に与える加重係数を0に設定する。たとえば、画素500に含まれるPD511とPD512の少なくとも一方に欠陥があるときには、PD511とPD512から得られる信号値S511とS512に対する加重係数w1を0に設定する。   Here, the weighting factors w1 to w4 have a role of improving the accuracy of interpolation by changing the values according to the state of the pixels around the pixel 500 and the subject. For example, when a pixel having a defect is included in a peripheral pixel, if the above ratio is obtained using a PD signal value obtained from the pixel, a value deviating from an average ratio in the peripheral pixel There is a case. Therefore, the image processing unit 108 sets the weighting coefficient to be given to 0 based on the defect information stored in the ROM 107 to be given to the signal value obtained from the peripheral pixels determined to have a defect. For example, when at least one of PD 511 and PD 512 included in the pixel 500 is defective, the weighting coefficient w1 for the signal values S511 and S512 obtained from the PD 511 and PD 512 is set to zero.

あるいは、いずれかのPDから読み出した信号値が、ROM107に予め記憶された飽和レベルに達している場合には、このPDを含む画素から得られた信号値に対応する加重係数を0に設定する。少なくとも一方のPDから読み出した信号値が飽和していれば、そのPDから読み出された信号値は本来の被写体に応じた信号値よりも小さな値となっており、正しい値ではないため、精度の高い比の計算に用いることができないためである。   Alternatively, when the signal value read from any PD reaches the saturation level stored in advance in the ROM 107, the weighting coefficient corresponding to the signal value obtained from the pixel including this PD is set to 0. . If the signal value read from at least one PD is saturated, the signal value read from the PD is smaller than the signal value corresponding to the original subject and is not a correct value. This is because it cannot be used for calculation of a high ratio.

このように、上述した方法によれば、まず処理対象となる画素の周辺画素を用いて、同一のマイクロレンズに対応する複数のPD間の信号値の比を求める。そして、これを欠陥のあるPDと同一のマイクロレンズに対応する別のPDから得られた信号値に掛けることで、欠陥のあるPDの信号値を補間している。同一マイクロレンズに対応するPD間の信号値の比は、PDに入射する被写体上の領域の違いに起因するものであるため、この比を求める場合には、処理対象となる画素と異なる色相に対応する画素を用いることができる。そのため、(式1)に示したように、処理対象となる画素に隣接する、処理対象と異なる色相に対応する画素を用いてPD間の信号値の比を求めることが可能である。   Thus, according to the above-described method, first, the signal value ratio between a plurality of PDs corresponding to the same microlens is obtained using the peripheral pixels of the pixel to be processed. Then, by multiplying this by a signal value obtained from another PD corresponding to the same microlens as the defective PD, the signal value of the defective PD is interpolated. Since the ratio of signal values between PDs corresponding to the same microlens is due to the difference in the area on the subject incident on the PD, when obtaining this ratio, the hue is different from that of the pixel to be processed. Corresponding pixels can be used. Therefore, as shown in (Expression 1), it is possible to obtain the ratio of signal values between PDs using pixels adjacent to the pixel to be processed and corresponding to a hue different from that to be processed.

もちろん、下記の(式2)に示すように、画像処理部108は、周辺画素のうち処理対象の画素と同色画素に含まれる2つのPDから得られた信号値の加重平均して得られた値の比を用いて、欠陥のあるPDの信号値を補間することもできる。   Of course, as shown in (Formula 2) below, the image processing unit 108 is obtained by weighted averaging of signal values obtained from two PDs included in the same color pixel as the pixel to be processed among the peripheral pixels. It is also possible to interpolate defective PD signal values using the ratio of values.

Figure 2018019355
Figure 2018019355

上記の(式2)では、補間の対象となる画素500が色相Gに対応する場合には、画素500と同じ色相Gのカラーフィルタを有する画素の信号を用いて補間を行うものである。色相Gに対応する画素は、色相RおよびBに対応する画素よりも密度が高いため、同色画素を用いた場合であっても、補間の対象となる画素と周辺画素との距離が近く、精度の高い比を求めることができる。   In the above (Expression 2), when the pixel 500 to be interpolated corresponds to the hue G, interpolation is performed using a signal of a pixel having a color filter of the same hue G as the pixel 500. Since the pixels corresponding to the hue G have a higher density than the pixels corresponding to the hues R and B, even when the same color pixels are used, the distance between the pixel to be interpolated and the surrounding pixels is close, and the accuracy is high. A high ratio can be obtained.

次に、図6は、Rの色相のカラーフィルタを有する画素の左のPD601が欠陥であることを示す。画像処理部108は、PD601の信号に対して、以下の(式3)または(式4)を用いて補間することができる。   Next, FIG. 6 shows that the PD 601 on the left side of the pixel having the color filter of R hue is defective. The image processing unit 108 can interpolate the signal of the PD 601 using the following (Expression 3) or (Expression 4).

Figure 2018019355
Figure 2018019355

Figure 2018019355
Figure 2018019355

上記の(式3)では、S601は補間によって得られるPD601の信号を意味し、w1乃至w4は加重係数を表す。PD601を有する画素600の上下左右に配置されている周辺画素610乃至640のそれぞれにおいて、PD601と同じく左側にあるPD611乃至641の信号値S611乃至S644に対し、加重係数を掛けて加算した値を求める。さらに、周辺画素611乃至641のそれぞれにおいて、PD601と反対側となる右側にあるPD612乃至642の信号値S612乃至S642に対し、加重係数を掛けて加算した値を求める。そして、左側のPDの信号値を用いて加重平均して得られた値と、右側のPDの信号値を用いて加重平均して得られた値との比を算出する。そして、算出した比に、画素600の右側のPD602の信号S602に掛けて得られた値を、画素600の左側のPD601の信号の補間の値とする。   In the above (Equation 3), S601 means a PD601 signal obtained by interpolation, and w1 to w4 represent weighting coefficients. In each of the peripheral pixels 610 to 640 arranged on the top, bottom, left, and right of the pixel 600 having the PD 601, a value obtained by multiplying the signal values S 611 to S 644 of the PDs 611 to 641 on the left side like the PD 601 by applying a weighting coefficient is obtained. . Further, in each of the peripheral pixels 611 to 641, a value obtained by multiplying the signal values S612 to S642 of the PDs 612 to 642 on the right side opposite to the PD 601 by a weighting coefficient is obtained. Then, a ratio between a value obtained by weighted averaging using the signal value of the left PD and a value obtained by weighted averaging using the signal value of the right PD is calculated. Then, a value obtained by multiplying the calculated ratio by the signal S602 of the PD 602 on the right side of the pixel 600 is set as an interpolation value of the signal of the PD 601 on the left side of the pixel 600.

同様に、上記の(式4)のように、画像処理部108は、周辺画素のうち処理対象の画素と同色画素650、660、670および680に含まれる2つのPDから得られた信号値の加重平均して得られた値の比を用いて、欠陥のあるPDの信号値を補間することもできる。   Similarly, as in the above (Expression 4), the image processing unit 108 uses signal values obtained from two PDs included in the pixels 650, 660, 670, and 680 having the same color as the pixel to be processed among the peripheral pixels. It is also possible to interpolate a signal value of a defective PD using a ratio of values obtained by weighted averaging.

さらに、上記の(式3)と(式4)のどちらか一方を用いて補間を行うのでなく、両方用いてもよい。つまり、周辺画素610乃至680のそれぞれにおいて、PD601と同じく左側にあるPD611乃至681の信号値に対して、加重係数を掛けて加算した値を求める。さらに、周辺画素610乃至680のそれぞれにおいて、PD601と反対側になる右側にあるPD612乃至682の信号値に対して、加重係数を掛けて加算した値を求める。そして、左側のPDの信号値を用いて加重平均して得られた値と、右側のPDの信号値を用いて加重平均して得られた値との比を算出する。そして、算出した比に、画素600の右側のPD602の信号値に掛けて得られた値を、画素600の左側のPD601の信号の補間の値とする。   Furthermore, instead of performing interpolation using either one of (Equation 3) or (Equation 4), both may be used. That is, in each of the peripheral pixels 610 to 680, a value obtained by multiplying the signal value of the PDs 611 to 681 on the left side like the PD 601 by multiplying by the weighting coefficient is obtained. Further, in each of the peripheral pixels 610 to 680, a value obtained by multiplying the signal value of the PDs 612 to 682 on the right side opposite to the PD 601 by a weighting coefficient is obtained. Then, a ratio between a value obtained by weighted averaging using the signal value of the left PD and a value obtained by weighted averaging using the signal value of the right PD is calculated. Then, a value obtained by multiplying the calculated ratio by the signal value of the PD 602 on the right side of the pixel 600 is set as an interpolation value of the signal of the PD 601 on the left side of the pixel 600.

なお、画像処理部108は、(式3)と(式4)とを状況に応じて選べるように構成してもよい。例えば、補間の対象となる画素の中心とした5画素×5画素の領域を設定し、それぞれのカラーフィルタに対応する正常な光電変換部から読み出された信号値を用いて、それぞれのカラーフィルタに対応する信号値の平均値を求める。そして、いずれか1つのカラーフィルタに対応する信号値に平均値が、他のカラーフィルタに対応する信号値の平均値よりも、予め設定した閾値を超えて大きい場合には、(式4)を用いるようにし、それ以外の場合には(式3)を用いる。   Note that the image processing unit 108 may be configured to select (Equation 3) and (Equation 4) depending on the situation. For example, an area of 5 pixels × 5 pixels is set as the center of the pixel to be interpolated, and each color filter is used by using a signal value read from a normal photoelectric conversion unit corresponding to each color filter. The average value of the signal values corresponding to is obtained. If the average value of the signal values corresponding to any one of the color filters is larger than the average value of the signal values corresponding to the other color filters, exceeding a preset threshold value, (Expression 4) Otherwise, (Equation 3) is used.

これは、特定のカラーフィルタの信号値のみが大きい場合には、補正の対象となる画素と異なるカラーフィルタに対応する画素の信号値を用いて補間を行うと、精度が低下する可能性が高くなるためである。例えば、色相Rに対応する信号値の平均値のみが大きく、色相Gおよび色相Bに対応する信号値の平均値が小さい場合を考える。色相RについてはS/N比が大きいため、ノイズ成分の影響をほとんど受けずに左右のPD間の信号値の比を得ることができるが、色相Gおよび色相BはS/N比が小さくなるため、PD間の信号値の比を得る際にノイズ成分が大きく影響してしまう。このような場合には、色相Rに対応する画素に含まれる光電変換部の信号を補間するためには、色相Rに対応する周辺画素から得られたPD間の信号値の比を用いることが望ましい。反対に、それぞれの色相に対応する信号値の平均値が類似していれば、色相によってノイズ成分の影響の程度が大きく異なることはないため、色相GおよびBに対応する周辺画素から得られたPD間の信号値の比を用いてもよい。   This is because if only the signal value of a specific color filter is large, the accuracy is likely to deteriorate if interpolation is performed using a signal value of a pixel corresponding to a color filter different from the pixel to be corrected. Because it becomes. For example, consider a case where only the average value of the signal values corresponding to the hue R is large and the average value of the signal values corresponding to the hue G and the hue B is small. Since hue S has a large S / N ratio, the signal value ratio between the left and right PDs can be obtained almost without being affected by noise components, but hue G and hue B have a small S / N ratio. For this reason, the noise component greatly affects the signal value ratio between PDs. In such a case, in order to interpolate the signal of the photoelectric conversion unit included in the pixel corresponding to the hue R, the signal value ratio between the PDs obtained from the peripheral pixels corresponding to the hue R may be used. desirable. Conversely, if the average values of the signal values corresponding to the respective hues are similar, the degree of the influence of the noise component does not vary greatly depending on the hues, and thus obtained from the peripheral pixels corresponding to the hues G and B. A ratio of signal values between PDs may be used.

また、上述した加重係数は、欠陥や飽和の有無だけでなく、被写体の輝度や色合いの変化によって変更するようにしてもよい。補間の際に参照する周辺画素は、被写体上のごく近い領域に対応する信号値を出力するため、被写体の輝度や色合いに変化がなければ、周辺画素における左右のPDの信号値の比率は類似するはずである。反対に、いずれかの周辺画素において、他の画素と比べて左右のPDの信号値に比率が大きく異なるのであれば、被写体の輝度や色合いが変化する領域に掛かっている可能性が高い。   Further, the above-described weighting coefficient may be changed not only by the presence / absence of defects and saturation, but also by changes in the brightness and hue of the subject. Peripheral pixels that are referred to during interpolation output signal values corresponding to very close regions on the subject, so if there is no change in the luminance or color of the subject, the ratio of the left and right PD signal values in the peripheral pixels is similar. Should be. On the other hand, if the ratio of the signal values of the left and right PDs in any of the peripheral pixels is significantly different from that of the other pixels, there is a high possibility that the pixel is in a region where the luminance or hue of the subject changes.

そこで、そこで画像処理部108は、図5で示した撮像素子に対して、まず周辺画素510、520、530および540のそれぞれの2つのPDの信号値の比を算出する。つまり、下記の(式5)の比R510、R520、R530およびR540を算出する。   Accordingly, the image processing unit 108 first calculates the ratio of the signal values of the two PDs of each of the peripheral pixels 510, 520, 530 and 540 for the image sensor shown in FIG. That is, the ratios R510, R520, R530, and R540 of the following (Formula 5) are calculated.

Figure 2018019355
Figure 2018019355

そして、上記の比R510、R520、R530およびR540を互いに比較し、偏差の大きい画素に対して小さい加重係数を設定した上で、(式1)を用いて補間後の信号値を算出する。   Then, the above ratios R510, R520, R530, and R540 are compared with each other, a small weighting coefficient is set for a pixel with a large deviation, and a signal value after interpolation is calculated using (Equation 1).

上記の設定方法を、さらに下記のように変形することができる。補間の対象となる画素500の上下にある対称な画素510と画素520とのそれぞれの2つのPDの信号値の比R510とR520とを算出する。この2つの比の差|R510−R520|を算出する。この差が予め定められた閾値以上の値となれば、垂直方向における被写体の輝度や色合いの変化が大きいと判定し、加重係数w1とw2とを、0に設定する。   The above setting method can be further modified as follows. The ratios R510 and R520 of the signal values of the two PDs of the symmetrical pixel 510 and pixel 520 above and below the pixel 500 to be interpolated are calculated. A difference | R510−R520 | between the two ratios is calculated. If this difference is a value equal to or greater than a predetermined threshold value, it is determined that the change in luminance and hue of the subject in the vertical direction is large, and the weighting factors w1 and w2 are set to zero.

同様に、補間の対象となる画素500の上下にある画素530と画素540とのそれぞれの2つのPDの信号値の比R530とR540とを算出し、比の差|R530−R540|も算出する。この差が予め定められた閾値以上の値となれば、加重係数w3とw4とともに、0に設定する。もし、|R510−R520|と|R510−R520|の両方が閾値以上の場合には、加重係数w1乃至w4を全て1にする。あるいは、|R510−R520|と|R510−R520|の大きさの比率に反比例するように、加重係数を加重係数w1乃至w4を設定する。すなわち、|R510−R520|のほうが小さければ、画素R510とR520に対応する加重係数w1およびw2を加重係数w3およびw4よりも大きくすればよい。反対に、|R510−R520|のほうが大きければ、加重係数w1およびw2を加重係数w3およびw4よりも小さくすればよい。   Similarly, the ratios R530 and R540 of the signal values of the two PDs of the pixels 530 and 540 above and below the pixel 500 to be interpolated are calculated, and the ratio difference | R530−R540 | is also calculated. . If this difference is equal to or greater than a predetermined threshold, it is set to 0 together with the weighting factors w3 and w4. If | R510-R520 | and | R510-R520 | are both equal to or greater than the threshold value, the weighting factors w1 to w4 are all set to 1. Alternatively, the weighting factors w1 to w4 are set so as to be inversely proportional to the ratio of the sizes of | R510-R520 | and | R510-R520 |. That is, if | R510-R520 | is smaller, the weighting factors w1 and w2 corresponding to the pixels R510 and R520 may be larger than the weighting factors w3 and w4. On the contrary, if | R510-R520 | is larger, the weighting factors w1 and w2 may be smaller than the weighting factors w3 and w4.

上記したように、補間の計算で加重係数を用いることにより、信ぴょう性の低い信号のデータにより小さい加重係数を与え、補間でより正確な欠陥画素の信号を得ることができる。   As described above, by using the weighting coefficient in the calculation of interpolation, a smaller weighting coefficient can be given to data of a signal with low reliability, and a more accurate signal of a defective pixel can be obtained by interpolation.

なお、以上の説明は、1つのマイクロレンズに対して、2つのPDが配置される構成をもとにして説明したが、これに限られるわけではない。たとえば、1つのマイクロレンズに対して、4つのPDが配置される構成においても、本実施形態を実施することができる。図7は、1つのマイクロレンズに対して、4つのPDが配置される構成を示す。以下では、図7に示した構成を用いて、本実施形態における補間方法を用いる場合の処理について説明する。図7では、PD701に欠陥があるものとする。   The above description is based on a configuration in which two PDs are arranged for one microlens. However, the present invention is not limited to this. For example, the present embodiment can be implemented even in a configuration in which four PDs are arranged for one microlens. FIG. 7 shows a configuration in which four PDs are arranged for one microlens. Hereinafter, processing when the interpolation method according to the present embodiment is used will be described using the configuration shown in FIG. In FIG. 7, it is assumed that the PD 701 has a defect.

図7に示した構成では、上述したように、たとえば、画素700において、水平方向の位相差を検出する場合、PD701とPD702との信号を加算して読み出し、PD703とPD704との信号を加算して読み出す必要がある。ここでは、PD701とPD702を含む領域を第1の光電変換領域と呼び、PD703とPD704を含む領域を第2の光電変換領域と呼ぶ。PD701には欠陥があるため、PD701とPD702との信号を加算して読み出すと、第1の光電変換領域としての正しい信号が得られない。   In the configuration shown in FIG. 7, as described above, for example, when detecting a horizontal phase difference in the pixel 700, the signals of PD 701 and PD 702 are added and read, and the signals of PD 703 and PD 704 are added. Need to be read. Here, a region including PD 701 and PD 702 is referred to as a first photoelectric conversion region, and a region including PD 703 and PD 704 is referred to as a second photoelectric conversion region. Since the PD 701 has a defect, when the signals of the PD 701 and the PD 702 are added and read, a correct signal as the first photoelectric conversion region cannot be obtained.

周辺画素710においても、水平の位相差を検出する場合、PD711とPD712との信号を加算して読み出し、PD713とPD714との信号を加算して読み出す必要がある。ここでは、画素700における第1の光電変換領域の位置に対応する位置にある、PD711とPD712とを第3の光電変換領域と呼ぶ。同様に、画素700における第2の光電変換領域の位置に対応する位置にある、PD713とPD714と第4の光電変換領域と呼ぶ。画素720乃至740においても、画素700における第1の光電変換領域の位置に対応する位置にある光電変換部を第3の光電変換領域、画素700における第2の光電変換領域の位置に対応する位置にある光電変換部を第4の光電変換領域と呼ぶ。   Also in the peripheral pixel 710, when detecting a horizontal phase difference, it is necessary to add and read the signals of PD711 and PD712 and read the signals of PD713 and PD714. Here, PD 711 and PD 712 at positions corresponding to the positions of the first photoelectric conversion regions in the pixel 700 are referred to as third photoelectric conversion regions. Similarly, PD713, PD714, and a fourth photoelectric conversion region at positions corresponding to the positions of the second photoelectric conversion regions in the pixel 700 are referred to. Also in the pixels 720 to 740, the photoelectric conversion unit at the position corresponding to the position of the first photoelectric conversion region in the pixel 700 is the third photoelectric conversion region, and the position corresponding to the position of the second photoelectric conversion region in the pixel 700. The photoelectric conversion unit located in is referred to as a fourth photoelectric conversion region.

図5に示した素子に倣って、画像処理部108は、PD701とPD702との信号に対して、下記の(式6)を用いて補間することができる。   Following the element shown in FIG. 5, the image processing unit 108 can interpolate the signals from the PD 701 and the PD 702 using the following (Equation 6).

Figure 2018019355
Figure 2018019355

ただし、A1はS711とS712を加算した値で、A2はS721とS722を加算した値で、A3はS731とS732を加算した値、A4はS741とS742を加算した値である。同様に、B1はS713とS714を加算した値で、B2はS723とS724を加算した値で、B3はS733とS734を加算した値、B4はS743とS744を加算した値である。   However, A1 is a value obtained by adding S711 and S712, A2 is a value obtained by adding S721 and S722, A3 is a value obtained by adding S731 and S732, and A4 is a value obtained by adding S741 and S742. Similarly, B1 is a value obtained by adding S713 and S714, B2 is a value obtained by adding S723 and S724, B3 is a value obtained by adding S733 and S734, and B4 is a value obtained by adding S743 and S744.

(式6)で示した方法では、欠陥があるPD701を有する画素700では、PD701とPD702との信号を加算して読み出す。他の画素においても、同様に、左側にある2つのPDの信号を加算して読み出し、右側にある2つのPDの信号を加算して読み出す。周辺画素710乃至740のそれぞれにおいて、左側の2つのPDの信号に対し、加重係数を掛けて加重平均した値を求める。さらに、周辺画素710乃至740のそれぞれにおいて、右側の2つのPDの信号に対しても、加重係数を掛けて加重平均した値を求める。そして、左側の2つのPDの信号値を用いて加重平均して得られた値と、右側の2つのPDの信号値を用いて加重平均して得られた値との比を算出する。そして、算出した比に、画素700の右側にあるPD703とPD704との信号値の和に掛けて、PD701とPD702との信号値の和が得られる。この値を、水平方向の位相差の検出に用いる。   In the method shown in (Equation 6), in the pixel 700 having the defective PD 701, the signals of the PD 701 and the PD 702 are added and read. In the other pixels, similarly, the two PD signals on the left side are added and read, and the two PD signals on the right side are added and read. In each of the peripheral pixels 710 to 740, a weighted average value is obtained by multiplying the two left PD signals by a weighting coefficient. Further, in each of the peripheral pixels 710 to 740, a weighted average value is obtained by multiplying the right two PD signals by a weighting coefficient. Then, a ratio between a value obtained by weighted averaging using the signal values of the two left PDs and a value obtained by weighted averaging using the signal values of the two right PDs is calculated. Then, the sum of the signal values of PD 701 and PD 702 is obtained by multiplying the calculated ratio by the sum of the signal values of PD 703 and PD 704 on the right side of pixel 700. This value is used for detecting the phase difference in the horizontal direction.

同様に、垂直方法の位相差を検出する場合、画素700において、PD701とPD703との信号を加算して読み出し、PD702とPD704との信号を加算して読み出す必要がある。周辺画素においても同様である。画像処理部108は、PD701とPD703との信号に対して、下記の(式7)を用いて補間することができる。   Similarly, when detecting the phase difference of the vertical method, it is necessary to add and read the signals of PD 701 and PD 703 and read the signals of PD 702 and PD 704 in the pixel 700. The same applies to the peripheral pixels. The image processing unit 108 can interpolate the signals of the PD 701 and the PD 703 using the following (Expression 7).

Figure 2018019355
Figure 2018019355

ただし、C1はS711とS713を加算した値で、C2はS721とS723を加算した値で、C3はS731とS733を加算した値、C4はS741とS743を加算した値である。同様に、D1はS712とS714を加算した値で、D2はS722とS724を加算した値で、D3はS732とS734を加算した値、D4はS742とS744を加算した値である。   However, C1 is a value obtained by adding S711 and S713, C2 is a value obtained by adding S721 and S723, C3 is a value obtained by adding S731 and S733, and C4 is a value obtained by adding S741 and S743. Similarly, D1 is a value obtained by adding S712 and S714, D2 is a value obtained by adding S722 and S724, D3 is a value obtained by adding S732 and S734, and D4 is a value obtained by adding S742 and S744.

ここで、第1乃至第4の光電変換領域の信号値をそれぞれ、SS1、SS2、SS3、SS4と定義すれば、上記の(式6)および(式7)は、下記の(式8)に書き直すことができる。   Here, if the signal values of the first to fourth photoelectric conversion regions are defined as SS1, SS2, SS3, and SS4, respectively, the above (formula 6) and (formula 7) are expressed as the following (formula 8). Can be rewritten.

Figure 2018019355
Figure 2018019355

ただし、上記のNは、計算に用いる周辺画素の数である。算出した第1の光電変換領域の信号値SS1から欠陥のないPDの信号値を引くと、欠陥のあるPDの信号を得ることができる。   Where N is the number of peripheral pixels used for the calculation. By subtracting the defect-free PD signal value from the calculated first photoelectric conversion region signal value SS1, it is possible to obtain a defect-PD signal.

同色の周辺画素750、760、770および780からの信号を用いて補間するとき、同様な方法が使える。   A similar method can be used when interpolating using signals from peripheral pixels 750, 760, 770 and 780 of the same color.

なお、上述した1つの画素が2つのPDを有する撮像素子において、欠陥のあるPDを第1の光電変換領域と、同じ画素にある別のPDを第2の光電変換領域とみなせる。たとえば、図5に示した撮像素子において、PD501を第1の光電変換領域と、PD502を第2の光電変換領域とみなせる。同様に、PD511、521、531および541のそれぞれを第3の光電変換領域と、PD512、522、532および542のそれぞれを第4の光電変換領域とみなせる。こういう解釈のもとで、1つの画素が2つのPDを有する撮像素子でも、上記の(式8)を適用することができる。   Note that, in the above-described imaging device in which one pixel has two PDs, a defective PD can be regarded as a first photoelectric conversion region, and another PD in the same pixel can be regarded as a second photoelectric conversion region. For example, in the image sensor shown in FIG. 5, the PD 501 can be regarded as a first photoelectric conversion region and the PD 502 can be regarded as a second photoelectric conversion region. Similarly, each of PDs 511, 521, 531 and 541 can be regarded as a third photoelectric conversion region, and each of PDs 512, 522, 532 and 542 can be regarded as a fourth photoelectric conversion region. Based on this interpretation, the above (Equation 8) can be applied even to an image sensor in which one pixel has two PDs.

また、1つのマイクロレンズに対して、4つを超える数のPDを有する画素の構造の撮像素子の場合でも、上記方法に倣って補間することができる。   Further, even in the case of an image sensor having a pixel structure having more than four PDs for one microlens, interpolation can be performed following the above method.

ここまで説明をした、欠陥のある光電変換部と同一画素内にある第2の光電変換領域から読み出された信号レベルを用いて欠陥のある光電変換部を含む第1の光電変換領域の補間を行う方法を、第1の補間と呼ぶ。   Interpolation of the first photoelectric conversion region including the defective photoelectric conversion unit using the signal level read from the second photoelectric conversion region in the same pixel as the defective photoelectric conversion unit described so far The method of performing is called first interpolation.

この第1の補間は、第2の光電変換領域から正しい信号を得られない場合は、使うことができない。このような場合には、第1の補間の代わりに、第2の補間を使うことが必要となる。   This first interpolation cannot be used when a correct signal cannot be obtained from the second photoelectric conversion region. In such a case, it is necessary to use the second interpolation instead of the first interpolation.

第2の補間は、第2の補間は、背景技術で説明した技術と同様の補間である。   The second interpolation is an interpolation similar to the technique described in the background art.

ステップS808では、画像処理部108は、欠陥のある光電変換部を含む画素と同じカラーフィルタに対応する複数の周辺画素に含まれ、かつ、マイクロレンズに対して欠陥のある光電変換部の信号と同じ位置に存在する光電変換部を選択する。   In step S808, the image processing unit 108 includes signals of the photoelectric conversion unit included in the plurality of peripheral pixels corresponding to the same color filter as the pixel including the defective photoelectric conversion unit and defective with respect to the microlens. A photoelectric conversion unit existing at the same position is selected.

たとえば、図6に示した撮像素子を用いるときは、PD601の信号値は、下記の(式9)により求めることができる。(式9)では、欠陥のあるPD601の補間の値は、欠陥画素600と同色の4つの周辺画素650乃至680周辺画素において、PD601と同じく、左側にあるPD651乃至PD681の信号値の平均により求められることを示している。   For example, when the image sensor shown in FIG. 6 is used, the signal value of the PD 601 can be obtained by the following (Equation 9). In (Equation 9), the interpolation value of the defective PD 601 is obtained by averaging the signal values of the PD 651 to PD 681 on the left side in the four peripheral pixels 650 to 680 peripheral pixels of the same color as the defective pixel 600, as in the PD 601. It is shown that.

Figure 2018019355
Figure 2018019355

なお、PD651乃至PD681の信号値の単純平均の代わりに、加重平均を用いてもよい。   A weighted average may be used instead of the simple average of the signal values of PD651 to PD681.

図8は、上記の補間方法を用いるときのフローチャートの一例である。   FIG. 8 is an example of a flowchart when the above interpolation method is used.

ステップS801で、CPU103は、ROM107に格納されている欠陥のある光電変換部の情報を読み出す。ステップS802で、CPU103が、ステップS801で読み出した欠陥のある光電変換部の情報と照らし合わせ、処理中の画素が欠陥のある光電変換部を含むかどうかを判断する。処理中の画素が欠陥のある光電変換部を含む画素でなければ、ステップS810へ移行する。処理中の画素が欠陥のある光電変換部を含む画素であれば、ステップS803へ移行する。   In step S <b> 801, the CPU 103 reads information on the defective photoelectric conversion unit stored in the ROM 107. In step S802, the CPU 103 compares the defective photoelectric conversion unit read in step S801 with information on the defective photoelectric conversion unit, and determines whether the pixel being processed includes the defective photoelectric conversion unit. If the pixel being processed is not a pixel including a defective photoelectric conversion unit, the process proceeds to step S810. If the pixel being processed is a pixel including a defective photoelectric conversion unit, the process proceeds to step S803.

ステップS803で、CPU103が、さらに同一の画素内に、欠陥のある光電変換部の信号を補間するために必要な正常な光電変換領域が存在するかどうかについて判断する。補間するために必要な正常な光電変換領域が存在していれば、ステップS804へ移行し、CPU103が、第1の補間を用いて補間することを決定する。反対に、補間するために必要な正常な光電変換領域が無ければ、ステップS807へ移行し、CPU103が、第2の補間を用いて補間することを決定する。   In step S803, the CPU 103 further determines whether or not a normal photoelectric conversion region necessary for interpolating a defective photoelectric conversion unit signal exists in the same pixel. If there is a normal photoelectric conversion region necessary for interpolation, the process proceeds to step S804, and the CPU 103 determines to interpolate using the first interpolation. On the other hand, if there is no normal photoelectric conversion region necessary for interpolation, the process proceeds to step S807, and the CPU 103 determines to interpolate using the second interpolation.

ステップS804で、画像処理部108は、補間に用いる光電変換領域を含む周辺画素を決める。その一例としては、前述したように、最も近い画素を周辺画素としても良いし、最も近い同色の画素を周辺画素としても良い。ステップS806で、画像処理部108は、補間の決算に用いる加重係数を決める。加重係数を決めるには、前述した方法を用いる。   In step S804, the image processing unit 108 determines peripheral pixels including a photoelectric conversion region used for interpolation. As an example, as described above, the closest pixel may be a peripheral pixel, or the closest pixel of the same color may be a peripheral pixel. In step S806, the image processing unit 108 determines a weighting coefficient used for the settlement of the interpolation. The method described above is used to determine the weighting factor.

ここでステップS807に戻り、続くステップS808では、画像処理部108は、欠陥のある光電変換領域を含む画素と同じカラーフィルタに対応する複数の周辺画素を選択する。   Here, returning to step S807, in the subsequent step S808, the image processing unit 108 selects a plurality of peripheral pixels corresponding to the same color filter as the pixel including the defective photoelectric conversion region.

ステップS809で、画像処理部108は、選択された画素に含まれる光電変換領域の信号を用いて補間の計算を行う。ステップS810で、CPU103は、すべての画素の処理が終了しているかどうかを判断する。すべての画素の処理が終了していなければ、ステップS802に戻る。   In step S809, the image processing unit 108 performs interpolation calculation using a signal of the photoelectric conversion region included in the selected pixel. In step S810, the CPU 103 determines whether all the pixels have been processed. If all the pixels have not been processed, the process returns to step S802.

本実施形態によれば、1つのマイクロレンズに対して、複数の光電変換部を有する画素を複数備えた撮像素子で、一部の光電変換部に欠陥がある画素に対して補間をする場合、補間に用いる周囲画像を決める自由度をより高く提供することができる。   According to the present embodiment, when an interpolation is performed on a pixel having a defect in a part of the photoelectric conversion unit with an imaging device including a plurality of pixels having a plurality of photoelectric conversion units for one microlens, It is possible to provide a higher degree of freedom in determining the surrounding image used for interpolation.

(その他の実施形態)
以上の実施形態は、撮像装置での実施をもとに説明したが、撮像装置に限定するものではない。たとえば、撮像素子が内蔵した携帯機器などで実施してもよい。
(Other embodiments)
The above embodiment has been described based on the implementation in the imaging apparatus, but is not limited to the imaging apparatus. For example, you may implement with the portable apparatus etc. with which the image pick-up element was incorporated.

なお、本発明は、上述の実施形態の1つ以上の機能を実現するプログラムを、ネットワークまたは記憶媒体を介してシステムまたは装置に供給し、そのシステムまたは装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読み出し作動させる処理でも実現可能である。また、1以上の機能を実現する回路(たとえば、ASIC)によっても実現可能である。   Note that the present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus execute the program. It can also be realized by a process of reading and operating. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 撮像素子
101 AFE
102 TG
103 CPU
104 操作部
105 表示部
106 RAM
107 ROM
108 画像処理部
109 AF演算部
110 フラッシュメモリ
111 フォーカルプレーンシャッタ
112 フォーカス駆動回路
113 絞り駆動回路
114 フォーカスアクチュエータ
115 絞りアクチュエータ
116 第1レンズ
117 絞り
118 第2レンズ
119 第3レンズ
120 相関演算部
100 Image sensor 101 AFE
102 TG
103 CPU
104 Operation unit 105 Display unit 106 RAM
107 ROM
DESCRIPTION OF SYMBOLS 108 Image processing part 109 AF calculating part 110 Flash memory 111 Focal plane shutter 112 Focus drive circuit 113 Aperture drive circuit 114 Focus actuator 115 Aperture actuator 116 1st lens 117 Aperture 118 2nd lens 119 3rd lens 120 Correlation calculation part

Claims (17)

1つのマイクロレンズに対して複数の光電変換領域を有する複数の画素を備え、前記複数の光電変換領域のそれぞれが1つ以上の光電変換部を含む撮像素子と、
正常ではないとみなされる信号を出力する光電変換部を含む第1の光電変換領域と、正常とみなされる信号を出力する光電変換部を含む第2の光電変換領域と、を有する処理対象となる画素の、前記第1の光電変換領域に対して第1の補間を行う補間手段と、を有し、
前記補間手段は、
前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第1の光電変換領域の位置に対応する第3の光電変換領域の信号に対して、係数を用いて加重平均することで得られる第1の値と、前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第2の光電変換領域の位置に対応する第4の光電変換領域の信号に対して、前記係数を用いて加重平均することで得られる第2の値との比を求め、
前記第2の光電変換領域の信号、および、前記比を用いて前記第1の補間を行うことを特徴とする撮像装置。
An imaging device comprising a plurality of pixels having a plurality of photoelectric conversion regions for one microlens, each of the plurality of photoelectric conversion regions including one or more photoelectric conversion units;
A processing target having a first photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as not normal and a second photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as normal Interpolation means for performing a first interpolation on the first photoelectric conversion region of the pixel,
The interpolation means includes
For each of a plurality of peripheral pixels located around the pixel to be processed, a coefficient is calculated for a signal in the third photoelectric conversion region corresponding to the position of the first photoelectric conversion region in the pixel to be processed. Corresponding to the first value obtained by using the weighted average and the position of the second photoelectric conversion region in the processing target pixel of each of a plurality of peripheral pixels positioned around the processing target pixel The ratio of the second value obtained by performing the weighted average using the coefficient for the signal of the fourth photoelectric conversion region to be obtained,
An imaging apparatus, wherein the first interpolation is performed using the signal of the second photoelectric conversion region and the ratio.
前記補間手段が前記比を求めるときに用いる前記周辺画素は、前記第1の光電変換領域を含む画素と異なる色の画素であることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the peripheral pixel used when the interpolation unit obtains the ratio is a pixel having a different color from a pixel including the first photoelectric conversion region. 前記補間手段は、所定の条件を満たす場合に、前記処理対象の画素に隣接し、かつ、前記処理対象の画素と異なる色の画素を前記周辺画素として選択し、前記所定の条件を満たさない場合に、前記処理対象に隣接せず、かつ、前記処理対象の画素と同色の画素を前記周辺画素として選択することを特徴とする請求項1または2に記載の撮像装置。   The interpolation unit selects a pixel adjacent to the processing target pixel and having a color different from that of the processing target pixel when the predetermined condition is satisfied and does not satisfy the predetermined condition. The imaging apparatus according to claim 1, wherein a pixel that is not adjacent to the processing target and has the same color as the processing target pixel is selected as the peripheral pixel. 前記所定の条件は、前記処理対象の画素に基づいて設定した領域において、いずれか1つの色に対応する画素の信号が他の色に対応する画素の信号より大きく、かつ、その差が閾値を超えていることを特徴とする請求項3に記載の撮像装置。   The predetermined condition is that, in an area set based on the pixel to be processed, a signal of a pixel corresponding to any one color is larger than a signal of a pixel corresponding to another color, and the difference between the signals has a threshold value. The imaging apparatus according to claim 3, wherein the number exceeds. 前記補間手段は、前記複数の周辺画素の光電変換領域のうち、欠陥のある光電変換部を含む光電変換領域に対する係数を、0に設定することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   5. The coefficient according to claim 1, wherein the interpolation unit sets a coefficient for a photoelectric conversion region including a defective photoelectric conversion unit among the photoelectric conversion regions of the plurality of peripheral pixels to 0. 6. The imaging device according to item. 前記補間手段は、前記周辺画素のそれぞれにおいて、前記第3の光電変換領域と前記第4の光電変換領域との信号の比に応じ、前記係数を設定することを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。   6. The interpolation means sets the coefficient in each of the peripheral pixels in accordance with a signal ratio between the third photoelectric conversion region and the fourth photoelectric conversion region. The imaging device according to any one of the above. 前記周辺画素のうち、前記画素を挟んで対称な位置にある2つの画素のそれぞれにおいて、前記第3の光電変換領域の信号と第4の光電変換領域の信号との比を算出し、
前記補間手段は、前記信号の比の違いに応じて前記係数を設定することを特徴とする請求項6に記載の撮像装置。
Of each of the peripheral pixels, the ratio of the signal of the third photoelectric conversion region and the signal of the fourth photoelectric conversion region is calculated in each of two pixels located symmetrically with respect to the pixel,
The imaging apparatus according to claim 6, wherein the interpolation unit sets the coefficient according to a difference in the signal ratio.
前記補間手段は、前記信号の比の違いが大きいほど、小さい前記係数を設定することを特徴とする請求項7に記載の撮像装置。   The imaging apparatus according to claim 7, wherein the interpolation unit sets the smaller coefficient as the difference in the signal ratio is larger. 前記補間手段は、前記信号の比の違いが予め定められた閾値より大きい場合、前記係数に0を設定することを特徴とする請求項8に記載の撮像装置。   The imaging apparatus according to claim 8, wherein the interpolation unit sets the coefficient to 0 when a difference in the signal ratio is larger than a predetermined threshold value. 前記複数の画素の前記光電変換部のそれぞれの出力が飽和のレベルに達していることを検出する検出手段を有し、
前記検出手段は、少なくとも一部の前記光電変換部の出力が飽和のレベルに達していることが検出された画素に含まれる光電変換領域に対する係数を、0に設定することを特徴とする請求項1乃至9のいずれか1項に記載の撮像装置。
Detecting means for detecting that the respective outputs of the photoelectric conversion units of the plurality of pixels have reached a saturation level;
The detection means sets a coefficient for a photoelectric conversion region included in a pixel in which at least a part of the output of the photoelectric conversion unit is detected to reach a saturation level to 0. The imaging device according to any one of 1 to 9.
前記補間手段は、第2の光電変換領域の信号および前記比を用いずに前記第1の光電変換領域の信号に対して補間を行う第2の補間を行うものであって、前記第1の補間と前記第2の補間のいずれかを選択することを特徴とする請求項1乃至10のいずれか1項に記載の撮像装置。   The interpolation means performs second interpolation for performing interpolation on the signal of the first photoelectric conversion region without using the signal of the second photoelectric conversion region and the ratio. The imaging apparatus according to any one of claims 1 to 10, wherein one of interpolation and the second interpolation is selected. 前記補間手段は、前記第2の光電変換領域が欠陥のある光電変換部を含む場合には、前記周辺画素の前記第3の光電変換領域の信号を用いて、前記第2の補間を行うことを特徴とする請求項11に記載の撮像装置。   When the second photoelectric conversion region includes a defective photoelectric conversion unit, the interpolation means performs the second interpolation using a signal of the third photoelectric conversion region of the peripheral pixel. The imaging apparatus according to claim 11. 前記第2の補間では、
前記周辺画素の前記第3の光電変換領域の信号の平均を用いて行うことを特徴とする請求項12に記載の撮像装置。
In the second interpolation,
The image pickup apparatus according to claim 12, wherein the image pickup apparatus performs the calculation using an average of signals in the third photoelectric conversion region of the peripheral pixels.
欠陥のある光電変換部を示す情報を記憶する記憶手段を有し、
前記補間手段は、前記記憶手段により記憶された情報が示す光電変換部を含む光電変換領域を、前記第1の補間の対象にすることを特徴とする請求項1乃至13のいずれか1項に記載の撮像装置。
Having storage means for storing information indicating a defective photoelectric conversion unit;
The said interpolation means makes the photoelectric conversion area | region containing the photoelectric conversion part which the information memorize | stored by the said memory | storage means shows as the object of said 1st interpolation, The one of Claim 1 thru | or 13 characterized by the above-mentioned. The imaging device described.
前記画素の配列はベイヤー配列であることを特徴とする請求項1乃至14のいずれか1項に記載の撮像装置。   The image pickup apparatus according to claim 1, wherein the pixel array is a Bayer array. 1つのマイクロレンズに対して複数の光電変換領域を有する複数の画素を備え、前記複数の光電変換領域のそれぞれが1つ以上の光電変換部を含む撮像素子と、
正常ではないとみなされる信号を出力する光電変換部を含む第1の光電変換領域と、正常とみなされる信号を出力する光電変換部を含む第2の光電変換領域と、を有する処理対象となる画素の、前記第1の光電変換領域に対して第1の補間を行う補間手段と、
を有する撮像装置の制御方法において、
前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第1の光電変換領域の位置に対応する第3の光電変換領域の信号に対して、係数を用いて加重平均することで得られる第1の値と、前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第2の光電変換領域の位置に対応する第4の光電変換領域の信号に対して、前記係数を用いて加重平均することで得られる第2の値との比を求める工程と、
前記第2の光電変換領域の信号、および、前記比を用いて前記第1の補間を行う工程を含むことを特徴とする撮像装置の制御方法。
An imaging device comprising a plurality of pixels having a plurality of photoelectric conversion regions for one microlens, each of the plurality of photoelectric conversion regions including one or more photoelectric conversion units;
A processing target having a first photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as not normal and a second photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as normal Interpolation means for performing a first interpolation on the first photoelectric conversion region of the pixel;
In the control method of the imaging device having
For each of a plurality of peripheral pixels located around the pixel to be processed, a coefficient is calculated for a signal in the third photoelectric conversion region corresponding to the position of the first photoelectric conversion region in the pixel to be processed. Corresponding to the first value obtained by using the weighted average and the position of the second photoelectric conversion region in the processing target pixel of each of a plurality of peripheral pixels positioned around the processing target pixel Obtaining a ratio of a second value obtained by performing a weighted average using the coefficient with respect to the signal of the fourth photoelectric conversion region to be performed;
A method for controlling an imaging apparatus, comprising the step of performing the first interpolation using the signal of the second photoelectric conversion region and the ratio.
1つのマイクロレンズに対して複数の光電変換領域を有する複数の画素を備え、前記複数の光電変換領域のそれぞれが1つ以上の光電変換部を含む撮像素子と、
正常ではないとみなされる信号を出力する光電変換部を含む第1の光電変換領域と、正常とみなされる信号を出力する光電変換部を含む第2の光電変換領域と、を有する処理対象となる画素の、前記第1の光電変換領域に対して第1の補間を行う補間手段と、
を有する撮像装置の制御方法をコンピュータに動作させるプログラムであって、
前記コンピュータに、
前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第1の光電変換領域の位置に対応する第3の光電変換領域の信号に対して、係数を用いて加重平均することで得られる第1の値と、前記処理対象の画素の周囲に位置する複数の周辺画素のそれぞれの、前記処理対象の画素における前記第2の光電変換領域の位置に対応する第4の光電変換領域の信号に対して、前記係数を用いて加重平均することで得られる第2の値との比を求めるステップと、
前記第2の光電変換領域の信号、および、前記比を用いて前記第1の補間を行うステップを含むことを特徴とするコンピュータのプログラム。
An imaging device comprising a plurality of pixels having a plurality of photoelectric conversion regions for one microlens, each of the plurality of photoelectric conversion regions including one or more photoelectric conversion units;
A processing target having a first photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as not normal and a second photoelectric conversion region including a photoelectric conversion unit that outputs a signal regarded as normal Interpolation means for performing a first interpolation on the first photoelectric conversion region of the pixel;
A program for causing a computer to operate a control method of an imaging apparatus having
In the computer,
For each of a plurality of peripheral pixels located around the pixel to be processed, a coefficient is calculated for a signal in the third photoelectric conversion region corresponding to the position of the first photoelectric conversion region in the pixel to be processed. Corresponding to the first value obtained by using the weighted average and the position of the second photoelectric conversion region in the processing target pixel of each of a plurality of peripheral pixels positioned around the processing target pixel Obtaining a ratio of a second value obtained by performing a weighted average using the coefficient with respect to the signal of the fourth photoelectric conversion region,
A computer program comprising the step of performing the first interpolation using the signal of the second photoelectric conversion region and the ratio.
JP2016150336A 2016-07-29 2016-07-29 Signal processing equipment, signal processing methods, programs and storage media Expired - Fee Related JP6851744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016150336A JP6851744B2 (en) 2016-07-29 2016-07-29 Signal processing equipment, signal processing methods, programs and storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016150336A JP6851744B2 (en) 2016-07-29 2016-07-29 Signal processing equipment, signal processing methods, programs and storage media

Publications (3)

Publication Number Publication Date
JP2018019355A true JP2018019355A (en) 2018-02-01
JP2018019355A5 JP2018019355A5 (en) 2019-07-04
JP6851744B2 JP6851744B2 (en) 2021-03-31

Family

ID=61082121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016150336A Expired - Fee Related JP6851744B2 (en) 2016-07-29 2016-07-29 Signal processing equipment, signal processing methods, programs and storage media

Country Status (1)

Country Link
JP (1) JP6851744B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022100908A (en) * 2020-12-24 2022-07-06 ゼタテクノロジーズ株式会社 Solid-state imaging device, signal processing method thereof, and electronic device
JP2022183072A (en) * 2021-05-28 2022-12-08 三星電子株式会社 Image sensor and image signal processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004235873A (en) * 2003-01-29 2004-08-19 Seiko Epson Corp Defective pixel correction system, defective pixel correction method, and defective pixel correction program
JP2012133138A (en) * 2010-12-22 2012-07-12 Canon Inc Image processing system and image processing method
JP2013055640A (en) * 2011-08-09 2013-03-21 Canon Inc Image processing apparatus and control method thereof
JP2015056710A (en) * 2013-09-11 2015-03-23 キヤノン株式会社 Imaging apparatus, control method therefor, program, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004235873A (en) * 2003-01-29 2004-08-19 Seiko Epson Corp Defective pixel correction system, defective pixel correction method, and defective pixel correction program
JP2012133138A (en) * 2010-12-22 2012-07-12 Canon Inc Image processing system and image processing method
JP2013055640A (en) * 2011-08-09 2013-03-21 Canon Inc Image processing apparatus and control method thereof
JP2015056710A (en) * 2013-09-11 2015-03-23 キヤノン株式会社 Imaging apparatus, control method therefor, program, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022100908A (en) * 2020-12-24 2022-07-06 ゼタテクノロジーズ株式会社 Solid-state imaging device, signal processing method thereof, and electronic device
JP7499695B2 (en) 2020-12-24 2024-06-14 ゼタテクノロジーズ株式会社 Solid-state imaging device, signal processing method for solid-state imaging device, and electronic device
JP2022183072A (en) * 2021-05-28 2022-12-08 三星電子株式会社 Image sensor and image signal processing method

Also Published As

Publication number Publication date
JP6851744B2 (en) 2021-03-31

Similar Documents

Publication Publication Date Title
US10412349B2 (en) Image sensor including phase detection pixel
US10999544B2 (en) Image sensor including phase detection pixels and image pickup device
US9781366B2 (en) Image sensing system and method of driving the same
JP5895355B2 (en) Imaging device
TWI693832B (en) Image sensor
US20160316158A1 (en) Imaging apparatus and signal processing method
JP2017120975A (en) Imaging element
JP6900227B2 (en) Imaging device and driving method of imaging device
US20080278613A1 (en) Methods, apparatuses and systems providing pixel value adjustment for images produced with varying focal length lenses
JP6700751B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
US10871629B2 (en) Imaging apparatus and control method of imaging apparatus
JP2018004689A (en) Image processing device and method, and imaging apparatus
JP6851744B2 (en) Signal processing equipment, signal processing methods, programs and storage media
JP2018019139A (en) Imaging device and control method of imaging device
JP6759088B2 (en) Imaging device and its control method and program
JP2018182459A (en) Image pickup apparatus and control method of image pickup apparatus
JP2018019355A5 (en) Signal processing apparatus, signal processing method, program and storage medium
JP2017195584A (en) Imaging apparatus
JP4825311B1 (en) IMAGING ELEMENT, IMAGING ELEMENT DRIVE DEVICE, IMAGING ELEMENT DRIVE METHOD, IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, PROGRAM, AND IMAGING DEVICE
JP2022065489A (en) Imaging device and imaging system
JP7571173B2 (en) Image capture device, image capture device control method, and program
JP6365568B2 (en) Imaging device and imaging apparatus
JP6254780B2 (en) Focus detection apparatus and method, and imaging apparatus
JP2020013083A (en) Focus detector, imaging device, and interchangeable lens
JP2018191304A (en) Imaging element and imaging device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190530

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210310

R151 Written notification of patent or utility model registration

Ref document number: 6851744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees