JP2018014625A - Image processing apparatus and control method thereof, imaging device - Google Patents

Image processing apparatus and control method thereof, imaging device Download PDF

Info

Publication number
JP2018014625A
JP2018014625A JP2016143193A JP2016143193A JP2018014625A JP 2018014625 A JP2018014625 A JP 2018014625A JP 2016143193 A JP2016143193 A JP 2016143193A JP 2016143193 A JP2016143193 A JP 2016143193A JP 2018014625 A JP2018014625 A JP 2018014625A
Authority
JP
Japan
Prior art keywords
signal
detection
image
defect
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016143193A
Other languages
Japanese (ja)
Inventor
武志 小川
Takeshi Ogawa
武志 小川
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 JP2016143193A priority Critical patent/JP2018014625A/en
Publication of JP2018014625A publication Critical patent/JP2018014625A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve accuracy of defect detection of multiple image signals acquired by an image pickup device including multiple photoelectric conversion parts.SOLUTION: An image pickup device 102 includes multiple photoelectric conversion parts, and can read a first signal (A image signal) and a second signal (A+B image signal). An image signal processing unit 103 generates a third signal (B image signal) from the first and second signals. A first continuous defect detector 105 acquires first and third signals and detects continuous defects for each predetermined range. A second continuous defect detector 111 acquires first and third signals, and performs defect detection in a detection period corresponding to a focus detection region. A focus detector 106 performs focus detection by acquiring first and third signals, when the first continuous defect detector 105 or second continuous defect detector 111 does not detect a defect, and does not use the first and third signals for focus detection, when the first continuous defect detector 105 and second continuous defect detector 111 detected a defect.SELECTED DRAWING: Figure 1

Description

本発明は、複数の光電変換部を備える撮像素子により取得される複数の画像信号の信号処理技術に関する。   The present invention relates to a signal processing technique for a plurality of image signals acquired by an imaging device including a plurality of photoelectric conversion units.

撮像装置の焦点検出には、撮像面位相差検出方式がある。1つのマイクロレンズに対応する複数の光電変換部として、分割されたフォトダイオードを備える画素構成の撮像素子において、撮像光学系の異なる瞳部分領域をそれぞれ通過した光を各フォトダイオードが受光する。この構成によれば、撮像画像と同時に焦点検出用信号を取得可能である。特許文献1では、分割された複数の画素(分割画素)のうち、一方の画素から信号を読み出した後に、各分割画素の電荷を加算した信号を読み出す構成において、焦点検出画素に欠陥が生じた場合の検出および補正方法について開示されている。   There is an imaging surface phase difference detection method for focus detection of an imaging device. In an imaging device having a pixel configuration including divided photodiodes as a plurality of photoelectric conversion units corresponding to one microlens, each photodiode receives light that has passed through different pupil partial regions of the imaging optical system. According to this configuration, the focus detection signal can be acquired simultaneously with the captured image. In Patent Document 1, in a configuration in which a signal obtained by adding the charges of each divided pixel is read out after reading a signal from one pixel among a plurality of divided pixels (divided pixels), a defect occurs in the focus detection pixel. A case detection and correction method is disclosed.

特開2014―146023号公報JP 2014-146023 A

特許文献1に開示された技術では、対をなす一方の像信号のレベルが閾値以下である行が欠陥行として検出される。このため、行全体が欠陥行となっている場合にしか、分割画素の欠陥を検出できない。
本発明の目的は、複数の光電変換部を備える撮像素子により取得される複数の画像信号に係る欠陥検出の精度を高めることである。
In the technique disclosed in Patent Document 1, a row in which the level of one of the paired image signals is equal to or less than a threshold is detected as a defective row. For this reason, the defect of a divided pixel can be detected only when the entire row is a defective row.
An object of the present invention is to improve the accuracy of defect detection related to a plurality of image signals acquired by an image sensor including a plurality of photoelectric conversion units.

本発明の一実施形態の装置は、複数の光電変換部を備えた複数の画素を有する撮像素子により取得される複数の画像信号を処理する画像処理装置であって、前記複数の画素のそれぞれにおいて、前記複数の光電変換部の一部の光電変換部に蓄積された電荷に基づく第1の信号、および、前記複数の光電変換部に蓄積された電荷に基づく第2の信号を取得し、前記第1および第2の信号の差分に基づく第3の信号を生成する信号処理を行う第1の信号処理手段と、第1の検出期間に前記第1または第3の信号の欠陥を検出する第1の検出手段と、第2の検出期間に前記第1または第3の信号の欠陥を検出する第2の検出手段と、前記第1および第3の信号を取得して信号処理を行う第2の信号処理手段と、を備える。前記第2の信号処理手段は、前記第1または第2の検出手段が欠陥を検出しない場合に前記第1および第3の信号を取得して信号処理をした結果を出力し、前記第1および第2の検出手段が欠陥を検出した場合には前記第1および第3の信号を取得して信号処理をした結果を出力しないことを特徴とする。   An apparatus according to an embodiment of the present invention is an image processing apparatus that processes a plurality of image signals acquired by an imaging device having a plurality of pixels including a plurality of photoelectric conversion units, and each of the plurality of pixels Obtaining a first signal based on charges accumulated in a part of the plurality of photoelectric conversion units, and a second signal based on charges accumulated in the plurality of photoelectric conversion units, First signal processing means for performing signal processing to generate a third signal based on a difference between the first and second signals, and a first signal processing unit for detecting a defect in the first or third signal in a first detection period. A first detection means; a second detection means for detecting a defect of the first or third signal in a second detection period; and a second for obtaining the first and third signals and performing signal processing. Signal processing means. The second signal processing means outputs the result of signal processing by acquiring the first and third signals when the first or second detection means does not detect a defect, and outputs the first and third signals. When the second detection means detects a defect, the first and third signals are acquired and the result of signal processing is not output.

本発明によれば、複数の光電変換部を備える撮像素子により取得される複数の画像信号に係る欠陥検出の精度を高めることができる。   ADVANTAGE OF THE INVENTION According to this invention, the precision of the defect detection which concerns on several image signals acquired by an image pick-up element provided with several photoelectric conversion parts can be improved.

本発明の実施例1の構成を示すブロック図である。It is a block diagram which shows the structure of Example 1 of this invention. 実施例1の撮像素子の画素部を示す断面図および配列図である。FIG. 2 is a cross-sectional view and an array diagram illustrating a pixel portion of the image sensor according to the first embodiment. 実施例1の信号波形を示すタイミングチャートである。3 is a timing chart showing signal waveforms of Example 1. 実施例1の輝度信号波形を例示する図である。FIG. 3 is a diagram illustrating a luminance signal waveform according to the first embodiment. 実施例1の連続欠陥検出回路の構成を示す回路図である。FIG. 3 is a circuit diagram illustrating a configuration of a continuous defect detection circuit according to the first embodiment. 実施例1の焦点検出部の回路構成を示す図である。FIG. 3 is a diagram illustrating a circuit configuration of a focus detection unit according to the first embodiment. 実施例1の焦点検出および焦点調節処理のフローチャートである。3 is a flowchart of focus detection and focus adjustment processing according to the first exemplary embodiment. 実施例1の焦点検出演算のフローチャートである。3 is a flowchart of focus detection calculation according to the first embodiment. 本発明の実施例2の連続欠陥検出回路の構成を示す回路図である。It is a circuit diagram which shows the structure of the continuous defect detection circuit of Example 2 of this invention.

