JP2020198586A - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP2020198586A
JP2020198586A JP2019105073A JP2019105073A JP2020198586A JP 2020198586 A JP2020198586 A JP 2020198586A JP 2019105073 A JP2019105073 A JP 2019105073A JP 2019105073 A JP2019105073 A JP 2019105073A JP 2020198586 A JP2020198586 A JP 2020198586A
Authority
JP
Japan
Prior art keywords
pixel
offset
pixel signal
signal
correction
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
JP2019105073A
Other languages
Japanese (ja)
Inventor
正樹 沖田
Masaki Okita
正樹 沖田
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 JP2019105073A priority Critical patent/JP2020198586A/en
Publication of JP2020198586A publication Critical patent/JP2020198586A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)

Abstract

To correct the bias of a pixel signal caused by clipping a pixel signal without changing the black level of an image.SOLUTION: An imaging apparatus includes a plurality of first pixels (111) that output a pixel signal with a light receiving unit shielded from light, a plurality of second pixels (110) that output pixel signals on the basis of photoelectric conversion without shading the light receiving unit, an offset setting unit (230) that sets a first offset for the pixel signal of the first pixel, sets a second offset smaller than the first offset for the pixel signal of the second pixel, and clips the pixel signal of the second pixel to which the second offset has been set at the lower limit, and a correction unit (300) that corrects some of the pixel signals of the second pixel for which the second offset has been set.SELECTED DRAWING: Figure 1

Description

本発明は、撮像装置および撮像装置の制御方法に関する。 The present invention relates to an image pickup apparatus and a control method for the image pickup apparatus.

撮像装置は、遮光した画素から光学的黒レベル(OBレベル)の信号を読み出し、基準の黒レベルを決めている。各画素の信号値は、正の値で表される。撮像装置は、画素の信号値にオフセットレベルを加算し、オフセットレベル以下の値をゼロに置き換える。画像の特定の領域でゼロに置き換えられた画素が多いと、その領域において信号値に偏りが生じ、マゼンダなどの色付きとなって見えることがある。 The image pickup apparatus reads an optical black level (OB level) signal from the shaded pixels to determine a reference black level. The signal value of each pixel is represented by a positive value. The image pickup device adds the offset level to the signal value of the pixel and replaces the value below the offset level with zero. If there are many pixels replaced with zeros in a specific area of the image, the signal value will be biased in that area, and it may appear colored as magenta.

特許文献1には、有効画素の暗部の画素信号レベルをOBレベルと比較し、有効画素の暗部の画素信号レベルが低かった場合には、基準の黒レベルを変更し、ゼロへの置き換えを抑制する方法が開示されている。 In Patent Document 1, the pixel signal level of the dark part of the effective pixel is compared with the OB level, and when the pixel signal level of the dark part of the effective pixel is low, the reference black level is changed to suppress the replacement with zero. The method of doing so is disclosed.

特許文献2には、黒レベルを検出し、その黒レベルが閾値以下である場合、基準の黒レベルを切り替えることにより、ゼロへの置き換えを抑制する方法が開示されている。 Patent Document 2 discloses a method of suppressing replacement with zero by detecting a black level and switching the reference black level when the black level is equal to or less than a threshold value.

特開2018−182366号公報JP-A-2018-182366 特開2007−336477号公報JP-A-2007-336477

しかし、特許文献1および2は、画像全体の基準の黒レベルを変更しており、基準の黒レベルが高く設定された場合、画素信号を表現するデータのレンジが狭くなってしまう。 However, Patent Documents 1 and 2 change the reference black level of the entire image, and when the reference black level is set high, the range of data expressing the pixel signal becomes narrow.

本発明の目的は、画像の黒レベルを変えることなく、画素信号をクリップすることにより生じる画素信号の偏りを補正することができるようにすることである。 An object of the present invention is to make it possible to correct the bias of the pixel signal caused by clipping the pixel signal without changing the black level of the image.

本発明の一観点によれば、撮像装置は、受光部が遮光され、画素信号を出力する複数の第1の画素と、受光部が遮光されず、光電変換に基づく画素信号を出力する複数の第2の画素と、前記第1の画素の画素信号に対して第1のオフセットを設定し、前記第2の画素の画素信号に対して前記第1のオフセットより小さい第2のオフセットを設定し、前記第2のオフセットが設定された前記第2の画素の画素信号を下限値でクリップするオフセット設定部と、前記第2のオフセットが設定された前記第2の画素の画素信号のうちの一部の画素信号を補正する補正部とを有する。 According to one aspect of the present invention, in the imaging device, a plurality of first pixels whose light receiving portion is shielded from light and outputs a pixel signal, and a plurality of first pixels whose light receiving portion is not shielded from light and outputs a pixel signal based on photoelectric conversion. A first offset is set for the second pixel and the pixel signal of the first pixel, and a second offset smaller than the first offset is set for the pixel signal of the second pixel. , One of the offset setting unit that clips the pixel signal of the second pixel in which the second offset is set at the lower limit value and the pixel signal of the second pixel in which the second offset is set. It has a correction unit that corrects the pixel signal of the unit.

本発明によれば、画像の黒レベルを変えることなく、画素信号をクリップすることにより生じる画素信号の偏りを補正することができる。 According to the present invention, it is possible to correct the bias of the pixel signal caused by clipping the pixel signal without changing the black level of the image.

撮像装置の構成例を示す図である。It is a figure which shows the configuration example of the image pickup apparatus. オフセット設定部の出力信号のヒストグラムを示す図である。It is a figure which shows the histogram of the output signal of the offset setting part. ゼロクリップ補正部の構成例を示す図である。It is a figure which shows the structural example of the zero clip correction part. 対象画素選択を示す図である。It is a figure which shows the target pixel selection. 対象画素選択を示すフローチャートである。It is a flowchart which shows the target pixel selection. ゼロクリップ補正演算を示すフローチャートである。It is a flowchart which shows the zero clip correction operation. ゼロクリップ補正演算の効果を示す図である。It is a figure which shows the effect of a zero clip correction operation. ゼロクリップ補正部の構成例を示す図である。It is a figure which shows the structural example of the zero clip correction part. ゼロクリップ補正演算を示すフローチャートである。It is a flowchart which shows the zero clip correction operation.

(第1の実施形態)
図1は、第1の実施形態による撮像装置160の構成例を示す図である。撮像装置160は、撮像素子100および信号処理部200を有する。撮像素子100は、複数の画素112、制御部120、列回路130、転送回路140およびシリアルI/F150を有する。複数の画素112は、2次元行列状に配列され、複数の開口画素110および複数の光学的黒画素(OB画素)111に分けられる。複数の画素112は、それぞれ、赤(R)、緑(G)および青(B)のうちのいずれかのカラーフィルタを有する。OB画素111は、上部の行の画素112である。開口画素110は、中央部および下部の画素112である。
(First Embodiment)
FIG. 1 is a diagram showing a configuration example of the image pickup apparatus 160 according to the first embodiment. The image pickup device 160 includes an image pickup element 100 and a signal processing unit 200. The image pickup device 100 has a plurality of pixels 112, a control unit 120, a row circuit 130, a transfer circuit 140, and a serial I / F 150. The plurality of pixels 112 are arranged in a two-dimensional matrix and are divided into a plurality of aperture pixels 110 and a plurality of optical black pixels (OB pixels) 111. Each of the plurality of pixels 112 has a color filter of one of red (R), green (G), and blue (B). The OB pixel 111 is the pixel 112 in the upper row. The aperture pixels 110 are the central and lower pixels 112.