以下に、本発明の好ましい実施形態を、添付図面に基づいて詳細に説明する。各実施例では、複数の画像信号を処理する画像処理装置として撮像装置への適用例を示す。例えば、撮像素子は撮像光学系の異なる瞳部分領域をそれぞれ通過した光を受光可能な複数の光電変換部を備えており、信号処理部は複数の画像信号を用いて、撮像光学系の焦点検出処理を行う。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In each embodiment, an application example to an imaging apparatus is shown as an image processing apparatus that processes a plurality of image signals. For example, the imaging device includes a plurality of photoelectric conversion units that can receive light that has passed through different pupil partial areas of the imaging optical system, and the signal processing unit uses a plurality of image signals to detect the focus of the imaging optical system. Process.

[実施例1]
図1を参照して、本発明の実施例1に係る撮像装置100について説明する。撮像レンズユニット101は撮像光学系を構成し、複数のレンズおよび絞り等の光学部材を備える。例えばズームレンズの駆動により画角変更が行われ、フォーカスレンズの移動により焦点調節が行われる。
[Example 1]
With reference to FIG. 1, an imaging apparatus 100 according to Embodiment 1 of the present invention will be described. The imaging lens unit 101 constitutes an imaging optical system and includes a plurality of lenses and optical members such as a diaphragm. For example, the angle of view is changed by driving the zoom lens, and the focus is adjusted by moving the focus lens.

撮像素子102は、撮像レンズユニット101を通して結像される被写体からの光を受光して光電変換を行い、撮像信号を出力する。像信号処理部103は撮像素子102から撮像信号を取得し、後述するA像分離およびB像生成の処理を行う。以下では、撮像素子102により取得される一対の像のうち、第1の像をA像と呼び、第2の像をB像と呼ぶ。A像およびB像を併せた画像をA+B像と呼ぶ。   The image sensor 102 receives light from a subject imaged through the imaging lens unit 101, performs photoelectric conversion, and outputs an imaging signal. The image signal processing unit 103 acquires an image pickup signal from the image pickup element 102, and performs A image separation and B image generation processing described later. Hereinafter, among the pair of images acquired by the image sensor 102, the first image is referred to as an A image and the second image is referred to as a B image. An image obtained by combining the A image and the B image is referred to as an A + B image.

信号処理回路104は、像信号処理部103の出力108であるA+B像信号を取得して、所定の画像処理を行う。所定の画像処理とは、表示用または記録用の映像信号を生成するために実行される階調補正処理や変換処理等である。   The signal processing circuit 104 acquires the A + B image signal that is the output 108 of the image signal processing unit 103, and performs predetermined image processing. The predetermined image processing is gradation correction processing, conversion processing, or the like executed to generate a video signal for display or recording.

本実施例は、第1の連続欠陥検出部105と第2の連続欠陥検出部111を備え、像信号処理部103の出力109,110であるA像信号およびB像信号をそれぞれ取得して検出処理を行う。焦点検出部106は、像信号処理部103からA像信号およびB像信号を取得して、撮像面位相差検出方式の焦点検出を行う。制御部200は焦点検出部106からの焦点検出結果に基づき、撮像レンズユニット101のデフォーカス量を算出し、フォーカスレンズの駆動量を算出する。制御部200が算出した駆動量にしたがってフォーカスレンズの駆動制御が行われ、焦点調節動作が行われる。   The present embodiment includes a first continuous defect detection unit 105 and a second continuous defect detection unit 111, and acquires and detects the A image signal and the B image signal that are the outputs 109 and 110 of the image signal processing unit 103, respectively. Process. The focus detection unit 106 acquires the A image signal and the B image signal from the image signal processing unit 103 and performs focus detection by the imaging surface phase difference detection method. The control unit 200 calculates the defocus amount of the imaging lens unit 101 based on the focus detection result from the focus detection unit 106, and calculates the drive amount of the focus lens. Drive control of the focus lens is performed according to the drive amount calculated by the control unit 200, and a focus adjustment operation is performed.

図2を参照して、撮像素子102の画素構造を説明する。図2(A)は撮像素子102の画素構造を示す断面図である。図2(B)は画素配列を示す模式図である。1つの画素部は、マイクロレンズ201、カラーフィルタ202、複数の光電変換部203と204を備える。第1の光電変換部203はA像に対応する光電変換部であり、各画素部における当該光電変換部に蓄積された電荷の量に応じた出力に基づいてA像信号が取得される。第2の光電変換部204はB像に対応する光電変換部であり、各画素部における当該光電変換部に蓄積された電荷の量に応じた出力に基づいてB像信号が取得される。   The pixel structure of the image sensor 102 will be described with reference to FIG. FIG. 2A is a cross-sectional view illustrating a pixel structure of the image sensor 102. FIG. 2B is a schematic diagram showing a pixel array. One pixel unit includes a microlens 201, a color filter 202, and a plurality of photoelectric conversion units 203 and 204. The first photoelectric conversion unit 203 is a photoelectric conversion unit corresponding to the A image, and an A image signal is acquired based on an output corresponding to the amount of charge accumulated in the photoelectric conversion unit in each pixel unit. The second photoelectric conversion unit 204 is a photoelectric conversion unit corresponding to the B image, and a B image signal is acquired based on an output corresponding to the amount of charge accumulated in the photoelectric conversion unit in each pixel unit.

1つのマイクロレンズ201に対して、光電変換部203および204が配置されているので、光電変換部203の出力から生成したA像と光電変換部204の出力から生成したB像には視差が生じる。よって、視差を有する画像(視差画像)の投影位置のずれを検出することによって焦点検出が行われる。   Since the photoelectric conversion units 203 and 204 are arranged for one microlens 201, parallax occurs between the A image generated from the output of the photoelectric conversion unit 203 and the B image generated from the output of the photoelectric conversion unit 204. . Therefore, focus detection is performed by detecting a shift in the projection position of an image having a parallax (parallax image).

図2(B)は、光電変換部203、204を含む画素部がR,G,G,Bのベイヤー配列である例を示す。Rは赤色フィルタの色、Gは緑色フィルタの色、Bは青色フィルタの色をそれぞれ示す。撮像素子102にて、4画素を1つの組として2次元アレイ上に各画素部が規則的に配列されている。   FIG. 2B shows an example in which the pixel portion including the photoelectric conversion portions 203 and 204 is an R, G, G, and B Bayer array. R represents the color of the red filter, G represents the color of the green filter, and B represents the color of the blue filter. In the image sensor 102, each pixel portion is regularly arranged on a two-dimensional array with four pixels as one set.

本実施例の撮像素子102は、A像の画素信号を読み出した後に、A像とB像の電荷を加算したA+B像信号を読み出す。像信号処理部103は、撮像素子102から読み出した信号に基づき、A像信号、B像信号、A+B像信号をそれぞれ生成する。例えば、A+B像信号からA像信号を減算することによってB像信号を生成することができる。   The image sensor 102 according to the present exemplary embodiment reads the A + B image signal obtained by adding the charges of the A image and the B image after reading the pixel signal of the A image. The image signal processing unit 103 generates an A image signal, a B image signal, and an A + B image signal based on the signal read from the image sensor 102. For example, the B image signal can be generated by subtracting the A image signal from the A + B image signal.