複数の開口画素110の各々は、受光部が遮光されておらず、レンズにより結像された光像を光電変換し、光電変換に基づく画素信号を出力する。複数のOB画素111の各々は、開口画素110と同様の構成を有し、受光部がアルミ配線などで遮光され、黒レベルの画素信号を出力する。制御部120は、行単位で、各行の画素112の画素信号を順に、列回路130に出力させる。列回路130は、各列の画素112の画素信号をアナログからデジタルに変換する。転送回路140は、各列の画素112のデジタルの画素信号を順に信号処理部200に転送する。撮像素子100は、すべての画素112の画素信号を順に信号処理部200に出力する。 Each of the plurality of aperture pixels 110 does not block the light receiving portion, and photoelectrically converts the light image formed by the lens and outputs a pixel signal based on the photoelectric conversion. Each of the plurality of OB pixels 111 has the same configuration as the aperture pixel 110, the light receiving portion is shielded from light by aluminum wiring or the like, and a black level pixel signal is output. The control unit 120 causes the column circuit 130 to output the pixel signals of the pixels 112 of each row in order on a row-by-row basis. The column circuit 130 converts the pixel signal of the pixel 112 in each column from analog to digital. The transfer circuit 140 sequentially transfers the digital pixel signals of the pixels 112 in each row to the signal processing unit 200. The image sensor 100 outputs the pixel signals of all the pixels 112 to the signal processing unit 200 in order.

信号処理部200は、光学的黒クランプ処理部(OBクランプ処理部)210、ゲイン処理部220、オフセットレベル設定部230、記憶部240およびゼロクリップ補正部300を有する。 The signal processing unit 200 includes an optical black clamp processing unit (OB clamp processing unit) 210, a gain processing unit 220, an offset level setting unit 230, a storage unit 240, and a zero clip correction unit 300.

OBクランプ処理部210は、転送回路140からすべての画素112の画素信号を順に入力する。画素112の画素信号は、開口画素110の画素信号およびOB画素111の画素信号を含む。OBクランプ処理部210は、複数のOB画素111の画素信号の平均値を算出し、その平均値を基準の黒レベルとして決定する。そして、OBクランプ処理部210は、OB画素111および開口画素110の画素信号から基準の黒レベルを減算することにより、OB画素111および開口画素110の画素信号の黒レベルを“0”にクランプする。OBクランプ処理部210が出力する画素信号は、例えば、正負符号付き16ビット信号である。 The OB clamp processing unit 210 sequentially inputs the pixel signals of all the pixels 112 from the transfer circuit 140. The pixel signal of the pixel 112 includes the pixel signal of the aperture pixel 110 and the pixel signal of the OB pixel 111. The OB clamp processing unit 210 calculates the average value of the pixel signals of the plurality of OB pixels 111, and determines the average value as the reference black level. Then, the OB clamping processing unit 210 clamps the black level of the pixel signals of the OB pixel 111 and the opening pixel 110 to "0" by subtracting the reference black level from the pixel signals of the OB pixel 111 and the opening pixel 110. .. The pixel signal output by the OB clamp processing unit 210 is, for example, a 16-bit signal with a positive or negative sign.

ゲイン処理部220は、OBクランプ処理部210が出力する画素信号に対して、ゲイン処理を行い、ゲイン処理された画素信号を出力する。 The gain processing unit 220 performs gain processing on the pixel signal output by the OB clamp processing unit 210, and outputs the gain-processed pixel signal.

記憶部240は、SRAMなどを有し、撮像装置160の起動時に、撮像装置160のROMから読み出した補正閾値THと開口画素オフセットとOB画素オフセットとを記憶する。 The storage unit 240 has an SRAM or the like, and stores the correction threshold value TH, the aperture pixel offset, and the OB pixel offset read from the ROM of the image pickup device 160 when the image pickup device 160 is started.

オフセット設定部230は、ゲイン処理部220が出力するOB画素111の画素信号に対して、記憶部240に記憶されているOB画素オフセットを設定し、正の画素信号を出力する。また、オフセット設定部230は、ゲイン処理部220が出力する開口画素110の画素信号に対して、記憶部240に記憶されている開口画素オフセットを設定し、正の画素信号を出力する。 The offset setting unit 230 sets the OB pixel offset stored in the storage unit 240 with respect to the pixel signal of the OB pixel 111 output by the gain processing unit 220, and outputs a positive pixel signal. Further, the offset setting unit 230 sets the opening pixel offset stored in the storage unit 240 with respect to the pixel signal of the opening pixel 110 output by the gain processing unit 220, and outputs a positive pixel signal.

具体的には、オフセット設定部230は、OB画素111の画素信号に対してOB画素オフセットを加算し、開口画素110の画素信号に対して開口画素オフセットを加算する。オフセット設定部230は、最初の開口画素110の画素信号または開口画素110の読み出し開始行のタイミングを基に、OB画素111と開口画素110の画素信号を判別する。このタイミングは、撮像素子100が行ごとの画素信号を読み出す際に使用する同期信号のタイミング、またはオフセット設定部230に入力された画素信号数をカウントするタイミングなどである。オフセット設定部230は、上記の加算後の画素信号が負となった場合、画素信号をゼロ(下限値)に置き換えることにより、画素信号をゼロ(下限値)でクリップする。画素112の画素信号は、熱や回路上のノイズなどで、完全に遮光した状態であってもばらつきを有する。 Specifically, the offset setting unit 230 adds the OB pixel offset to the pixel signal of the OB pixel 111, and adds the aperture pixel offset to the pixel signal of the aperture pixel 110. The offset setting unit 230 determines the pixel signals of the OB pixel 111 and the aperture pixel 110 based on the pixel signal of the first aperture pixel 110 or the timing of the read start line of the aperture pixel 110. This timing is the timing of the synchronization signal used when the image sensor 100 reads out the pixel signal for each row, the timing of counting the number of pixel signals input to the offset setting unit 230, and the like. When the pixel signal after the addition becomes negative, the offset setting unit 230 clips the pixel signal to zero (lower limit value) by replacing the pixel signal with zero (lower limit value). The pixel signal of the pixel 112 has variations due to heat, noise on the circuit, and the like even in a completely shielded state.

図2(a)および図2(b)は、ノイズが正規分布であり、遮光状態で撮影した場合のオフセット設定部230が出力する各画素112の画素信号のヒストグラムを示す図である。図2(a)は、ノイズのばらつきに対して、十分に大きなオフセットt1を画素112の画素信号に加算した場合のヒストグラムを示す。図2(b)は、ノイズのばらつきに対して、小さなオフセットt2を画素112の画素信号に加算した場合のヒストグラムを示す。オフセットt2は、オフセットt1より小さい。図2(a)および図2(b)において、横軸は画素112の画素信号値であり、縦軸は出現頻度を示す度数である。 2 (a) and 2 (b) are diagrams showing a histogram of the pixel signal of each pixel 112 output by the offset setting unit 230 when the noise has a normal distribution and the image is taken in a light-shielded state. FIG. 2A shows a histogram when a sufficiently large offset t1 is added to the pixel signal of the pixel 112 with respect to the variation in noise. FIG. 2B shows a histogram when a small offset t2 is added to the pixel signal of the pixel 112 with respect to the variation in noise. The offset t2 is smaller than the offset t1. In FIGS. 2A and 2B, the horizontal axis is the pixel signal value of the pixel 112, and the vertical axis is the frequency indicating the frequency of appearance.

図2(a)では、画素信号が正規分布の場合、オフセットt1を中心に出現頻度が漸減する。平均値u1は、オフセット設定部230が出力する画素信号に平均値であり、黒レベルの平均値を示す。 In FIG. 2A, when the pixel signals have a normal distribution, the frequency of appearance gradually decreases around the offset t1. The average value u1 is an average value for the pixel signal output by the offset setting unit 230, and indicates an average value of the black level.

図2(b)では、画素信号が正規分布の場合、オフセットt2を中心に出現頻度が漸減する。平均値u2は、オフセット設定部230が出力する画素信号に平均値であり、黒レベルの平均値を示す。 In FIG. 2B, when the pixel signals have a normal distribution, the frequency of appearance gradually decreases around the offset t2. The average value u2 is an average value for the pixel signal output by the offset setting unit 230, and indicates an average value of the black level.

図2(a)では、オフセットt1と平均値u1は一致する。これに対し、図2(b)では、平均値u2は、オフセットt2より大きくなる。これは、オフセット設定部230が上記のように負の画素信号をゼロでクリップしたためである。平均値u2がオフセットt2からずれると、オフセットt2を基準にした画像処理に悪影響が生じる。例えば、ゲイン処理部220が、図2(b)に示した画素信号に対して、ホワイトバランスゲインなど、画素112のカラーフィルタの各色で異なるゲイン処理を行うと、色ずれとなって画像に現れる。 In FIG. 2A, the offset t1 and the average value u1 coincide with each other. On the other hand, in FIG. 2B, the average value u2 is larger than the offset t2. This is because the offset setting unit 230 clips the negative pixel signal at zero as described above. If the average value u2 deviates from the offset t2, the image processing based on the offset t2 is adversely affected. For example, when the gain processing unit 220 performs different gain processing on the pixel signal shown in FIG. 2B for each color of the color filter of the pixel 112, such as white balance gain, the pixel signal appears as a color shift in the image. ..

オフセット設定部230は、OB画素オフセットとしてオフセットt1を用い、開口画素オフセットとしてオフセットt2を用いる。その場合、図2(a)は、遮光した状態のOB画素111の画素信号のヒストグラムに対応し、図2(b)は、遮光した状態の開口画素110の画素信号のヒストグラムに対応する。 The offset setting unit 230 uses the offset t1 as the OB pixel offset and the offset t2 as the aperture pixel offset. In that case, FIG. 2A corresponds to the histogram of the pixel signal of the OB pixel 111 in the shaded state, and FIG. 2B corresponds to the histogram of the pixel signal of the aperture pixel 110 in the shaded state.

図1のゼロクリップ補正部300は、オフセット設定部230がゼロでクリップしたことによるオフセット設定部230が出力する黒レベルの平均値とオフセットとのずれを抑制する処理を行う。 The zero clip correction unit 300 of FIG. 1 performs a process of suppressing a deviation between the average value of the black level output by the offset setting unit 230 and the offset due to the offset setting unit 230 clipping at zero.

図3は、ゼロクリップ補正部300の構成例を示す図である。ゼロクリップ補正部300は、OB画素111と開口画素110の画素信号を振り分けるデマルチプレクサ310、補正値演算部320、バッファメモリ340、対象画素選択部350およびゼロクリップ補正演算部360を有する。記憶部240は、補正閾値TH、OB画素オフセットt1および開口画素オフセットt2を記憶する。 FIG. 3 is a diagram showing a configuration example of the zero clip correction unit 300. The zero clip correction unit 300 includes a demultiplexer 310 that distributes the pixel signals of the OB pixel 111 and the opening pixel 110, a correction value calculation unit 320, a buffer memory 340, a target pixel selection unit 350, and a zero clip correction calculation unit 360. The storage unit 240 stores the correction threshold value TH, the OB pixel offset t1, and the aperture pixel offset t2.

デマルチプレクサ310は、オフセット設定部230が出力する画素信号を入力し、OB画素111の画素信号を補正値演算部320に出力し、OB画素111と開口画素110の画素信号をバッファメモリ340と対象画素選択部350に出力する。 The demultiplexer 310 inputs the pixel signal output by the offset setting unit 230, outputs the pixel signal of the OB pixel 111 to the correction value calculation unit 320, and targets the pixel signals of the OB pixel 111 and the opening pixel 110 with the buffer memory 340. Output to the pixel selection unit 350.

補正値演算部320は、記憶部240からOB画素オフセットt1と開口画素オフセットt2を読み出し、すべてのOB画素111の画素信号から(t1−t2)を減算した結果のうちの負値の平均値を求める。(t1−t2)は、OB画素オフセットt1と開口画素オフセットt2との差分である。補正値演算部320は、その負値の平均値を補正値としてゼロクリップ補正演算部360に出力する。 The correction value calculation unit 320 reads the OB pixel offset t1 and the opening pixel offset t2 from the storage unit 240, and subtracts (t1-t2) from the pixel signals of all the OB pixels 111 to obtain the average value of the negative values. Ask. (T1-t2) is the difference between the OB pixel offset t1 and the aperture pixel offset t2. The correction value calculation unit 320 outputs the average value of the negative values as the correction value to the zero clip correction calculation unit 360.

バッファメモリ340は、OB画素111と開口画素110の画素信号を記憶する。対象画素選択部350は、OB画素111と開口画素110の画素信号から“0”値(下限値)を検出し、その“0”値の画素の周囲の画素を補正対象画素として、補正対象画素の座標データをゼロクリップ補正演算部360に出力する。 The buffer memory 340 stores the pixel signals of the OB pixel 111 and the aperture pixel 110. The target pixel selection unit 350 detects a “0” value (lower limit value) from the pixel signals of the OB pixel 111 and the opening pixel 110, and sets the pixels around the “0” value pixel as the correction target pixel, and the correction target pixel. The coordinate data of is output to the zero clip correction calculation unit 360.

図4は、対象画素選択部350が行う処理を説明するための図である。図4は、対象画素選択部350が入力する画素信号を2次元座標で表している。画素信号は、入力された順に水平方向にi、i+1、i+2、…の座標に割り当てられ、さらに1行分の画素信号ごとに垂直方向にj、j+1、j+2、…の座標に割り当てられる。 FIG. 4 is a diagram for explaining the processing performed by the target pixel selection unit 350. FIG. 4 shows the pixel signal input by the target pixel selection unit 350 in two-dimensional coordinates. The pixel signals are assigned to the coordinates of i, i + 1, i + 2, ... In the horizontal direction in the order of input, and are further assigned to the coordinates of j, j + 1, j + 2, ... In the vertical direction for each pixel signal for one line.