像信号処理部103は、A像信号、B像信号、A+B像信号をそれぞれ出力する出力端子を有する。第1の出力端子は、A+B像の出力108に対応する。出力108はA像とB像の各画素信号が加算された状態であるので、ベイヤー配列の撮像信号と等価である。出力108は信号処理回路104にて映像信号へ処理された後、不図示の後段回路に送られ、圧縮および記録処理が行われる。信号処理回路104以降の回路については、本発明の内容と直接関係がないため、それらの説明を省略する。   The image signal processing unit 103 has output terminals for outputting an A image signal, a B image signal, and an A + B image signal, respectively. The first output terminal corresponds to the output 108 of the A + B image. Since the output 108 is a state in which the pixel signals of the A image and the B image are added, it is equivalent to the image signal of the Bayer array. The output 108 is processed into a video signal by the signal processing circuit 104 and then sent to a subsequent circuit (not shown) for compression and recording processing. Since the circuit after the signal processing circuit 104 is not directly related to the contents of the present invention, the description thereof is omitted.

像信号処理部103の第2の出力端子は、A像の出力109に対応する。また像信号処理部103の第3の出力端子は、B像の出力110に対応する。出力109,110については、焦点検出部106および連続欠陥検出部105,111によって、それぞれの検出処理が行われる。連続欠陥検出部105,111の各検出信号は論理積演算部112に出力される。論理積演算部112は、各検出信号から論理積演算結果を示す信号(以下、総合欠陥検出信号という)を算出し、焦点検出部106に出力する。検出処理の詳細については後述する。   The second output terminal of the image signal processing unit 103 corresponds to the output 109 of the A image. The third output terminal of the image signal processing unit 103 corresponds to the output 110 of the B image. The outputs 109 and 110 are subjected to detection processing by the focus detection unit 106 and the continuous defect detection units 105 and 111, respectively. The detection signals of the continuous defect detection units 105 and 111 are output to the AND operation unit 112. The AND operation unit 112 calculates a signal indicating the AND operation result (hereinafter referred to as a comprehensive defect detection signal) from each detection signal and outputs the signal to the focus detection unit 106. Details of the detection process will be described later.

図3を参照して、本実施例の信号処理について説明する。図3は各部の信号を示すタイミングチャートである。撮像素子102の出力信号107にて、A像信号の読み出しタイミングを示す波形301と、当該波形に後続するA+B像信号を読み出しタイミングを示す波形302を示す。波形301および302の期間が撮像信号の1水平期間(水平同期信号の時間間隔)に対応しており、その繰り返しにより1フレーム分の画素信号が転送される。   With reference to FIG. 3, the signal processing of the present embodiment will be described. FIG. 3 is a timing chart showing signals of each part. In the output signal 107 of the image sensor 102, a waveform 301 indicating the readout timing of the A image signal and a waveform 302 indicating the readout timing of the A + B image signal following the waveform are shown. The periods of the waveforms 301 and 302 correspond to one horizontal period (time interval of the horizontal synchronization signal) of the imaging signal, and pixel signals for one frame are transferred by repeating the period.

A+B像の出力108は、撮像素子102の出力信号107のうち、波形302の期間における信号をそのまま通過させる事により得られ、波形303として出力される。A+B像信号は、A像とB像の各画素信号が加算されたベイヤー配列の信号であり、信号処理回路104が信号処理を行うことにより、映像信号となる。   The output 108 of the A + B image is obtained by passing the signal in the period of the waveform 302 out of the output signal 107 of the image sensor 102 and is output as the waveform 303. The A + B image signal is a Bayer array signal obtained by adding the pixel signals of the A image and the B image, and becomes a video signal when the signal processing circuit 104 performs signal processing.

A像の出力109は、像信号処理部103内部の遅延回路により遅延されて、波形304の期間に出力される。B像の出力110は、像信号処理部103にて、A+B像信号(波形303参照)から、遅延されたA像信号(波形304参照)を減算することで生成され、波形305の期間に出力される。波形306,313は、その周期が1水平期間に対応する。撮像素子102の出力信号107に基づいて、A+B像信号、A像信号、およびB像信号がそれぞれ1水平期間内に出力される。   The output 109 of the A image is delayed by a delay circuit in the image signal processing unit 103 and output during the period of the waveform 304. The B image output 110 is generated by subtracting the delayed A image signal (see waveform 304) from the A + B image signal (see waveform 303) in the image signal processing unit 103, and is output during the period of the waveform 305. Is done. The periods of the waveforms 306 and 313 correspond to one horizontal period. Based on the output signal 107 of the image sensor 102, an A + B image signal, an A image signal, and a B image signal are each output within one horizontal period.

次に図4を参照して、連続欠陥検出について説明する。図4(A)および(B)にて、横軸は画素の水平位置を表わし、縦軸は信号レベルを表わす。図4(A)は、A+B像として欠陥はなく、A像およびB像に分離したときに連続的な欠陥を生じる場合の1水平期間の信号を示している。例えば、A+B像信号は正常に読み出せるが、A像信号が正しくないという欠陥が発生する場合があり得る。これは、撮像素子102内部のA像の転送回路とB像の転送回路がショートすることで、A像の出力109として、実質的にA+B像信号が出力されてしまうことに起因する。この場合、2つの光電変換部の信号を加算した信号は正常に出力されるが、個々の光電変換部の信号に欠陥が起こり得る。図4(A)に、A+B像信号の画素ごとの信号レベルを示す振幅401、A像信号の画素ごとの信号レベルを示す振幅402、B像信号の画素ごとの信号レベルを示す振幅403をそれぞれ示す。   Next, continuous defect detection will be described with reference to FIG. 4A and 4B, the horizontal axis represents the horizontal position of the pixel, and the vertical axis represents the signal level. FIG. 4A shows a signal for one horizontal period when there is no defect as the A + B image and a continuous defect occurs when the A + B image is separated. For example, a defect that an A + B image signal can be read normally but an A image signal is not correct may occur. This is because the A + B image signal is substantially output as the A image output 109 by short-circuiting the A image transfer circuit and the B image transfer circuit inside the image sensor 102. In this case, the signal obtained by adding the signals of the two photoelectric conversion units is normally output, but the signals of the individual photoelectric conversion units may be defective. 4A shows an amplitude 401 indicating the signal level of each pixel of the A + B image signal, an amplitude 402 indicating the signal level of each pixel of the A image signal, and an amplitude 403 indicating the signal level of each pixel of the B image signal. Show.

領域405は、A像の転送回路とB像の転送回路がショートする連続欠陥により、A+B像信号の振幅401とA像信号の振幅402が同じ信号レベルとなっている領域である。その結果、B像信号の振幅403はゼロ付近にまでレベルが下がっている状態である。また領域406は、A像信号の振幅402の信号が徐々に正しい値に回復する過程で発生する過渡期の領域である。このような欠陥はA像信号読み出し回路が電気的に不安定となる場合に発生し得る。正常な状態に戻る際には、なだらかに特性が回復する。A像信号読み出し回路が電気的に元の状態に回復するときにB像信号の振幅403には、被写体に起因しない振幅が発生することになる。   A region 405 is a region in which the amplitude 401 of the A + B image signal and the amplitude 402 of the A image signal have the same signal level due to a continuous defect in which the A image transfer circuit and the B image transfer circuit are short-circuited. As a result, the level of the amplitude 403 of the B image signal is lowered to near zero. A region 406 is a region in a transition period that occurs in the process of gradually recovering the signal of the amplitude 402 of the A image signal to a correct value. Such a defect may occur when the A image signal readout circuit becomes electrically unstable. When returning to the normal state, the characteristics are gradually recovered. When the A image signal readout circuit is electrically restored to the original state, an amplitude that is not attributed to the subject is generated in the amplitude 403 of the B image signal.