各画素112のカラーフィルタは、赤(R)、緑(G)および青(B)のベイヤ配列である。図4において、白色の画素112は緑のカラーフィルタの画素を示し、斜線の画素112は赤のカラーフィルタの画素を示し、ドットの画素112は青のカラーフィルタの画素を示す。 The color filter of each pixel 112 is a red (R), green (G) and blue (B) Bayer array. In FIG. 4, the white pixel 112 indicates a green color filter pixel, the shaded pixel 112 indicates a red color filter pixel, and the dot pixel 112 indicates a blue color filter pixel.

対象画素選択部350は、6×6画素のエリアSk内に“0”値の画素信号があるか否かを判定する。対象画素選択部350は、エリアSk内に“0”値の画素信号が存在した場合、エリアSk内の“0”値の画素112と同色のカラーフィルタの画素112のうち、“0”値でない画素信号の画素を補正対象画素として選択する。 The target pixel selection unit 350 determines whether or not there is a pixel signal having a “0” value in the area Sk of 6 × 6 pixels. When a pixel signal having a “0” value exists in the area Sk, the target pixel selection unit 350 does not have a “0” value among the pixel 112 of the color filter having the same color as the pixel 112 having the “0” value in the area Sk. The pixel of the pixel signal is selected as the correction target pixel.

例えば、座標(i+2,j+2)の赤のカラーフィルタの画素112が“0”値の画素信号である。その場合、対象画素選択部350は、座標(i,j)、(i+2,j)、(i+4,j)、(i,j+2)、(i+4,j+2)、(i,j+4)、(i+2,j+4)、(i+4,j+4)の赤のカラーフィルタの8画素を補正対象画素として選択する。赤のカラーフィルタの画素112の処理について説明したが、緑および青のカラーフィルタの画素112の処理も同様である。 For example, the pixel 112 of the red color filter at the coordinates (i + 2, j + 2) is a pixel signal having a “0” value. In that case, the target pixel selection unit 350 has coordinates (i, j), (i + 2, j), (i + 4, j), (i, j + 2), (i + 4, j + 2), (i, j + 4), (i + 2,). Eight pixels of the red color filters j + 4) and (i + 4, j + 4) are selected as the correction target pixels. Although the processing of the pixel 112 of the red color filter has been described, the processing of the pixel 112 of the green and blue color filters is also the same.

“0”値の画素112は、画素信号が負値からゼロに置き換えられた画素を含むので、誤差を含んでいる可能性がある。対象画素選択部350は、その誤差を、“0”値の画素112の周囲の画素112に振り分けるために、周囲の画素112を補正対象画素として選択する。 The “0” value pixel 112 may include an error because it includes pixels in which the pixel signal has been replaced from a negative value to zero. The target pixel selection unit 350 selects the surrounding pixels 112 as the correction target pixels in order to distribute the error to the peripheral pixels 112 of the "0" value pixel 112.

図4では、隣接するエリアSkで画素112が重複していないが、隣接するエリアSkで画素112が重複していてもよい。また、エリアSkのサイズは、6×6画素に限定されない。 In FIG. 4, the pixels 112 do not overlap in the adjacent area Sk, but the pixels 112 may overlap in the adjacent area Sk. Further, the size of the area Sk is not limited to 6 × 6 pixels.

また、エリアSkの形状は、矩形に限定されない。例えば、エリアSkは、4つの座標(i+2,j)、(i,j+2)、(i+4,j+2)および(i+2,j+4)を頂点とする菱形でもよい。また、エリアSkは、画素112のカラーフィルタの色毎に異なるエリアを設定してもよい。 Further, the shape of the area Sk is not limited to a rectangle. For example, the area Sk may be a rhombus having four coordinates (i + 2, j), (i, j + 2), (i + 4, j + 2) and (i + 2, j + 4) as vertices. Further, the area Sk may be set to a different area for each color of the color filter of the pixel 112.

図5は、対象画素選択部350の制御方法を示すフローチャートである。ステップS501では、対象画素選択部350は、すべてのエリアSkの処理が完了したか否かを判定する。対象画素選択部350は、すべてのエリアSkの処理が完了していない場合には、ステップS502に進み、すべてのエリアSkの処理が完了した場合には、図5のフローチャートの処理を終了する。 FIG. 5 is a flowchart showing a control method of the target pixel selection unit 350. In step S501, the target pixel selection unit 350 determines whether or not the processing of all areas Sk has been completed. The target pixel selection unit 350 proceeds to step S502 when the processing of all area Sks is not completed, and ends the processing of the flowchart of FIG. 5 when the processing of all area Sks is completed.

ステップS502では、対象画素選択部350は、エリアSk内の“0”値の画素信号を検出し、ステップS503に進む。 In step S502, the target pixel selection unit 350 detects a pixel signal having a “0” value in the area Sk, and proceeds to step S503.

ステップS503では、対象画素選択部350は、エリアSk内に“0”値の画素信号があるか否かを判定する。対象画素選択部350は、エリアSk内に“0”値の画素信号がある場合には、ステップS504に進み、エリアSk内に“0”値の画素信号がない場合には、ステップS501に戻る。 In step S503, the target pixel selection unit 350 determines whether or not there is a pixel signal having a “0” value in the area Sk. The target pixel selection unit 350 proceeds to step S504 when there is a pixel signal having a “0” value in the area Sk, and returns to step S501 when there is no pixel signal having a “0” value in the area Sk. ..

ステップS504では、対象画素選択部350は、エリアSk内において、エリアSk内の“0”値の画素信号の画素112のカラーフィルタと同色のカラーフィルタの“0”値でない画素信号の画素112の座標を検出し、ステップS505に進む。 In step S504, the target pixel selection unit 350 uses the pixel 112 of the pixel signal of the pixel signal of the same color as the pixel 112 of the pixel signal of the “0” value in the area Sk and the pixel 112 of the pixel signal of the pixel signal of the same color as the color filter. The coordinates are detected, and the process proceeds to step S505.

ステップS505では、対象画素選択部350は、ステップS504で検出した座標を補正対象画素の座標として、ゼロクリップ補正演算部360に出力し、ステップS501に戻る。 In step S505, the target pixel selection unit 350 outputs the coordinates detected in step S504 as the coordinates of the correction target pixel to the zero clip correction calculation unit 360, and returns to step S501.

なお、対象画素選択部350は、補正対象画素の座標を、撮像素子100の画素112の行と列に対応する座標に変換して出力してもよい。また、対象画素選択部350は、隣接するエリアSkで重複する画素112がある場合、同一の画素112を示す座標を複数回出力しないようにマスクしてから、座標を出力する。 The target pixel selection unit 350 may convert the coordinates of the correction target pixel into coordinates corresponding to the rows and columns of the pixels 112 of the image sensor 100 and output the coordinates. Further, when there are overlapping pixels 112 in the adjacent area Sk, the target pixel selection unit 350 masks the coordinates indicating the same pixel 112 so as not to be output a plurality of times, and then outputs the coordinates.