焦点検出部106は位相差検出を行うときに、バンドパスフィルタを用いて特定の周波数帯域でのエッジ成分を抽出し、一致度合いの高い位相を相関演算により算出する。その際、被写体に由来しないエッジ成分がA像およびB像に紛れ込むと、演算結果の誤差が大きくなってしまうという問題が発生する。この場合、A像信号とB像信号とのレベル差が、被写体に係るデフォーカス状態により発生したものであるのか、図4(A)のように撮像素子内部のA像信号読み出し回路の不安定によって発生したものなのかを区別することは困難である。   When performing the phase difference detection, the focus detection unit 106 extracts edge components in a specific frequency band using a bandpass filter, and calculates a phase with a high degree of coincidence by correlation calculation. At this time, if an edge component not derived from the subject is mixed into the A image and the B image, there arises a problem that an error in the calculation result becomes large. In this case, whether the level difference between the A image signal and the B image signal is caused by the defocused state relating to the subject or the instability of the A image signal readout circuit inside the image sensor as shown in FIG. It is difficult to distinguish what is caused by.

図4(A)の領域407においては、A像信号読み出し回路が正常な状態に回復しているため、焦点検出が可能な状態となっている。ここで、図4(B)は欠陥が発生していない場合、すなわち被写体に係るデフォーカス状態によりA像信号とB像信号のレベルが大きく異なっている例を示す。この場合には、欠陥と検出することなく正常に扱う必要がある。   In the region 407 in FIG. 4A, the focus detection is possible because the A image signal readout circuit is restored to a normal state. Here, FIG. 4B shows an example where no defect has occurred, that is, the levels of the A image signal and the B image signal are greatly different depending on the defocus state relating to the subject. In this case, it is necessary to handle it normally without detecting it as a defect.

図4(B)において、A+B像信号の振幅408、A像信号の振幅409、B像信号の振幅410をそれぞれ示す。横軸は画素の水平位置を表わし、信号読み出しの時間軸に対応する。第1の検出期間411として欠陥検出期間1を示し、第2の検出期間412として欠陥検出期間2を示す。欠陥検出期間2は欠陥検出期間1より短いものとする。領域413は焦点検出枠に対応する。   FIG. 4B shows an amplitude 408 of the A + B image signal, an amplitude 409 of the A image signal, and an amplitude 410 of the B image signal. The horizontal axis represents the horizontal position of the pixel and corresponds to the time axis of signal readout. The defect detection period 1 is shown as the first detection period 411, and the defect detection period 2 is shown as the second detection period 412. The defect detection period 2 is shorter than the defect detection period 1. A region 413 corresponds to the focus detection frame.

領域413ではA像信号の振幅409が相対的に大きく、B像信号の振幅410は相対的に小さい。焦点検出枠に対応する領域413においては、図4(A)に示す領域405又は406での欠陥状態との区別が難しい。これに対し、第2の検出期間412よりも十分に長い第1の検出期間411に対応する広い領域に対して欠陥状態の評価を行えば、デフォーカス状態にて発生するA像信号とB像信号とのバランス崩れによる影響を受けにくくなる。   In the region 413, the amplitude 409 of the A image signal is relatively large, and the amplitude 410 of the B image signal is relatively small. In the region 413 corresponding to the focus detection frame, it is difficult to distinguish from the defect state in the region 405 or 406 shown in FIG. On the other hand, if the defect state is evaluated for a wide area corresponding to the first detection period 411 that is sufficiently longer than the second detection period 412, the A image signal and the B image generated in the defocus state Less susceptible to signal imbalance.

本実施例では、図4(A)に示す領域405と406での欠陥状態を検出し、そのときの像信号を焦点検出に利用しないことで誤検出の発生を防止することを目的とする。すなわち、図4(A)に示す領域407での信号を有効な焦点検出用信号として利用することが目的である。そのために、局所的な領域での評価だけでなく、デフォーカス状態にて発生するA像信号とB像信号とのバランス崩れが発生しにくい1ライン全体での評価をすることによって、欠陥を検出する。これにより、デフォーカスの影響を受けやすい局所的な検出エリアでの検出ミスを防止することが可能となる。   This embodiment aims to prevent the occurrence of false detection by detecting the defect state in the areas 405 and 406 shown in FIG. 4A and not using the image signal at that time for focus detection. That is, the purpose is to use the signal in the region 407 shown in FIG. 4A as an effective focus detection signal. Therefore, not only the evaluation in the local area, but also the defect detection is performed by evaluating the entire A line where the balance between the A image signal and the B image signal generated in the defocus state is less likely to occur. To do. Thereby, it becomes possible to prevent a detection error in a local detection area that is easily affected by defocusing.

本実施例では、図4(B)の第1の検出期間411として1水平期間を用い、第2の検出期間412として焦点検出枠の領域413に相当する期間を用いる。図4(B)の第1の検出期間411では、A像信号の振幅409とB像信号の振幅410はほぼ同等となる。これに対して、図4(A)の場合には、連続欠陥の領域405を含むため、第1の検出期間411にてA像信号の振幅402とB像信号の振幅403との間に有意差がある。このような状態が欠陥状態として検出される。   In this embodiment, one horizontal period is used as the first detection period 411 in FIG. 4B, and a period corresponding to the focus detection frame region 413 is used as the second detection period 412. In the first detection period 411 in FIG. 4B, the amplitude 409 of the A image signal and the amplitude 410 of the B image signal are substantially equal. On the other hand, in the case of FIG. 4A, since a continuous defect region 405 is included, there is a significant difference between the amplitude 402 of the A image signal and the amplitude 403 of the B image signal in the first detection period 411. There is a difference. Such a state is detected as a defect state.

図5は第1の連続欠陥検出部105および第2の連続欠陥検出部111の構成例を示す回路図である。第1の連続欠陥検出部105と第2の連続欠陥検出部111は同じ回路構成であるが、端子503から与えられる検出期間、および、端子504から与えられる検出閾値の設定値が異なる。よって、以下では2つの連続欠陥検出部に共通する回路構成として説明する。   FIG. 5 is a circuit diagram illustrating a configuration example of the first continuous defect detection unit 105 and the second continuous defect detection unit 111. The first continuous defect detection unit 105 and the second continuous defect detection unit 111 have the same circuit configuration, but the detection period given from the terminal 503 and the set value of the detection threshold given from the terminal 504 are different. Therefore, in the following description, the circuit configuration is common to the two continuous defect detection units.

A像信号入力端子501には像信号処理部103からのA像信号が入力される。B像信号入力端子502には像信号処理部103からのB像信号が入力される。積分器505はA像入力信号の積分を行い、積分器506はB像入力信号の積分を行う。積分器505,506は、加算器およびスイッチ素子、遅延回路としてフリップフロップを備える。積分器505,506は、端子503からの入力信号(以下、検出期間信号という)がハイ(H)レベルになったときにスイッチ素子がオンして入力信号を積分し、検出期間信号がロー(L)レベルになるとゼロにリセットされる。   The A image signal from the image signal processing unit 103 is input to the A image signal input terminal 501. A B image signal from the image signal processing unit 103 is input to the B image signal input terminal 502. The integrator 505 integrates the A image input signal, and the integrator 506 integrates the B image input signal. Integrators 505 and 506 include adders, switch elements, and flip-flops as delay circuits. The integrators 505 and 506 integrate the input signal when the input signal from the terminal 503 (hereinafter referred to as a detection period signal) becomes high (H) level, and integrate the input signal. L) When the level is reached, it is reset to zero.

差分絶対値演算部507は、積分器505の出力と積分器506の出力との差分の絶対値を算出する。差分絶対値演算部507は減算器と絶対値回路を備える。差分絶対値演算部507は差分の大きさを示す信号を比較器508へ出力する。比較器508は、差分絶対値演算部507の出力と、端子504から入力される信号(以下、閾値信号という)を比較する。A像の積分値とB像の積分値の差分の大きさが設定された閾値と比較され、比較判定結果の信号は保持回路509へ出力される。   The difference absolute value calculation unit 507 calculates the absolute value of the difference between the output of the integrator 505 and the output of the integrator 506. The difference absolute value calculation unit 507 includes a subtracter and an absolute value circuit. The difference absolute value calculation unit 507 outputs a signal indicating the magnitude of the difference to the comparator 508. The comparator 508 compares the output of the difference absolute value calculation unit 507 with a signal input from the terminal 504 (hereinafter referred to as a threshold signal). The magnitude of the difference between the integral value of the A image and the integral value of the B image is compared with a set threshold value, and a signal of the comparison determination result is output to the holding circuit 509.

保持回路509はスイッチ素子とフリップフロップを備える。保持回路509は、端子503からの検出期間信号がハイレベルである期間に、入力信号を1サイクルだけ遅延した信号を端子510へ出力する。また、検出期間信号がローレベルになると、保持回路509は1サイクル前の信号を保持して端子510へ出力し続ける。   The holding circuit 509 includes a switch element and a flip-flop. The holding circuit 509 outputs a signal obtained by delaying the input signal by one cycle to the terminal 510 during a period in which the detection period signal from the terminal 503 is at a high level. When the detection period signal becomes a low level, the holding circuit 509 holds the signal of the previous cycle and continues to output it to the terminal 510.

第1の連続欠陥検出部105および第2の連続欠陥検出部111は、設定される検出期間が異なる。つまり、検出期間信号と閾値信号は、第1の検出期間411および第2の検出期間412に応じて異なる値をもつ信号である。第1の連続欠陥検出部105は第2の連続欠陥検出部111に比べて、検出時間が長く、広い範囲を検出対象とするので、被写体に係るデフォーカスの影響も軽度となる。このため、第1の検出期間411に対応する閾値信号としては、検出感度を高める設定値(閾値)とすることができる。   The first continuous defect detection unit 105 and the second continuous defect detection unit 111 have different detection periods that are set. That is, the detection period signal and the threshold signal are signals having different values depending on the first detection period 411 and the second detection period 412. Since the first continuous defect detection unit 105 has a longer detection time than the second continuous defect detection unit 111 and targets a wide range, the influence of defocusing on the subject is also light. For this reason, the threshold value signal corresponding to the first detection period 411 can be a set value (threshold value) that increases the detection sensitivity.

このように本実施例の連続欠陥検出部105および111は、それぞれの着目期間(検出期間)でのA像信号とB像信号との輝度差を検出している。したがって、第2の検出期間412の設定により、図4(B)の焦点検出枠に相当する領域413、および図4(A)の領域405、406にそれぞれ対応する期間において、図5の回路は欠陥状態を検出する。一方、第1の検出期間の設定の場合、図5の回路は、図4(A)では欠陥状態を検出するが、図4(B)ではA像とB像の積分値に有意差が現われないために欠陥状態として検出しない。本実施例の欠陥判定では、第1の検出期間411での検出結果と、第2の検出期間412での検出結果の両方で判定条件を満たす信号が検出された時のみ、欠陥が発生したと判断される。   As described above, the continuous defect detection units 105 and 111 according to the present embodiment detect a luminance difference between the A image signal and the B image signal in each focus period (detection period). Therefore, according to the setting of the second detection period 412, the circuit of FIG. 5 operates in the period corresponding to the region 413 corresponding to the focus detection frame in FIG. 4B and the regions 405 and 406 in FIG. Detect defect status. On the other hand, in the case of setting the first detection period, the circuit of FIG. 5 detects a defect state in FIG. 4 (A), but in FIG. 4 (B), a significant difference appears between the integrated values of the A and B images. It is not detected as a defect state because it In the defect determination of this embodiment, it is assumed that a defect has occurred only when a signal that satisfies the determination condition is detected in both the detection result in the first detection period 411 and the detection result in the second detection period 412. To be judged.

図3のタイミングチャートを参照して、第1の連続欠陥検出部105および第2の連続欠陥検出部111の各出力を説明する。水平欠陥検出信号は第1の連続欠陥検出部105の出力に相当し、AF(オートフォーカス)枠欠陥検出信号は第2の連続欠陥検出部111の出力に相当する。波形306の期間は第1の連続欠陥検出部105の端子503から入力される検出期間信号がハイレベルの期間を示している。水平欠陥検出信号のハイレベル期間308は、波形306の期間における信号の立下りで第1の連続欠陥検出部105の出力がハイレベルで保持され、欠陥が検出されたことを示している。次の波形313の水平期間における立下りでは欠陥が検出されていないので、水平欠陥検出信号はローレベルである。   With reference to the timing chart of FIG. 3, each output of the 1st continuous defect detection part 105 and the 2nd continuous defect detection part 111 is demonstrated. The horizontal defect detection signal corresponds to the output of the first continuous defect detection unit 105, and the AF (autofocus) frame defect detection signal corresponds to the output of the second continuous defect detection unit 111. A period of the waveform 306 indicates a period in which the detection period signal input from the terminal 503 of the first continuous defect detection unit 105 is at a high level. A high level period 308 of the horizontal defect detection signal indicates that the output of the first continuous defect detection unit 105 is held at a high level at the falling edge of the signal in the period of the waveform 306 and a defect is detected. Since no defect is detected at the falling edge of the next waveform 313 in the horizontal period, the horizontal defect detection signal is at a low level.

AF枠期間信号のハイレベル期間307は、第2の連続欠陥検出部111の端子503から入力される検出期間信号がハイレベルの期間を示している。AF枠欠陥検出信号のハイレベル期間309は、期間307で第2の連続欠陥検出部111の出力がハイレベルに保持され、欠陥が検出された事を示している。次のAF枠期間でも欠陥が検出されて期間310でもAF枠欠陥検出信号がハイレベルになっている。   A high level period 307 of the AF frame period signal indicates a period in which the detection period signal input from the terminal 503 of the second continuous defect detection unit 111 is at a high level. A high level period 309 of the AF frame defect detection signal indicates that the output of the second continuous defect detection unit 111 is held at a high level in the period 307 and a defect is detected. In the next AF frame period, a defect is detected, and even in the period 310, the AF frame defect detection signal is at a high level.

総合欠陥検出信号は、論理積演算部112により演算される、水平欠陥検出信号とAF枠欠陥検出信号との論理積信号である。よって、総合欠陥検出信号は期間311だけハイレベルとなり、期間312ではロー(L)レベルである。総合欠陥検出信号は焦点検出部106へ入力される。   The total defect detection signal is a logical product signal of the horizontal defect detection signal and the AF frame defect detection signal calculated by the logical product calculation unit 112. Therefore, the total defect detection signal is at a high level only during the period 311 and is at a low (L) level during the period 312. The total defect detection signal is input to the focus detection unit 106.