ステップS501において、対象画素選択部350は、すべてのエリアSkの処理が完了した場合には、図5のフローチャートの処理を終了する。 In step S501, when the processing of all the areas Sk is completed, the target pixel selection unit 350 ends the processing of the flowchart of FIG.

図6は、図3のゼロクリップ補正演算部360の制御方法を示すフローチャートである。ステップS601では、ゼロクリップ補正演算部360は、補正値演算部320が出力する補正値CRを取得し、ステップS602に進む。 FIG. 6 is a flowchart showing a control method of the zero clip correction calculation unit 360 of FIG. In step S601, the zero clip correction calculation unit 360 acquires the correction value CR output by the correction value calculation unit 320, and proceeds to step S602.

ステップS602では、ゼロクリップ補正演算部360は、記憶部240から補正閾値THを取得し、ステップS603に進む。 In step S602, the zero clip correction calculation unit 360 acquires the correction threshold TH from the storage unit 240, and proceeds to step S603.

ステップS603では、ゼロクリップ補正演算部360は、対象画素選択部350から補正対象画素の座標を取得し、ステップS604に進む。 In step S603, the zero clip correction calculation unit 360 acquires the coordinates of the correction target pixel from the target pixel selection unit 350, and proceeds to step S604.

ステップS604では、ゼロクリップ補正演算部360は、バッファメモリ340から画素112の画素信号を順に読み出し、補正対象画素の座標に対応する画素112の画素信号Adが補正閾値THより小さいか否かを判定する。ゼロクリップ補正演算部360は、補正対象画素の座標に対応する画素112の画素信号Adが補正閾値THより小さい場合には、式(1)のように、補正対象画素の座標に対応する画素信号Adを補正する。ゼロクリップ補正演算部360は、補正対象画素の座標に対応する画素信号Adに対して、補正値CRと係数αとの積を加算し、補正後の画素信号Aeを得る。ゼロクリップ補正演算部360は、補正後の画素信号Aeを出力する。ここで、係数αは、補正量を調整するための係数である。
Ae=Ad+CR×α ・・・(1)
In step S604, the zero clip correction calculation unit 360 reads the pixel signals of the pixels 112 in order from the buffer memory 340, and determines whether or not the pixel signal Ad of the pixels 112 corresponding to the coordinates of the pixels to be corrected is smaller than the correction threshold TH. To do. When the pixel signal Ad of the pixel 112 corresponding to the coordinates of the pixel to be corrected is smaller than the correction threshold TH, the zero clip correction calculation unit 360 is a pixel signal corresponding to the coordinates of the pixel to be corrected, as in Equation (1). Correct Ad. The zero-clip correction calculation unit 360 adds the product of the correction value CR and the coefficient α to the pixel signal Ad corresponding to the coordinates of the pixel to be corrected to obtain the corrected pixel signal Ae. The zero clip correction calculation unit 360 outputs the corrected pixel signal Ae. Here, the coefficient α is a coefficient for adjusting the correction amount.
Ae = Ad + CR × α ・ ・ ・ (1)

以上のように、ゼロクリップ補正演算部360は、画素信号Adが“0”値にクリップされた画素112の周囲の画素112であって、画素信号Adが“0”値ではない周囲の画素112の画素信号を補正する。具体的には、ゼロクリップ補正演算部360は、画素信号Adが“0”値にクリップされた画素112のカラーフィルタと同色のカラーフィルタを有する画素112の画素信号を補正する。 As described above, the zero clip correction calculation unit 360 is the peripheral pixels 112 in which the pixel signal Ad is clipped to the “0” value and the pixel signal Ad is not the “0” value. Correct the pixel signal of. Specifically, the zero clip correction calculation unit 360 corrects the pixel signal of the pixel 112 having a color filter of the same color as the color filter of the pixel 112 whose pixel signal Ad is clipped to a “0” value.

なお、補正閾値THは、画素112のカラーフィルタの色ごとに異なる値を設定してもよいし、単一の値でもよい。係数αは、1でもよい。係数αは、画素112のカラーフィルタの色ごとに設定され、ゼロクリップ補正演算部360は、係数αに応じて、色ごとに補正量を制御してもよい。例えば、補正後の画像の黒レベル付近の領域で、赤傾向の色ずれが発生していた場合、ゼロクリップ補正演算部360は、赤のカラーフィルタの画素112に対応する係数αを大きめに設定することにより、色ずれを補正できる。 The correction threshold value TH may be set to a different value for each color of the color filter of the pixel 112, or may be a single value. The coefficient α may be 1. The coefficient α is set for each color of the color filter of the pixel 112, and the zero clip correction calculation unit 360 may control the correction amount for each color according to the coefficient α. For example, when a reddish color shift occurs in the region near the black level of the corrected image, the zero clip correction calculation unit 360 sets a large coefficient α corresponding to the pixel 112 of the red color filter. By doing so, the color shift can be corrected.

補正値CRは、負値であるため、式(1)は加算の式で示したが、補正値CRの正負符号に応じて、式(1)は、減算の式でもよい。ゼロクリップ補正演算部360は、補正後の画素信号Aeが補正前の画素信号Adより小さくなるように補正する。ゼロクリップ補正演算部360は、補正後の画素信号Aeが負である場合、補正後の画素信号Aeをゼロに置き換える。ゼロクリップ補正演算部360は、すべての画素信号に対して、上記の処理を行う。 Since the correction value CR is a negative value, the equation (1) is shown by an addition equation, but the equation (1) may be a subtraction equation depending on the positive and negative signs of the correction value CR. The zero clip correction calculation unit 360 corrects the corrected pixel signal Ae so that it is smaller than the uncorrected pixel signal Ad. When the corrected pixel signal Ae is negative, the zero clip correction calculation unit 360 replaces the corrected pixel signal Ae with zero. The zero-clip correction calculation unit 360 performs the above processing on all pixel signals.

以上のように、ゼロクリップ補正部300は、少なくとも複数の開口画素110の画素信号のうちの一部の画素信号を補正する。 As described above, the zero clip correction unit 300 corrects a part of the pixel signals of the plurality of aperture pixels 110.

図7(a)および図7(b)は、ゼロクリップ補正演算部360の補正処理の効果を説明するための図である。図7(a)は、遮光状態で撮影した場合に、ゼロクリップ補正演算部360がバッファ340から入力した画素信号Adのヒストグラムを示す図である。図7(b)は、遮光状態で撮影した場合に、ゼロクリップ補正演算部360が出力した画素信号Aeのヒストグラムを示す図である。 7 (a) and 7 (b) are diagrams for explaining the effect of the correction process of the zero clip correction calculation unit 360. FIG. 7A is a diagram showing a histogram of the pixel signal Ad input from the buffer 340 by the zero clip correction calculation unit 360 when the image is taken in a light-shielded state. FIG. 7B is a diagram showing a histogram of the pixel signal Ae output by the zero clip correction calculation unit 360 when the image is taken in a light-shielded state.