図6は、焦点検出部106の構成例を示すブロック図である。入力端子601はA像信号入力端子であり、入力端子602はB像信号入力端子である。入力端子603は総合欠陥検出信号の入力端子であり、欠陥を示す1ビットの信号が入力され、制御部200のマイクロコンピュータ607が取得する。取り込み回路605は、A像信号およびB像信号を取り込んでメモリ606へ書き込む。入力端子604からのAF枠期間信号の入力に従って各像信号が取り込まれ、メモリ606に記憶される。   FIG. 6 is a block diagram illustrating a configuration example of the focus detection unit 106. The input terminal 601 is an A image signal input terminal, and the input terminal 602 is a B image signal input terminal. The input terminal 603 is an input terminal for a comprehensive defect detection signal, and a 1-bit signal indicating a defect is input to the microcomputer 607 of the control unit 200. The capture circuit 605 captures the A image signal and the B image signal and writes them into the memory 606. Each image signal is captured in accordance with the input of the AF frame period signal from the input terminal 604 and stored in the memory 606.

入力端子608には水平期間に対応する信号が入力され、マイクロコンピュータ607が取得する。ある水平期間での処理が終わると、マイクロコンピュータ607はメモリ606に取り込まれたA像信号とB像信号を処理した後、次の水平期間を待つ。以降、同様の処理が所定の回数繰り返される。   A signal corresponding to the horizontal period is input to the input terminal 608 and is acquired by the microcomputer 607. When the processing in a certain horizontal period is completed, the microcomputer 607 processes the A image signal and the B image signal taken in the memory 606, and then waits for the next horizontal period. Thereafter, the same processing is repeated a predetermined number of times.

図7のフローチャートを参照して、焦点検出および焦点調節処理を説明する。以下の処理は、マイクロコンピュータ607がメモリから読み出して実行する制御プログラムにしたがって実現される。S701で焦点検出が開始すると、S702で撮像画面内の焦点検出領域(AFエリア)の設定処理が行われる。次のS703で撮像素子102からの読み出しが開始される。S704では、A像信号およびB像信号、欠陥情報に従い焦点検出が行われる。欠陥情報とは、総合欠陥検出信号の情報であり、例えば欠陥検出時に論理値「1」、非欠陥検出時に論理値「0」を示す情報である。   The focus detection and focus adjustment processing will be described with reference to the flowchart of FIG. The following processing is realized according to a control program that the microcomputer 607 reads from the memory and executes. When focus detection starts in S701, a focus detection area (AF area) setting process in the imaging screen is performed in S702. In the next S703, reading from the image sensor 102 is started. In S704, focus detection is performed according to the A image signal, the B image signal, and the defect information. The defect information is information of a comprehensive defect detection signal, for example, information indicating a logical value “1” when a defect is detected and a logical value “0” when a non-defect is detected.

S705でマイクロコンピュータ607は、焦点検出結果に基づいてフォーカスレンズの駆動量を算出し、フォーカスレンズの駆動制御を行う。S706でマイクロコンピュータ607は処理の継続について判断する。撮影動作への移行や、撮影の中断といった動作の変更がない場合(判定結果:Yes)、再びS702へ戻り、焦点検出および焦点調節処理を続行する。またS706で撮影動作への移行や撮影の中断と判定された場合(判定結果:No)、S707に処理を進め、次の動作に移行する。   In step S705, the microcomputer 607 calculates the driving amount of the focus lens based on the focus detection result, and performs drive control of the focus lens. In step S706, the microcomputer 607 determines whether to continue the process. If there is no change in operation such as transition to shooting operation or interruption of shooting (determination result: Yes), the process returns to S702 again to continue focus detection and focus adjustment processing. If it is determined in S706 that the shooting operation is to be switched or the shooting is interrupted (determination result: No), the process proceeds to S707 and the next operation is performed.

図8は、図7のS704の処理を詳細に説明するフローチャートである。S801で焦点検出演算が開始し、S802でマイクロコンピュータ607は総合欠陥検出信号を参照し、対象とする行のエリアに欠陥があるかどうかを判定する。対象行のエリアに欠陥があると判定された場合、S805に移行する。また、対象行のエリアに欠陥が無いと判定された場合にはS803に進む。S803でマイクロコンピュータ607は相関演算を行う。例えば、SAD(Sum of Absolute Difference)による演算の場合、A像信号とB像信号との位相に対応した差分の絶対値の配列が計算される。S804でマイクロコンピュータ607は、S803で計算したSADの配列を、前回の演算結果と加算する。   FIG. 8 is a flowchart for explaining in detail the processing of S704 of FIG. In step S801, the focus detection calculation starts. In step S802, the microcomputer 607 refers to the total defect detection signal and determines whether there is a defect in the target row area. When it is determined that there is a defect in the area of the target row, the process proceeds to S805. If it is determined that there is no defect in the area of the target row, the process proceeds to S803. In step S803, the microcomputer 607 performs correlation calculation. For example, in the case of calculation by SAD (Sum of Absolute Difference), an array of absolute values of differences corresponding to the phases of the A image signal and the B image signal is calculated. In step S804, the microcomputer 607 adds the SAD array calculated in step S803 to the previous calculation result.

S805は、A像およびB像について所定行数の処理を終了したか否かの判定処理である。所定行数の処理が終了していない場合、S802へ戻り、次の行の処理を行う。S802からS805の処理を所定回数に亘って繰り返す事で、SAD演算の配列を加算した配列が作成される。S805で、すべての行の処理を終了するとS806へ進む。   In step S805, it is determined whether or not a predetermined number of rows have been processed for the A and B images. If the predetermined number of lines has not been processed, the process returns to S802, and the next line is processed. By repeating the processes from S802 to S805 a predetermined number of times, an array in which the arrays of SAD operations are added is created. In S805, when all the lines have been processed, the process proceeds to S806.

S802にて、総合欠陥検出信号がハイレベルとなった場合、つまり欠陥ありと判定されると、S803の相関演算およびS804の相関演算結果の加算は行われない。したがって、欠陥のある行を含まないSAD演算結果の配列が作成される。   If the total defect detection signal becomes high level in S802, that is, if it is determined that there is a defect, the correlation calculation in S803 and the correlation calculation result in S804 are not added. Therefore, an array of SAD operation results that does not include defective rows is created.

S806でマイクロコンピュータ607は、SADの極小値のポジションを求め、パラボラフィッティングによりサブピクセルマッチングを行う。得られたシフト位置に光学的条件で決まる倍率を乗算することにより、デフォーカス量が算出される。デフォーカス量の算出が終わるとS807で復帰し、図7のS705へ処理を移す。   In S806, the microcomputer 607 obtains the position of the minimum value of SAD and performs sub-pixel matching by parabolic fitting. The defocus amount is calculated by multiplying the obtained shift position by a magnification determined by optical conditions. When the calculation of the defocus amount is completed, the process returns in S807, and the process proceeds to S705 in FIG.

本実施例では、欠陥の可能性が高い領域を除いた有効なA像信号およびB像信号を用いて焦点検出が行われる。本実施例によれば、1行のうちの一部に連続して発生した分割画素の欠陥を検出することができるので、精度の高い焦点検出および焦点調節を実現できる。   In this embodiment, focus detection is performed using an effective A image signal and B image signal excluding a region having a high possibility of a defect. According to the present embodiment, it is possible to detect a defect of a divided pixel that occurs continuously in a part of one row, and thus it is possible to realize focus detection and focus adjustment with high accuracy.