図7(a)および図7(b)の開口画素オフセットt2は、記憶部240に記憶されている開口画素オフセットt2である。図7(a)において、平均値u2は、補正前の画素信号Adの平均値である。図7(b)において、平均値u3は、補正後の画素信号Aeの平均値である。補正閾値THは、ゼロクリップ補正演算部360が補正値演算部320から入力する補正閾値である。 The aperture pixel offset t2 in FIGS. 7 (a) and 7 (b) is the aperture pixel offset t2 stored in the storage unit 240. In FIG. 7A, the average value u2 is the average value of the pixel signals Ad before correction. In FIG. 7B, the average value u3 is the average value of the corrected pixel signals Ae. The correction threshold value TH is a correction threshold value input by the zero clip correction calculation unit 360 from the correction value calculation unit 320.

図7(b)は、補正処理による出現頻度の減少を黒のブロックで示し、補正処理による出現頻度の増加を斜線のブロックで示す。ゼロクリップ補正演算部360は、補正閾値THより小さい画素信号Adに対して、式(1)の補正処理を行い、補正後の画素信号Aeを得る。補正閾値THより小さい画素信号Aeは、補正前の画素信号Adに対して、ヒストグラムが変化する。大きい画素信号Aeの出現限度は減少し、小さい画素信号Aeの出現頻度は増加する。その結果、補正後の画素信号Aeの平均値u3は、補正前の画素信号Adの平均値u2よりも開口画素オフセットt2に近い値となる。これにより、撮像装置160は、画像の黒レベルを変えることなく、画素信号をゼロでクリップすることにより生じた開口画素オフセットt2と平均値u2とのずれを抑制することができる。これにより、クリップした画像領域において、マゼンダなどの色付きとなって見えることを防止することができる。 In FIG. 7B, the decrease in the appearance frequency due to the correction process is shown by a black block, and the increase in the appearance frequency due to the correction process is shown by a shaded block. The zero-clip correction calculation unit 360 performs the correction processing of the equation (1) on the pixel signal Ad smaller than the correction threshold TH, and obtains the corrected pixel signal Ae. The histogram of the pixel signal Ae smaller than the correction threshold value TH changes with respect to the pixel signal Ad before correction. The appearance limit of the large pixel signal Ae decreases, and the appearance frequency of the small pixel signal Ae increases. As a result, the average value u3 of the corrected pixel signal Ae becomes a value closer to the aperture pixel offset t2 than the average value u2 of the pixel signal Ad before correction. As a result, the image pickup apparatus 160 can suppress the deviation between the aperture pixel offset t2 and the average value u2 caused by clipping the pixel signal at zero without changing the black level of the image. As a result, it is possible to prevent the clipped image area from appearing as colored magenta or the like.

(第2の実施形態)
図8は、第2の実施形態によるゼロクリップ補正部300の構成例を示す図である。第2の実施形態の撮像装置160は、第1の実施形態の撮像装置160に対して、ゼロクリップ補正部300が異なる。図8のゼロクリップ補正部300は、図3のゼロクリップ補正部300に対して、補正値記憶部330を追加したものである。以下、第2の実施形態が第1の実施形態と異なる点を説明する。
(Second Embodiment)
FIG. 8 is a diagram showing a configuration example of the zero clip correction unit 300 according to the second embodiment. The image pickup apparatus 160 of the second embodiment is different from the image pickup apparatus 160 of the first embodiment in the zero clip correction unit 300. The zero clip correction unit 300 of FIG. 8 is obtained by adding a correction value storage unit 330 to the zero clip correction unit 300 of FIG. Hereinafter, the difference between the second embodiment and the first embodiment will be described.

補正値演算部320は、記憶部240からOB画素オフセットt1と開口画素オフセットt2を読み出し、すべてのOB画素111の画素信号から(t1−t2)を減算した結果のうちの負値をN個の補正値として補正値演算部320に順に出力する。補正値記憶部330は、補正値演算部320が出力するN個の補正値CR(k)を記憶する。補正値CR(k)は、k番目の補正値である。kは、0からN−1までの整数値である。 The correction value calculation unit 320 reads the OB pixel offset t1 and the opening pixel offset t2 from the storage unit 240, and subtracts (t1-t2) from the pixel signals of all the OB pixels 111, and N negative values are obtained. The correction value is sequentially output to the correction value calculation unit 320. The correction value storage unit 330 stores N correction values CR (k) output by the correction value calculation unit 320. The correction value CR (k) is the kth correction value. k is an integer value from 0 to N-1.

図9は、第2の実施形態によるゼロクリップ補正演算部360の制御方法を示すフローチャートである。ステップS901では、ゼロクリップ補正演算部360は、補正値演算部330に記憶されているN個の補正値CR(k)を取得し、ステップS902に進む。 FIG. 9 is a flowchart showing a control method of the zero clip correction calculation unit 360 according to the second embodiment. In step S901, the zero clip correction calculation unit 360 acquires N correction values CR (k) stored in the correction value calculation unit 330, and proceeds to step S902.

ステップS902では、ゼロクリップ補正演算部360は、記憶部240に記憶されている補正閾値THを取得し、ステップS903に進む。 In step S902, the zero clip correction calculation unit 360 acquires the correction threshold value TH stored in the storage unit 240, and proceeds to step S903.

ステップS903では、ゼロクリップ補正演算部360は、対象画素選択部350から補正対象画素の座標を取得し、ステップS904に進む。 In step S903, the zero clip correction calculation unit 360 acquires the coordinates of the correction target pixel from the target pixel selection unit 350, and proceeds to step S904.

ステップS904では、ゼロクリップ補正演算部360は、バッファメモリ340から画素112の画素信号を順に読み出し、補正対象画素の座標に対応する画素112の画素信号Adが補正閾値THより小さいか否かを判定する。ゼロクリップ補正演算部360は、補正対象画素の座標に対応する画素112の画素信号Adが補正閾値THより小さい場合には、式(2)のように、補正対象画素の座標に対応する画素112の画素信号Adを補正する。ゼロクリップ補正演算部360は、補正対象画素の座標に対応する画素112の画素信号Adに対して、補正値CR(k)と係数αとの積を加算し、補正後の画素信号Aeを得る。ゼロクリップ補正演算部360は、補正後の画素信号Aeを出力する。ここで、係数αは、補正量を調整するための係数である。
Ae=Ad+CR(k)×α ・・・(2)
In step S904, the zero clip correction calculation unit 360 reads out the pixel signals of the pixels 112 in order from the buffer memory 340, and determines whether or not the pixel signal Ad of the pixels 112 corresponding to the coordinates of the pixels to be corrected is smaller than the correction threshold TH. To do. When the pixel signal Ad of the pixel 112 corresponding to the coordinates of the pixel to be corrected is smaller than the correction threshold TH, the zero clip correction calculation unit 360 has the pixel 112 corresponding to the coordinates of the pixel to be corrected as in the equation (2). The pixel signal Ad of is corrected. The zero-clip correction calculation unit 360 adds the product of the correction value CR (k) and the coefficient α to the pixel signal Ad of the pixel 112 corresponding to the coordinates of the pixel to be corrected, and obtains the corrected pixel signal Ae. .. The zero clip correction calculation unit 360 outputs the corrected pixel signal Ae. Here, the coefficient α is a coefficient for adjusting the correction amount.
Ae = Ad + CR (k) × α ・ ・ ・ (2)

kは、0からN−1までインクリメントされ、その後に0にリセットされる処理が繰り返される。kが0からN−1の1サイクル目では、ゼロクリップ補正演算部360は、k番目の画素信号Adに対して、k番目の補正値CR(k)と係数αとの積を加算し、補正後のk番目の画素信号Aeを得る。その後、ゼロクリップ補正演算部360は、N番目の画素信号Adに対して、補正値CR(0)と係数αとの積を加算し、補正後のN番目の画素信号Aeを得る。その後、ゼロクリップ補正演算部360は、N+1番目の画素信号Adに対して、補正値CR(1)と係数αとの積を加算し、補正後のN+1番目の画素信号Aeを得る。 k is incremented from 0 to N-1, and then reset to 0, and the process is repeated. In the first cycle from 0 to N-1, the zero clip correction calculation unit 360 adds the product of the kth correction value CR (k) and the coefficient α to the kth pixel signal Ad. The k-th pixel signal Ae after correction is obtained. After that, the zero clip correction calculation unit 360 adds the product of the correction value CR (0) and the coefficient α to the Nth pixel signal Ad to obtain the corrected Nth pixel signal Ae. After that, the zero clip correction calculation unit 360 adds the product of the correction value CR (1) and the coefficient α to the N + 1th pixel signal Ad to obtain the corrected N + 1th pixel signal Ae.

以上のように、ゼロクリップ補正演算部360は、N個の補正値CR(k)を順に繰り返し用いて、補正対象画素の座標に対応する複数の画素信号Adを順に補正し、補正後の複数の画素信号Aeを得る。N個の補正値CR(k)は、ランダムのばらつきを有するので、補正後の複数の画素信号Aeは、偏りを散らすことができる。これにより、ゼロクリップ補正演算部360は、自然な補正結果を得ることができる。 As described above, the zero clip correction calculation unit 360 repeatedly uses N correction values CR (k) in order to correct a plurality of pixel signals Ad corresponding to the coordinates of the pixel to be corrected in order, and a plurality of corrected values. To obtain the pixel signal Ae of. Since the N correction values CR (k) have random variations, the corrected plurality of pixel signals Ae can disperse the bias. As a result, the zero-clip correction calculation unit 360 can obtain a natural correction result.

第1の実施形態と同様に、撮像装置160は、画像の黒レベルを変えることなく、画素信号をゼロでクリップすることにより生じた開口画素オフセットt2と平均値u2とのずれを抑制することができる。また、ゼロクリップ補正演算部360は、N個の補正値CR(k)を用いて画素信号Aeを補正することにより、補正後の画素信号Aeの偏りの小さい画像を得ることができる。 Similar to the first embodiment, the image pickup apparatus 160 can suppress the deviation between the aperture pixel offset t2 and the average value u2 caused by clipping the pixel signal at zero without changing the black level of the image. it can. Further, the zero clip correction calculation unit 360 can obtain an image having a small bias of the corrected pixel signal Ae by correcting the pixel signal Ae using N correction values CR (k).

以上、第1および第2の実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。 Although the first and second embodiments have been described above, the present invention is not limited to these embodiments, and various modifications and modifications can be made within the scope of the gist thereof.

撮像装置160は、デジタルカメラ、ビデオカメラの他、スマートフォン、タブレット、工業用カメラ、医療用カメラ、車載カメラ等に適用可能である。 The image pickup device 160 can be applied to smartphones, tablets, industrial cameras, medical cameras, in-vehicle cameras, and the like, in addition to digital cameras and video cameras.

100 撮像素子、110 開口画素、111 OB画素、120 制御部、130 列回路、140 転送回路、150 シリアルI/F、160 撮像装置、200 信号処理部、210 OBクランプ処理部、220 ゲイン処理部、230 オフセット設定部、240 記憶部、300 ゼロクリップ補正部 100 image sensor, 110 aperture pixel, 111 OB pixel, 120 control unit, 130 row circuit, 140 transfer circuit, 150 serial I / F, 160 image pickup device, 200 signal processing unit, 210 OB clamp processing unit, 220 gain processing unit, 230 offset setting unit, 240 storage unit, 300 zero clip correction unit

Claims (13)