本実施例では相関演算にSADを用いたが、Sum of Squared Difference(SSD)やNormalized Cross-Correlation(NCC)による相関演算を用いても同様の効果が得られる。また、A像信号の積分値とB像信号の積分値との差分絶対値を閾値と比較して欠陥検出を行う例を説明したが、この例に限定されない。例えば、A像信号の積分値とB像信号の積分値との比を閾値と比較して欠陥の検出を行う場合でも同様の効果が得られる。以上の技術を撮像装置へ適用した例として焦点検出を説明したが、取得したデータに基づいて距離マップを作成する場合においても有効な技術である。距離マップは撮像された画像内の各被写体の奥行き方向の深度を示す距離分布データから構成され、3次元画像処理やリフォーカス処理等で使用される。   In this embodiment, SAD is used for correlation calculation, but the same effect can be obtained by using correlation calculation by Sum of Squared Difference (SSD) or Normalized Cross-Correlation (NCC). Moreover, although the example which performs the defect detection by comparing the absolute value of the difference between the integral value of the A image signal and the integral value of the B image signal with the threshold value has been described, the present invention is not limited to this example. For example, the same effect can be obtained even when a defect is detected by comparing the ratio between the integral value of the A image signal and the integral value of the B image signal with a threshold value. Although focus detection has been described as an example in which the above technique is applied to an imaging apparatus, this technique is also effective when a distance map is created based on acquired data. The distance map is composed of distance distribution data indicating the depth in the depth direction of each subject in the captured image, and is used in three-dimensional image processing, refocus processing, and the like.

[実施例2]
次に図9を参照して、本発明の実施例2について説明する。実施例1の場合と同様の構成部については既に使用した符号を用いることで、それらの詳細な説明を省略し、主に相違点を説明する。
[Example 2]
Next, Embodiment 2 of the present invention will be described with reference to FIG. The same components as those in the first embodiment are denoted by the same reference numerals as those used in the first embodiment, and detailed description thereof is omitted. Differences are mainly described.

図9は、本実施例の連続欠陥検出部105および111の構成例を示す回路図である。実施例1との相違点は、大小比算出回路901である。実施例1では、差分絶対値演算部507を用いたが、本実施例では大小比算出回路901を用いて、2つの入力信号から、大きい方の信号値と小さい方の信号値との比を算出する。つまり、大小比算出回路901は積分器505および506の各出力を取得し、大きい方の信号値を選択するMAX回路901aと、小さい方の信号値を選択するMIN回路901bを備える。除算回路901cは、MAX回路901aの出力を、MIN回路901bの出力で除算して、両者の比を算出する。大小比算出回路901の出力は比較器508に送られ、端子504からの閾値と比較されることで、判定結果が保持回路509へ出力される。   FIG. 9 is a circuit diagram illustrating a configuration example of the continuous defect detection units 105 and 111 according to the present embodiment. The difference from the first embodiment is a size ratio calculation circuit 901. In the first embodiment, the difference absolute value calculation unit 507 is used, but in this embodiment, the ratio between the larger signal value and the smaller signal value is calculated from two input signals using the magnitude ratio calculation circuit 901. calculate. That is, the magnitude ratio calculation circuit 901 includes outputs from the integrators 505 and 506, and includes a MAX circuit 901a that selects a larger signal value and a MIN circuit 901b that selects a smaller signal value. The division circuit 901c divides the output of the MAX circuit 901a by the output of the MIN circuit 901b and calculates the ratio between the two. The output of the magnitude ratio calculation circuit 901 is sent to the comparator 508, and compared with the threshold value from the terminal 504, so that the determination result is output to the holding circuit 509.

本実施例によれば、A像信号の積分値とB像信号の積分値との比を閾値と比較して欠陥の検出を行う場合に、1行のうちの一部に連続して発生した分割画素の欠陥を検出することができる。   According to this embodiment, when a defect is detected by comparing the ratio between the integral value of the A image signal and the integral value of the B image signal with a threshold value, the defect is continuously generated in a part of one row. A defect of a divided pixel can be detected.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
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 read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

102…撮像素子
103…像信号処理部
105…第1の連続欠陥検出部
111…第2の連続欠陥検出部
112…論理積演算部
DESCRIPTION OF SYMBOLS 102 ... Image pick-up element 103 ... Image signal processing part 105 ... 1st continuous defect detection part 111 ... 2nd continuous defect detection part 112 ... AND operation part

Claims (10)