受光部が遮光され、画素信号を出力する複数の第1の画素と、
受光部が遮光されず、光電変換に基づく画素信号を出力する複数の第2の画素と、
前記第1の画素の画素信号に対して第1のオフセットを設定し、前記第2の画素の画素信号に対して前記第1のオフセットより小さい第2のオフセットを設定し、前記第2のオフセットが設定された前記第2の画素の画素信号を下限値でクリップするオフセット設定部と、
前記第2のオフセットが設定された前記第2の画素の画素信号のうちの一部の画素信号を補正する補正部と
を有することを特徴とする撮像装置。
The light receiving part is shielded from light, and a plurality of first pixels that output pixel signals and
A plurality of second pixels that output pixel signals based on photoelectric conversion without shading the light receiving part, and
A first offset is set for the pixel signal of the first pixel, a second offset smaller than the first offset is set for the pixel signal of the second pixel, and the second offset is set. An offset setting unit that clips the pixel signal of the second pixel in which is set at the lower limit value,
An imaging device including a correction unit that corrects a part of the pixel signals of the second pixel to which the second offset is set.
前記第1の画素の画素信号に基づく黒レベルを基に、前記第1の画素の画素信号および前記第2の画素の画素信号をクランプするクランプ処理部をさらに有し、
前記オフセット設定部は、前記クランプされた第1の画素の画素信号に対して前記第1のオフセットを設定し、前記クランプされた第2の画素の画素信号に対して前記第2のオフセットを設定することを特徴とする請求項1に記載の撮像装置。
It further has a clamping processing unit that clamps the pixel signal of the first pixel and the pixel signal of the second pixel based on the black level based on the pixel signal of the first pixel.
The offset setting unit sets the first offset with respect to the pixel signal of the clamped first pixel, and sets the second offset with respect to the pixel signal of the clamped second pixel. The imaging device according to claim 1, wherein the image pickup apparatus is used.
前記クランプされた第1および第2の画素の画素信号に対してゲイン処理を行うゲイン処理部をさらに有し、
前記オフセット設定部は、前記ゲイン処理された第1の画素の画素信号に対して前記第1のオフセットを設定し、前記ゲイン処理された第2の画素の画素信号に対して前記第2のオフセットを設定することを特徴とする請求項2に記載の撮像装置。
It further has a gain processing unit that performs gain processing on the pixel signals of the clamped first and second pixels.
The offset setting unit sets the first offset with respect to the pixel signal of the gain-processed first pixel, and the second offset with respect to the pixel signal of the gain-processed second pixel. The imaging device according to claim 2, wherein the image pickup apparatus is set.
前記補正部は、前記一部の画素信号が小さくなるように補正することを特徴とする請求項1〜3のいずれか1項に記載の撮像装置。 The imaging device according to any one of claims 1 to 3, wherein the correction unit corrects a part of the pixel signals so as to be small. 前記補正部は、前記第1の画素の画素信号から前記第1のオフセットと前記第2のオフセットとの差分を減算した結果を基に、前記一部の画素信号を補正することを特徴とする請求項1〜4のいずれか1項に記載の撮像装置。 The correction unit is characterized in that a part of the pixel signal is corrected based on the result of subtracting the difference between the first offset and the second offset from the pixel signal of the first pixel. The imaging device according to any one of claims 1 to 4. 前記補正部は、前記第1の画素の画素信号から前記第1のオフセットと前記第2のオフセットとの差分を減算した結果のうちの負値の平均値を基に、前記一部の画素信号を補正することを特徴とする請求項1〜5のいずれか1項に記載の撮像装置。 The correction unit is based on the average value of the negative values of the result of subtracting the difference between the first offset and the second offset from the pixel signal of the first pixel, and the partial pixel signal. The imaging apparatus according to any one of claims 1 to 5, wherein the image pickup device is characterized in that. 前記補正部は、前記第1の画素の画素信号から前記第1のオフセットと前記第2のオフセットとの差分を減算した結果のうちの負値を順に用いて、前記一部の画素信号を順に補正することを特徴とする請求項1〜5のいずれか1項に記載の撮像装置。 The correction unit sequentially uses the negative value of the result of subtracting the difference between the first offset and the second offset from the pixel signal of the first pixel, and sequentially uses some of the pixel signals. The imaging device according to any one of claims 1 to 5, wherein the image pickup apparatus is corrected. 前記補正部は、前記画素信号が前記下限値にクリップされた第2の画素の周囲の第2の画素の画素信号を補正することを特徴とする請求項1〜7のいずれか1項に記載の撮像装置。 The correction unit according to any one of claims 1 to 7, wherein the correction unit corrects the pixel signal of the second pixel around the second pixel whose pixel signal is clipped to the lower limit value. Imaging device. 前記補正部は、前記画素信号が前記下限値ではない前記周囲の第2の画素の画素信号を補正することを特徴とする請求項8に記載の撮像装置。 The imaging device according to claim 8, wherein the correction unit corrects a pixel signal of the surrounding second pixel whose pixel signal is not the lower limit value. 前記複数の第2の画素は、カラーフィルタを有し、
前記補正部は、前記画素信号が前記下限値にクリップされた第2の画素のカラーフィルタと同色のカラーフィルタを有する第2の画素の画素信号を補正することを特徴とする請求項8または9に記載の撮像装置。
The plurality of second pixels have a color filter and
The correction unit 8 or 9 is characterized in that the correction unit corrects a pixel signal of a second pixel having a color filter of the same color as the color filter of the second pixel whose pixel signal is clipped to the lower limit value. The imaging apparatus according to.
前記補正部は、前記周囲の第2の画素の画素信号が閾値より小さい場合に、前記周囲の第2の画素の画素信号を補正することを特徴とする請求項8〜10のいずれか1項に記載の撮像装置。 Any one of claims 8 to 10, wherein the correction unit corrects the pixel signal of the surrounding second pixel when the pixel signal of the surrounding second pixel is smaller than the threshold value. The imaging apparatus according to. 前記補正部は、前記周囲の第2の画素の画素信号が閾値より小さい場合に、前記周囲の第2の画素の画素信号を補正し、
前記閾値は、前記第2の画素のカラーフィルタの色ごとに異なる値であることを特徴とする請求項10に記載の撮像装置。
When the pixel signal of the surrounding second pixel is smaller than the threshold value, the correction unit corrects the pixel signal of the surrounding second pixel.
The imaging device according to claim 10, wherein the threshold value is a value different for each color of the color filter of the second pixel.
受光部が遮光され、画素信号を出力する複数の第1の画素と、
受光部が遮光されず、光電変換に基づく画素信号を出力する複数の第2の画素とを有する撮像装置の制御方法であって、
前記第1の画素の画素信号に対して第1のオフセットを設定し、前記第2の画素の画素信号に対して前記第1のオフセットより小さい第2のオフセットを設定し、前記第2のオフセットが設定された前記第2の画素の画素信号を下限値でクリップするオフセット設定ステップと、
前記第2のオフセットが設定された前記第2の画素の画素信号のうちの一部の画素信号を補正する補正ステップと
を有することを特徴とする撮像装置の制御方法。
The light receiving part is shielded from light, and a plurality of first pixels that output pixel signals and
It is a control method of an image pickup apparatus having a plurality of second pixels that output a pixel signal based on photoelectric conversion without shading the light receiving portion.
A first offset is set for the pixel signal of the first pixel, a second offset smaller than the first offset is set for the pixel signal of the second pixel, and the second offset is set. The offset setting step of clipping the pixel signal of the second pixel in which is set at the lower limit value, and
A control method for an image pickup apparatus, which comprises a correction step for correcting a part of a pixel signal of the pixel signals of the second pixel in which the second offset is set.
JP2019105073A 2019-06-05 2019-06-05 Imaging apparatus and control method thereof Pending JP2020198586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019105073A JP2020198586A (en) 2019-06-05 2019-06-05 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019105073A JP2020198586A (en) 2019-06-05 2019-06-05 Imaging apparatus and control method thereof

Publications (1)

Publication Number Publication Date
JP2020198586A true JP2020198586A (en) 2020-12-10

Family

ID=73649343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019105073A Pending JP2020198586A (en) 2019-06-05 2019-06-05 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP2020198586A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022220590A1 (en) * 2021-04-13 2022-10-20 삼성전자 주식회사 Method of processing image and electronic device for performing same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022220590A1 (en) * 2021-04-13 2022-10-20 삼성전자 주식회사 Method of processing image and electronic device for performing same

Similar Documents

Publication Publication Date Title
CN101304484B (en) Image forming apparatus, flaw pixel correction apparatus, processing method of the device
US8089533B2 (en) Fixed pattern noise removal circuit, fixed pattern noise removal method, program, and image pickup apparatus
US7432966B2 (en) Image data correcting method and imaging device
US8964069B2 (en) Image processing device and solid-state imaging device including a defect correcting function
JP3777906B2 (en) Image processing device
KR20090130144A (en) Correcting a captured image in digital imaging devices
JP2007288439A (en) Image processing apparatus and method therefor
CN101534384A (en) Image processing method, image processing device, and image capturing device
JP3991011B2 (en) Image signal processing device
JP5398750B2 (en) The camera module
JP2004320128A (en) Defective pixel correction device
CN103563360B (en) Imaging device and imaging method
US6900838B1 (en) Method of processing image signal from solid-state imaging device, image signal processing apparatus, image signal generating apparatus and computer program product for image signal processing method
JP2020198586A (en) Imaging apparatus and control method thereof
KR20090097796A (en) Method for correcting chromatic aberration
CN103621070A (en) Imaging device and imaging program
JP4994158B2 (en) Image correction device
US11431924B2 (en) Image capturing apparatus and control method thereof
US7656441B2 (en) Hue correction for electronic imagers
JP5278421B2 (en) Imaging device
KR101026046B1 (en) Apparatus and method for correcting pixel defect of image sensor
US20130038772A1 (en) Image processing apparatus and image processing method
JP7363555B2 (en) Image processing device and image processing method
JP5333163B2 (en) Imaging device
JP4486874B2 (en) Method of generating correction approximate straight line group information of multi-division readout CCD and method of manufacturing multi-division readout CCD correction processor