複数の光電変換部を備えた複数の画素を有する撮像素子により取得される複数の画像信号を処理する画像処理装置であって、
前記複数の画素のそれぞれにおいて、前記複数の光電変換部の一部の光電変換部に蓄積された電荷に基づく第1の信号、および、前記複数の光電変換部に蓄積された電荷に基づく第2の信号を取得し、前記第1および第2の信号の差分に基づく第3の信号を生成する信号処理を行う第1の信号処理手段と、
第1の検出期間に前記第1または第3の信号の欠陥を検出する第1の検出手段と、
第2の検出期間に前記第1または第3の信号の欠陥を検出する第2の検出手段と、
前記第1および第3の信号を取得して信号処理を行う第2の信号処理手段と、を備え、
前記第2の信号処理手段は、前記第1または第2の検出手段が欠陥を検出しない場合に前記第1および第3の信号を取得して信号処理をした結果を出力し、前記第1および第2の検出手段が欠陥を検出した場合には前記第1および第3の信号を取得して信号処理をした結果を出力しないことを特徴とする画像処理装置。
An image processing apparatus that processes a plurality of image signals acquired by an imaging device having a plurality of pixels including a plurality of photoelectric conversion units,
In each of the plurality of pixels, a first signal based on charges accumulated in some photoelectric conversion units of the plurality of photoelectric conversion units, and a second signal based on charges accumulated in the plurality of photoelectric conversion units. First signal processing means for performing signal processing for obtaining a third signal based on a difference between the first and second signals,
First detection means for detecting a defect in the first or third signal in a first detection period;
Second detection means for detecting a defect in the first or third signal in a second detection period;
Second signal processing means for acquiring the first and third signals and performing signal processing;
The second signal processing means outputs the result of signal processing by acquiring the first and third signals when the first or second detection means does not detect a defect, and outputs the first and third signals. An image processing apparatus characterized in that when the second detection means detects a defect, the first and third signals are acquired and the result of signal processing is not output.
前記第2の検出期間は、前記第1の検出期間より短いことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second detection period is shorter than the first detection period. 前記第1の検出手段は、第1の閾値を用いて欠陥検出を行い、前記第2の検出手段は、前記第1の閾値とは異なる第2の閾値を用いて欠陥検出を行うことを特徴とする請求項1または請求項2に記載の画像処理装置。   The first detection unit performs defect detection using a first threshold value, and the second detection unit performs defect detection using a second threshold value different from the first threshold value. The image processing apparatus according to claim 1 or 2. 前記第2の信号処理手段は、前記第1の信号と前記第3の信号との位相差検出の演算を行うことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。   4. The image processing apparatus according to claim 1, wherein the second signal processing unit performs calculation of phase difference detection between the first signal and the third signal. 5. . 請求項1から4のいずれか1項に記載の画像処理装置と、
撮像光学系を通して被写体を撮像する前記撮像素子を備えることを特徴とする撮像装置。
An image processing apparatus according to any one of claims 1 to 4,
An image pickup apparatus comprising the image pickup device for picking up an image of a subject through an image pickup optical system.
前記第2の信号処理手段は、前記第1および第3の信号を取得して前記撮像光学系の焦点検出を行うことを特徴とする請求項5に記載の撮像装置。   The imaging apparatus according to claim 5, wherein the second signal processing unit acquires the first and third signals and performs focus detection of the imaging optical system. 前記撮像素子は、複数のマイクロレンズと、各マイクロレンズに対応する前記複数の光電変換部を備え、前記第1の信号を出力した後に前記第2の信号を出力し、
前記第1の信号処理手段は、視差を有する画像信号である前記第1および第3の信号を前記第2の信号処理手段に出力することを特徴とする請求項6に記載の撮像装置。
The imaging device includes a plurality of microlenses and the plurality of photoelectric conversion units corresponding to the respective microlenses, and outputs the second signal after outputting the first signal,
The imaging apparatus according to claim 6, wherein the first signal processing unit outputs the first and third signals, which are image signals having parallax, to the second signal processing unit.
前記第1の検出手段は、前記撮像素子による撮像信号の水平期間ごとに欠陥を検出し、
前記第2の検出手段は、焦点検出領域に対応する前記第2の検出期間に欠陥を検出することを特徴とする請求項6または請求項7に記載の撮像装置。
The first detection means detects a defect for each horizontal period of an image signal by the image sensor,
The imaging apparatus according to claim 6, wherein the second detection unit detects a defect in the second detection period corresponding to a focus detection region.
前記第1または第2の検出手段は、
前記第1の信号を積分して第1の信号値を算出するとともに、前記第3の信号を積分して第3の信号値を算出し、
前記第1の信号値と前記第3の信号値との差分の大きさ、または前記第1の信号値と前記第3の信号値との比を算出して閾値と比較することによって欠陥検出を行うことを特徴とする請求項6から8のいずれか1項に記載の撮像装置。
The first or second detection means includes
Integrating the first signal to calculate a first signal value and integrating the third signal to calculate a third signal value;
Defect detection is performed by calculating a magnitude of a difference between the first signal value and the third signal value, or a ratio between the first signal value and the third signal value and comparing it with a threshold value. The imaging device according to claim 6, wherein the imaging device is performed.
複数の光電変換部を備えた複数の画素を有する撮像素子により取得される複数の画像信号を処理する画像処理装置にて実行される制御方法であって、
第1の信号処理手段が、前記複数の画素のそれぞれにおいて、前記複数の光電変換部の一部の光電変換部に蓄積された電荷に基づく第1の信号、および、前記複数の光電変換部に蓄積された電荷に基づく第2の信号を取得し、前記第1および第2の信号の差分に基づく第3の信号を生成する信号処理を行う第1の信号処理工程と、
第1の検出手段により第1の検出期間に前記第1または第3の信号の欠陥を検出する第1の検出工程と、
第2の検出手段により第2の検出期間に前記第1または第3の信号の欠陥を検出する第2の検出工程と、
第2の信号処理手段が前記第1および第3の信号を取得して信号処理を行う第2の信号処理工程と、を有し、
前記第2の信号処理工程では、前記第1または第2の検出手段が欠陥を検出しない場合に前記第2の信号処理手段が前記第1および第3の信号を取得して信号処理した結果を出力し、前記第1および第2の検出手段が欠陥を検出した場合に前記第2の信号処理手段は前記第1および第3の信号を取得して信号処理した結果を出力しないことを特徴とする画像処理装置の制御方法。

A control method executed by an image processing apparatus that processes a plurality of image signals acquired by an image sensor having a plurality of pixels including a plurality of photoelectric conversion units,
In each of the plurality of pixels, a first signal processing unit includes a first signal based on charges accumulated in some photoelectric conversion units of the plurality of photoelectric conversion units, and the plurality of photoelectric conversion units. A first signal processing step of performing a signal processing for obtaining a second signal based on the accumulated charge and generating a third signal based on a difference between the first and second signals;
A first detection step of detecting defects in the first or third signal in a first detection period by a first detection means;
A second detection step of detecting defects in the first or third signal in a second detection period by a second detection means;
A second signal processing step in which a second signal processing means acquires the first and third signals and performs signal processing;
In the second signal processing step, when the first or second detection unit does not detect a defect, the second signal processing unit obtains the first and third signals and performs signal processing. And when the first and second detection means detect a defect, the second signal processing means does not output the signal processing result obtained by acquiring the first and third signals. For controlling an image processing apparatus.

JP2016143193A 2016-07-21 2016-07-21 Image processing apparatus and control method thereof, imaging device Pending JP2018014625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016143193A JP2018014625A (en) 2016-07-21 2016-07-21 Image processing apparatus and control method thereof, imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016143193A JP2018014625A (en) 2016-07-21 2016-07-21 Image processing apparatus and control method thereof, imaging device

Publications (1)

Publication Number Publication Date
JP2018014625A true JP2018014625A (en) 2018-01-25

Family

ID=61021180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016143193A Pending JP2018014625A (en) 2016-07-21 2016-07-21 Image processing apparatus and control method thereof, imaging device

Country Status (1)

Country Link
JP (1) JP2018014625A (en)

Similar Documents

Publication Publication Date Title
US11719908B2 (en) Image sensor and image capturing apparatus
US11493729B2 (en) Image sensor capable of reducing readout time and image capturing apparatus
JP6116301B2 (en) Imaging apparatus and control method thereof
US9083877B2 (en) Image processing apparatus, focus detection apparatus, and non-transitory computer-readable storage medium
US9948879B2 (en) Image processing apparatus, image processing method, and image capturing apparatus
JP6372983B2 (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE
US9781328B2 (en) Image pickup element for detecting saturation and outputting the result of saturation detection in association with pixel signal, method for controlling image pickup element, and image pickup apparatus
JP2021044599A (en) Detection device and sensor
US9836847B2 (en) Depth estimation apparatus, imaging device, and depth estimation method
US9307168B2 (en) Image capture apparatus and method for controlling image capture apparatus in which defective pixels are indicated
JP6381274B2 (en) Imaging device, control method thereof, and control program
US10362214B2 (en) Control apparatus, image capturing apparatus, control method, and non-transitory computer-readable storage medium
JP5737929B2 (en) Image processing apparatus and image processing method
US9503661B2 (en) Imaging apparatus and image processing method
JP6974599B2 (en) Image pickup device, distance measurement method, distance measurement program and recording medium
US10477098B2 (en) Control apparatus which sets defocus amount used for focusing, image capturing apparatus, control method, and storage medium
JP6678505B2 (en) Imaging device, control method therefor, program, and storage medium
JP2018014625A (en) Image processing apparatus and control method thereof, imaging device
KR101599434B1 (en) Space detecting apparatus for image pickup apparatus using auto focusing and the method thereof
JPWO2016080161A1 (en) Focus control device, focus control method, focus control program, lens device, imaging device
US10257407B2 (en) Focus detection apparatus, control method therefor, and storage medium for use therewith
JP2018014626A (en) Image processing apparatus and control method thereof, imaging device
JP6415139B2 (en) Focus detection apparatus, imaging apparatus, focus detection method, and focus detection program
JP2021057825A (en) Signal processing apparatus and method, and imaging apparatus
JP2014186227A (en) Imaging device, control method of the same and control program