JP2012195675A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2012195675A
JP2012195675A JP2011056572A JP2011056572A JP2012195675A JP 2012195675 A JP2012195675 A JP 2012195675A JP 2011056572 A JP2011056572 A JP 2011056572A JP 2011056572 A JP2011056572 A JP 2011056572A JP 2012195675 A JP2012195675 A JP 2012195675A
Authority
JP
Japan
Prior art keywords
pixel
pixels
value
target pixel
illuminance
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.)
Withdrawn
Application number
JP2011056572A
Other languages
Japanese (ja)
Inventor
Daisuke Suzuki
大祐 鈴木
Koichi Yamashita
孝一 山下
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2011056572A priority Critical patent/JP2012195675A/en
Publication of JP2012195675A publication Critical patent/JP2012195675A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To enhance the sensitivity of an imaging device while minimizing deterioration in resolution without mixing colors of imaging signals in a Bayer array.SOLUTION: Weighted addition of only the pixel values of first type pixels that are positioned in an area of 5×5 pixels with a target pixel as the center and detect light of a first color component is performed to generate a first color component (R) value, and similarly weighted addition of only the pixel values of pixels that are positioned in an area of 5×5 pixels with a target pixel as the center and detect light of a third color component (B) is performed to generate a third color component (B) value. Weighted addition of only the pixel values of pixels that are positioned in an area of 3×3 pixels with a target pixel as the center and detect light of a second color component (G) is performed to generate a second color component (G) value.

Description

本発明は、低照度の撮像環境において、より高感度な撮像画像が得られる撮像装置に関する。   The present invention relates to an imaging apparatus capable of obtaining a captured image with higher sensitivity in a low-illuminance imaging environment.

従来の撮像装置として、N画素前までのデジタル信号を全て加算する機能を実行することにより、固体撮像素子の高感度化やS/N向上を図るように構成したものがある(例えば、特許文献1参照)。   As a conventional imaging device, there is one configured to increase the sensitivity and improve the S / N of a solid-state imaging device by executing a function of adding all digital signals up to N pixels before (for example, Patent Documents). 1).

特開2000−184274号公報(第4頁、段落0010)JP 2000-184274 A (page 4, paragraph 0010)

従来の撮像装置は、連続する隣接画素からの撮像信号を加算しているため、カラー撮像素子を用いた場合には色が混ざりカラー信号を再生できないという問題があった。   Since the conventional image pickup apparatus adds image pickup signals from consecutive adjacent pixels, there is a problem that when a color image pickup element is used, colors are mixed and a color signal cannot be reproduced.

この発明は、上述のような課題を解決するためになされたもので、カラー撮像素子から読み出した撮像信号を画素加算しても、色が混ざることなく、カラー信号を高感度化できる撮像装置を得ることを目的とする。   The present invention has been made to solve the above-described problems. An image pickup apparatus capable of increasing the sensitivity of a color signal without mixing colors even when pixels of an image pickup signal read from a color image pickup element are added. The purpose is to obtain.

本発明の撮像装置は、
第1の色成分の光を検出して対応する撮像信号を発生する第1種の画素と、第2の色成分の光を検出して対応する撮像信号を発生する第2種の画素と、第3の色成分の光を検出して対応する撮像信号を発生する第3種の画素と、前記第2の色成分の光を検出して対応する撮像信号を発生する第4種の画素とが、水平2画素、垂直2画素の組み合わせを基本単位として画面内に規則的に配列された撮像部と、前記撮像部から出力された撮像信号を所定の時間遅延させることで、注目画素とその周囲の画素の画素値を表す信号を抽出して同時に出力する画素抽出部と、
加算係数を生成する加算係数生成部と、
注目画素を中心とした水平5画素、垂直5画素の領域内に位置する前記第1種の画素を参照画素として、該参照画素の画素値だけを加算係数によって加重加算し、注目画素の第1の色成分値を生成する第1の色成分生成部と、
注目画素を中心とした水平3画素、垂直3画素の領域内に位置する前記第2種及び第4種の画素を参照画素として、該参照画素の画素値だけを加算係数によって加重加算し、注目画素の第2の色成分値を生成する第2の色成分生成部と、
注目画素を中心とした水平5画素、垂直5画素の領域内に位置する前記第3種の画素を参照画素として、該参照画素の画素値だけを加算係数によって加重加算し、注目画素の第3の色成分値を生成する第3の色成分生成部と
を備えることを特徴とする。
The imaging apparatus of the present invention
A first type of pixel that detects light of the first color component and generates a corresponding imaging signal; a second type of pixel that detects light of the second color component and generates a corresponding imaging signal; A third type of pixel that detects light of the third color component and generates a corresponding imaging signal; and a fourth type of pixel that detects light of the second color component and generates a corresponding imaging signal; The image pickup unit regularly arranged in the screen with a combination of two horizontal pixels and two vertical pixels as a basic unit, and the image pickup signal output from the image pickup unit is delayed for a predetermined time, and the target pixel and its pixel A pixel extraction unit that extracts and simultaneously outputs signals representing pixel values of surrounding pixels;
An addition coefficient generation unit for generating an addition coefficient;
Using the first type pixel located in the region of 5 horizontal pixels and 5 vertical pixels centered on the target pixel as a reference pixel, only the pixel value of the reference pixel is weighted and added by the addition coefficient, and the first pixel of the target pixel is obtained. A first color component generation unit for generating color component values of
Using the second type and fourth type pixels located in the region of three horizontal pixels and three vertical pixels centered on the target pixel as reference pixels, only the pixel value of the reference pixel is weighted and added by an addition coefficient, A second color component generation unit that generates a second color component value of the pixel;
Using the third type pixel located in the region of 5 horizontal pixels and 5 vertical pixels centered on the target pixel as a reference pixel, only the pixel value of the reference pixel is weighted and added by the addition coefficient, And a third color component generation unit for generating the color component value.

本発明によれば、カラー撮像素子から読み出した撮像信号でも感度を例えば4倍に向上させ、極めて暗い低照度環境においても被写体を視認できるという効果が得られる。   According to the present invention, it is possible to obtain an effect that the sensitivity can be improved by, for example, 4 times even in an image signal read from a color image sensor, and the subject can be visually recognized even in an extremely dark low-light environment.

本発明の実施の形態1の撮像装置を示すブロック構成図である。It is a block block diagram which shows the imaging device of Embodiment 1 of this invention. 図1の画素加算回路の一例を示すブロック構成図である。FIG. 2 is a block configuration diagram illustrating an example of a pixel addition circuit in FIG. 1. 図2の画素加算回路で加算される画素の空間配置を示す図である。It is a figure which shows the spatial arrangement | positioning of the pixel added by the pixel addition circuit of FIG. 図1の画素抽出部6Eの一例を示すブロック構成図である。It is a block block diagram which shows an example of the pixel extraction part 6E of FIG. 図1の画素加算回路のR画素加算部6R及びR信号係数設定回路95の一例を示すブロック構成図である。2 is a block configuration diagram illustrating an example of an R pixel addition unit 6R and an R signal coefficient setting circuit 95 of the pixel addition circuit of FIG. 図1の画素加算回路のG画素加算部6G及びG信号係数設定回路195の一例を示すブロック構成図である。FIG. 2 is a block configuration diagram illustrating an example of a G pixel addition unit 6G and a G signal coefficient setting circuit 195 of the pixel addition circuit of FIG. 図1の画素加算回路のB画素加算部6B及びB信号係数設定回路125の一例を示すブロック構成図である。2 is a block configuration diagram illustrating an example of a B pixel addition unit 6B and a B signal coefficient setting circuit 125 of the pixel addition circuit of FIG. (a)〜(d)は、図5〜図7のR画素加算部6R、G画素加算部6G、B画素加算部6Eで加算される画素の色フィルタの配列情報を示す図である。(A)-(d) is a figure which shows the array information of the color filter of the pixel added by R pixel addition part 6R, G pixel addition part 6G, and B pixel addition part 6E of FIGS. (a)〜(d)は、図5のR画素加算部6RでR信号を生成するために用いられる参照画素の配列を示す図である。(A)-(d) is a figure which shows the arrangement | sequence of the reference pixel used in order to produce | generate R signal in R pixel addition part 6R of FIG. (a)〜(d)は、図6のG画素加算部6GでG信号を生成するために用いられる参照画素の配列を示す図である。(A)-(d) is a figure which shows the arrangement | sequence of the reference pixel used in order to produce | generate G signal in G pixel addition part 6G of FIG. (a)〜(d)は、図7のB画素加算部6BでB信号を生成するために用いられる参照画素の配列を示す図である。(A)-(d) is a figure which shows the arrangement | sequence of the reference pixel used in order to produce | generate B signal in B pixel addition part 6B of FIG. (a)〜(c)は、増感倍率Lと重み係数Kwの関係を示す図である。(A)-(c) is a figure which shows the relationship between the sensitization magnification L and the weighting coefficient Kw. 本発明の実施の形態1の撮像装置の別の構成を示すブロック構成図である。It is a block block diagram which shows another structure of the imaging device of Embodiment 1 of this invention. 本発明の実施の形態2の撮像装置を示すブロック構成図である。It is a block block diagram which shows the imaging device of Embodiment 2 of this invention. (a)〜(e)は、被写体照度と、レンズの絞り、プログラマブル利得増幅回路の増幅利得、画素加算回路の増感倍率、撮像部の露光時間、及び画素加算回路の出力信号の振幅との関係を示す図である。(A) to (e) are the subject illuminance, the lens aperture, the amplification gain of the programmable gain amplification circuit, the sensitization magnification of the pixel addition circuit, the exposure time of the imaging unit, and the amplitude of the output signal of the pixel addition circuit. It is a figure which shows a relationship. 本発明の実施の形態3の撮像装置を示すブロック構成図である。It is a block block diagram which shows the imaging device of Embodiment 3 of this invention.

以下、第1、第2及び第3の色成分の光がそれぞれ赤色、緑色、及び青色の光であり、これらの色成分の光を検出して、対応する信号を出力する画素がベイヤ配列された撮像部が用いられる場合について詳しく説明する。   Hereinafter, the light of the first, second, and third color components is red, green, and blue light, respectively, and pixels that detect the light of these color components and output corresponding signals are arranged in a Bayer array. A case where the image pickup unit is used will be described in detail.

実施の形態1.
図1は本発明の実施の形態1による撮像装置を示す。図1において、レンズ1は、被写体像をCCD撮像素子2の撮像面上に合焦させる。
Embodiment 1 FIG.
FIG. 1 shows an imaging apparatus according to Embodiment 1 of the present invention. In FIG. 1, a lens 1 focuses a subject image on an imaging surface of a CCD imaging device 2.

CCD撮像素子(CCD)2は、後述の図8(a)〜図11(d)に示すように、赤色の光(第1の色成分の光)を検出するR画素、緑色の光(第2の色成分の光)を検出するG画素、及び青色の光(第3の色成分の光)を検出するB画素がベイヤ配列されたものであり、これらにより、赤色の光、緑色の光、青色の光(第1の色成分の光、第2の色成分の光、第3の色成分の光)が検出され、即ち光電変換されて、光電変換により生成された電荷が素子内部を転送されて、電気信号(撮像信号)として出力される。   As shown in FIGS. 8A to 11D, which will be described later, the CCD image pickup device (CCD) 2 has an R pixel that detects red light (first color component light), green light (first light). The G pixel for detecting the second color component light) and the B pixel for detecting the blue light (third color component light) are arranged in a Bayer array. , Blue light (light of the first color component, light of the second color component, light of the third color component) is detected, that is, photoelectrically converted, and the charge generated by the photoelectric conversion passes through the inside of the device. It is transferred and output as an electrical signal (imaging signal).

この撮像信号は、R画素からの画素信号であるR信号(第1の色成分値を表す信号)、G画素からの画素信号であるG信号(第2の色成分値を表す信号)、及びB画素からの画素信号であるB信号(第3の色成分値を表す信号)を含む。   The imaging signal includes an R signal (a signal representing a first color component value) that is a pixel signal from the R pixel, a G signal (a signal representing a second color component value) that is a pixel signal from the G pixel, and A B signal (a signal representing a third color component value) that is a pixel signal from the B pixel is included.

R画素、G画素、B画素は、例えば、それぞれ赤色の光のみを透過させる色フィルタを備えた光電変換素子、緑色の光のみを透過させる色フィルタを備えた光電変換素子、青色の光のみを透過させる色フィルタを備えた光電変換素子で構成される。   The R pixel, the G pixel, and the B pixel are, for example, a photoelectric conversion element that includes a color filter that transmits only red light, a photoelectric conversion element that includes a color filter that transmits only green light, and only blue light. It is composed of a photoelectric conversion element provided with a color filter to be transmitted.

CCD撮像素子2から信号された撮像信号は、相関二重サンプリング処理回路(CDS)3でノイズ等が除去される。
プログラマブル利得増幅回路(PGA)4は、相関二重サンプリング処理回路3の出力信号を制御回路12から出力された制御信号によって制御された利得で増幅して出力する。
A/D変換回路(ADC)5は、プログラマブル利得増幅回路4の出力信号を、デジタル信号に変換する。
Noise or the like is removed from the imaging signal output from the CCD imaging device 2 by a correlated double sampling processing circuit (CDS) 3.
The programmable gain amplifier (PGA) 4 amplifies the output signal of the correlated double sampling processing circuit 3 with a gain controlled by the control signal output from the control circuit 12 and outputs the amplified signal.
The A / D conversion circuit (ADC) 5 converts the output signal of the programmable gain amplifier circuit 4 into a digital signal.

画素加算回路6は、A/D変換回路5から出力される撮像信号を受け、各画素位置を順次注目画素位置として選択し、該注目画素及びその周囲の画素のうち、同じ色の画素(同じ色成分の光を検出する画素)の信号を選択的に加算する。このような処理が撮像画面内のすべての画素位置について行われることで、すべての画素位置について、R信号、G信号、B信号が生成される。   The pixel addition circuit 6 receives the imaging signal output from the A / D conversion circuit 5 and sequentially selects each pixel position as a target pixel position. Among the target pixel and the surrounding pixels, the pixel of the same color (same Signals of pixels that detect light of color components) are selectively added. By performing such processing for all pixel positions in the imaging screen, R signals, G signals, and B signals are generated for all pixel positions.

映像信号処理回路7は、画素加算回路6の出力信号に、色同時化処理、階調補正処理、ノイズ低減処理、輪郭補正処理、白バランス調整処理、信号振幅調整処理、及び色補正処理などを加えた映像信号を映像信号出力端子8から出力する。   The video signal processing circuit 7 performs color synchronization processing, gradation correction processing, noise reduction processing, contour correction processing, white balance adjustment processing, signal amplitude adjustment processing, color correction processing, and the like on the output signal of the pixel addition circuit 6. The added video signal is output from the video signal output terminal 8.

同期信号発生回路11は、垂直同期信号及び水平同期信号を生成して画素加算回路6、映像信号処理回路7及びタイミング発生回路10に供給する。   The synchronization signal generation circuit 11 generates a vertical synchronization signal and a horizontal synchronization signal and supplies them to the pixel addition circuit 6, the video signal processing circuit 7 and the timing generation circuit 10.

タイミング発生回路10は、CCD撮像素子2の駆動タイミング信号DRTを発生して駆動回路9に供給する。駆動回路9は、タイミング発生回路10から出力された駆動タイミング信号DRTに基づいてCCD撮像素子2の駆動信号DRSを生成する。CCD撮像素子2は、駆動回路9から出力された駆動信号DRSに基づいて、光電変換及び電荷転送を行う。   The timing generation circuit 10 generates a drive timing signal DRT for the CCD image pickup device 2 and supplies it to the drive circuit 9. The drive circuit 9 generates a drive signal DRS for the CCD image sensor 2 based on the drive timing signal DRT output from the timing generation circuit 10. The CCD image pickup device 2 performs photoelectric conversion and charge transfer based on the drive signal DRS output from the drive circuit 9.

制御回路12は、レンズ1の絞りの制御、タイミング発生回路10が発生するCCD撮像素子2の光電変換素子からの電荷読出しタイミング及び電荷強制排出タイミングの制御(従って、電荷蓄積時間、即ち露光時間の制御)、プログラマブル利得増幅回路4の増幅利得の制御、並びに画素加算回路6の画素加算処理の制御を行う。   The control circuit 12 controls the aperture of the lens 1, controls the timing of charge readout from the photoelectric conversion element of the CCD image sensor 2 generated by the timing generation circuit 10, and the control of the forced discharge timing of the charge (accordingly, the charge accumulation time, that is, the exposure time). Control), control of the amplification gain of the programmable gain amplifier circuit 4, and control of the pixel addition processing of the pixel addition circuit 6.

画素加算回路6は図2に示すように、画素抽出部6Eと、R画素加算部6Rと、G画素加算部6Gと、B画素加算部6Bと、R信号係数設定回路95と、G信号係数設定回路195と、B信号係数設定回路295とを有する。R画素加算部6Rは、第1の色成分値を表す信号を生成する第1の色成分生成部を構成し、G画素加算部6Gは、第2の色成分値を表す信号を生成する第2の色成分生成部を構成し、B画素加算部6Bは、第3の色成分値を表す信号を生成する第3の色成分生成部を構成する。   As shown in FIG. 2, the pixel addition circuit 6 includes a pixel extraction unit 6E, an R pixel addition unit 6R, a G pixel addition unit 6G, a B pixel addition unit 6B, an R signal coefficient setting circuit 95, and a G signal coefficient. A setting circuit 195 and a B signal coefficient setting circuit 295 are included. The R pixel addition unit 6R constitutes a first color component generation unit that generates a signal that represents the first color component value, and the G pixel addition unit 6G generates a signal that represents the second color component value. 2 color component generation units, and the B pixel addition unit 6B configures a third color component generation unit that generates a signal representing the third color component value.

上記のように、A/D変換回路5からはベイヤ配列されたR画素、G画素、B画素からの撮像信号が出力され、画素加算回路6は、撮像画面内の各画素位置を順次注目画素として加算を行う。   As described above, the A / D conversion circuit 5 outputs imaging signals from the Bayer-arranged R, G, and B pixels, and the pixel addition circuit 6 sequentially selects each pixel position in the imaging screen as the target pixel. Add as

ベイヤ配列においては、1個のR画素、1個のB画素、及び2個のG画素から成る、水平2画素、垂直2画素の4画素の基本単位が繰り返される。
この基本単位において、2個のG画素が4画素の基本単位のうちの一方の対角線上に並び、R画素とB画素とが他方の対角線上に並んでいる。
2個のG画素のうち、B画素と同じ水平ライン(行)にあるものを符号GBで表し、R画素と同じ水平ライン(行)にあるものを符号GRで表す。また、R画素を符号RRで表し、B画素を符号BBで表すこともある。
In the Bayer array, a basic unit of four pixels, which is composed of one R pixel, one B pixel, and two G pixels, that is, two horizontal pixels and two vertical pixels is repeated.
In this basic unit, two G pixels are arranged on one diagonal line of the basic unit of four pixels, and an R pixel and a B pixel are arranged on the other diagonal line.
Of the two G pixels, a pixel on the same horizontal line (row) as the B pixel is denoted by symbol GB, and a pixel on the same horizontal line (row) as the R pixel is denoted by symbol GR. In addition, the R pixel may be represented by a symbol RR and the B pixel may be represented by a symbol BB.

以下では、R画素を第1種の画素、GB画素を第2種の画素、B画素を第3種の画素、BR画素を第4種の画素と呼ぶ。また、GB画素とGR画素の両者をG画素と総称することがある。
また、注目画素をP33で示し、図8(c)に示すように、注目画素がR画素であるときは符号RR33で示し、図8(a)に示すように、注目画素がGB画素であるときは符号GB33で示し、図8(b)に示すように、注目画素がB画素であるときは符号BB33で示し、図8(d)に示すように、注目画素がGR画素であるときは符号BR33で示す。
Hereinafter, the R pixel is referred to as a first type pixel, the GB pixel is referred to as a second type pixel, the B pixel is referred to as a third type pixel, and the BR pixel is referred to as a fourth type pixel. Further, both the GB pixel and the GR pixel may be collectively referred to as a G pixel.
Further, the target pixel is indicated by P33, and as shown in FIG. 8C, when the target pixel is an R pixel, it is indicated by reference numeral RR33, and as shown in FIG. 8A, the target pixel is a GB pixel. When the target pixel is a GR pixel, as shown in FIG. 8B, when the target pixel is a B pixel, as shown in FIG. 8B. This is indicated by symbol BR33.

撮像素子2の撮像画面上の画素は、図3に示すように水平方向(行方向)H及び垂直方向(列方向)Vに整列し、全体としてマトリクス状に配置されている。各画素の画面上の位置は水平座標h、及び垂直座標vの組合せ(h,v)で表され、座標(h,v)の画素は符号Phv(h、vは1、2、3…)で表される。水平方向に隣接する画素間ではhの値が1だけ異なり、垂直方向に隣接する画素間ではvの値が1だけ異なる。即ち隣接画素間の距離(画素ピッチ)は1で表される。   The pixels on the imaging screen of the imaging device 2 are aligned in the horizontal direction (row direction) H and the vertical direction (column direction) V as shown in FIG. 3, and are arranged in a matrix as a whole. The position of each pixel on the screen is represented by a combination (h, v) of the horizontal coordinate h and the vertical coordinate v, and the pixel at the coordinate (h, v) is represented by the symbol Phv (h, v are 1, 2, 3,...). It is represented by The value of h differs by 1 between pixels adjacent in the horizontal direction, and the value of v differs by 1 between pixels adjacent in the vertical direction. That is, the distance (pixel pitch) between adjacent pixels is represented by 1.

図3には、注目画素P33を中心とした水平5画素、垂直5画素の領域(以下単に「5×5画素の領域或いはブロック」と言うことがある)内の画素の配置が示されている。
注目画素P33に対する水平方向の座標値の差及び垂直方向の座標値の差のうちの大きい方が1である画素(P22、P32、P34、P23、P43、P24、P34、P44)、即ち注目画素を中心した水平3画素、垂直3画素の領域(3×3画素の領域)内に位置し、値画素以外の画素を、注目画素に隣接する画素或いは単に隣接画素と言うことがある。
FIG. 3 shows the arrangement of pixels in a horizontal 5 pixel area and a vertical 5 pixel area (hereinafter sometimes simply referred to as a “5 × 5 pixel area or block”) centered on the target pixel P33. .
Pixels (P22, P32, P34, P23, P43, P24, P34, P44) in which the larger one of the difference between the horizontal coordinate values and the vertical coordinate value with respect to the target pixel P33 is 1, that is, the target pixel A pixel other than the value pixel that is located in an area of 3 horizontal pixels and 3 vertical pixels (3 × 3 pixel area) centering on the pixel may be referred to as a pixel adjacent to the target pixel or simply an adjacent pixel.

画素抽出部6Eは、A/D変換回路5の出力から、図3に示される、5×5画素の領域内の画素の画素値を抽出する。抽出された画素値は、R画素加算部6R、G画素加算部6G及びB画素加算部6Bへ供給される。   The pixel extraction unit 6E extracts pixel values of pixels in the 5 × 5 pixel area shown in FIG. 3 from the output of the A / D conversion circuit 5. The extracted pixel value is supplied to the R pixel adding unit 6R, the G pixel adding unit 6G, and the B pixel adding unit 6B.

画素抽出部6Eは、図4に示すように構成されている。
図4で「1L−DL」は1ライン遅延回路を示し、「1D−DL」は1画素遅延回路を示す。
画素抽出部6Eは、1ライン遅延回路22〜25と、1画素遅延回路32〜35、37〜40、42〜45、47〜50、52〜55とを図示にように接続して構成されており、注目画素とその周囲の画素の画素値を示す画素信号を同時に出力する。
例えば、注目画素が図3のP33であるとき、注目画素P33とその周囲の画素P11〜P55の画素値を表す画素信号を同時に出力する。
The pixel extraction unit 6E is configured as shown in FIG.
In FIG. 4, “1L-DL” indicates a one-line delay circuit, and “1D-DL” indicates a one-pixel delay circuit.
The pixel extraction unit 6E is configured by connecting one-line delay circuits 22 to 25 and one-pixel delay circuits 32 to 35, 37 to 40, 42 to 45, 47 to 50, and 52 to 55 as illustrated. And simultaneously output pixel signals indicating the pixel values of the pixel of interest and surrounding pixels.
For example, when the target pixel is P33 in FIG. 3, pixel signals representing the pixel values of the target pixel P33 and the surrounding pixels P11 to P55 are output simultaneously.

A/D変換回路5から出力された画素信号Pcは画素信号P55として、画素加算回路6の入力端子101に印加され、画素加算回路6の画素抽出部6Eへ供給される。   The pixel signal Pc output from the A / D conversion circuit 5 is applied to the input terminal 101 of the pixel addition circuit 6 as the pixel signal P55 and supplied to the pixel extraction unit 6E of the pixel addition circuit 6.

画素信号P55は、1ライン遅延回路22〜25で順次1ライン遅延されて、画素信号P55に対して、それぞれ1、2、3、4ライン遅延した画素信号P54、P53、P52、P51が出力される。
画素信号P55はまた、1画素遅延回路32〜35で順次1画素遅延されて、画素信号P55に対してそれぞれ1、2、3、4画素遅延した画素信号P45、P35、P25、P15が出力される。
The pixel signal P55 is sequentially delayed by one line by the one-line delay circuits 22 to 25, and pixel signals P54, P53, P52, and P51 delayed by 1, 2, 3, and 4 lines, respectively, are output with respect to the pixel signal P55. The
The pixel signal P55 is also sequentially delayed by one pixel by the one-pixel delay circuits 32 to 35, and pixel signals P45, P35, P25, and P15 delayed by 1, 2, 3, and 4 pixels, respectively, are output with respect to the pixel signal P55. The

1ライン遅延回路22から出力された画素信号P54は、1画素遅延回路37〜40で順次1画素遅延されて、画素信号P54に対してそれぞれ1、2、3、4画素遅延した画素信号P44、P34、P24、P14が出力される。
1ライン遅延回路23から出力された画素信号P53は、1画素遅延回路42〜45で順次1画素遅延されて、画素信号P53に対してそれぞれ1、2、3、4画素遅延した画素信号P43、P33、P23、P13が出力される。
The pixel signal P54 output from the one-line delay circuit 22 is sequentially delayed by one pixel by the one-pixel delay circuits 37 to 40, and the pixel signal P44 is delayed by 1, 2, 3, and 4 pixels, respectively, with respect to the pixel signal P54. P34, P24, and P14 are output.
The pixel signal P53 output from the one-line delay circuit 23 is sequentially delayed by one pixel by the one-pixel delay circuits 42 to 45, and the pixel signal P43 is delayed by 1, 2, 3, and 4 pixels, respectively, with respect to the pixel signal P53. P33, P23, and P13 are output.

1ライン遅延回路24から出力された画素信号P52は、1画素遅延回路47〜50で順次1画素遅延されて、画素信号P52に対してそれぞれ1、2、3、4画素遅延した画素信号P42、P32、P22、P12が出力される。
1ライン遅延回路25から出力された画素信号P51は、1画素遅延回路52〜55で順次1画素遅延されて、画素信号P51に対してそれぞれ1、2、3、4画素遅延した画素信号P41、P31、P21、P11が出力される。
The pixel signal P52 output from the one-line delay circuit 24 is sequentially delayed by one pixel by the one-pixel delay circuits 47 to 50, and the pixel signal P42 is delayed by 1, 2, 3, and 4 pixels, respectively, with respect to the pixel signal P52. P32, P22, and P12 are output.
The pixel signal P51 output from the one-line delay circuit 25 is sequentially delayed by one pixel by the one-pixel delay circuits 52 to 55, and the pixel signal P41 delayed by 1, 2, 3, and 4 pixels, respectively, with respect to the pixel signal P51. P31, P21, and P11 are output.

画素信号P55〜P11は、それぞれ図3の画素P55〜P11の画素値を表すものであり、画素信号P55が入力されたタイミングで、画素抽出部6Eから同時に出力される。
画素信号P55〜P11は、それぞれ、接続端子111〜115、121〜125、131〜135、141〜145、151〜155を介してR画素加算部6R、G画素加算部6G、B画素加算部6Bに供給される。
The pixel signals P55 to P11 represent the pixel values of the pixels P55 to P11 in FIG. 3, respectively, and are simultaneously output from the pixel extraction unit 6E at the timing when the pixel signal P55 is input.
The pixel signals P55 to P11 are respectively connected to the R pixel addition unit 6R, the G pixel addition unit 6G, and the B pixel addition unit 6B via the connection terminals 111 to 115, 121 to 125, 131 to 135, 141 to 145, and 151 to 155. To be supplied.

図5は、画素加算回路6のR画素加算部6R及びR信号係数設定回路95を示し、図6は、画素加算回路6のG画素加算部6G及びG信号係数設定回路195を示し、図7は、画素加算回路6のB画素加算部6B及びB信号係数設定回路295を示す。   5 shows the R pixel addition unit 6R and the R signal coefficient setting circuit 95 of the pixel addition circuit 6, and FIG. 6 shows the G pixel addition unit 6G and the G signal coefficient setting circuit 195 of the pixel addition circuit 6. These show the B pixel addition unit 6B and the B signal coefficient setting circuit 295 of the pixel addition circuit 6.

画素抽出部6Eで抽出された画素P11〜P55の画素値は、5×5画素の領域内の画素の画素値であり、図5に示される、R画素加算部6Rの乗算回路61〜85、図6に示される、G画素加算部6Gの乗算回路161〜185、及び図7に示されるB画素加算部6Bの乗算回路261〜285へ供給される。   The pixel values of the pixels P11 to P55 extracted by the pixel extraction unit 6E are the pixel values of the pixels in the 5 × 5 pixel region, and the multiplication circuits 61 to 85 of the R pixel addition unit 6R shown in FIG. 6 is supplied to the multiplication circuits 161 to 185 of the G pixel addition unit 6G and the multiplication circuits 261 to 285 of the B pixel addition unit 6B shown in FIG.

乗算回路61〜85、161〜185、及び261〜285は、それぞれ、5×5画素の領域内の各画素に対応して設けられたものであり、対応する画素の画素値とR信号係数設定回路95、G信号係数設定回路195、B信号係数設定回路295から供給される加算係数との乗算を行う。   The multiplication circuits 61 to 85, 161 to 185, and 261 to 285 are provided corresponding to the respective pixels in the 5 × 5 pixel region, and the pixel values and R signal coefficient settings of the corresponding pixels are provided. Multiplication is performed with the addition coefficient supplied from the circuit 95, the G signal coefficient setting circuit 195, and the B signal coefficient setting circuit 295.

なお、後述のように、G画素加算部6Gには、水平3画素、垂直3画素の領域(3×3画素の領域)内の画素のみを供給するようにしても良い。   As will be described later, only the pixels in the region of 3 horizontal pixels and 3 vertical pixels (region of 3 × 3 pixels) may be supplied to the G pixel addition unit 6G.

R画素加算部6R、G画素加算部6G及びB加算部6Bの各々は、注目画素及びその周辺の画素を含む参照領域内の同じ色の画素の画素値を参照画素として加重加算して、加算画素値として出力する。即ち、R画素加算部6Rは、参照領域内の赤色の画素(R画素)の画素値を参照画素として加重加算して、赤色の加算画素値Rとして出力し、G画素加算部6Gは、参照領域内の緑色の画素(G画素)の画素値を参照画素として加重加算して、緑色の加算画素値Gとして出力し、B画素加算部6Bは、参照領域内の青色の画素(B画素)の画素値を参照画素として加重加算して、青色の加算画素値Bとして出力する。   Each of the R pixel addition unit 6R, the G pixel addition unit 6G, and the B addition unit 6B performs weighted addition using the pixel values of pixels of the same color in the reference area including the target pixel and the surrounding pixels as a reference pixel, and performs addition. Output as pixel value. That is, the R pixel addition unit 6R performs weighted addition using the pixel value of the red pixel (R pixel) in the reference region as a reference pixel, and outputs it as a red addition pixel value R. The G pixel addition unit 6G The pixel value of the green pixel (G pixel) in the region is weighted and added as a reference pixel, and is output as a green added pixel value G. The B pixel addition unit 6B is a blue pixel (B pixel) in the reference region. Are added as a reference pixel and output as a blue added pixel value B.

R画素加算部6R及びB画素加算部6Bでは、5×5画素の領域のうちの4隅の画素(注目画素に対して水平方向の座標値の差及び垂直方向の座標値の画素)を除いた部分を参照領域とし、G画素加算部6Gでは、3×3画素の領域を参照領域とする。   The R pixel addition unit 6R and the B pixel addition unit 6B exclude pixels at the four corners of the 5 × 5 pixel region (differences in the coordinate value in the horizontal direction and the pixel in the vertical direction with respect to the target pixel). The G pixel adding unit 6G uses a 3 × 3 pixel area as a reference area.

上記の参照画素の選択は、注目画素からの距離の近い順に、注目画素を含め6個以下の画素を参照画素として選択すること、但しこの場合、選択された画素が、注目画素を中心として、水平方向及び垂直方向に対称(注目画素を通る水平線を中心として線対称、かつ注目画素を通る垂直線を中心として線対称)に配置されたものとなるようにすることを意味する。   In the selection of the reference pixel, six or less pixels including the target pixel are selected as reference pixels in the order of the distance from the target pixel. However, in this case, the selected pixel is centered on the target pixel. This means that they are arranged symmetrically in the horizontal direction and in the vertical direction (line symmetry about the horizontal line passing through the target pixel and line symmetry about the vertical line passing through the target pixel).

以下に詳しく述べるように、制御回路12は、制御端子103を介して、R信号係数設定回路95、G信号係数設定回路195、B信号係数設定回路295に増感倍率Lを供給し、
R信号係数設定回路95、G信号係数設定回路195、B信号係数設定回路295は、供給された増感倍率Lに基づき加算係数を生成する。
増感倍率Lは例えば1から4までの、小数部分をも含み得る数で表される値である。
As described in detail below, the control circuit 12 supplies the sensitization magnification L to the R signal coefficient setting circuit 95, the G signal coefficient setting circuit 195, and the B signal coefficient setting circuit 295 via the control terminal 103,
The R signal coefficient setting circuit 95, the G signal coefficient setting circuit 195, and the B signal coefficient setting circuit 295 generate an addition coefficient based on the supplied sensitization magnification L.
The sensitization magnification L is a value represented by a number from 1 to 4, for example, which may include a decimal part.

参照画素に対する加算係数は、例えば、参照画素の数に反比例する正規化係数Knと、参照画素毎に定められる重み係数Kwの積で与えられるものとされる。   The addition coefficient for the reference pixel is given by, for example, a product of a normalization coefficient Kn that is inversely proportional to the number of reference pixels and a weighting coefficient Kw determined for each reference pixel.

例えば、各画素に対する重み係数Kwは、当該画素の注目画素からの距離と、増感倍率Lに依存し、増感倍率Lが比較的小さいときは、上記重み係数Kwは上記の距離が大きいほど小さく、増感倍率Lが大きくなるほど、重み係数Kwの、上記距離に対する依存性が小さくなるように設定される。増感倍率が最大の値であるときは、すべての参照画素に対する加算係数が互いに等しくなるようにしても良い。   For example, the weighting factor Kw for each pixel depends on the distance from the target pixel of the pixel and the sensitization magnification L. When the sensitization magnification L is relatively small, the weighting factor Kw increases as the distance increases. The smaller the sensitization magnification L is, the smaller the dependence of the weighting factor Kw on the distance is set. When the sensitization magnification is the maximum value, the addition coefficients for all the reference pixels may be equal to each other.

参照画素以外の画素に対する加算係数はゼロに固定される。但し、本実施の形態では、5×5画素の領域内のすべての画素に対して乗算回路が設けられ、参照画素以外の画素に対する加算係数をゼロとすることで加重加算から除外する構成としている。これは画素加算部6R、6G、6Bを同一構成とするためである。   The addition coefficient for pixels other than the reference pixel is fixed to zero. However, in the present embodiment, a multiplication circuit is provided for all the pixels in the 5 × 5 pixel region, and the addition coefficient for pixels other than the reference pixel is set to zero so as to be excluded from the weighted addition. . This is because the pixel addition units 6R, 6G, and 6B have the same configuration.

図5において、制御回路12は制御端子103を介してR信号係数設定回路95へ1倍から4倍までの増感倍率Lを供給する。同期信号発生回路11は同期信号入力端子104を介してR信号係数設定回路95へ水平同期信号HDと垂直同期信号VDを供給する。   In FIG. 5, the control circuit 12 supplies the sensitization magnification L from 1 to 4 times to the R signal coefficient setting circuit 95 via the control terminal 103. The synchronization signal generation circuit 11 supplies the horizontal synchronization signal HD and the vertical synchronization signal VD to the R signal coefficient setting circuit 95 via the synchronization signal input terminal 104.

R信号係数設定回路95は水平同期信号HDと垂直同期信号VDに基づいて注目画素P33の画素位置を判断して、注目画素の色フィルタ配列上の画素位置を特定し、特定した画素位置と増感倍率Lに基づいて、それぞれの画素位置に対応して設けられた乗算回路61〜85各々へ独立に25個の加算係数KR11〜KR55を設定する。参照画素以外の画素に対する加算係数は、ゼロに固定される。   The R signal coefficient setting circuit 95 determines the pixel position of the target pixel P33 based on the horizontal synchronization signal HD and the vertical synchronization signal VD, specifies the pixel position on the color filter array of the target pixel, and increases the specified pixel position. Based on the sensitivity L, 25 addition coefficients KR11 to KR55 are set independently to each of the multiplication circuits 61 to 85 provided corresponding to each pixel position. The addition coefficient for pixels other than the reference pixel is fixed to zero.

乗算回路61〜85は、画素抽出部6Eから、それぞれ接続端子111〜155を介して入力される画素値P11〜P55とR係数設定回路95で設定された加算係数KR11〜KR55を乗算する。
加算回路90は乗算回路61〜85の出力値を加算して、加算結果を加算画素信号Rとして、R信号出力端子106から出力する。
The multiplication circuits 61 to 85 multiply the pixel values P11 to P55 input from the pixel extraction unit 6E via the connection terminals 111 to 155, respectively, and the addition coefficients KR11 to KR55 set by the R coefficient setting circuit 95.
The addition circuit 90 adds the output values of the multiplication circuits 61 to 85 and outputs the addition result as an addition pixel signal R from the R signal output terminal 106.

図6において、制御回路12は制御端子103を介してG信号係数設定回路195へ増感倍率Lを供給する。同期信号発生回路11は同期信号入力端子104を介してG信号係数設定回路195へ水平同期信号HDと垂直同期信号VDを供給する。
G信号係数設定回路195は水平同期信号HDと垂直同期信号VDに基づいて注目画素P33の画素位置を判断して、注目画素の色フィルタ配列上の画素位置を特定し、特定した画素位置と増感倍率Lに基づいて、乗算回路161〜185各々へ独立に25個の加算係数を設定する。
In FIG. 6, the control circuit 12 supplies the sensitization magnification L to the G signal coefficient setting circuit 195 via the control terminal 103. The synchronization signal generation circuit 11 supplies the horizontal synchronization signal HD and the vertical synchronization signal VD to the G signal coefficient setting circuit 195 via the synchronization signal input terminal 104.
The G signal coefficient setting circuit 195 determines the pixel position of the target pixel P33 based on the horizontal synchronization signal HD and the vertical synchronization signal VD, specifies the pixel position on the color filter array of the target pixel, and increases the specified pixel position. Based on the sensitivity L, 25 addition coefficients are set independently for each of the multiplication circuits 161 to 185.

乗算回路161〜185は、画素抽出部6Eから、それぞれ接続端子111〜155を介して入力される画素値P11〜P55とG係数設定回路195で設定された加算係数KG11〜KG55を乗算する。
加算回路190は乗算回路161〜185の出力値を加算して、加算結果を加算画素信号Gとして、G信号出力端子107から出力する。
The multiplication circuits 161 to 185 multiply the pixel values P11 to P55 input from the pixel extraction unit 6E via the connection terminals 111 to 155, respectively, and the addition coefficients KG11 to KG55 set by the G coefficient setting circuit 195.
The addition circuit 190 adds the output values of the multiplication circuits 161 to 185 and outputs the addition result as an addition pixel signal G from the G signal output terminal 107.

図7において、制御回路12は制御端子103を介してB信号係数設定回路295へ増感倍率Lを供給する。同期信号発生回路11は同期信号入力端子104を介してB信号係数設定回路295へ水平同期信号HDと垂直同期信号VDを供給する。
B信号係数設定回路295は水平同期信号HDと垂直同期信号VDに基づいて注目画素P33の画素位置を判断して、注目画素の色フィルタ配列上の画素位置を特定し、特定した画素位置と増感倍率Lに基づいて、乗算回路261〜285各々へ独立に25個の加算係数を設定する。
In FIG. 7, the control circuit 12 supplies the sensitization magnification L to the B signal coefficient setting circuit 295 via the control terminal 103. The synchronization signal generation circuit 11 supplies the horizontal synchronization signal HD and the vertical synchronization signal VD to the B signal coefficient setting circuit 295 via the synchronization signal input terminal 104.
The B signal coefficient setting circuit 295 determines the pixel position of the target pixel P33 on the basis of the horizontal synchronization signal HD and the vertical synchronization signal VD, specifies the pixel position on the color filter array of the target pixel, and increases the specified pixel position. Based on the sensitivity L, 25 addition coefficients are set independently for each of the multiplication circuits 261 to 285.

乗算回路261〜285は、画素抽出部6Eから、それぞれ接続端子111〜155を介して入力される画素値P11〜P55とB係数設定回路295で設定された加算係数KB11〜KB55を乗算する。加算回路290は乗算回路261〜285の出力値を加算して、加算結果を加算画素信号Bとして、B信号出力端子108から出力する。   The multiplication circuits 261 to 285 multiply the pixel values P11 to P55 input from the pixel extraction unit 6E via the connection terminals 111 to 155, respectively, and the addition coefficients KB11 to KB55 set by the B coefficient setting circuit 295. The addition circuit 290 adds the output values of the multiplication circuits 261 to 285 and outputs the addition result as the addition pixel signal B from the B signal output terminal 108.

図8(a)〜(d)は、色フィルタ配列を考慮した注目画素を中心とした5×5画素の領域内における画素の配置を示す。R画素、G画素、B画素は市松模様状に配列されている。処理対象となる注目画素は、R画素の場合も、GB画素の場合も、B画素の場合も、GR画素の場合もあり、水平画素位置と垂直画素位置から特定される。
注目画素がGB33の時の周辺画素配置を図8(a)に示し、注目画素がBB33の時の周辺画素配置を図8(b)に示し、注目画素がRR33の時の周辺画素配置を図8(c)に示し、注目画素がGR33の時の周辺画素配置を図8(d)に示す。
注目画素の色フィルタが変われば、周辺画素の色フィルタ配列も異なる。また、同じG画素でも、GR画素とGB画素で周辺画素の色フィルタ配列は異なる。
FIGS. 8A to 8D show the arrangement of pixels in a 5 × 5 pixel area centered on the target pixel in consideration of the color filter arrangement. The R pixel, G pixel, and B pixel are arranged in a checkered pattern. The target pixel to be processed may be an R pixel, a GB pixel, a B pixel, or a GR pixel, and is specified from the horizontal pixel position and the vertical pixel position.
FIG. 8A shows the peripheral pixel arrangement when the target pixel is GB33, FIG. 8B shows the peripheral pixel arrangement when the target pixel is BB33, and shows the peripheral pixel arrangement when the target pixel is RR33. FIG. 8D shows a peripheral pixel arrangement when the pixel of interest is GR33.
If the color filter of the pixel of interest changes, the color filter arrangement of the peripheral pixels also changes. In addition, even in the same G pixel, the color filter arrangement of the peripheral pixels is different between the GR pixel and the GB pixel.

図8(a)の画素配置で、RR12、RR32、RR52、RR14、RR34、RR54、RR16、RR36、RR56はR画素を示す。
GR22、GR42、GR62、GR24、GR44、GR64、GR26、GR46、GR66は、R画素と同一水平ライン(同一の行)上に配置されたG画素を示す。色フィルタの特性に基づいてG画素と表記する場合と、R画素と同一水平ライン上に配置されたG画素の画素位置を特定するためにGR画素と表記する場合がある。
BB21、BB41、BB61、BB23、BB43、BB63、BB25、BB45、BB65はB画素を示す。
GB11、GB31、GB51、GB13、GB33、GB53、GB15、GB35、GB55は、B画素と同一水平ライン上に配置されたG画素を示す。
色フィルタの特性に基づいてG画素と表記する場合と、B画素と同一水平ライン上に配置されたG画素の画素位置を特定するためにGB画素と表記する場合がある。
In the pixel arrangement of FIG. 8A, RR12, RR32, RR52, RR14, RR34, RR54, RR16, RR36, and RR56 indicate R pixels.
GR22, GR42, GR62, GR24, GR44, GR64, GR26, GR46, and GR66 indicate G pixels arranged on the same horizontal line (same row) as the R pixels. There are a case where it is expressed as a G pixel based on the characteristics of the color filter, and a case where it is expressed as a GR pixel in order to specify the pixel position of the G pixel arranged on the same horizontal line as the R pixel.
BB21, BB41, BB61, BB23, BB43, BB63, BB25, BB45, and BB65 denote B pixels.
GB11, GB31, GB51, GB13, GB33, GB53, GB15, GB35, and GB55 indicate G pixels arranged on the same horizontal line as the B pixel.
There are cases where it is expressed as a G pixel based on the characteristics of the color filter, and cases where it is expressed as a GB pixel in order to specify the pixel position of the G pixel arranged on the same horizontal line as the B pixel.

図8(b)の画素配置で、RR02、RR22、RR42、RR04、RR24、RR44、RR06、RR26、RR46はR画素を示す。GR12、GR32、GR52、GR14、GR34、GR54、GR16、GR36、GR56は、R画素と同一水平ライン上に配置されたG画素を示す。BB11、BB31、BB51、BB13、BB33、BB53、BB15、BB35、BB55はB画素を示す。GB01、GB21、GB41、GB03、GB23、GB43、GB05、GB25、GB45は、B画素と同一水平ライン上に配置されたG画素を示す。   In the pixel arrangement of FIG. 8B, RR02, RR22, RR42, RR04, RR24, RR44, RR06, RR26, and RR46 indicate R pixels. GR12, GR32, GR52, GR14, GR34, GR54, GR16, GR36, and GR56 indicate G pixels arranged on the same horizontal line as the R pixel. BB11, BB31, BB51, BB13, BB33, BB53, BB15, BB35, and BB55 indicate B pixels. GB01, GB21, GB41, GB03, GB23, GB43, GB05, GB25, and GB45 indicate G pixels arranged on the same horizontal line as the B pixel.

図8(c)の画素配置で、RR11、RR31、RR51、RR13、RR33、RR53、RR15、RR35、RR55はR画素を示す。GR21、GR41、GR61、GR23、GR43、GR63、GR25、GR45、GR65は、R画素と同一水平ライン上に配置されたG画素を示す。BB20、BB40、BB60、BB22、BB42、BB62、BB24、BB44、BB64はB画素を示す。GB10、GB30、GB50、GB12、GB32、GB52、GB14、GB34、GB54は、B画素と同一水平ライン上に配置されたG画素を示す。   In the pixel arrangement of FIG. 8C, RR11, RR31, RR51, RR13, RR33, RR53, RR15, RR35, and RR55 indicate R pixels. GR21, GR41, GR61, GR23, GR43, GR63, GR25, GR45, and GR65 indicate G pixels arranged on the same horizontal line as the R pixel. BB20, BB40, BB60, BB22, BB42, BB62, BB24, BB44, and BB64 indicate B pixels. GB10, GB30, GB50, GB12, GB32, GB52, GB14, GB34, and GB54 denote G pixels arranged on the same horizontal line as the B pixel.

図8(d)の画素配置で、RR01、RR21、RR41、RR03、RR23、RR43、RR05、RR25、RR45はR画素を示す。GR11、GR31、GR51、GR13、GR33、GR53、GR15、GR35、GR55は、R画素と同一水平ライン上に配置されたG画素を示す。BB10、BB30、BB50、BB12、BB32、BB52、BB14、BB34、BB54はB画素を示す。GB00、GB20、GB40、GB02、GB22、GB42、GB04、GB24、GB44は、B画素と同一水平ライン上に配置されたG画素を示す。   In the pixel arrangement of FIG. 8D, RR01, RR21, RR41, RR03, RR23, RR43, RR05, RR25, and RR45 indicate R pixels. GR11, GR31, GR51, GR13, GR33, GR53, GR15, GR35, and GR55 indicate G pixels arranged on the same horizontal line as the R pixel. BB10, BB30, BB50, BB12, BB32, BB52, BB14, BB34, and BB54 denote B pixels. GB00, GB20, GB40, GB02, GB22, GB42, GB04, GB24, and GB44 indicate G pixels arranged on the same horizontal line as the B pixel.

図9(a)〜(d)は、図5の画素加算回路のR画素加算部6RでR信号を生成するために用いられる参照画素の配列を示す。図示のように、5×5画素の領域から4隅の画素を除いた参照領域Ar内に位置するR画素(R成分の光を検出する画素、例えばRフィルタを設けた画素)が参照画素として用いられる。参照画素は、画素加算における加重加算で用いられるが、後述の増感倍率Lの値によっては、加算係数が「0」となる。即ち、増感倍率が小さいときは、注目画素から比較的遠い画素の加算係数が「0」となり、注目画素に比較的近い画素のみにより注目画素の画素値が求められる。   FIGS. 9A to 9D show an array of reference pixels used for generating an R signal in the R pixel addition unit 6R of the pixel addition circuit of FIG. As shown in the figure, an R pixel (a pixel for detecting R component light, for example, a pixel provided with an R filter) located in a reference area Ar obtained by removing four corner pixels from a 5 × 5 pixel area serves as a reference pixel. Used. The reference pixel is used in weighted addition in pixel addition, but depending on the value of sensitization magnification L described later, the addition coefficient is “0”. That is, when the sensitization magnification is small, the addition coefficient of the pixel relatively far from the target pixel is “0”, and the pixel value of the target pixel is obtained only from the pixel relatively close to the target pixel.

図9(a)は、注目画素がGB33(第2種の画素)の時の参照領域Ar及び参照画素を示す。図示のように、参照領域Ar内にR画素が6個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の1ライン前に位置する画素RR32、注目画素の1ライン前の2画素前に位置する画素RR12、注目画素の1ライン前の2画素後に位置する画素RR52、注目画素の1ライン後に位置する画素RR34、注目画素の1ライン後の2画素前に位置する画素RR14、及び注目画素の1ライン後の2画素後に位置する画素RR54
が参照画素として用いられる。
このとき、R信号(第1の成分値)は次式で求める。
R=KR12×RR12+KR32×RR32+KR52×RR52
+KR14×RR14+KR34×RR34+KR54×RR54
R信号係数設定回路95は、加算係数KR11〜KR55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 9A shows the reference area Ar and the reference pixel when the target pixel is GB33 (second type pixel). As shown, there are six R pixels in the reference area Ar, and all of them are used as reference pixels. That is, the pixel RR32 positioned one line before the target pixel, the pixel RR12 positioned two pixels before the target pixel, the pixel RR52 positioned two pixels before the target pixel, and one line of the target pixel A pixel RR34 located behind, a pixel RR14 located two pixels before the line of interest, and a pixel RR54 located two pixels after the line of interest
Are used as reference pixels.
At this time, the R signal (first component value) is obtained by the following equation.
R = KR12 × RR12 + KR32 × RR32 + KR52 × RR52
+ KR14xRR14 + KR34xRR34 + KR54xRR54
The R signal coefficient setting circuit 95 sets a coefficient that is not used in the above expression among the addition coefficients KR11 to KR55, that is, a coefficient for the pixel at the reference pixel position to “0”.

R信号係数設定回路95は、上式で使う加算係数を下式に従って算出する。
KR12=(L−1)×4/18
KR32=(L+8)/18
KR52=(L−1)×4/18
KR14=(L−1)×4/18
KR34=(L+8)/18
KR54=(L−1)×4/18
ここで、Lは制御回路12から設定される増感倍率である。
The R signal coefficient setting circuit 95 calculates the addition coefficient used in the above equation according to the following equation.
KR12 = (L−1) × 4/18
KR32 = (L + 8) / 18
KR52 = (L−1) × 4/18
KR14 = (L−1) × 4/18
KR34 = (L + 8) / 18
KR54 = (L−1) × 4/18
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/6が正規化係数Knである。
例えば、KR32(3×3画素の領域内の画素についての加算係数)を求める式は、
KR32=(L+8)/12×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L+8)/12が重み係数Kwである。
同様に、KR12(3×3画素の領域外の画素についての加算係数)を求める式は、
KR12=(L−1)/3×4/6
そのうち、4/6が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/6 that is inversely proportional to the number of pixels to be added is the normalization coefficient Kn.
For example, the equation for calculating KR32 (addition coefficient for pixels in a 3 × 3 pixel region) is:
KR32 = (L + 8) / 12 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L + 8) / 12 is the weighting coefficient Kw.
Similarly, the equation for calculating KR12 (addition coefficient for pixels outside the 3 × 3 pixel area) is:
KR12 = (L−1) / 3 × 4/6
Among them, 4/6 is a normalization coefficient Kn, and the remaining (L-1) / 3 is a weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、R画素加算部6Rは次式の演算を行う。
R= 0 ×RR12+ 9/18×RR32+ 0 ×RR52
+ 0 ×RR14+ 9/18×RR34+ 0 ×RR54
増感倍率Lが2倍の時、R画素加算部6Rは次式の演算を行う。
R=4/18×RR12+10/18×RR32+4/18×RR52
+4/18×RR14+10/18×RR34+4/18×RR54
増感倍率Lが3倍の時、R画素加算部6Rは次式の演算を行う。
R=8/18×RR12+11/18×RR32+8/18×RR52
+8/18×RR14+11/18×RR34+8/18×RR54
増感倍率Lが4倍の時、R画素加算部6Rは次式の演算を行う。
R=12/18×RR12+12/18×RR32+12/18×RR52
+12/18×RR14+12/18×RR34+12/18×RR54
When the sensitization magnification L is 1, the R pixel addition unit 6R performs the following calculation.
R = 0 x RR12 + 9/18 x RR32 + 0 x RR52
+ 0 x RR14 + 9/18 x RR34 + 0 x RR54
When the sensitization magnification L is 2 times, the R pixel addition unit 6R performs the following calculation.
R = 4/18 × RR12 + 10/18 × RR32 + 4/18 × RR52
+ 4/18 × RR14 + 10/18 × RR34 + 4/18 × RR54
When the sensitization magnification L is 3, the R pixel addition unit 6R performs the following calculation.
R = 8/18 × RR12 + 11/18 × RR32 + 8/18 × RR52
+ 8/18 × RR14 + 11/18 × RR34 + 8/18 × RR54
When the sensitization magnification L is 4, the R pixel adding unit 6R performs the following calculation.
R = 12/18 x RR12 + 12/18 x RR32 + 12/18 x RR52
+ 12/18 × RR14 + 12/18 × RR34 + 12/18 × RR54

図9(b)は、注目画素がBB33(第3種の画素)の時の参照領域Ar及び参照画素を示す。図示のように、参照領域Ar内にR画素が4個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の1ライン前の1画素前に位置する画素RR22、注目画素の1ライン前の1画素後に位置する画素RR42、注目画素の1ライン後の1画素前に位置する画素RR42、及び注目画素の1ライン後の1画素後に位置する画素RR44が参照画素として用いられる。
このとき、R信号(第1の成分値)は次式で求める。
R=KR22×RR22+KR42×RR42
+KR24×RR24+KR44×RR44
R信号係数設定回路95は、加算係数KR11〜KR55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 9B shows the reference area Ar and the reference pixel when the target pixel is BB33 (third type pixel). As shown in the figure, there are four R pixels in the reference area Ar, and all of them are used as reference pixels. That is, a pixel RR22 positioned one pixel before the target pixel, a pixel RR42 positioned one pixel before the target pixel, a pixel RR42 positioned one pixel before the target pixel, and a pixel RR42 positioned one pixel before the target pixel, and A pixel RR44 located one pixel after the target pixel is used as a reference pixel.
At this time, the R signal (first component value) is obtained by the following equation.
R = KR22 × RR22 + KR42 × RR42
+ KR24xRR24 + KR44xRR44
The R signal coefficient setting circuit 95 sets a coefficient that is not used in the above expression among the addition coefficients KR11 to KR55, that is, a coefficient for the pixel at the reference pixel position to “0”.

R信号係数設定回路95は、上式で使う加算係数を下式に従って算出する。
KR22=L/4
KR42=L/4
KR24=L/4
KR44=L/4
ここで、Lは制御回路12から設定される増感倍率である。
The R signal coefficient setting circuit 95 calculates the addition coefficient used in the above equation according to the following equation.
KR22 = L / 4
KR42 = L / 4
KR24 = L / 4
KR44 = L / 4
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/4が正規化係数である。
例えば、KR22を求める式は、
KR22=L/4×4/4
と書き換えることができ、そのうち、4/4が正規化係数Kn、残りのL/4が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/4 that is inversely proportional to the number of pixels to be added is the normalization coefficient.
For example, the equation for obtaining KR22 is
KR22 = L / 4 × 4/4
Of these, 4/4 is the normalization coefficient Kn, and the remaining L / 4 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、R画素加算部6Rは次式の演算を行う。
R= 1/4 ×RR22+ 1/4 ×RR42
+ 1/4 ×RR24+ 1/4 ×RR44
増感倍率Lが2倍の時、R画素加算部6Rは次式の演算を行う。
R= 2/4 ×RR22+ 2/4 ×RR42
+ 2/4 ×RR24+ 2/4 ×RR44
増感倍率Lが3倍の時、R画素加算部6Rは次式の演算を行う。
R= 3/4 ×RR22+ 3/4 ×RR42
+ 3/4 ×RR24+ 3/4 ×RR44
増感倍率Lが4倍の時、R画素加算部6Rは次式の演算を行う。
R= 4/4 ×RR22+ 4/4 ×RR42
+ 4/4 ×RR24+ 4/4 ×RR44
When the sensitization magnification L is 1, the R pixel addition unit 6R performs the following calculation.
R = 1/4 x RR22 + 1/4 x RR42
+ 1/4 x RR24 + 1/4 x RR44
When the sensitization magnification L is 2 times, the R pixel addition unit 6R performs the following calculation.
R = 2/4 × RR22 + 2/4 × RR42
+ 2/4 x RR24 + 2/4 x RR44
When the sensitization magnification L is 3, the R pixel addition unit 6R performs the following calculation.
R = 3/4 × RR22 + 3/4 × RR42
+ 3/4 x RR24 + 3/4 x RR44
When the sensitization magnification L is 4, the R pixel adding unit 6R performs the following calculation.
R = 4/4 × RR22 + 4/4 × RR42
+ 4/4 x RR24 + 4/4 x RR44

図9(c)は、注目画素がRR33(第1種の画素)の時の参照領域Ar及び参照画素を示す。図示のように、R画素が5個存在し、そのすべてが参照画素として用いられる。即ち、注目画素RR33、注目画素の2ライン前に位置する参照画素RR31、注目画素の2画素前に位置する参照画素RR13、注目画素の2画素後に位置する参照画素RR53、及び注目画素の2ライン後に位置する参照画素RR35が参照画素として用いられる。
このとき、R信号は次式で求める。
R=KR31×RR31
+KR13×RR13+KR33×RR33+KR53×RR53
+KR35×RR35
R信号係数設定回路95は、加算係数KR11〜KR55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 9C shows the reference area Ar and the reference pixel when the target pixel is RR33 (first type pixel). As illustrated, there are five R pixels, all of which are used as reference pixels. That is, the target pixel RR33, the reference pixel RR31 positioned two lines before the target pixel, the reference pixel RR13 positioned two pixels before the target pixel, the reference pixel RR53 positioned two pixels after the target pixel, and two lines of the target pixel The reference pixel RR35 located later is used as the reference pixel.
At this time, the R signal is obtained by the following equation.
R = KR31 × RR31
+ KR13 x RR13 + KR33 x RR33 + KR53 x RR53
+ KR35 x RR35
The R signal coefficient setting circuit 95 sets a coefficient that is not used in the above expression among the addition coefficients KR11 to KR55, that is, a coefficient for the pixel at the reference pixel position to “0”.

R信号係数設定回路95は、上式で使う加算係数を下式に従って算出する。
KR31=(L−1)×4/15
KR13=(L−1)×4/15
KR33=(16−L)/15
KR53=(L−1)×4/15
KR35=(L−1)×4/15
ここで、Lは制御回路12から設定される増感倍率である。
The R signal coefficient setting circuit 95 calculates the addition coefficient used in the above equation according to the following equation.
KR31 = (L−1) × 4/15
KR13 = (L−1) × 4/15
KR33 = (16-L) / 15
KR53 = (L−1) × 4/15
KR35 = (L−1) × 4/15
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/5が正規化係数である。
例えば、KR33(注目画素についての加算係数)を求める式は、
KR33=(16−L)/12×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(16−L)/12が重み係数Kwである。
同様に、KR31(3×3画素の領域外の画素についての加算係数)を求める式は、
KR31=(L−1)/3×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/5 that is inversely proportional to the number of pixels to be added is the normalization coefficient.
For example, the equation for calculating KR33 (addition coefficient for the target pixel) is
KR33 = (16−L) / 12 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (16-L) / 12 is the weight coefficient Kw.
Similarly, the equation for calculating KR31 (addition coefficient for pixels outside the 3 × 3 pixel region) is:
KR31 = (L−1) / 3 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、R画素加算部6Rは次式の演算を行う。
R= 0 ×RR31
+ 0 ×RR13+15/15×RR33+ 0 ×RR53
+ 0 ×RR35
増感倍率Lが2倍の時、R画素加算部6Rは次式の演算を行う。
R= 4/15×RR31
+ 4/15×RR13+14/15×RR33+ 4/15×RR53
+ 4/15×RR35
増感倍率Lが3倍の時、R画素加算部6Rは次式の演算を行う。
R= 8/15×RR31
+ 8/15×RR13+13/15×RR33+ 8/15×RR53
+ 8/15×RR35
増感倍率Lが4倍の時、R画素加算部6Rは次式の演算を行う。
R=12/15×RR31
+12/15×RR13+12/15×RR33+12/15×RR53
+12/15×RR35
When the sensitization magnification L is 1, the R pixel addition unit 6R performs the following calculation.
R = 0 x RR31
+ 0 × RR13 + 15/15 × RR33 + 0 × RR53
+ 0 × RR35
When the sensitization magnification L is 2 times, the R pixel addition unit 6R performs the following calculation.
R = 4/15 × RR31
+ 4/15 x RR13 + 14/15 x RR33 + 4/15 x RR53
+ 4/15 x RR35
When the sensitization magnification L is 3, the R pixel addition unit 6R performs the following calculation.
R = 8/15 × RR31
+ 8/15 x RR13 + 13/15 x RR33 + 8/15 x RR53
+ 8/15 x RR35
When the sensitization magnification L is 4, the R pixel adding unit 6R performs the following calculation.
R = 12/15 x RR31
+ 12/15 × RR13 + 12/15 × RR33 + 12/15 × RR53
+ 12/15 × RR35

図9(d)は、注目画素がGR33(第4種の画素)の時の参照領域Ar及び参照画素を示す。図示のように、参照領域Ar内にR画素が6個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の2ライン前の1画素前に位置する画素RR21、注目画素の2ライン前の1画素後に位置する画素RR41、注目画素の1画素前に位置する画素RR23、注目画素の1画素後に位置する画素RR43、注目画素の2ライン後の1画素前に位置する画素RR25、及び注目画素の2ライン後の1画素後に位置する画素RR45が参照画素として用いられる。
このとき、R信号は次式で求める。
R=KR21×RR21+KR41×RR41
+KR23×RR23+KR43×RR43
+KR25×RR25+KR45×RR45
R信号係数設定回路95は、加算係数KR11〜KR55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 9D shows the reference region Ar and the reference pixel when the target pixel is GR33 (fourth type pixel). As shown, there are six R pixels in the reference area Ar, and all of them are used as reference pixels. That is, a pixel RR21 positioned one pixel before the target pixel two pixels before, a pixel RR41 positioned one pixel before the target pixel two pixels before, a pixel RR23 positioned one pixel before the target pixel, and one pixel of the target pixel The pixel RR43 located behind, the pixel RR25 located one pixel before two lines after the target pixel, and the pixel RR45 located one pixel after two lines after the target pixel are used as reference pixels.
At this time, the R signal is obtained by the following equation.
R = KR21 × RR21 + KR41 × RR41
+ KR23 × RR23 + KR43 × RR43
+ KR25 × RR25 + KR45 × RR45
The R signal coefficient setting circuit 95 sets a coefficient that is not used in the above expression among the addition coefficients KR11 to KR55, that is, a coefficient for the pixel at the reference pixel position to “0”.

R信号係数設定回路95は、上式で使う加算係数を下式に従って算出する。
KR21=(L−1)×4/18
KR41=(L−1)×4/18
KR23=(L+8)/18
KR43=(L+8)/18
KR25=(L−1)×4/18
KR45=(L−1)×4/18
ここで、Lは制御回路12から設定される増感倍率である。
The R signal coefficient setting circuit 95 calculates the addition coefficient used in the above equation according to the following equation.
KR21 = (L−1) × 4/18
KR41 = (L−1) × 4/18
KR23 = (L + 8) / 18
KR43 = (L + 8) / 18
KR25 = (L−1) × 4/18
KR45 = (L−1) × 4/18
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/6が正規化係数である。
例えば、KR23(3×3画素の領域内の画素についての加算係数)を求める式は、
KR23=(L+8)/12×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L+8)/12が重み係数Kwである。
同様に、KR21(3×3画素の領域外の画素についての加算係数)を求める式は、
KR21=(L−1)/3×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/6, which is inversely proportional to the number of pixels to be added, is the normalization coefficient.
For example, the equation for calculating KR23 (addition coefficient for pixels in a 3 × 3 pixel region) is:
KR23 = (L + 8) / 12 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L + 8) / 12 is the weighting coefficient Kw.
Similarly, the equation for calculating KR21 (addition coefficient for pixels outside the 3 × 3 pixel region) is:
KR21 = (L−1) / 3 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、R画素加算部6Rは次式の演算を行う。
R= 0 ×RR21+ 0 ×RR41
+ 9/18×RR23+ 9/18×RR43
+ 0 ×RR25+ 0 ×RR45
増感倍率Lが2倍の時、R画素加算部6Rは次式の演算を行う。
R= 4/18×RR21+ 4/18×RR41
+10/18×RR23+10/18×RR43
+ 4/18×RR25+ 4/18×RR45
増感倍率Lが3倍の時、R画素加算部6Rは次式の演算を行う。
R= 8/18×RR21+ 8/18×RR41
+11/18×RR23+11/18×RR43
+ 8/18×RR25+ 8/18×RR45
増感倍率Lが4倍の時、R画素加算部6Rは次式の演算を行う。
R=12/18×RR21+12/18×RR41
+12/18×RR23+12/18×RR43
+12/18×RR25+12/18×RR45
When the sensitization magnification L is 1, the R pixel addition unit 6R performs the following calculation.
R = 0 x RR21 + 0 x RR41
+ 9/18 x RR23 + 9/18 x RR43
+ 0 × RR25 + 0 × RR45
When the sensitization magnification L is 2 times, the R pixel addition unit 6R performs the following calculation.
R = 4/18 × RR21 + 4/18 × RR41
+ 10/18 × RR23 + 10/18 × RR43
+ 4/18 x RR25 + 4/18 x RR45
When the sensitization magnification L is 3, the R pixel addition unit 6R performs the following calculation.
R = 8/18 × RR21 + 8/18 × RR41
+1 1/18 x RR23 + 11/18 x RR43
+ 8/18 x RR25 + 8/18 x RR45
When the sensitization magnification L is 4, the R pixel adding unit 6R performs the following calculation.
R = 12/18 x RR21 + 12/18 x RR41
+12/18 x RR23 +12/18 x RR43
+12/18 x RR25 +12/18 x RR45

図10(a)乃至(d)は、図6の画素加算回路のG画素加算部6GでG信号を生成するために用いられる参照画素の配列を示す。図示のように、3×3画素の参照領域Ag内に位置するG画素(G成分の光を検出する画素、例えばGフィルタを設けた画素)が参照画素として用いられる。参照画素は、画素加算における加重加算で用いられるが、後述の増感倍率Lの値によっては、加算係数が「0」となる。即ち、増感倍率が小さいときは、注目画素から比較的遠い画素の加算係数が「0」となり、注目画素に比較的近い画素のみにより注目画素の画素値が求められる。   FIGS. 10A to 10D show an array of reference pixels used to generate a G signal in the G pixel addition unit 6G of the pixel addition circuit of FIG. As shown in the figure, a G pixel (a pixel for detecting light of a G component, for example, a pixel provided with a G filter) located in a 3 × 3 pixel reference region Ag is used as a reference pixel. The reference pixel is used in weighted addition in pixel addition, but depending on the value of sensitization magnification L described later, the addition coefficient is “0”. That is, when the sensitization magnification is small, the addition coefficient of the pixel relatively far from the target pixel is “0”, and the pixel value of the target pixel is obtained only from the pixel relatively close to the target pixel.

図10(a)は、注目画素がGB33(第2種の画素)の時の参照領域Ag及び参照画素を示す。図示のように、参照領域Ag内にG画素(GB画素又はGR画素)が5個存在し、そのすべてが参照画素として用いられる。即ち、注目画素GB33と、注目画素の1ライン前の1画素前に位置する画素GR22、注目画素の1ライン前の1画素後に位置する画素GR42、注目画素の1ライン後の1画素前に位置する画素GR24、及び注目画素の1ライン後の1画素後に位置する画素GR44が参照画素として用いられる。
このとき、G信号は次式で求める。
G=KG22×GR22+KG42×GR42
+KG33×GB33
+KG24×GR24+KG44×GR44
G信号係数設定回路195は、加算係数KG11〜KG55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 10A shows the reference region Ag and the reference pixel when the target pixel is GB33 (second type pixel). As illustrated, there are five G pixels (GB pixels or GR pixels) in the reference region Ag, and all of them are used as reference pixels. That is, the target pixel GB33, the pixel GR22 positioned one pixel before the target pixel, the pixel GR42 positioned one pixel before the target pixel, the pixel GR42 positioned one pixel before the target pixel, and one pixel before the target pixel one line before And the pixel GR44 located one pixel after one line after the target pixel is used as a reference pixel.
At this time, the G signal is obtained by the following equation.
G = KG22 × GR22 + KG42 × GR42
+ KG33 x GB33
+ KG24 × GR24 + KG44 × GR44
The G signal coefficient setting circuit 195 sets a coefficient that is not used in the above expression among the addition coefficients KG11 to KG55, that is, a coefficient for the pixel at the reference pixel position to “0”.

G信号係数設定回路195は、上式で使う加算係数を下式に従って算出する。
KG22=(L−1)×4/15
KG42=(L−1)×4/15
KG33=(16−L)/15
KG24=(L−1)×4/15
KG44=(L−1)×4/15
ここで、Lは制御回路12から設定される増感倍率である。
The G signal coefficient setting circuit 195 calculates the addition coefficient used in the above expression according to the following expression.
KG22 = (L−1) × 4/15
KG42 = (L−1) × 4/15
KG33 = (16−L) / 15
KG24 = (L−1) × 4/15
KG44 = (L−1) × 4/15
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/5が正規化係数である。
例えば、KG33(注目画素についての加算係数)を求める式は、
KG33=(16−L)/12×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(16−L)/12が重み係数Kwである。
同様に、KG22(注目画素以外の画素についての加算係数)を求める式は、
KG22=(L−1)/3×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/5 that is inversely proportional to the number of pixels to be added is the normalization coefficient.
For example, the equation for calculating KG33 (addition coefficient for the target pixel) is
KG33 = (16−L) / 12 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (16-L) / 12 is the weight coefficient Kw.
Similarly, the equation for obtaining KG22 (addition coefficient for pixels other than the target pixel) is
KG22 = (L−1) / 3 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、G画素加算部6Gは次式の演算を行う。
G= 0 ×GR22+ 0 ×GR42
+15/15×GB33
+ 0 ×GR24+ 0 ×GR44
増感倍率Lが2倍の時、G画素加算部6Gは次式の演算を行う。
G= 4/15×GR22+ 4/15×GR42
+14/15×GB33
+ 4/15×GR24+ 4/15×GR44
増感倍率Lが3倍の時、G画素加算部6Gは次式の演算を行う。
G= 8/15×GR22+ 8/15×GR42
+13/15×GB33
+ 8/15×GR24+ 8/15×GR44
増感倍率Lが4倍の時、G画素加算部6Gは次式の演算を行う。
G=12/15×GR22+12/15×GR42
+12/15×GB33
+12/15×GR24+12/15×GR44
When the sensitization magnification L is 1, the G pixel addition unit 6G performs the following calculation.
G = 0 x GR22 + 0 x GR42
+ 15/15 × GB33
+ 0 × GR24 + 0 × GR44
When the sensitization magnification L is 2, the G pixel addition unit 6G performs the following calculation.
G = 4/15 × GR22 + 4/15 × GR42
+ 14/15 × GB33
+ 4/15 × GR24 + 4/15 × GR44
When the sensitization magnification L is 3, the G pixel addition unit 6G performs the following calculation.
G = 8/15 × GR22 + 8/15 × GR42
+ 13/15 × GB33
+ 8/15 × GR24 + 8/15 × GR44
When the sensitization magnification L is 4, the G pixel addition unit 6G performs the following calculation.
G = 12/15 × GR22 + 12/15 × GR42
+ 12/15 × GB33
+ 12/15 × GR24 + 12/15 × GR44

図10(b)は、注目画素がBB33(第3種の画素)の時の参照領域及び参照画素を示す。図示のように、参照領域Ag内にG画素(GB画素又はGR画素)が4個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の1ライン前に位置する画素GR32、注目画素の1画素前に位置する画素GB23、注目画素の1画素後に位置する画素GB43、及び注目画素の1ライン後に位置する画素GR34が参照画素として用いられる。
このとき、G信号は次式で求める。
G=KG32×GR32+KG34×GR34
+KG23×GB23+KG43×GB43
G信号係数設定回路195は、加算係数KG11〜KG55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 10B shows the reference region and the reference pixel when the target pixel is BB33 (third type pixel). As illustrated, there are four G pixels (GB pixels or GR pixels) in the reference area Ag, and all of them are used as reference pixels. That is, the pixel GR32 located one line before the target pixel, the pixel GB23 located one pixel before the target pixel, the pixel GB43 located one pixel after the target pixel, and the pixel GR34 located one line after the target pixel are referenced. Used as a pixel.
At this time, the G signal is obtained by the following equation.
G = KG32 × GR32 + KG34 × GR34
+ KG23 x GB23 + KG43 x GB43
The G signal coefficient setting circuit 195 sets a coefficient that is not used in the above expression among the addition coefficients KG11 to KG55, that is, a coefficient for the pixel at the reference pixel position to “0”.

G信号係数設定回路195は、上式で使う加算係数を下式に従って算出する。
KG32=L/4
KG34=L/4
KG23=L/4
KG43=L/4
ここで、Lは制御回路12から設定される増感倍率である。
The G signal coefficient setting circuit 195 calculates the addition coefficient used in the above expression according to the following expression.
KG32 = L / 4
KG34 = L / 4
KG23 = L / 4
KG43 = L / 4
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/4が正規化係数である。
例えば、KG32を求める式は、
KG32=L/4×4/4
と書き換えることができ、そのうち、4/4が正規化係数Kn、残りのL/4が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/4 that is inversely proportional to the number of pixels to be added is the normalization coefficient.
For example, the equation for calculating KG32 is
KG32 = L / 4 × 4/4
Of these, 4/4 is the normalization coefficient Kn, and the remaining L / 4 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、G画素加算部6Gは次式の演算を行う。
G= 1/4 ×GR32+ 1/4 ×GR34
+ 1/4 ×GB23+ 1/4 ×GB43
増感倍率Lが2倍の時、G画素加算部6Gは次式の演算を行う。
G= 2/4 ×GR32+ 2/4 ×GR34
+ 2/4 ×GB23+ 2/4 ×GB43
増感倍率Lが3倍の時、G画素加算部6Gは次式の演算を行う。
G= 3/4 ×GR32+ 3/4 ×GR34
+ 3/4 ×GB23+ 3/4 ×GB43
増感倍率Lが4倍の時、G画素加算部6Gは次式の演算を行う。
G= 4/4 ×GR32+ 4/4 ×GR34
+ 4/4 ×GB23+ 4/4 ×GB43
When the sensitization magnification L is 1, the G pixel addition unit 6G performs the following calculation.
G = 1/4 x GR32 + 1/4 x GR34
+ 1/4 x GB23 + 1/4 x GB43
When the sensitization magnification L is 2, the G pixel addition unit 6G performs the following calculation.
G = 2/4 × GR32 + 2/4 × GR34
+ 2/4 x GB23 + 2/4 x GB43
When the sensitization magnification L is 3, the G pixel addition unit 6G performs the following calculation.
G = 3/4 x GR32 + 3/4 x GR34
+ 3/4 x GB23 + 3/4 x GB43
When the sensitization magnification L is 4, the G pixel addition unit 6G performs the following calculation.
G = 4/4 × GR32 + 4/4 × GR34
+ 4/4 x GB23 + 4/4 x GB43

図10(c)は、注目画素がRR33(第1種の画素)の時の参照領域Ag及び参照画素を示す。図示のように、参照領域AG内にG画素(GB画素又はGR画素)が4個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の1ライン前に位置する画素GB32、注目画素の1画素前に位置する画素GR23、注目画素の1画素後に位置する画素GR43、及び注目画素の1ライン後に位置する画素GB34が参照画素として用いられる。
このとき、G信号は次式で求める。
G=KG32×GB32+KG34×GB34
+KG23×GR23+KG43×GR43
G信号係数設定回路195は、加算係数KG11〜KG55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 10C shows the reference region Ag and the reference pixel when the target pixel is RR33 (first type pixel). As shown in the figure, there are four G pixels (GB pixels or GR pixels) in the reference area AG, and all of them are used as reference pixels. That is, the pixel GB32 positioned one line before the target pixel, the pixel GR23 positioned one pixel before the target pixel, the pixel GR43 positioned one pixel after the target pixel, and the pixel GB34 positioned one line after the target pixel are referenced. Used as a pixel.
At this time, the G signal is obtained by the following equation.
G = KG32 × GB32 + KG34 × GB34
+ KG23 x GR23 + KG43 x GR43
The G signal coefficient setting circuit 195 sets a coefficient that is not used in the above expression among the addition coefficients KG11 to KG55, that is, a coefficient for the pixel at the reference pixel position to “0”.

G信号係数設定回路195は、上式で使う加算係数を下式に従って算出する。
KG32=L/4
KG34=L/4
KG23=L/4
KG43=L/4
ここで、Lは制御回路12から設定される増感倍率である。
The G signal coefficient setting circuit 195 calculates the addition coefficient used in the above expression according to the following expression.
KG32 = L / 4
KG34 = L / 4
KG23 = L / 4
KG43 = L / 4
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/4が正規化係数である。例えばKG32を求める式は、
KG32=L/4×4/4
と書き換えることができ、そのうち、4/4が正規化係数Kn、残りのL/4が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/4 that is inversely proportional to the number of pixels to be added is the normalization coefficient. For example, the equation for obtaining KG32 is:
KG32 = L / 4 × 4/4
Of these, 4/4 is the normalization coefficient Kn, and the remaining L / 4 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、G画素加算部6Gは次式の演算を行う。
G= 1/4 ×GB32+ 1/4 ×GB34
+ 1/4 ×GR23+ 1/4 ×GR43
増感倍率Lが2倍の時、G画素加算部6Gは次式の演算を行う。
G= 2/4 ×GB32+ 2/4 ×GB34
+ 2/4 ×GR23+ 2/4 ×GR43
増感倍率Lが3倍の時、G画素加算部6Gは次式の演算を行う。
G= 3/4 ×GB32+ 3/4 ×GB34
+ 3/4 ×GR23+ 3/4 ×GR43
増感倍率Lが4倍の時、G画素加算部6Gは次式の演算を行う。
G= 4/4 ×GB32+ 4/4 ×GB34
+ 4/4 ×GR23+ 4/4 ×GR43
When the sensitization magnification L is 1, the G pixel addition unit 6G performs the following calculation.
G = 1/4 x GB32 + 1/4 x GB34
+ 1/4 x GR23 + 1/4 x GR43
When the sensitization magnification L is 2, the G pixel addition unit 6G performs the following calculation.
G = 2/4 × GB32 + 2/4 × GB34
+ 2/4 x GR23 + 2/4 x GR43
When the sensitization magnification L is 3, the G pixel addition unit 6G performs the following calculation.
G = 3/4 × GB32 + 3/4 × GB34
+ 3/4 x GR23 + 3/4 x GR43
When the sensitization magnification L is 4, the G pixel addition unit 6G performs the following calculation.
G = 4/4 × GB32 + 4/4 × GB34
+ 4/4 x GR23 + 4/4 x GR43

図10(d)は、注目画素がGR33(第4種の画素)の時の参照領域Ag及び参照画素を示す。図示のように、参照領域Ag内にG画素(GB画素又はGR画素)が5個存在し、そのすべてが参照画素として用いられる。即ち、注目画素GR33と、注目画素の1ライン前の1画素前に位置する画素GB22、注目画素の1ライン前の1画素後に位置する画素GB42、注目画素の1ライン後の1画素前に位置する画素GB24、及び注目画素の1ライン後の1画素後に位置する画素GB44が参照画素として用いられる。
このとき、G信号は次式で求める。
G=KG22×GB22+KG42×GB42
+KG33×GR33
+KG24×GB24+KG44×GB44
G信号係数設定回路195は、加算係数KG11〜KG55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 10D shows the reference region Ag and the reference pixel when the target pixel is GR33 (fourth type pixel). As illustrated, there are five G pixels (GB pixels or GR pixels) in the reference region Ag, and all of them are used as reference pixels. That is, the target pixel GR33, the pixel GB22 positioned one pixel before the target pixel, the pixel GB42 positioned one pixel before the target pixel, the pixel GB42 positioned one line before the target pixel, and one pixel before the target pixel one pixel before And the pixel GB44 located one pixel after one line after the target pixel is used as a reference pixel.
At this time, the G signal is obtained by the following equation.
G = KG22 × GB22 + KG42 × GB42
+ KG33 x GR33
+ KG24 × GB24 + KG44 × GB44
The G signal coefficient setting circuit 195 sets a coefficient that is not used in the above expression among the addition coefficients KG11 to KG55, that is, a coefficient for the pixel at the reference pixel position to “0”.

G信号係数設定回路195は、上式で使う加算係数を下式に従って算出する。
KG22=(L−1)×4/15
KG42=(L−1)×4/15
KG33=(16−L)/15
KG24=(L−1)×4/15
KG44=(L−1)×4/15
ここで、Lは制御回路12から設定される増感倍率である。
The G signal coefficient setting circuit 195 calculates the addition coefficient used in the above expression according to the following expression.
KG22 = (L−1) × 4/15
KG42 = (L−1) × 4/15
KG33 = (16−L) / 15
KG24 = (L−1) × 4/15
KG44 = (L−1) × 4/15
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/5が正規化係数である。
例えば、KG33(注目画素についての加算係数)を求める式は、
KG33=(16−L)/12×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(16−L)/12が重み係数Kwである。
同様に、KG22(注目画素以外の画素についての加算係数)を求める式は、
KG22=(L−1)/3×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/5 that is inversely proportional to the number of pixels to be added is the normalization coefficient.
For example, the equation for calculating KG33 (addition coefficient for the target pixel) is
KG33 = (16−L) / 12 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (16-L) / 12 is the weight coefficient Kw.
Similarly, the equation for obtaining KG22 (addition coefficient for pixels other than the target pixel) is
KG22 = (L−1) / 3 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、G画素加算部6Gは次式の演算を行う。
G= 0 ×GB22+ 0 ×GB42
+15/15×GR33
+ 0 ×GB24+ 0 ×GB44
増感倍率Lが2倍の時、G画素加算部6Gは次式の演算を行う。
G= 4/15×GB22+ 4/15×GB42
+14/15×GR33
+ 4/15×GB24+ 4/15×GB44
増感倍率Lが3倍の時、G画素加算部6Gは次式の演算を行う。
G= 8/15×GB22+ 8/15×GB42
+13/15×GR33
+ 8/15×GB24+ 8/15×GB44
増感倍率Lが4倍の時、G画素加算部6Gは次式の演算を行う。
G=12/15×GB22+12/15×GB42
+12/15×GR33
+12/15×GB24+12/15×GB44
When the sensitization magnification L is 1, the G pixel addition unit 6G performs the following calculation.
G = 0 × GB22 + 0 × GB42
+ 15/15 × GR33
+ 0 × GB24 + 0 × GB44
When the sensitization magnification L is 2, the G pixel addition unit 6G performs the following calculation.
G = 4/15 × GB22 + 4/15 × GB42
+ 14/15 × GR33
+ 4/15 × GB24 + 4/15 × GB44
When the sensitization magnification L is 3, the G pixel addition unit 6G performs the following calculation.
G = 8/15 × GB22 + 8/15 × GB42
+ 13/15 × GR33
+ 8/15 × GB24 + 8/15 × GB44
When the sensitization magnification L is 4, the G pixel addition unit 6G performs the following calculation.
G = 12/15 × GB22 + 12/15 × GB42
+ 12/15 × GR33
+ 12/15 × GB24 + 12/15 × GB44

図11(a)〜(d)は、図5の画素加算回路のB画素加算部6BでB信号を生成するために用いられる参照画素の配列を示す。図示のように、5×5画素の領域から4隅の画素を除いた参照領域Ab内に位置するB画素(B成分の光を検出する画素、例えばBフィルタを設けた画素)が参照画素として用いられる。参照画素は、画素加算における加重加算で用いられるが、後述の増感倍率Lの値によっては、加算係数が「0」となる。即ち、増感倍率が小さいときは、注目画素から比較的遠い画素の加算係数が「0」となり、注目画素に比較的近い画素のみにより注目画素の画素値が求められる。   FIGS. 11A to 11D show an array of reference pixels used for generating a B signal in the B pixel addition unit 6B of the pixel addition circuit of FIG. As shown in the figure, a B pixel (a pixel for detecting light of a B component, for example, a pixel provided with a B filter) located in a reference area Ab obtained by removing four corner pixels from a 5 × 5 pixel area is used as a reference pixel. Used. The reference pixel is used in weighted addition in pixel addition, but depending on the value of sensitization magnification L described later, the addition coefficient is “0”. That is, when the sensitization magnification is small, the addition coefficient of the pixel relatively far from the target pixel is “0”, and the pixel value of the target pixel is obtained only from the pixel relatively close to the target pixel.

図11(a)は、注目画素がGB33(第2種の画素)の時の参照領域Ab及び参照画素を示す。図示のように、参照領域Ab内にB画素が6個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の2ライン前の1画素前に位置する画素BB21、注目画素の2ライン前の1画素前に位置する画素BB41、注目画素の1画素前に位置する画素BB23、注目画素の1画素後に位置する画素BB43、注目画素の2ライン後の1画素前に位置する画素BB25、及び注目画素の2ライン後の1画素後に位置する画素BB45が参照画素として用いられる。
このとき、B信号は次式で求める。
B=KB21×BB21+KB41×BB41
+KB23×BB23+KB43×BB43
+KB25×BB25+KB45×BB45
B信号係数設定回路295は、加算係数KB11〜KB55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 11A shows the reference region Ab and the reference pixel when the target pixel is GB33 (second type pixel). As shown in the figure, there are six B pixels in the reference area Ab, and all of them are used as reference pixels. That is, the pixel BB21 positioned one pixel before the target pixel two pixels before, the pixel BB41 positioned one pixel before the target pixel two pixels, the pixel BB23 positioned one pixel before the target pixel, and the target pixel 1 The pixel BB43 positioned after the pixel, the pixel BB25 positioned one pixel before the target pixel two lines, and the pixel BB45 positioned one pixel after the target pixel two lines are used as reference pixels.
At this time, the B signal is obtained by the following equation.
B = KB21 × BB21 + KB41 × BB41
+ KB23 x BB23 + KB43 x BB43
+ KB25 x BB25 + KB45 x BB45
The B signal coefficient setting circuit 295 sets a coefficient that is not used in the above expression among the addition coefficients KB11 to KB55, that is, a coefficient for the pixel at the reference pixel position to “0”.

B信号係数設定回路295は、上式で使う加算係数を下式に従って算出する。
KB21=(L−1)×4/18
KB41=(L−1)×4/18
KB23=(L+8)/18
KB43=(L+8)/18
KB25=(L−1)×4/18
KB45=(L−1)×4/18
ここで、Lは制御回路12から設定される増感倍率である。
The B signal coefficient setting circuit 295 calculates the addition coefficient used in the above equation according to the following equation.
KB21 = (L−1) × 4/18
KB41 = (L−1) × 4/18
KB23 = (L + 8) / 18
KB43 = (L + 8) / 18
KB25 = (L−1) × 4/18
KB45 = (L−1) × 4/18
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/6が正規化係数である。
例えば、KB23(3×3画素の領域内の画素についての加算係数)を求める式は、
KB23=(L+8)/12×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L+8)/12が重み係数Kwである。
同様に、KB21(3×3画素の領域外の画素についての加算係数)を求める式は、
KB21=(L−1)/3×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/6, which is inversely proportional to the number of pixels to be added, is the normalization coefficient.
For example, the equation for calculating KB23 (addition coefficient for pixels in a 3 × 3 pixel region) is:
KB23 = (L + 8) / 12 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L + 8) / 12 is the weighting coefficient Kw.
Similarly, the equation for calculating KB21 (addition coefficient for pixels outside the 3 × 3 pixel area) is:
KB21 = (L−1) / 3 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、B画素加算部6Bは次式の演算を行う。
B= 0 ×BB21+ 0 ×BB41
+ 9/18×BB23+ 9/18×BB43
+ 0 ×BB25+ 0 ×BB45
増感倍率Lが2倍の時、B画素加算部6Bは次式の演算を行う。
B= 4/18×BB21+ 4/18×BB41
+10/18×BB23+10/18×BB43
+ 4/18×BB25+ 4/18×BB45
増感倍率Lが3倍の時、B画素加算部6Bは次式の演算を行う。
B= 8/18×BB21+ 8/18×BB41
+11/18×BB23+11/18×BB43
+ 8/18×BB25+ 8/18×BB45
増感倍率Lが4倍の時、B画素加算部6Bは次式の演算を行う。
B=12/18×BB21+12/18×BB41
+12/18×BB23+12/18×BB43
+12/18×BB25+12/18×BB45
When the sensitization magnification L is 1, the B pixel addition unit 6B performs the following calculation.
B = 0 x BB21 + 0 x BB41
+ 9/18 x BB23 + 9/18 x BB43
+ 0 × BB25 + 0 × BB45
When the sensitization magnification L is 2, the B pixel addition unit 6B performs the following calculation.
B = 4/18 × BB21 + 4/18 × BB41
+ 10/18 × BB23 + 10/18 × BB43
+ 4/18 x BB25 + 4/18 x BB45
When the sensitization magnification L is 3, the B pixel addition unit 6B performs the following calculation.
B = 8/18 × BB21 + 8/18 × BB41
+1 1/18 × BB23 + 1/118 × BB43
+ 8/18 x BB25 + 8/18 x BB45
When the sensitization magnification L is 4, the B pixel addition unit 6B performs the following calculation.
B = 12/18 x BB21 + 12/18 x BB41
+12/18 x BB23 +12/18 x BB43
+ 12/18 × BB25 + 12/18 × BB45

図11(b)は、注目画素がBB33(第3種の画素)の時の参照領域Ab及び参照画素を示す。図示のように、参照領域Ab内にB画素が5個存在し、そのすべてが参照画素として用いられる。即ち、注目画素BB33、注目画素の2ライン前に位置する画素BB31、注目画素の2画素前に位置する画素BB13、注目画素の2画素後に位置する画素BB53、及び注目画素の2ライン後に位置する画素BB35が参照画素として用いられる。
このとき、B信号は次式で求める。
B=KB31×BB31
+KB13×BB13+KB33×BB33+KB53×BB53
+KB35×BB35
B信号係数設定回路295は、加算係数KB11〜KB55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 11B shows the reference region Ab and the reference pixel when the target pixel is BB33 (third type pixel). As shown in the figure, there are five B pixels in the reference area Ab, and all of them are used as reference pixels. That is, the target pixel BB33, the pixel BB31 positioned two lines before the target pixel, the pixel BB13 positioned two pixels before the target pixel, the pixel BB53 positioned two pixels after the target pixel, and the second line after the target pixel Pixel BB35 is used as a reference pixel.
At this time, the B signal is obtained by the following equation.
B = KB31 × BB31
+ KB13 × BB13 + KB33 × BB33 + KB53 × BB53
+ KB35 x BB35
The B signal coefficient setting circuit 295 sets a coefficient that is not used in the above expression among the addition coefficients KB11 to KB55, that is, a coefficient for the pixel at the reference pixel position to “0”.

B信号係数設定回路295は、上式で使う加算係数を下式に従って算出する。
KB31=(L−1)×4/15
KB13=(L−1)×4/15
KB33=(16−L)/15
KB53=(L−1)×4/15
KB35=(L−1)×4/15
ここで、Lは制御回路12から設定される増感倍率である。
The B signal coefficient setting circuit 295 calculates the addition coefficient used in the above equation according to the following equation.
KB31 = (L−1) × 4/15
KB13 = (L−1) × 4/15
KB33 = (16-L) / 15
KB53 = (L−1) × 4/15
KB35 = (L−1) × 4/15
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/5が正規化係数である。
例えば、KB33(注目画素についての加算係数)を求める式は、
KB33=(16−L)/12×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(16−L)/12が重み係数Kwである。
同様に、KB31(3×3画素の領域外の画素についての加算係数)を求める式は、
KB31=(L−1)/3×4/5
と書き換えることができ、そのうち、4/5が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/5 that is inversely proportional to the number of pixels to be added is the normalization coefficient.
For example, the equation for calculating KB33 (addition coefficient for the target pixel) is:
KB33 = (16−L) / 12 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (16-L) / 12 is the weight coefficient Kw.
Similarly, the equation for calculating KB31 (addition coefficient for pixels outside the 3 × 3 pixel area) is:
KB31 = (L−1) / 3 × 4/5
4/5 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、B画素加算部6Bは次式の演算を行う。
B= 0 ×BB31
+ 0 ×BB13+15/15×BB33+ 0 ×BB53
+ 0 ×BB35
増感倍率Lが2倍の時、B画素加算部6Bは次式の演算を行う。
B= 4/15×BB31
+ 4/15×BB13+14/15×BB33+ 4/15×BB53
+ 4/15×BB35
増感倍率Lが3倍の時、B画素加算部6Bは次式の演算を行う。
B= 8/15×BB31
+ 8/15×BB13+13/15×BB33+ 8/15×BB53
+ 8/15×BB35
増感倍率Lが4倍の時、B画素加算部6Bは次式の演算を行う。
B=12/15×BB31
+12/15×BB13+12/15×BB33+12/15×BB53
+12/15×BB35
When the sensitization magnification L is 1, the B pixel addition unit 6B performs the following calculation.
B = 0 x BB31
+ 0 × BB13 + 15/15 × BB33 + 0 × BB53
+0 xBB35
When the sensitization magnification L is 2, the B pixel addition unit 6B performs the following calculation.
B = 4/15 × BB31
+ 4/15 × BB13 + 14/15 × BB33 + 4/15 × BB53
+ 4/15 × BB35
When the sensitization magnification L is 3, the B pixel addition unit 6B performs the following calculation.
B = 8/15 × BB31
+ 8/15 x BB13 + 13/15 x BB33 + 8/15 x BB53
+ 8/15 × BB35
When the sensitization magnification L is 4, the B pixel addition unit 6B performs the following calculation.
B = 12/15 x BB31
+ 12/15 × BB13 + 12/15 × BB33 + 12/15 × BB53
+ 12/15 × BB35

図11(c)は、注目画素がRR33(第1種の画素)の時の参照領域Ab及び参照画素を示す。図示のように、参照領域Ab内にB画素が4個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の1ライン前の1画素前に位置する画素BB22、注目画素の1ライン前の1画素後に位置する画素BB42、注目画素の1ライン後の1画素前に位置する画素BB24、及び注目画素の1ライン後の1画素後に位置する画素BB44が参照画素として用いられる。
このとき、B信号は次式で求める。
B=KB22×BB22+KB42×BB42
+KB24×BB24+KB44×BB44
B信号係数設定回路295は、加算係数KB11〜KB55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 11C shows the reference region Ab and the reference pixel when the target pixel is RR33 (first type pixel). As shown in the figure, there are four B pixels in the reference area Ab, and all of them are used as reference pixels. That is, a pixel BB22 positioned one pixel before the target pixel, a pixel BB42 positioned one pixel before the target pixel, a pixel BB24 positioned one pixel before the target pixel, a pixel BB24 positioned one pixel before the target pixel, and A pixel BB44 located one pixel after one line after the target pixel is used as a reference pixel.
At this time, the B signal is obtained by the following equation.
B = KB22 × BB22 + KB42 × BB42
+ KB24 × BB24 + KB44 × BB44
The B signal coefficient setting circuit 295 sets a coefficient that is not used in the above expression among the addition coefficients KB11 to KB55, that is, a coefficient for the pixel at the reference pixel position to “0”.

B信号係数設定回路295は、上式で使う加算係数を下式に従って算出する。
KB22=L/4
KB42=L/4
KB24=L/4
KB44=L/4
ここで、Lは制御回路12から設定される増感倍率である。
The B signal coefficient setting circuit 295 calculates the addition coefficient used in the above equation according to the following equation.
KB22 = L / 4
KB42 = L / 4
KB24 = L / 4
KB44 = L / 4
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/4が正規化係数である。例えばKB22を求める式は、
KB22=L/4×4/4
と書き換えることができ、そのうち、4/4が正規化係数Kn、残りのL/4が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/4 that is inversely proportional to the number of pixels to be added is the normalization coefficient. For example, the equation for determining KB22 is
KB22 = L / 4 × 4/4
Of these, 4/4 is the normalization coefficient Kn, and the remaining L / 4 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、B画素加算部6Bは次式の演算を行う。
B= 1/4 ×BB22+ 1/4 ×BB42
+ 1/4 ×BB24+ 1/4 ×BB44
増感倍率Lが2倍の時、B画素加算部6Bは次式の演算を行う。
B= 2/4 ×BB22+ 2/4 ×BB42
+ 2/4 ×BB24+ 2/4 ×BB44
増感倍率Lが3倍の時、B画素加算部6Bは次式の演算を行う。
B= 3/4 ×BB22+ 3/4 ×BB42
+ 3/4 ×BB24+ 3/4 ×BB44
増感倍率Lが4倍の時、B画素加算部6Bは次式の演算を行う。
B= 4/4 ×BB22+ 4/4 ×BB42
+ 4/4 ×BB24+ 4/4 ×BB44
When the sensitization magnification L is 1, the B pixel addition unit 6B performs the following calculation.
B = ¼ × BB22 + 1/4 × BB42
+ 1/4 x BB24 + 1/4 x BB44
When the sensitization magnification L is 2, the B pixel addition unit 6B performs the following calculation.
B = 2/4 × BB22 + 2/4 × BB42
+ 2/4 xBB24 + 2/4 xBB44
When the sensitization magnification L is 3, the B pixel addition unit 6B performs the following calculation.
B = 3/4 × BB22 + 3/4 × BB42
+ 3/4 x BB24 + 3/4 x BB44
When the sensitization magnification L is 4, the B pixel addition unit 6B performs the following calculation.
B = 4/4 × BB22 + 4/4 × BB42
+ 4/4 × BB24 + 4/4 × BB44

図11(d)は、注目画素がGR33(第4種の画素)の時の参照領域Ab及び参照画素を示す。図示のように、参照領域Ab内にB画素が6個存在し、そのすべてが参照画素として用いられる。即ち、注目画素の1ライン前に位置する画素BB32、注目画素の1ライン前の2画素前に位置する画素BB12、注目画素の1ライン前の2画素後に位置する画素BB52、注目画素の1ライン後に位置する画素BB34、注目画素の1ライン後の2画素前に位置する画素BB14、及び注目画素の1ライン後の2画素後に位置する画素BB54が参照画素として用いられる。
このとき、B信号は次式で求める。
B=KB12×BB12+KB32×BB32+KB52×BB52
+KB14×BB14+KB34×BB34+KB54×BB54
B信号係数設定回路295は、加算係数KB11〜KB55のうち、上式で使わない係数、即ち参照画素位置の画素に対する係数を「0」に設定する。
FIG. 11D shows the reference region Ab and the reference pixel when the target pixel is GR33 (fourth type pixel). As shown in the figure, there are six B pixels in the reference area Ab, and all of them are used as reference pixels. That is, the pixel BB32 positioned one line before the target pixel, the pixel BB12 positioned two pixels before the target pixel, the pixel BB52 positioned two pixels before the target pixel, and one line of the target pixel The pixel BB34 located after, the pixel BB14 located two pixels before one line after the target pixel, and the pixel BB54 located two pixels after one line after the target pixel are used as reference pixels.
At this time, the B signal is obtained by the following equation.
B = KB12 × BB12 + KB32 × BB32 + KB52 × BB52
+ KB14 × BB14 + KB34 × BB34 + KB54 × BB54
The B signal coefficient setting circuit 295 sets a coefficient that is not used in the above expression among the addition coefficients KB11 to KB55, that is, a coefficient for the pixel at the reference pixel position to “0”.

B信号係数設定回路295は、上式で使う加算係数を下式に従って算出する。
KB12=(L−1)×4/18
KB32=(L+8)/18
KB52=(L−1)×4/18
KB14=(L−1)×4/18
KB34=(L+8)/18
KB54=(L−1)×4/18
ここで、Lは制御回路12から設定される増感倍率である。
The B signal coefficient setting circuit 295 calculates the addition coefficient used in the above equation according to the following equation.
KB12 = (L−1) × 4/18
KB32 = (L + 8) / 18
KB52 = (L−1) × 4/18
KB14 = (L−1) × 4/18
KB34 = (L + 8) / 18
KB54 = (L−1) × 4/18
Here, L is a sensitization magnification set by the control circuit 12.

上記の係数の各々は、正規化係数Knと重み係数Kwの積で与えられるものであり、上記の例では、加算される画素の数に反比例した4/6が正規化係数である。
例えば、KB32(3×3画素の領域内の画素についての加算係数)を求める式は、
KB32=(L+8)/12×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L+8)/12が重み係数Kwである。
同様に、KB12(3×3画素の領域外の画素についての加算係数)を求める式は、
KB12=(L−1)/3×4/6
と書き換えることができ、そのうち、4/6が正規化係数Kn、残りの(L−1)/3が重み係数Kwである。他の係数についても同様である。
Each of the above coefficients is given by the product of the normalization coefficient Kn and the weight coefficient Kw. In the above example, 4/6, which is inversely proportional to the number of pixels to be added, is the normalization coefficient.
For example, the equation for determining KB32 (addition coefficient for pixels in a 3 × 3 pixel region) is:
KB32 = (L + 8) / 12 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L + 8) / 12 is the weighting coefficient Kw.
Similarly, the equation for calculating KB12 (addition coefficient for pixels outside the 3 × 3 pixel area) is:
KB12 = (L−1) / 3 × 4/6
4/6 is the normalization coefficient Kn, and the remaining (L-1) / 3 is the weighting coefficient Kw. The same applies to other coefficients.

増感倍率Lが1倍の時、R画素加算部6Rは次式の演算を行う。
B= 0 ×BB12+ 9/18×BB32+ 0 ×BB52
+ 0 ×BB14+ 9/18×BB34+ 0 ×BB54
増感倍率Lが2倍の時、R画素加算部6Rは次式の演算を行う。
B=4/18×BB12+10/18×BB32+4/18×BB52
+4/18×BB14+10/18×BB34+4/18×BB54
増感倍率Lが3倍の時、R画素加算部6Rは次式の演算を行う。
B=8/18×BB12+11/18×BB32+8/18×BB52
+8/18×BB14+11/18×BB34+8/18×BB54
増感倍率Lが4倍の時、R画素加算部6Rは次式の演算を行う。
B=12/18×BB12+12/18×BB32+12/18×BB52
+12/18×BB14+12/18×BB34+12/18×BB54
When the sensitization magnification L is 1, the R pixel addition unit 6R performs the following calculation.
B = 0 x BB12 + 9/18 x BB32 + 0 x BB52
+ 0 × BB14 + 9/18 × BB34 + 0 × BB54
When the sensitization magnification L is 2 times, the R pixel addition unit 6R performs the following calculation.
B = 4/18 × BB12 + 10/18 × BB32 + 4/18 × BB52
+ 4/18 × BB14 + 10/18 × BB34 + 4/18 × BB54
When the sensitization magnification L is 3, the R pixel addition unit 6R performs the following calculation.
B = 8/18 × BB12 + 11/18 × BB32 + 8/18 × BB52
+ 8/18 × BB14 + 11/18 × BB34 + 8/18 × BB54
When the sensitization magnification L is 4, the R pixel adding unit 6R performs the following calculation.
B = 12/18 x BB12 + 12/18 x BB32 + 12/18 x BB52
+ 12/18 × BB14 + 12/18 × BB34 + 12/18 × BB54

一般化すれば、参照画素に対する加算係数Ka(KR21、KR22、…、KG22、KG23、…、KB21、KB22、…)は、重み係数Kwと正規化係数Knの積で与えられる。
正規化係数Knは、加算により求めようとしている色成分値に応じて予め決められるものであり、参照画素の数に反比例する。上記の例では、参照画素の数がNp(=4、5又は6)であれば、正規化係数Kn=4/Np(=4/4、4/5又は4/6)である。
一方、重み係数Kwは、加算される各画素に対して定められるものであり、各画素に対する重み係数Kwは、当該画素の注目画素からの距離と、増感倍率に依存し、増感倍率Lが比較的小さいときは、重み係数Kwは距離が大きいほど小さく、増感倍率Lが大きくなるほど、重み係数Kwの距離に対する依存性が小さくなるように設定される。
加算係数の、すべての参照画素についての総和Skaは、増感倍率Lに等しい。
In general, the addition coefficient Ka (KR21, KR22,..., KG22, KG23,..., KB21, KB22,...) For the reference pixel is given by the product of the weighting coefficient Kw and the normalization coefficient Kn.
The normalization coefficient Kn is determined in advance according to the color component value to be obtained by addition, and is inversely proportional to the number of reference pixels. In the above example, if the number of reference pixels is Np (= 4, 5 or 6), the normalization coefficient Kn = 4 / Np (= 4/4, 4/5 or 4/6).
On the other hand, the weighting factor Kw is determined for each pixel to be added, and the weighting factor Kw for each pixel depends on the distance from the target pixel of the pixel and the sensitization magnification, and the sensitization magnification L Is relatively small, the weight coefficient Kw is set to be smaller as the distance is larger, and the dependency of the weight coefficient Kw on the distance is smaller as the sensitization magnification L is larger.
The sum Ska of all the reference pixels of the addition coefficient is equal to the sensitization magnification L.

参照画素の数が4の場合(図9(b)、図10(b)、図10(c)、図11(c))
参照画素の数が5の場合(図9(c)、図10(a)、図10(d)、図11(b))、
参照画素の数が6の場合(図9(a)、図9(d)、図11(a)、図11(d))、
のそれぞれについて、増感倍率Lと重み係数Kwの関係を図12(a)、(b)、(c)に示す。
図12(a)で、符号Kw4はすべての参照画素に共通の重み係数Kwを示す。
図12(b)で、符号Kw50は注目画素についての重み係数を示し、符号Kw51は注目画素以外の画素についての重み係数を示す。
図12(c)で、符号Kw61は3×3画素の領域内の参照画素についての重み係数を示し、符号Kw62は3×3画素の領域外の画素についての重み係数を示す。
When the number of reference pixels is 4 (FIG. 9B, FIG. 10B, FIG. 10C, FIG. 11C)
When the number of reference pixels is 5 (FIG. 9C, FIG. 10A, FIG. 10D, FIG. 11B),
When the number of reference pixels is 6 (FIG. 9A, FIG. 9D, FIG. 11A, FIG. 11D),
FIG. 12A, FIG. 12B, and FIG. 12C show the relationship between the sensitization magnification L and the weighting coefficient Kw.
In FIG. 12A, a symbol Kw4 indicates a weighting factor Kw common to all reference pixels.
In FIG. 12B, a symbol Kw50 indicates a weighting factor for the target pixel, and a symbol Kw51 indicates a weighting factor for pixels other than the target pixel.
In FIG. 12C, the symbol Kw61 indicates the weighting factor for the reference pixel in the 3 × 3 pixel region, and the symbol Kw62 indicates the weighting factor for the pixel outside the 3 × 3 pixel region.

上記の実施の形態では、制御回路12において、増感倍率Lを出力し、係数設定回路95,195,295が増感倍率Lに基づいて加算係数Kaを生成することとしており、制御回路12と係数設定回路95,195,295とで、加算係数Kaを生成する加算係数生成部を構成している。   In the above embodiment, the control circuit 12 outputs the sensitization magnification L, and the coefficient setting circuits 95, 195, 295 generate the addition coefficient Ka based on the sensitization magnification L. The coefficient setting circuits 95, 195, and 295 constitute an addition coefficient generation unit that generates the addition coefficient Ka.

上記の例で説明したように、注目画素に最も近い相関の高い画素を使って画素加算を行うので画像解像度の劣化を最小限に抑えつつ感度向上を実現することができる。特に解像度に寄与するG画素は、注目画素の隣接画素(3×3画素の領域内の画素)を参照画素としている。   As described in the above example, pixel addition is performed using a highly correlated pixel that is closest to the pixel of interest, so that it is possible to improve sensitivity while minimizing degradation of image resolution. In particular, the G pixel contributing to the resolution uses a pixel adjacent to the target pixel (a pixel in a 3 × 3 pixel region) as a reference pixel.

上記の例で説明したように、注目画素の近傍に位置する画素の画素値、従って相関が比較的高い画素値を用いて画素加算を行うので、画像解像度の劣化を抑制しつつ感度向上を実現することができる。特に輝度成分への影響を大きく与え、従って、解像度の向上への寄与の大きいG画素については、隣接画素(3×3画素の領域内の画素)のみを参照画素として画素加算を行うので、画素加算による解像度の劣化を最小限に抑えることができる。   As explained in the above example, pixel addition is performed using the pixel value of the pixel located in the vicinity of the target pixel, and therefore a pixel value with a relatively high correlation, thus improving sensitivity while suppressing image resolution degradation. can do. In particular, for G pixels that have a large influence on the luminance component and thus contribute greatly to the improvement in resolution, pixel addition is performed using only adjacent pixels (pixels in a 3 × 3 pixel region) as reference pixels. Degradation of resolution due to addition can be minimized.

上記の例で説明したように、画素加算を撮像素子から出力された直後に(即ち映像信号処理回路7による処理の前に)行うことにより、映像信号処理の影響を受けずに、画素加算による高感度信号が生成できる。映像信号処理の後段で行う画素加算は、近傍に位置する画素を使った演算である色同時化処理や、フィルタ処理が施されているので、水平解像度や垂直解像度の低下が想定よりも大きい。隣接画素(水平方向の座標値の差及び垂直方向の座標値の差のうちの大きい方が1である画素)を使った画素加算を行った場合には、その1画素隣の画素は、色同時化処理で隣接画素に隣接する画素を使って生成されている場合があり、そうすると、結果的に水平方向又は垂直方向の画素間距離が2画素ピッチである画素と画素加算を行っていることになる。これとの比較から、映像信号処理後の画素信号を用いた画素加算に較べて、映像信号処理前の画素信号を用いた画素加算は、より高い解像度の画像が得られる効果がある。   As described in the above example, by performing pixel addition immediately after being output from the image sensor (that is, before processing by the video signal processing circuit 7), pixel addition is not affected by video signal processing. High sensitivity signal can be generated. In the pixel addition performed in the subsequent stage of the video signal processing, since the color synchronization processing and the filter processing are performed using the pixels located in the vicinity, the horizontal resolution and the vertical resolution are reduced more than expected. When pixel addition is performed using an adjacent pixel (a pixel having the larger difference between the horizontal coordinate value and the vertical coordinate value being 1), the pixel adjacent to that pixel is a color It may be generated using pixels adjacent to adjacent pixels in the synchronization process, and as a result, pixel addition is performed with pixels whose pixel distance in the horizontal direction or vertical direction is 2 pixel pitches. become. Compared with this, pixel addition using a pixel signal before video signal processing has an effect of obtaining a higher resolution image compared to pixel addition using a pixel signal after video signal processing.

また映像信号処理では非線形なフィルタ処理や階調変換処理が行われているので、低振幅信号を入力した場合、信号振幅が失われている場合がある。このため、映像信号処理の出力信号を2画素加算しても、2倍の画像信号にならない可能性がある。上記した例では映像信号処理前に画素加算するように構成したので、2画素加算したら、2倍の画像信号になる効果がある。   In addition, since non-linear filter processing and gradation conversion processing are performed in the video signal processing, the signal amplitude may be lost when a low amplitude signal is input. For this reason, even if two pixels are added to the output signal of the video signal processing, there is a possibility that the image signal is not doubled. In the example described above, the pixels are added before the video signal processing. Therefore, when two pixels are added, there is an effect that the image signal is doubled.

上記の例で説明したように、注目画素がR画素又はB画素である場合には、増感倍率Lが1倍の場合は、注目画素自体、又はその隣接画素のみを用いて画素加算を行い、増感倍率Lが4倍の場合は、隣接画素の周囲に配置されている周辺画素をも用いた画素加算を行うこととし、その間の増感倍率Lでは、増感倍率の増加に伴って加算係数が連続的に変化するように、例えば増感倍率の増加に加算係数の増加又は減少が比例するようにした。
一方、注目画素がG画素である場合には、増感倍率が1倍から4倍の如何なる場合にも、注目画素のみ又は注目画素及びその隣接画素のみを用いて画素加算を行なうこととした。
As described in the above example, when the target pixel is an R pixel or a B pixel, if the sensitization magnification L is 1, the pixel addition is performed using only the target pixel itself or its neighboring pixels. When the sensitization magnification L is 4 times, pixel addition using peripheral pixels arranged around adjacent pixels is also performed. At the sensitization magnification L in the meantime, as the sensitization magnification increases, For example, the increase or decrease of the addition coefficient is proportional to the increase of the sensitization magnification so that the addition coefficient changes continuously.
On the other hand, when the target pixel is a G pixel, pixel addition is performed using only the target pixel or only the target pixel and its adjacent pixels, regardless of the sensitization magnification of 1 to 4 times.

以上のように構成したので、標準照度(高照度側基準値以上の範囲内)では、増感倍率Lは1倍として解像度の低下がない画像を出力できる。低照度範囲(低照度側基準値以下の範囲)では、増感倍率Lは4倍として解像度の低下を最小限に抑えた4倍の感度で画像を出力できる。カメラに搭載される撮像素子の感度やノイズレベルによるが、例えば上記の高照度側基準値を1lxに設定し、上記の低照度側基準値を0.25lxに設定しても良い。また、標準照度での増感倍率L=1倍と、低照度での増感倍率L=4倍の間の中照度範囲においては、シームレスに増感倍率Lを設定できるように構成したので、撮像装置から得られる画像を動画として見る場合にも、照度が暗くなる過程で画像が急変することがなく違和感を与えない効果がある。出力信号の明るさが急変することがなくなり、画面を見ている人が違和感を受けたり、見づらいと感じたりすることがなくなる。   Since it comprised as mentioned above, in standard illumination intensity (within the range beyond the high illumination side reference value), the sensitization magnification L can be set to 1 and the image without the fall of a resolution can be output. In the low illuminance range (the range below the reference value on the low illuminance side), the sensitization magnification L is set to 4 times, and an image can be output with a sensitivity of 4 times with a reduction in resolution minimized. Depending on the sensitivity and noise level of the image sensor mounted on the camera, for example, the high illuminance side reference value may be set to 1 lx and the low illuminance side reference value may be set to 0.25 lx. In addition, in the medium illuminance range between the sensitization magnification L = 1 times at standard illuminance and the sensitization magnification L = 4 times at low illuminance, the sensitization magnification L can be set seamlessly. Even when an image obtained from the imaging apparatus is viewed as a moving image, there is an effect that the image does not change suddenly in the process of illuminance being dark and does not give an uncomfortable feeling. The brightness of the output signal does not change suddenly, and the person watching the screen does not feel uncomfortable or feel uncomfortable.

以上要するに、制御回路12とR信号係数設定回路95との組合せは、R画素加算部(第1の色成分生成部)6Rで用いられる加算係数を定めるに当たり、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、図9(c)に示すように、注目画素がR画素(第1種の画素)である場合、注目画素以外の参照画素についての加算係数をゼロとし、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、図9(a)、(b)、(d)に示すように、注目画素がR画素以外である場合(GB画素、B画素、又はGR画素である場合、即ち、第2種、第3種又は第4種の画素である場合)、注目画素を中心とした3×3画素の領域内に含まれない参照画素についての加算係数をゼロとし、
被写体照度が所定の低照度側基準値以下の低照度範囲内にある場合、参照画素のすべてについての加算係数を互いに等しいゼロ以外の値とし、
被写体照度が上記低照度側基準値と上記高照度側基準値の間の中照度範囲内にある場合、被写体照度の増加とともに、上記低照度範囲で用いられる値から、上記高照度範囲で用いられる値へ上記加算係数を連続的に変化させる。
In short, the combination of the control circuit 12 and the R signal coefficient setting circuit 95 determines the addition coefficient used in the R pixel addition unit (first color component generation unit) 6R.
When the subject illuminance is within a high illuminance range equal to or higher than a predetermined high illuminance side reference value and the target pixel is an R pixel (first type pixel) as shown in FIG. The addition coefficient for the pixel is zero,
When the subject illuminance is within a high illuminance range equal to or greater than a predetermined high illuminance side reference value and the target pixel is other than the R pixel as shown in FIGS. 9A, 9B, 9D (GB pixel, In the case of a B pixel or a GR pixel, that is, a second type, a third type, or a fourth type pixel), reference pixels that are not included in the 3 × 3 pixel region centered on the target pixel The addition coefficient of
When the subject illuminance is within the low illuminance range below the predetermined low illuminance side reference value, the addition coefficient for all of the reference pixels is set to a non-zero value equal to each other,
When the subject illuminance is within the medium illuminance range between the low illuminance side reference value and the high illuminance side reference value, as the subject illuminance increases, the value used in the low illuminance range is used in the high illuminance range. The above addition coefficient is continuously changed to a value.

また、制御回路12とG信号係数設定回路195との組合せは、G画素加算部(第2の色成分生成部)6Gで用いられる加算係数を定めるに当たり、
被写体照度が所定の高照度側基準値以上の高照度範囲の場合にあり、図10(a)、(d)に示すように、注目画素がGB画素又はGR画素(第2種又は第4種の画素)、即ちG成分の光を検出する画素である場合、注目画素以外の参照画素についての加算係数をゼロとし、
被写体照度が所定の低照度側基準値以下の低照度範囲内にあり、図10(a)、(d)に示すように、注目画素がGB画素又はGR画素(第2種又は第4種の画素)、即ち、G成分の光を検出する画素である場合、すべての参照画素についての加算係数を互いに等しい値とし、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、図10(c)、(b)に示すように、注目画素がR画素又はB画素(第1種又は第3種の画素)、即ち、G成分の光を検出する画素以外の画素であるである場合、すべての参照画素についての加算係数を互いに等しい第1の値とし、
被写体照度が所定の低照度側基準値以下の低照度範囲内にあり、図10(c)、(b)に示すように、注目画素がR画素又はB画素(第1種又は第3種の画素)、即ち、G成分の光を検出する画素以外の画素である場合、すべての参照画素についての加算係数を互いに等しい、上記第1の値よりも大きい第2の値とし、
被写体照度が上記低照度側基準値と上記高照度側基準値の間の中照度範囲内にある場合、
被写体照度の増加とともに、上記低照度範囲で用いられる値から、上記高照度範囲で用いられる値へ上記加算係数を連続的に変化させる。
The combination of the control circuit 12 and the G signal coefficient setting circuit 195 determines the addition coefficient used in the G pixel addition unit (second color component generation unit) 6G.
When the subject illuminance is in a high illuminance range that is equal to or higher than a predetermined high illuminance side reference value, as shown in FIGS. 10A and 10D, the target pixel is a GB pixel or a GR pixel (second type or fourth type). Pixel), that is, a pixel for detecting light of the G component, the addition coefficient for reference pixels other than the target pixel is set to zero,
The subject illuminance is within a low illuminance range equal to or lower than a predetermined low illuminance side reference value, and as shown in FIGS. 10A and 10D, the target pixel is a GB pixel or a GR pixel (second type or fourth type). Pixel), that is, a pixel for detecting light of the G component, the addition coefficients for all the reference pixels are set to be equal to each other,
The subject illuminance is within a high illuminance range equal to or greater than a predetermined reference value on the high illuminance side, and as shown in FIGS. 10C and 10B, the target pixel is an R pixel or B pixel (first or third type). Pixel), that is, a pixel other than a pixel that detects light of the G component, the addition coefficients for all the reference pixels are set to the same first value,
The subject illuminance is within a low illuminance range equal to or lower than a predetermined low illuminance side reference value, and as shown in FIGS. 10C and 10B, the target pixel is an R pixel or B pixel (first type or third type). Pixel), that is, a pixel other than a pixel that detects light of the G component, the addition coefficients for all the reference pixels are set to be equal to each other, a second value that is greater than the first value,
If the subject illuminance is within the middle illuminance range between the low illuminance side reference value and the high illuminance side reference value,
As the subject illuminance increases, the addition coefficient is continuously changed from the value used in the low illuminance range to the value used in the high illuminance range.

さらに、制御回路12とB信号係数設定回路195との組合せは、B画素加算部(第3の色成分生成部)6Bで用いられる加算係数を定めるに当たり、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、図11(b)に示すように、注目画素がB画素(第3種の画素)である場合、注目画素以外の参照画素についての加算係数をゼロとし、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、図11(a)、(c)、(d)に示すように、注目画素がB画素以外の画素(R画素、GB画素、GR画素、即ち第1種、2種、第4種の画素)である場合、注目画素を中心とした3×3画素の領域内に含まれない参照画素についての加算係数をゼロとし、
被写体照度が所定の低照度側基準値以下の低照度範囲内にある場合、参照画素のすべてについての加算係数を互いに等しいゼロ以外の値とし、
被写体照度が上記低照度側基準値と上記高照度側基準値の間の中照度範囲内にある場合、被写体照度の増加とともに、上記低照度範囲で用いられる値から、上記高照度範囲で用いられる値へ上記加算係数を連続的に変化させる。
Further, the combination of the control circuit 12 and the B signal coefficient setting circuit 195 determines the addition coefficient used in the B pixel addition unit (third color component generation unit) 6B.
When the subject illuminance is within a high illuminance range equal to or greater than a predetermined reference value on the high illuminance side and the target pixel is a B pixel (third type pixel) as shown in FIG. The addition coefficient for the pixel is zero,
The illuminance of the subject is within a high illuminance range that is equal to or greater than a predetermined high illuminance side reference value, and the pixel of interest is a pixel other than the B pixel (R pixel, GB) as shown in FIGS. Pixel, GR pixel, that is, first type, second type, and fourth type pixel), the addition coefficient for the reference pixel not included in the 3 × 3 pixel region centered on the target pixel is set to zero,
When the subject illuminance is within the low illuminance range below the predetermined low illuminance side reference value, the addition coefficient for all of the reference pixels is set to a non-zero value equal to each other,
When the subject illuminance is within the medium illuminance range between the low illuminance side reference value and the high illuminance side reference value, as the subject illuminance increases, the value used in the low illuminance range is used in the high illuminance range. The above addition coefficient is continuously changed to a value.

上記の例では、4倍までの増感倍率Lを設定した場合について説明したが、4倍よりも大きな値に設定しても良い。上記の加算係数の生成式は、増感倍率Lを1倍から4倍まで設定範囲とし、4倍の時に、すべての参照画素の重みが等しくなる。4倍よりも大きな増感倍率Lの加算係数の生成式は、参照画素の重みが等しいまま増感倍率Lを設定できる生成式とする。周辺画素の色フィルタ配置パターンによって異なるが、4画素加算のケースでは加算係数の生成式はL/4とし、5画素加算のケースでは加算係数の生成式はL/5とし、6画素加算のケースでは加算係数の生成式はL/6とする。4倍よりも大きな増感倍率Lの設定は、階調落ちに注意して使う必要がある。   In the above example, the case where the sensitization magnification L up to 4 times is set has been described, but a value larger than 4 times may be set. In the above equation for generating the addition coefficient, the sensitization magnification L is set in a range from 1 to 4 times, and when it is 4 times, the weights of all reference pixels are equal. The generation formula of the addition coefficient of the sensitization magnification L larger than 4 is a generation formula that can set the sensitization magnification L with the weights of the reference pixels being equal. Depending on the color filter arrangement pattern of the peripheral pixels, the addition coefficient generation formula is L / 4 in the case of 4-pixel addition, and the addition coefficient generation formula is L / 5 in the case of 5-pixel addition. Then, the generation formula of the addition coefficient is L / 6. Setting the sensitization magnification L larger than 4 times needs to be used with attention to gradation drop.

図9(a)〜(d)、図11(a)〜(d)では、R画素加算部6RでR信号を生成するために用いられる参照領域及びB画素加算部6BでB信号を生成するために用いられる参照領域を5×5画素の領域から4隅の画素を除いた部分としたが、4隅の画素を除かず、5×5画素の全体を参照領域としても良い。また、上記の例では、注目画素からの距離の近い順に、注目画素を含め6個以下の画素を参照画素として選択することとしたが、より多くの画素を参照画素として選択することとしても良い。   9A to 9D and 11A to 11D, the reference signal used for generating the R signal in the R pixel adding unit 6R and the B signal in the B pixel adding unit 6B are generated. The reference area used for this purpose is a part obtained by removing the four corner pixels from the 5 × 5 pixel area, but the whole 5 × 5 pixels may be used as the reference area without removing the four corner pixels. In the above example, six or less pixels including the target pixel are selected as reference pixels in the order of the distance from the target pixel. However, more pixels may be selected as reference pixels. .

上記の例で説明したように、同じ色成分の光を検出する画素の画素値(同じ色の色フィルtを備えた画素からの画素値)を加算するので、混色することなく高感度なカラー画像が得られる。   As described in the above example, since pixel values of pixels that detect light of the same color component (pixel values from pixels having the same color color t) are added, a highly sensitive color without color mixing An image is obtained.

低照度時の撮像画像をアナログアンプで増幅すると信号よりもノイズが大きくなる。またデジタルアンプで増幅すると階調落ちが発生する。上記の例で説明したように本発明は、近傍領域内の画素の画素加算で高感度化をはかるので信号よりもノイズが小さくなる。例えば2画素加算すると信号成分は2倍になり、ノイズ成分は二乗根倍になり、相対的に純粋の信号成分が大きくなる。また、画像の性質として近傍に位置する画素同士は相関が高いことから、注目画素の近傍に位置する複数画素を加算することで実効性の高い感度向上を実現している。   When a captured image at low illuminance is amplified by an analog amplifier, noise becomes larger than a signal. Further, gradation reduction occurs when amplified by a digital amplifier. As described in the above example, the present invention achieves higher sensitivity by pixel addition of pixels in the vicinity region, so noise is smaller than that of the signal. For example, when two pixels are added, the signal component is doubled, the noise component is square root doubled, and a relatively pure signal component is increased. In addition, since the pixels located in the vicinity have a high correlation as a property of the image, a highly effective sensitivity improvement is realized by adding a plurality of pixels located in the vicinity of the target pixel.

上記の例において、固体撮像素子の一構成例として図1のようにCCD撮像素子2を使った構成について説明したが、2次元イメージセンサであればCCD撮像素子に限らず、CMOS撮像素子でも、どのようなものでも良い。またインターライントランスファーCCDに限らず、フレームトランスファーCCDでもフレームインターライントランスファーCCDであっても良い。
図13に、CMOS撮像素子20を使った構成を示す。CMOS撮像素子は、撮像機能単体のデバイスの場合もあるし、周辺機能を集積したデバイスの場合もある。
図13は、周辺機能を集積したCMOS撮像素子の場合について示す。
図1のCCD撮像素子2、相関二重サンプリング処理回路3、プログラマブル利得増幅回路4、A/D変換回路5、タイミング発生回路10の持つ機能は、CMOS撮像素子20の中に含まれている。
In the above example, the configuration using the CCD image sensor 2 as shown in FIG. 1 as one configuration example of the solid-state image sensor has been described. However, the two-dimensional image sensor is not limited to the CCD image sensor, Any thing is good. Further, not limited to the interline transfer CCD, a frame transfer CCD or a frame interline transfer CCD may be used.
FIG. 13 shows a configuration using the CMOS image sensor 20. The CMOS image sensor may be a device with a single imaging function or a device with integrated peripheral functions.
FIG. 13 shows a case of a CMOS image sensor in which peripheral functions are integrated.
The functions of the CCD image pickup device 2, the correlated double sampling processing circuit 3, the programmable gain amplification circuit 4, the A / D conversion circuit 5, and the timing generation circuit 10 in FIG. 1 are included in the CMOS image pickup device 20.

実施の形態2.
図14は本発明の実施の形態2による撮像装置を示す。図14において、検波回路13が付加されていること、及び図1の制御回路12の代わりに制御回路12bが設けられている点を除き、実施の形態1の説明と同様であり、同様な効果を奏する。
Embodiment 2. FIG.
FIG. 14 shows an imaging apparatus according to Embodiment 2 of the present invention. In FIG. 14, the detection circuit 13 is added, and the control circuit 12b is provided instead of the control circuit 12 of FIG. Play.

検波回路13は、画素加算回路6から供給された信号の大きさを検波し、信号振幅のレベル、例えば平均レベルの検出値ASAを求め、照度情報として出力する。   The detection circuit 13 detects the magnitude of the signal supplied from the pixel addition circuit 6, obtains a signal amplitude level, for example, an average level detection value ASA, and outputs it as illuminance information.

検波回路13は、上記の検波において、信号振幅の平均レベルの算出値ASAを、全有効画素の画素値の総和を全有効画素数で除算して求める。
このような平均レベルの算出は、例えば垂直走査周期毎に行われ、例えば積分処理と割算処理とにより実行される。上記のようにして求められる信号振幅の平均レベルの「算出値」を、信号振幅の平均レベルの「検出値」と言うことがある。
In the above detection, the detection circuit 13 obtains the calculated value ASA of the average level of the signal amplitude by dividing the sum of the pixel values of all effective pixels by the total number of effective pixels.
Such calculation of the average level is performed, for example, every vertical scanning cycle, and is executed by, for example, integration processing and division processing. The “calculated value” of the average level of the signal amplitude obtained as described above may be referred to as “detected value” of the average level of the signal amplitude.

なお、上記の信号振幅の平均レベル算出における全有効画素数での除算は、画素数が2のn乗(nは整数)で与えられるときは、デジタル値のビットシフト処理で実現しても良い。また全有効画素数は、同じシステムでは定数であるので全有効画素数の除算を省略しても良い。   Note that the division by the total number of effective pixels in the calculation of the average level of the signal amplitude described above may be realized by a bit shift process of a digital value when the number of pixels is given by 2 to the nth power (n is an integer). . Further, since the total number of effective pixels is a constant in the same system, division of the total number of effective pixels may be omitted.

制御回路12bは、実施の形態1の制御回路12と同様であるが、以下のように付加的な機能を有する。即ち、制御回路12bは、検波回路13から供給された信号振幅の平均レベルの検出値ASAに基づいて、レンズ1の絞りの制御、タイミング発生回路10が発生するCCD撮像素子2の光電変換素子からの電荷読出しタイミング及び電荷強制排出タイミングの制御(従って、電荷蓄積時間、即ち露光時間の制御)、プログラマブル利得増幅回路4の増幅利得の制御、並びに画素加算回路6の画素加算処理の制御を行う。
さらに、映像信号処理回路7は、垂直走査周期毎に画素加算回路6の出力に含まれるノイズのレベルを算出し、制御回路12bへ供給する。
The control circuit 12b is similar to the control circuit 12 of the first embodiment, but has an additional function as follows. That is, the control circuit 12b controls the aperture of the lens 1 based on the detection value ASA of the average level of the signal amplitude supplied from the detection circuit 13, and from the photoelectric conversion element of the CCD image pickup device 2 generated by the timing generation circuit 10. The charge read timing and charge forced discharge timing control (accordingly, charge accumulation time, ie, exposure time control), amplification gain control of the programmable gain amplifier circuit 4, and pixel addition processing of the pixel adder circuit 6 are controlled.
Further, the video signal processing circuit 7 calculates the level of noise included in the output of the pixel addition circuit 6 every vertical scanning period, and supplies it to the control circuit 12b.

なお、上記の例では、上記の信号振幅の平均レベルの算出及びノイズレベルの算出を、垂直走査周期毎に行うものとして説明したが、検波回路13及び映像信号処理回路7内部の信号処理時間並びに検波回路13及び映像信号処理回路7から制御回路12bへの伝送時間を考慮して、数回の垂直走査に1回だけ行うようにしても良い。   In the above example, the calculation of the average level of the signal amplitude and the calculation of the noise level are performed every vertical scanning period. However, the signal processing time in the detection circuit 13 and the video signal processing circuit 7 and Considering the transmission time from the detection circuit 13 and the video signal processing circuit 7 to the control circuit 12b, it may be performed only once in several vertical scans.

上記の例では、検波回路13は、信号振幅の平均レベルを算出したが、信号振幅のピーク検波とする場合もある。検波回路13の出力は、着目する被写体の視認性が高くなるように生成する。例えば、ハイライト部分を白く飽和させたくない場合は、ピーク検波とし、ハイライト部分が白く飽和しても中間階調がはっきり見えれば良い場合は、平均値検波とする。   In the above example, the detection circuit 13 calculates the average level of the signal amplitude, but there may be a case where peak detection of the signal amplitude is performed. The output of the detection circuit 13 is generated so as to increase the visibility of the subject of interest. For example, when it is not desired to saturate a highlight portion to white, peak detection is performed. When a halftone is clearly visible even if the highlight portion is saturated to white, average detection is performed.

以下で詳しく述べるように、画素加算回路6による感度制御も露光制御の一環として制御できるので照度環境が変化しても、常に最適な条件で被写体を視認できる画像が得られる効果がある。また、画素加算回路6は、加算する画素の数(参照画素のうちで加算係数をゼロ以外の値とする画素の数)や加算係数を変えることで、信号振幅を調整する。   As will be described in detail below, the sensitivity control by the pixel addition circuit 6 can also be controlled as part of the exposure control, so that there is an effect that an image can be obtained in which the subject can always be viewed under optimum conditions even if the illuminance environment changes. In addition, the pixel addition circuit 6 adjusts the signal amplitude by changing the number of pixels to be added (the number of pixels having an addition coefficient other than zero among the reference pixels) and the addition coefficient.

制御回路12bは、検波回路13から得られる信号振幅の平均レベルの検出値ASAが一定となるように自動露光制御を行う。明るい環境での撮像で上記信号振幅が大きい時、制御回路12bは、レンズ1の開口を絞るように制御してCCD撮像素子2への入射光量を減らしたり、タイミング発生回路10による電荷強制排出タイミングの調整で、CCD撮像素子2の光電変換素子に蓄積される電荷を強制排出するように制御して露光時間を減らしたりする。   The control circuit 12b performs automatic exposure control so that the detection value ASA of the average level of the signal amplitude obtained from the detection circuit 13 is constant. When the signal amplitude is large in imaging in a bright environment, the control circuit 12b controls the aperture of the lens 1 to reduce the amount of light incident on the CCD image sensor 2, or the forced charge discharge timing by the timing generation circuit 10. In this adjustment, the exposure time is reduced by controlling to forcibly discharge the charge accumulated in the photoelectric conversion element of the CCD image pickup device 2.

暗い環境での撮像で上記信号振幅が小さくなってきた時、制御回路12bは、プログラマブル利得増幅回路4の増幅利得を増やすように制御して撮像信号を増幅する。しかしながら、上記増幅利得が大き過ぎるとノイズが目立つようになり視認性の悪い画像となる。他の方法として、制御回路12bは、CCD撮像素子2の光電変換素子からの電荷読出しを垂直走査周期単位で間引くように制御することにより露光時間を延ばすこともできる。しかしながら、露光時間が長すぎると動く被写体が残像となり視認性の悪い画像となる。さらに垂直走査周期単位で欠落する画像の補間(フレーム補間)を行なう回路が必要になる。   When the signal amplitude becomes smaller due to imaging in a dark environment, the control circuit 12b amplifies the imaging signal by controlling to increase the amplification gain of the programmable gain amplifier circuit 4. However, when the amplification gain is too large, noise becomes conspicuous and an image with poor visibility is obtained. As another method, the control circuit 12b can extend the exposure time by controlling the charge reading from the photoelectric conversion element of the CCD image pickup device 2 to be thinned out in units of vertical scanning periods. However, if the exposure time is too long, the moving subject becomes an afterimage, resulting in an image with poor visibility. Furthermore, a circuit for performing interpolation (frame interpolation) of missing images in units of vertical scanning cycles is required.

実施の形態1と同様に、本実施の形態の制御回路12bは、画素加算回路6への増感倍率Lを1倍から4倍に設定する。増感倍率Lの設定(調整)は、検波回路13からの照度情報並びに露光パラメータに基づいて行われる。実施の形態1で述べたように、増感倍率Lの変更により加算係数KR、KG、KBが調整される。従って、照度情報に基づいて加算係数が調整される。
注目画素の近傍領域内に位置する4〜6画素を加算することにより、4倍の感度向上を実現でき、極めて暗い環境での撮像でも大幅に視認性を改善することができる。また、フレーム周波数の低下を防止乃至抑制することができるので、動解像度の劣化はなく、水平解像度、垂直解像度の劣化は最小に抑えることができる。
Similar to the first embodiment, the control circuit 12b of the present embodiment sets the sensitization magnification L to the pixel addition circuit 6 from 1 to 4. The sensitization magnification L is set (adjusted) based on the illuminance information from the detection circuit 13 and the exposure parameters. As described in the first embodiment, the addition coefficients KR, KG, and KB are adjusted by changing the sensitization magnification L. Therefore, the addition coefficient is adjusted based on the illuminance information.
By adding 4 to 6 pixels located in the vicinity region of the target pixel, it is possible to realize a fourfold increase in sensitivity, and to greatly improve the visibility even in an extremely dark environment. Further, since the decrease in frame frequency can be prevented or suppressed, there is no deterioration in dynamic resolution, and deterioration in horizontal resolution and vertical resolution can be minimized.

以下、被写体照度が変化したときの感度調整のための手順の一例を説明する。まず、露光時間は一定値(標準露光時間)Trに維持するものとして説明する。
被写体照度が徐々に暗くなり、信号振幅の平均レベルの検出値ASAが下がってくると、レンズ1の絞りを開放方向に制御して(図15(a)の範囲Sa)、信号振幅の平均レベルを維持する。ここで、「信号振幅の平均レベルを維持する」とは、画素加算回路6の出力の信号振幅の平均レベル、従って検波回路13の出力で表される、信号振幅の平均レベルを維持することを意味する。
Hereinafter, an example of a procedure for sensitivity adjustment when the subject illuminance changes will be described. First, description will be made assuming that the exposure time is maintained at a constant value (standard exposure time) Tr.
When the illuminance of the subject gradually decreases and the detected value ASA of the average level of the signal amplitude decreases, the aperture of the lens 1 is controlled in the open direction (range Sa in FIG. 15A), and the average level of the signal amplitude To maintain. Here, “maintaining the average level of the signal amplitude” means maintaining the average level of the signal amplitude of the output of the pixel addition circuit 6, and hence the average level of the signal amplitude expressed by the output of the detection circuit 13. means.

レンズ1の絞りが開放(全開)になった後は、プログラマブル利得増幅回路4の増幅利得を増やすように制御して(図15(b)の範囲Sb)、信号振幅の平均レベルを維持する。プログラマブル利得増幅回路4の増幅利得が大きくなり、増幅利得の所定の上限値UGLよりも大きくなった後は、画素加算回路6の増感倍率Lを大きくなるように制御して(図15(c)の範囲Sc)、信号振幅の平均レベルASAを維持する。   After the aperture of the lens 1 is opened (fully opened), control is performed to increase the amplification gain of the programmable gain amplifier circuit 4 (range Sb in FIG. 15B), and the average level of the signal amplitude is maintained. After the amplification gain of the programmable gain amplifier circuit 4 increases and becomes larger than the predetermined upper limit value UGL of the amplification gain, the sensitization magnification L of the pixel addition circuit 6 is controlled to increase (FIG. 15 (c) ) Range Sc), the average level ASA of the signal amplitude is maintained.

増感倍率Lの制御による平均レベルASAの維持は、増感倍率Lが最大値(L=4)となるまで可能である。それよりもさらに被写体照度が低下すると、平均レベルASAは低下を開始する。   The average level ASA can be maintained by controlling the sensitization magnification L until the sensitization magnification L reaches the maximum value (L = 4). When the subject illuminance further decreases, the average level ASA starts to decrease.

標準露光時間Trにおいて、レンズ絞りを開放とし、増幅利得を最大とし、増感倍率Lが1であるときに画素加算回路6の出力(画素加算部6R、6G、6Bの出力)が所定のレベルとなる照度HLを高照度側基準値とし、高照度基準値HLの1/4の照度、即ち、標準露光時間Trにおいて、レンズ絞りを開放とし、増幅利得を最大とし、増感倍率Lが4であるときに画素加算回路6の出力が所定のレベルとなる照度LLを、低照度側基準値とする。   At the standard exposure time Tr, when the lens diaphragm is opened, the amplification gain is maximized, and the sensitization magnification L is 1, the output of the pixel addition circuit 6 (output of the pixel addition units 6R, 6G, 6B) is a predetermined level. The illuminance HL becomes a reference value on the high illuminance side, and the illuminance is 1/4 of the high illuminance reference value HL, that is, at the standard exposure time Tr, the lens aperture is opened, the amplification gain is maximized, and the sensitization magnification L is 4. The illuminance LL at which the output of the pixel addition circuit 6 is at a predetermined level is set as the low illuminance side reference value.

被写体照度が徐々に明るくなって、低照度側基準値LL以上となり、信号振幅の平均レベルの検出値ASAが上がろうとすると、画素加算回路6の増感倍率Lを減らすように制御して(図15(c)の範囲Sc)、信号振幅の平均レベルを維持する。増感倍率Lが1倍まで小さくなると、次にプログラマブル利得増幅回路4の増幅利得を減らすように制御して、信号振幅の平均レベルを維持する。プログラマブル利得増幅回路4の増幅利得が減少し(図15(b)の範囲Sb)、所定の下限値LGLよりも小さくなった後は、レンズ1の絞りを遮光方向に制御して(図15(a)の範囲Sa)、信号振幅の平均レベルを維持する(図15(e))。さらに照度が高くなると、平均レベルASAは上昇する。   When the subject illuminance gradually becomes brighter and exceeds the low illuminance side reference value LL and the detection value ASA of the average level of the signal amplitude is about to increase, the pixel addition circuit 6 is controlled to reduce the sensitization magnification L ( The range Sc) of FIG. 15 (c) maintains the average level of the signal amplitude. When the sensitization magnification L is reduced to 1, the control is performed so as to reduce the amplification gain of the programmable gain amplifier circuit 4, and the average level of the signal amplitude is maintained. After the amplification gain of the programmable gain amplifier circuit 4 decreases (range Sb in FIG. 15B) and becomes smaller than the predetermined lower limit value LGL, the aperture of the lens 1 is controlled in the light shielding direction (FIG. 15 ( The average level of the signal amplitude is maintained in the range Sa) of a) (FIG. 15 (e)). As the illuminance further increases, the average level ASA increases.

以上の制御を行う結果、図15(e)に実線で示すように、下限LLから上限ULまでの範囲において、信号振幅の平均レベルASAを一定に保つことができる。
なお、露光時間を一定としたが、被写体の照度に応じて露光時間をも制御しても良い。例えば、照度が低下して、増感倍率Lが最大値になってもなおも、信号振幅が十分な値とならないときに、露光時間を長くすることとしても良い(図15(d)の範囲Sd)。逆に、照度が高くなり、絞りを最大に絞っても(F値を最も高くしても)、信号振幅が大きすぎる場合には、露光時間を短くしても良い(図15(d)の範囲Se)。
このような露光時間の制御を加えると、図15(e)に点線で示すように、下限LLeから上限ULeまでの範囲において、信号振幅の平均レベルASAを一定に保つことができる。
As a result of the above control, the average level ASA of the signal amplitude can be kept constant in the range from the lower limit LL to the upper limit UL as shown by the solid line in FIG.
Although the exposure time is constant, the exposure time may be controlled according to the illuminance of the subject. For example, the exposure time may be increased when the signal amplitude does not reach a sufficient value even when the illuminance decreases and the sensitization magnification L reaches the maximum value (range in FIG. 15D). Sd). On the contrary, even if the illuminance increases and the aperture is maximized (the F value is maximized), if the signal amplitude is too large, the exposure time may be shortened (see FIG. 15D). Range Se).
When such exposure time control is applied, the average level ASA of the signal amplitude can be kept constant in the range from the lower limit LLe to the upper limit ULe, as shown by a dotted line in FIG.

上記増幅利得の所定の上限値UGLは、映像信号処理回路7で検出されるノイズレベルの検出値ANLに基づいて決まる。(被写体照度が低下し、それに伴い撮像素子2の出力のS/Nが低下した場合に増幅利得を増加させる必要があることを考慮し、)ノイズレベルの検出値ANLが信号振幅の平均レベルの検出値ASAに対して所定のノイズ割合(第1の所定のノイズ割合、即ち許容上限値)NPR1に達したときのプログラマブル利得増幅回路4の増幅利得を上記所定の上限値UGLとする。上記第1の所定のノイズ割合NPR1は例えば1/50と定められる。   The predetermined upper limit value UGL of the amplification gain is determined based on a noise level detection value ANL detected by the video signal processing circuit 7. (Considering that it is necessary to increase the amplification gain when the illuminance of the subject decreases and the S / N of the output of the image sensor 2 decreases accordingly) The detected value ANL of the noise level is the average level of the signal amplitude. The amplification gain of the programmable gain amplifier circuit 4 when the predetermined noise ratio (first predetermined noise ratio, that is, the allowable upper limit value) NPR1 with respect to the detection value ASA is set as the predetermined upper limit value UGL. The first predetermined noise ratio NPR1 is set to 1/50, for example.

ノイズレベルの算出値ANLは、ノイズ低減処理によりノイズ成分を抽出し、全有効画素範囲のノイズ成分の絶対値の総和を全有効画素数で除算することで求まる。ノイズ低減処理により、入力信号のノイズを低減したノイズ低減信号NRSが得られる。上記入力信号(映像信号処理回路7内でノイズ低減処理を行う前の信号)から上記ノイズ低減信号NRSを減算することでノイズ成分を抽出できる。上記のようにして求められるノイズレベルの「算出値」を、「検出値」と言うことがある。   The calculated noise level ANL is obtained by extracting noise components by noise reduction processing and dividing the sum of absolute values of noise components in the entire effective pixel range by the total number of effective pixels. By the noise reduction process, a noise reduction signal NRS in which the noise of the input signal is reduced is obtained. A noise component can be extracted by subtracting the noise reduction signal NRS from the input signal (a signal before the noise reduction process is performed in the video signal processing circuit 7). The “calculated value” of the noise level obtained as described above may be referred to as “detected value”.

用途によって被写体の視認にあたり許容できるノイズレベルは異なるため、上記第1の所定のノイズ割合NPR1は、S/Nを重視するか、画像解像度を重視するか等、撮像装置の用途によって変わる。制御回路12bは、プログラマブル利得増幅回路4に設定している利得、及び検波回路13から制御回路12bへ供給されるノイズレベルの検出値ANLを観測しながらダイナミックに上記増幅利得の所定の上限値UGLを決めてプログラマブル利得増幅回路4及び画素加算回路6を制御することとしても良く、撮像装置を工場から出荷する前にノイズレベルの検出値ANLが信号振幅の平均レベルの検出値ASAに対して第1の所定のノイズ割合NPR1に達する増幅利得を測定し、上記所定の上限値UGLとして撮像装置の電源を切っても記憶内容を保持できる記憶部(不揮発性のメモリ、電池でバックアップされた揮発性のメモリなど)16に書込み、制御回路12bは上記増幅利得の所定の上限値UGLを参照してプログラマブル利得増幅回路4及び画素加算回路6を制御するようにしても良い。   Since the allowable noise level for visual recognition of the subject varies depending on the application, the first predetermined noise ratio NPR1 varies depending on the application of the imaging apparatus, such as whether S / N is important or image resolution is important. The control circuit 12b dynamically observes the gain set in the programmable gain amplification circuit 4 and the detection value ANL of the noise level supplied from the detection circuit 13 to the control circuit 12b, and dynamically increases the predetermined upper limit value UGL of the amplification gain. The programmable gain amplifying circuit 4 and the pixel adding circuit 6 may be controlled, and the noise level detection value ANL is compared with the detection value ASA of the average level of the signal amplitude before the imaging apparatus is shipped from the factory. A storage unit (volatile memory backed up by a non-volatile memory or battery) that measures the amplification gain reaching a predetermined noise ratio NPR1 of 1 and retains the stored contents even when the imaging device is turned off as the predetermined upper limit value UGL 16), and the control circuit 12b refers to the predetermined upper limit value UGL of the above-mentioned amplification gain. Amplifying circuit 4 and may control the pixel addition circuit 6.

上記増幅利得の所定の下限値LGLは、映像信号処理回路7から制御回路12bへ供給されるノイズレベルの検出値ANLに基づいて決まる。ノイズレベルの検出値ANLが信号振幅の平均レベルの検出値ASAに対して所定のノイズ割合(第2の所定のノイズ割合)NPR2を下回ったときのプログラマブル利得増幅回路4の増幅利得を上記所定の下限値LGLとする。上記第2の所定のノイズ割合は、上記第1の所定のノイズ割合NPR1と画素加算回路6による感度倍率(4倍)に基づいて決める。例えば、上記第2の所定のノイズ割合NPR2は、1/200(={(1/50)×(1/4)})と定められる。   The predetermined lower limit value LGL of the amplification gain is determined based on a noise level detection value ANL supplied from the video signal processing circuit 7 to the control circuit 12b. The amplification gain of the programmable gain amplifying circuit 4 when the detection value ANL of the noise level falls below a predetermined noise ratio (second predetermined noise ratio) NPR2 with respect to the detection value ASA of the average level of the signal amplitude is the predetermined gain. The lower limit is LGL. The second predetermined noise ratio is determined based on the first predetermined noise ratio NPR1 and the sensitivity magnification (4 times) by the pixel addition circuit 6. For example, the second predetermined noise ratio NPR2 is defined as 1/200 (= {(1/50) × (1/4)}).

用途によって被写体の視認にあたり許容できるノイズレベルは異なるため、上記第2の所定のノイズ割合NPR2は、S/Nを重視するか、画像解像度を重視するか等、撮像装置の用途によって変わる。制御回路12bは、プログラマブル利得増幅回路4に設定している利得、及び検波回路13から制御回路12bへ供給されるノイズレベルの検出値ANLを観測しながらダイナミックに上記増幅利得の所定の下限値LGLを決めてプログラマブル利得増幅回路4及び画素加算回路6を制御することとしても良く、撮像装置を工場から出荷する前にノイズレベルの検出値ANLが信号振幅の平均レベルの検出値ASAに対して第2の所定のノイズ割合NPR2に達する増幅利得を測定し、上記所定の下限値LGLとして撮像装置の電源を切っても記憶内容を保持できる記憶部16に書込み、制御回路12bは上記増幅利得の所定の下限値LGLを参照してプログラマブル利得増幅回路4及び画素加算回路6を制御するようにしても良い。   Since the allowable noise level for visual recognition of the subject differs depending on the application, the second predetermined noise ratio NPR2 varies depending on the application of the imaging device, such as whether S / N is important or image resolution is important. The control circuit 12b dynamically observes the gain set in the programmable gain amplifier circuit 4 and the detection value ANL of the noise level supplied from the detection circuit 13 to the control circuit 12b, and dynamically determines the predetermined lower limit value LGL of the amplification gain. The programmable gain amplifying circuit 4 and the pixel adding circuit 6 may be controlled, and the noise level detection value ANL is compared with the detection value ASA of the average level of the signal amplitude before the imaging apparatus is shipped from the factory. 2, the amplification gain reaching a predetermined noise ratio NPR2 of 2 is measured, and the predetermined lower limit value LGL is written to the storage unit 16 that can retain the stored contents even when the power of the imaging apparatus is turned off. The programmable gain amplifier circuit 4 and the pixel addition circuit 6 may be controlled with reference to the lower limit value LGL.

制御回路12bは、レンズ1の絞り、CCD撮像素子2の露光時間、プログラマブル利得増幅回路4の増幅利得、画素加算回路6における画素加算による信号振幅調整機能を制御して信号振幅の平均レベル(画素加算回路6の出力の信号振幅の平均レベル)を維持する。   The control circuit 12b controls the aperture of the lens 1, the exposure time of the CCD image pickup device 2, the amplification gain of the programmable gain amplification circuit 4, and the signal amplitude adjustment function by pixel addition in the pixel addition circuit 6 to control the average level of the signal amplitude (pixel The average level of the signal amplitude of the output of the adder circuit 6 is maintained.

以上のような制御を行っているので、検波回路13で得られる信号の振幅ASAと、そのときの露光制御パラメータ(絞り、増幅利得、増感感度、露光時間)とに基づいて、被写体の照度を求めることができる。
言い換えれば、検波回路の出力に対し、露光制御パラメータに基づく逆算を行うことで得られる換算値は、被写体の照度に対応した値である。即ち、そのようなに逆算によって得られた照度が高照度側基準値以上か、低照度側輝度値以下か、それらの基準値の間の範囲にあるかを判断し、判断結果に応じ画素加算の制御(増感感度)を行うことができる。
Since the control as described above is performed, the illuminance of the subject is determined based on the amplitude ASA of the signal obtained by the detection circuit 13 and the exposure control parameters (aperture, amplification gain, sensitization sensitivity, exposure time) at that time. Can be requested.
In other words, the converted value obtained by performing the reverse calculation based on the exposure control parameter with respect to the output of the detection circuit is a value corresponding to the illuminance of the subject. In other words, it is determined whether the illuminance obtained by the reverse calculation is higher than the high illuminance side reference value, lower luminance side luminance value or less, or in the range between these reference values, and pixel addition is performed according to the determination result (Sensitization sensitivity) can be controlled.

上記のように構成したので、露光制御の中で、絞り制御、増幅利得制御、画素加算制御、露光時間制御を順番に切替えることで、視認性の良い最適な明るさの画像を出力することができる効果がある。   Since it is configured as described above, it is possible to output an image with optimal brightness with good visibility by sequentially switching aperture control, amplification gain control, pixel addition control, and exposure time control during exposure control. There is an effect that can be done.

また、画素加算回路において、加算する画素の数ではなく加算係数で増感倍率を設定できるように構成し、増感倍率Lを整数に限らず小数を含み得る値で設定できることとしたので、露光制御の中で、画素加算制御も加算係数を小数点以下の値をも使ってシームレスに切替えられ、照度変化の過程で、画像の明るさが急変することなく見やすい画像が出力できる効果がある。   Further, the pixel addition circuit is configured so that the sensitization magnification can be set not by the number of pixels to be added but by the addition coefficient, and the sensitization magnification L can be set not only by an integer but also by a value that can include a decimal. In the control, the pixel addition control can be seamlessly switched using the addition coefficient also with a value after the decimal point, and there is an effect that it is possible to output an easy-to-view image without a sudden change in the brightness of the image in the process of changing the illuminance.

実施の形態3.
図16は本発明の実施の形態3による撮像装置を示す。図16において、測光部14が付加されている点、及び制御回路12の代わりに制御回路12cが設けられている点を除き、実施の形態1と同様であり、同様な効果を奏する。
Embodiment 3 FIG.
FIG. 16 shows an imaging apparatus according to Embodiment 3 of the present invention. In FIG. 16, except for the point that the photometric unit 14 is added and the point that the control circuit 12 c is provided instead of the control circuit 12, the same effect is obtained as in the first embodiment.

測光部14は、レンズ1への光の入射方向の被写体照度を測光する。測光部14の照度センサ(図示せず)の取り付け及び位置決めはレンズの光軸に基づいて決められ、レンズ1が撮像する被写体の照度を測光する。   The photometry unit 14 measures the illuminance of the subject in the direction in which the light enters the lens 1. Mounting and positioning of the illuminance sensor (not shown) of the photometry unit 14 is determined based on the optical axis of the lens, and the illuminance of the subject imaged by the lens 1 is measured.

制御回路12cは、実施の形態1の制御回路12と同様であるが、以下のように付加的な機能を有する。即ち、制御回路12cは、測光部14から供給された照度値に基づいて、レンズ1の絞りの制御、タイミング発生回路10が発生するCCD撮像素子2の光電変換素子からの電荷読出しタイミング及び電荷強制排出タイミングの制御(従って、電荷蓄積時間、即ち露光時間の制御)、プログラマブル利得増幅回路4の増幅利得の制御、並びに画素加算回路6の画素加算処理の制御を行う。   The control circuit 12c is similar to the control circuit 12 of the first embodiment, but has an additional function as follows. That is, the control circuit 12 c controls the aperture of the lens 1 based on the illuminance value supplied from the photometry unit 14, the charge readout timing from the photoelectric conversion element of the CCD image sensor 2 generated by the timing generation circuit 10, and the charge forcing. Control of the discharge timing (accordingly, control of charge accumulation time, that is, exposure time), control of amplification gain of the programmable gain amplifier circuit 4, and control of pixel addition processing of the pixel adder circuit 6 are performed.

制御回路12cは、記憶部16内に保持されている設定値テーブルに従って、レンズ1の絞り、CCD撮像素子2の露光時間、プログラマブル利得増幅回路4の増幅利得、画素加算回路6の増感倍率の設定を行う。
設定値テーブルには、照度値ごとにレンズ1の絞り、CCD撮像素子2の露光時間、プログラマブル利得増幅回路4の増幅利得、画素加算回路6の増感倍率が登録されている。
The control circuit 12c determines the aperture of the lens 1, the exposure time of the CCD image pickup device 2, the amplification gain of the programmable gain amplification circuit 4, and the sensitization magnification of the pixel addition circuit 6 according to the set value table held in the storage unit 16. Set up.
In the setting value table, the aperture of the lens 1, the exposure time of the CCD image pickup device 2, the amplification gain of the programmable gain amplification circuit 4, and the sensitization magnification of the pixel addition circuit 6 are registered for each illuminance value.

照度が明るいときは、撮像素子2の露光時間はフレームレートに基づく標準露光時間Trに、プログラマブル利得増幅回路4の増幅利得は1倍に、画素加算回路6の増感倍率Lは1倍に設定してレンズ1の絞りを絞っていく(図15(a)の範囲Sa)。レンズ1が最大絞りになって照度がさらに明るくなると、撮像素子2の露光時間を標準露光時間Trから短く制御する(図15(d)の範囲Se)。   When the illuminance is bright, the exposure time of the image sensor 2 is set to the standard exposure time Tr based on the frame rate, the amplification gain of the programmable gain amplification circuit 4 is set to 1 time, and the sensitization magnification L of the pixel addition circuit 6 is set to 1 time. Then, the aperture of the lens 1 is reduced (range Sa in FIG. 15A). When the lens 1 reaches the maximum aperture and the illuminance further increases, the exposure time of the image sensor 2 is controlled to be shorter than the standard exposure time Tr (range Se in FIG. 15D).

照度が暗くなると、撮像素子2の露光時間はフレームレートに基づく標準露光時間Trに、プログラマブル利得増幅回路4の増幅利得は1倍に、画素加算回路6の増感倍率は1倍に設定してレンズ1の絞りを開いていく(図15(a)の範囲Sa)。レンズ1が絞り開放になって照度がさらに暗くなると、プログラマブル利得増幅回路4の増幅利得を1倍から大きくしていく(図15(b)の範囲Sb)。プログラマブル利得増幅回路4の増幅利得が、上記の上限値(画素加算回路6の出力に含まれるノイズのレベルが上記の第1の所定の割合に達したときの増幅利得の値、即ち、該ノイズレベルが上記の第1の所定の割合(許容範囲の上限値)を超えないという制約条件を満たす最大利得値)となって照度がさらに暗くなると、画素加算回路6の増感倍率を1倍から大きくしていく(図15(c)の範囲Sc)。さらに暗くなると、露光時間を長くする(図15(d)の範囲Sd)。   When the illuminance decreases, the exposure time of the image sensor 2 is set to the standard exposure time Tr based on the frame rate, the amplification gain of the programmable gain amplification circuit 4 is set to 1 time, and the sensitization magnification of the pixel addition circuit 6 is set to 1 time. The aperture of the lens 1 is opened (range Sa in FIG. 15A). When the lens 1 is opened and the illuminance is further darkened, the amplification gain of the programmable gain amplifier circuit 4 is increased from 1 (range Sb in FIG. 15B). The amplification gain of the programmable gain amplifying circuit 4 is the above upper limit value (the value of the amplification gain when the noise level included in the output of the pixel adding circuit 6 reaches the first predetermined ratio, that is, the noise When the level becomes a maximum gain value that satisfies the constraint that the first predetermined ratio (the upper limit value of the allowable range) is not exceeded, and the illuminance further decreases, the sensitization magnification of the pixel addition circuit 6 is reduced from 1 ×. It is increased (range Sc in FIG. 15C). When it gets darker, the exposure time is lengthened (range Sd in FIG. 15D).

上記のように構成したので、露光制御の中で、絞り制御、増幅利得制御、画素加算制御及び露光時間制御を順番に切替えることで、視認性の良い最適な明るさの画像を出力することができる効果がある。   Since it is configured as described above, an aperture image, amplification gain control, pixel addition control, and exposure time control can be sequentially switched during exposure control to output an image with optimal brightness with good visibility. There is an effect that can be done.

また、画素加算回路において、加算する画素の数ではなく加算係数で増感倍率を設定できるように構成し、増感倍率Lを整数に限らず小数を含む値で設定できることとしたので、露光制御の中で、画素加算制御も加算係数を小数点以下の値をも使ってシームレスに切替えられ、照度変化の過程で、画像の明るさが急変することなく見やすい画像が出力できる効果がある。   In the pixel addition circuit, the sensitization magnification can be set not by the number of pixels to be added but by the addition coefficient, and the sensitization magnification L can be set by a value including not only an integer but also a decimal. Among them, the pixel addition control is also seamlessly switched using the addition coefficient with a value after the decimal point, and there is an effect that an easy-to-view image can be output without a sudden change in the brightness of the image in the process of illuminance change.

なお、実施の形態2及び3において、増感倍率を最大にしても信号振幅が十分でない場合に露光時間を長くする旨説明したが、これはフレームレートが変わらないようにすることを優先した結果である。フレームレートよりも解像度を重視する場合には、露光時間を長くする制御を先に行い、露光時間を(例えば所定の値まで)長くしても信号振幅が十分でない場合に増感倍率を大きくすることとしても良く、増感倍率を大きくする制御と露光時間を長くする制御を平行して行っても良い。   In the second and third embodiments, it has been described that the exposure time is lengthened when the signal amplitude is not sufficient even when the sensitization magnification is maximized. This is a result of giving priority to keeping the frame rate unchanged. It is. When the resolution is more important than the frame rate, the control to increase the exposure time is performed first, and the sensitization magnification is increased when the signal amplitude is not sufficient even if the exposure time is increased (for example, up to a predetermined value). Alternatively, the control for increasing the sensitization magnification and the control for extending the exposure time may be performed in parallel.

1 レンズ、 2 CCD撮像素子、 3 相関二重サンプリング処理回路、 4 プログラマブル利得増幅回路、 5 A/D変換回路、 6 画素加算回路、 6E 画素抽出部、 6R R画素加算部、 6G G画素加算部、 6B B画素加算部、 7 映像信号処理回路、 8 映像信号出力端子、 9 駆動回路、 10 タイミング発生回路、 11 同期信号発生回路、 12、12b、12c 制御回路、 13 検波回路、 14 測光部、 20 CMOS撮像素子、 101 入力端子、 103 制御端子、 104 同期信号入力端子、 22〜25 1ライン遅延回路、 32〜55 1画素遅延回路、 61〜85 乗算回路、 90 加算回路、 95 R信号係数設定回路、 106 R信号出力端子、 161〜185 乗算回路、 190 加算回路、 195 G信号係数設定回路、 107 G信号出力端子、 261〜285 乗算回路、 290 加算回路、 295 B信号係数設定回路、 108 B信号出力端子。   DESCRIPTION OF SYMBOLS 1 Lens, 2 CCD image pick-up element, 3 Correlation double sampling processing circuit, 4 Programmable gain amplifier circuit, 5 A / D conversion circuit, 6 pixel addition circuit, 6E pixel extraction part, 6R R pixel addition part, 6G G pixel addition part 6B B pixel addition unit, 7 video signal processing circuit, 8 video signal output terminal, 9 drive circuit, 10 timing generation circuit, 11 synchronization signal generation circuit, 12, 12b, 12c control circuit, 13 detection circuit, 14 photometry unit, 20 CMOS image sensor, 101 input terminal, 103 control terminal, 104 sync signal input terminal, 22-25 1 line delay circuit, 32-55 1 pixel delay circuit, 61-85 multiplier circuit, 90 adder circuit, 95 R signal coefficient setting Circuit, 106 R signal output terminal, 161-185 multiplication circuit, 19 Adder circuit, 195 G signal coefficient setting circuit, 107 G signal output terminal, 261 to 285 multiplication circuit, 290 adder circuits, 295 B signal coefficient setting circuit, 108 B signal output terminal.

Claims (19)

第1の色成分の光を検出して対応する撮像信号を発生する第1種の画素と、第2の色成分の光を検出して対応する撮像信号を発生する第2種の画素と、第3の色成分の光を検出して対応する撮像信号を発生する第3種の画素と、前記第2の色成分の光を検出して対応する撮像信号を発生する第4種の画素とが、水平2画素、垂直2画素の組み合わせを基本単位として画面内に規則的に配列された撮像部と、前記撮像部から出力された撮像信号を所定の時間遅延させることで、注目画素とその周囲の画素の画素値を表す信号を抽出して同時に出力する画素抽出部と、
加算係数を生成する加算係数生成部と、
注目画素を中心とした水平5画素、垂直5画素の領域内に位置する前記第1種の画素を参照画素として、該参照画素の画素値だけを加算係数によって加重加算し、注目画素の第1の色成分値を生成する第1の色成分生成部と、
注目画素を中心とした水平3画素、垂直3画素の領域内に位置する前記第2種及び第4種の画素を参照画素として、該参照画素の画素値だけを加算係数によって加重加算し、注目画素の第2の色成分値を生成する第2の色成分生成部と、
注目画素を中心とした水平5画素、垂直5画素の領域内に位置する前記第3種の画素を参照画素として、該参照画素の画素値だけを加算係数によって加重加算し、注目画素の第3の色成分値を生成する第3の色成分生成部と
を備えることを特徴とする撮像装置。
A first type of pixel that detects light of the first color component and generates a corresponding imaging signal; a second type of pixel that detects light of the second color component and generates a corresponding imaging signal; A third type of pixel that detects light of the third color component and generates a corresponding imaging signal; and a fourth type of pixel that detects light of the second color component and generates a corresponding imaging signal; The image pickup unit regularly arranged in the screen with a combination of two horizontal pixels and two vertical pixels as a basic unit, and the image pickup signal output from the image pickup unit is delayed for a predetermined time, and the target pixel and its pixel A pixel extraction unit that extracts and simultaneously outputs signals representing pixel values of surrounding pixels;
An addition coefficient generation unit for generating an addition coefficient;
Using the first type pixel located in the region of 5 horizontal pixels and 5 vertical pixels centered on the target pixel as a reference pixel, only the pixel value of the reference pixel is weighted and added by the addition coefficient, and the first pixel of the target pixel is obtained. A first color component generation unit for generating color component values of
Using the second type and fourth type pixels located in the region of three horizontal pixels and three vertical pixels centered on the target pixel as reference pixels, only the pixel value of the reference pixel is weighted and added by an addition coefficient, A second color component generation unit that generates a second color component value of the pixel;
Using the third type pixel located in the region of 5 horizontal pixels and 5 vertical pixels centered on the target pixel as a reference pixel, only the pixel value of the reference pixel is weighted and added by the addition coefficient, An image pickup apparatus comprising: a third color component generation unit that generates a color component value of:
第1の色成分が赤、第2の色成分が緑、第3の色成分が青であり、前記画素がベイヤ配列されたものであることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the first color component is red, the second color component is green, and the third color component is blue, and the pixels are arranged in a Bayer array. 前記第1種の画素が、前記第1の色成分の光を透過させる第1の色フィルタを設けた画素であり、前記第2種の画素及び第4種の画素が、前記第2の色成分の光を透過させる第2の色フィルタを設けた画素であり、前記第3種の画素が、前記第3の色成分の光を透過させる第3の色フィルタを設けた画素であることを特徴とする請求項1又は2に記載の撮像装置。   The first type pixel is a pixel provided with a first color filter that transmits light of the first color component, and the second type pixel and the fourth type pixel are the second color. It is a pixel provided with a second color filter that transmits component light, and the third type pixel is a pixel provided with a third color filter that transmits light of the third color component. The imaging apparatus according to claim 1, wherein the imaging apparatus is characterized. 前記第1の色成分生成部は、前記水平5画素、垂直5画素の領域内の4隅に位置する画素以外の、前記第1種の画素の画素値のすべてを用いて加重加算を行い、前記第3の色成分生成部は、前記水平5画素、垂直5画素の領域の4隅に位置する画素以外の、前記第3種の画素の画素値のすべてを用いて加重加算を行うことを特徴とする請求項1に記載の撮像装置。   The first color component generation unit performs weighted addition using all pixel values of the first type of pixels other than the pixels located at the four corners in the horizontal 5 pixel and vertical 5 pixel regions, The third color component generation unit performs weighted addition using all the pixel values of the third type pixels other than the pixels located at the four corners of the horizontal 5 pixel and vertical 5 pixel regions. The imaging apparatus according to claim 1, wherein the imaging apparatus is characterized. 前記第1の色成分値を求める際に用いられる加算係数は、前記第1の色成分値を求める際に用いられる参照画素の数に反比例する正規化係数と、前記参照画素ごとの重み係数の積で与えられ、
前記第2の色成分値を求める際に用いられる加算係数は、前記第2の色成分値を求める際に用いられる参照画素の数に反比例する正規化係数と、前記参照画素ごとの重み係数の積で与えられ、
前記第3の色成分値を求める際に用いられる加算係数は、前記第3の色成分値を求める際に用いられる参照画素の数に反比例する正規化係数と、前記参照画素ごとの重み係数の積で与えられる
ことを特徴とする請求項1に記載の撮像装置。
The addition coefficient used when obtaining the first color component value includes a normalization coefficient that is inversely proportional to the number of reference pixels used when obtaining the first color component value, and a weighting coefficient for each reference pixel. Given by product,
The addition coefficient used when obtaining the second color component value includes a normalization coefficient that is inversely proportional to the number of reference pixels used when obtaining the second color component value, and a weighting coefficient for each reference pixel. Given by product,
The addition coefficient used when obtaining the third color component value is a normalization coefficient that is inversely proportional to the number of reference pixels used when obtaining the third color component value, and a weighting coefficient for each reference pixel. The imaging device according to claim 1, wherein the imaging device is given by a product.
各参照画素に対する重み係数は、当該画素の注目画素からの距離と、増感倍率に依存し、
前記増感倍率が比較的小さいときは、前記重み係数は前記距離が大きいほど小さく、
前記増感倍率が大きくなるほど、前記重み係数の前記距離に対する依存性が小さくなる
ことを特徴とする請求項5に記載の撮像装置。
The weighting factor for each reference pixel depends on the distance of the pixel from the target pixel and the sensitization magnification,
When the sensitization magnification is relatively small, the weighting factor is smaller as the distance is larger,
The imaging apparatus according to claim 5, wherein as the sensitization magnification increases, the dependency of the weighting factor on the distance decreases.
前記加算係数生成部は、被写体の照度が低いほど、前記増感倍率を大きくすることを特徴とする請求項6に記載の撮像装置。   The imaging apparatus according to claim 6, wherein the addition coefficient generation unit increases the sensitization magnification as the illuminance of the subject is lower. 被写体の照度を表す照度情報を生成する照度情報生成部を備え、
前記加算係数生成部は、前記照度情報に基づいて前記増感倍率を決定することを特徴とする請求項7に記載の撮像装置。
An illuminance information generation unit that generates illuminance information representing the illuminance of the subject is provided,
The imaging apparatus according to claim 7, wherein the addition coefficient generation unit determines the sensitization magnification based on the illuminance information.
前記照度情報生成部が、被写体からの光に基づいて上記照度を測定して、照度情報を生成する測光部を有する
ことを特徴とする請求項8に記載の撮像装置。
The imaging apparatus according to claim 8, wherein the illuminance information generation unit includes a photometry unit that measures the illuminance based on light from a subject and generates illuminance information.
前記照度情報生成部は、前記第1、第2及び第3の色成分生成部で生成された前記第1、第2及び第3の色成分値の信号振幅並びに露光制御パラメータに基いて前記照度情報を生成することを特徴とする請求項8に記載の撮像装置。   The illuminance information generation unit is configured to generate the illuminance based on signal amplitudes and exposure control parameters of the first, second, and third color component values generated by the first, second, and third color component generation units. The imaging apparatus according to claim 8, wherein information is generated. 前記第1の色成分生成部は、
注目画素が前記第1種の画素である場合、注目画素、注目画素の2ライン前に位置する参照画素、注目画素の2画素前に位置する参照画素、注目画素の2画素後に位置する参照画素、及び注目画素の2ライン後に位置する参照画素の画素値を加重加算した結果を注目画素の第1の色成分値として出力し、
注目画素が前記第2種の画素である場合、注目画素の1ライン前に位置する参照画素、注目画素の1ライン前の2画素前に位置する参照画素、注目画素の1ライン前の2画素後に位置する参照画素、注目画素の1ライン後に位置する参照画素、注目画素の1ライン後の2画素前に位置する参照画素、及び注目画素の1ライン後の2画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第1の色成分値として出力し、
注目画素が前記第3種の画素である場合、注目画素の1ライン前の1画素前に位置する参照画素、注目画素の1ライン前の1画素後に位置する参照画素、注目画素の1ライン後の1画素前に位置する参照画素、及び注目画素の1ライン後の1画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第1の色成分値として出力し、
注目画素が前記第4種の画素である場合、注目画素の2ライン前の1画素前に位置する参照画素、注目画素の2ライン前の1画素後に位置する参照画素、注目画素の1画素前に位置する参照画素、注目画素の1画素後に位置する参照画素、注目画素の2ライン後の1画素前に位置する参照画素、及び注目画素の2ライン後の1画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第1の色成分値として出力する
ことを特徴とする請求項1乃至10のいずれかに記載の撮像装置。
The first color component generation unit includes:
When the target pixel is the first type pixel, the target pixel, the reference pixel located two lines before the target pixel, the reference pixel located two pixels before the target pixel, and the reference pixel located two pixels after the target pixel , And the result of weighted addition of pixel values of reference pixels located two lines after the target pixel is output as the first color component value of the target pixel;
When the target pixel is the second type pixel, a reference pixel located one line before the target pixel, a reference pixel positioned two pixels before the target pixel, and two pixels one line before the target pixel A reference pixel located behind, a reference pixel located one line after the target pixel, a reference pixel located two pixels before the target pixel one line, and a reference pixel located two pixels after the target pixel one line after The result of weighted addition of the values is output as the first color component value of the target pixel,
When the target pixel is the third type pixel, the reference pixel located one pixel before the target pixel, one reference pixel before the target pixel, the reference pixel positioned one pixel before the target pixel, and one line after the target pixel A result of weighted addition of pixel values of a reference pixel located one pixel before and a reference pixel located one pixel after one line after the pixel of interest is output as the first color component value of the pixel of interest,
When the pixel of interest is the fourth type pixel, a reference pixel located one pixel before two lines before the pixel of interest, a reference pixel located one pixel after two lines before the pixel of interest, and one pixel before the pixel of interest , A reference pixel located one pixel after the pixel of interest, a reference pixel located one pixel after the second line of the pixel of interest, and a pixel of a reference pixel located one pixel after the second line of the pixel of interest The image pickup apparatus according to any one of claims 1 to 10, wherein a result of weighted addition of values is output as a first color component value of a target pixel.
前記第2の色成分生成部は、
注目画素が前記第1種又は第3種の画素である場合、注目画素の1ライン前に位置する参照画素、注目画素の1画素前に位置する参照画素、注目画素の1画素後に位置する参照画素、及び注目画素の1ライン後に位置する参照画素の画素値を加重加算した結果を注目画素の第2の色成分値として出力し、
注目画素が前記第2種又は第4種の画素である場合、注目画素、注目画素の1ライン前の1画素前に位置する参照画素、注目画素の1ライン前の1画素後に位置する参照画素、注目画素の1ライン後の1画素前に位置する参照画素、及び注目画素の1ライン後の1画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第2の色成分値として出力する
ことを特徴とする請求項1乃至11のいずれかに記載の撮像装置。
The second color component generation unit
When the target pixel is the first type or the third type pixel, the reference pixel positioned one line before the target pixel, the reference pixel positioned one pixel before the target pixel, and the reference positioned one pixel after the target pixel The result of weighted addition of the pixel value of the pixel and the reference pixel located one line after the target pixel is output as the second color component value of the target pixel;
When the target pixel is the second type or the fourth type pixel, the target pixel, a reference pixel positioned one pixel before the target pixel, and a reference pixel positioned one pixel before the target pixel one line before The second color component value of the target pixel is obtained by weighted addition of the pixel values of the reference pixel positioned one pixel before the target pixel one pixel before and the reference pixel positioned one pixel after the target pixel one line after The image pickup apparatus according to claim 1, wherein the image pickup apparatus outputs the image as
前記第3の色成分生成部は、
注目画素が前記第1種の画素である場合、注目画素の1ライン前の1画素前に位置する参照画素、注目画素の1ライン前の1画素後に位置する参照画素、注目画素の1ライン後の1画素前に位置する参照画素、及び注目画素の1ライン後の1画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第3の色成分値として出力し、
注目画素が前記第2種の画素である場合、注目画素の2ライン前の1画素前に位置する参照画素、注目画素の2ライン前の1画素後に位置する参照画素、注目画素の1画素前に位置する参照画素、注目画素の1画素後に位置する参照画素、注目画素の2ライン後の1画素前に位置する参照画素、及び注目画素の2ライン後の1画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第3の色成分値として出力し、
注目画素が前記第3種の画素である場合、注目画素、注目画素の2ライン前に位置する参照画素、注目画素の2画素前に位置する参照画素、注目画素の2画素後に位置する参照画素、及び注目画素の2ライン後に位置する参照画素の画素値を加重加算した結果を注目画素の第3の色成分値として出力し、
注目画素が前記第4種の画素である場合、注目画素の1ライン前に位置する参照画素、注目画素の1ライン前の2画素前に位置する参照画素、注目画素の1ライン前の2画素後に位置する参照画素、注目画素の1ライン後に位置する参照画素、注目画素の1ライン後の2画素前に位置する参照画素、及び注目画素の1ライン後の2画素後に位置する参照画素の画素値を加重加算した結果を注目画素の第3の色成分値として出力する
ことを特徴とする請求項1乃至12のいずれかに記載の撮像装置。
The third color component generation unit
When the target pixel is the first type pixel, the reference pixel located one pixel before the target pixel, one reference pixel before the target pixel, the reference pixel one pixel before the target pixel, and one line after the target pixel A result of weighted addition of pixel values of a reference pixel located one pixel before and a reference pixel located one pixel after one line after the target pixel is output as a third color component value of the target pixel;
When the target pixel is the second type pixel, a reference pixel located one pixel before two lines before the target pixel, a reference pixel located one pixel before two lines before the target pixel, and one pixel before the target pixel , A reference pixel located one pixel after the pixel of interest, a reference pixel located one pixel after the second line of the pixel of interest, and a pixel of a reference pixel located one pixel after the second line of the pixel of interest The result of weighted addition of the values is output as the third color component value of the target pixel,
When the target pixel is the third type pixel, the target pixel, a reference pixel located two lines before the target pixel, a reference pixel located two pixels before the target pixel, and a reference pixel located two pixels after the target pixel , And the result of weighted addition of the pixel values of the reference pixels located two lines after the target pixel is output as the third color component value of the target pixel;
When the pixel of interest is the fourth type of pixel, a reference pixel located one line before the pixel of interest, a reference pixel located two pixels before the line of interest, and two pixels one line before the pixel of interest A reference pixel located behind, a reference pixel located one line after the target pixel, a reference pixel located two pixels before the target pixel one line, and a reference pixel located two pixels after the target pixel one line after The image pickup apparatus according to claim 1, wherein the result of weighted addition of the values is output as a third color component value of the target pixel.
前記加算係数生成部は、前記第1の色成分生成部で用いられる加算係数を定めるに当たり、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、注目画素が前記第1種の画素である場合、注目画素以外の参照画素についての加算係数をゼロとし、
前記被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、注目画素が前記第2種、第3種、又は第4種の画素である場合、注目画素を中心とした水平3画素、垂直3画素の領域内に含まれない参照画素についての加算係数をゼロとし、
前記被写体照度が所定の低照度側基準値以下の低照度範囲内にある場合、参照画素のすべてについての加算係数を互いに等しい、ゼロ以外の値とし、
前記被写体照度が前記低照度側基準値と前記高照度側基準値の間の中照度範囲内にある場合、前記被写体照度の増加とともに、前記低照度範囲で用いられる値から、前記高照度範囲で用いられる値へ前記加算係数を連続的に変化させる
ことを特徴とする請求項11に記載の撮像装置。
The addition coefficient generation unit determines an addition coefficient used in the first color component generation unit.
When the subject illuminance is within a high illuminance range equal to or higher than a predetermined high illuminance side reference value and the target pixel is the first type pixel, the addition coefficient for the reference pixels other than the target pixel is set to zero,
When the subject illuminance is within a high illuminance range equal to or greater than a predetermined reference value on the high illuminance side and the target pixel is the second type, third type, or fourth type pixel, the horizontal 3 centered on the target pixel The addition coefficient for reference pixels not included in the pixel, vertical 3 pixel region is zero,
When the subject illuminance is within a low illuminance range equal to or lower than a predetermined low illuminance side reference value, the addition coefficients for all of the reference pixels are equal to each other, a value other than zero,
When the subject illuminance is within a medium illuminance range between the low illuminance side reference value and the high illuminance side reference value, as the subject illuminance increases, from the value used in the low illuminance range, The imaging apparatus according to claim 11, wherein the addition coefficient is continuously changed to a value to be used.
前記加算係数生成部は、前記第2の色成分生成部で用いられる加算係数を定めるに当たり、
被写体照度が所定の高照度側基準値以上の高照度範囲の場合にあり、注目画素が前記第2種又は第4種の画素である場合、注目画素以外の参照画素についての加算係数をゼロとし、
前記被写体照度が所定の低照度側基準値以下の低照度範囲内にあり、注目画素が前記第2種又は第4種の画素である場合、すべての参照画素についての加算係数を互いに等しい値とし、
前記被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、注目画素が前記第1種又は第3種の画素である場合、すべての参照画素についての加算係数を互いに等しい第1の値とし、
前記被写体照度が所定の低照度側基準値以下の低照度範囲内にあり、注目画素が前記第1種又は第3種の画素である場合、すべての参照画素についての加算係数を互いに等しい、前記第1の値よりも大きい第2の値とし、
前記被写体照度が前記低照度側基準値と前記高照度側基準値の間の中照度範囲内にある場合、前記被写体照度の増加とともに、前記低照度範囲で用いられる値から、前記高照度範囲で用いられる値へ前記加算係数を連続的に変化させる
ことを特徴とする請求項12に記載の撮像装置。
The addition coefficient generation unit determines an addition coefficient used in the second color component generation unit.
When the subject illuminance is in a high illuminance range equal to or higher than a predetermined high illuminance side reference value, and the target pixel is the second type or fourth type pixel, the addition coefficient for the reference pixels other than the target pixel is set to zero. ,
When the subject illuminance is within a low illuminance range equal to or lower than a predetermined low illuminance side reference value and the target pixel is the second type or fourth type pixel, the addition coefficients for all the reference pixels are set to be equal to each other. ,
When the subject illuminance is within a high illuminance range equal to or higher than a predetermined high illuminance side reference value and the target pixel is the first type or the third type pixel, the first addition coefficient for all reference pixels is equal to each other. Value of
When the subject illuminance is within a low illuminance range equal to or lower than a predetermined low illuminance side reference value and the target pixel is the first type or third type pixel, the addition coefficients for all reference pixels are equal to each other, A second value greater than the first value,
When the subject illuminance is within a medium illuminance range between the low illuminance side reference value and the high illuminance side reference value, as the subject illuminance increases, from the value used in the low illuminance range, The imaging apparatus according to claim 12, wherein the addition coefficient is continuously changed to a value to be used.
前記加算係数生成部は、前記第3の色成分生成部で用いられる加算係数を定めるに当たり、
被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、注目画素が前記第3種の画素である場合、注目画素以外の参照画素についての加算係数をゼロとし、
前記被写体照度が所定の高照度側基準値以上の高照度範囲内にあり、注目画素が前記第1種、2種、又は第4種の画素である場合、注目画素を中心とした水平3画素、垂直3画素の領域内に含まれない参照画素についての加算係数をゼロとし、
前記被写体照度が所定の低照度側基準値以下の低照度範囲内にある場合、参照画素のすべてについての加算係数を互いに等しいゼロ以外の値とし、
前記被写体照度が前記低照度側基準値と前記高照度側基準値の間の中照度範囲内にある場合、前記被写体照度の増加とともに、前記低照度範囲で用いられる値から、前記高照度範囲で用いられる値へ前記加算係数を連続的に変化させる
することを特徴とする請求項13に記載の撮像装置。
The addition coefficient generation unit determines an addition coefficient used in the third color component generation unit.
When the subject illuminance is within a high illuminance range equal to or higher than a predetermined high illuminance side reference value and the target pixel is the third type pixel, the addition coefficient for the reference pixel other than the target pixel is set to zero,
When the subject illuminance is within a high illuminance range equal to or greater than a predetermined reference value on the high illuminance side and the target pixel is the first type, second type, or fourth type pixel, three horizontal pixels centered on the target pixel , The addition coefficient for reference pixels not included in the vertical 3 pixel region is zero,
When the subject illuminance is within a low illuminance range equal to or less than a predetermined low illuminance side reference value, the addition coefficient for all of the reference pixels is a value other than zero equal to each other,
When the subject illuminance is within a medium illuminance range between the low illuminance side reference value and the high illuminance side reference value, as the subject illuminance increases, from the value used in the low illuminance range, The imaging apparatus according to claim 13, wherein the addition coefficient is continuously changed to a value to be used.
前記所定の正規化係数は、前記参照画素の数をNpとするとき、4/Npで与えられることを特徴とする請求項5又は6に記載の撮像装置。   The imaging apparatus according to claim 5, wherein the predetermined normalization coefficient is given by 4 / Np, where Np is the number of the reference pixels. 前記撮像部のレンズ絞り及び露光時間を制御する制御回路と、前記撮像部から出力された撮像信号を増幅する信号増幅部とをさらに備え、
前記高照度側基準値は、レンズ絞りを開放とし、前記露光時間を標準露光時間とし、前記信号増幅部の増幅利得を、前記画素加算回路に含まれるノイズのレベルが所定値を超えないとの制約条件を満たす最大利得値とし、前記第1乃至第3の色成分生成部の増感倍率を1とした時に、前記第1乃至第3の色成分生成部の出力が所定のレベルとなる照度であることを特徴とする請求項14、15又は16に記載の撮像装置。
A control circuit that controls the lens aperture and exposure time of the imaging unit; and a signal amplification unit that amplifies the imaging signal output from the imaging unit;
The high illuminance side reference value is that the lens diaphragm is opened, the exposure time is the standard exposure time, the amplification gain of the signal amplification unit, and the level of noise included in the pixel addition circuit does not exceed a predetermined value. Illuminance at which the output of the first to third color component generation units is a predetermined level when the maximum gain value satisfying the constraint condition and the sensitization magnification of the first to third color component generation units is set to 1. The imaging device according to claim 14, 15 or 16.
前記低照度側基準値は、前記高照度側基準値の1/4倍であることを特徴とする請求項14、15又は16に記載の撮像装置。   The imaging device according to claim 14, 15 or 16, wherein the low illuminance side reference value is 1/4 times the high illuminance side reference value.
JP2011056572A 2011-03-15 2011-03-15 Imaging device Withdrawn JP2012195675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011056572A JP2012195675A (en) 2011-03-15 2011-03-15 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011056572A JP2012195675A (en) 2011-03-15 2011-03-15 Imaging device

Publications (1)

Publication Number Publication Date
JP2012195675A true JP2012195675A (en) 2012-10-11

Family

ID=47087210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011056572A Withdrawn JP2012195675A (en) 2011-03-15 2011-03-15 Imaging device

Country Status (1)

Country Link
JP (1) JP2012195675A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217012A (en) * 2013-04-30 2014-11-17 株式会社ニコン Solid-state imaging element and imaging device
JP2014233018A (en) * 2013-05-30 2014-12-11 株式会社ニコン Solid state image sensor, imaging apparatus and adder circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217012A (en) * 2013-04-30 2014-11-17 株式会社ニコン Solid-state imaging element and imaging device
JP2014233018A (en) * 2013-05-30 2014-12-11 株式会社ニコン Solid state image sensor, imaging apparatus and adder circuit

Similar Documents

Publication Publication Date Title
JP5780786B2 (en) Imaging device
JP5085140B2 (en) Solid-state imaging device
US6734905B2 (en) Dynamic range extension for CMOS image sensors
JP4358182B2 (en) Imaging apparatus and noise reduction method thereof
US8086032B2 (en) Image processing device, image processing method, and image pickup apparatus
US8818108B2 (en) Digital pixel addition method and device for processing plurality of images
WO2013031081A1 (en) Signal processing device, signal processing method, solid-state imaging device, electronic information device, signal processing program, and computer readable recording medium
JP2011113182A (en) Image processing apparatus
JP2009194604A (en) Imaging apparatus and method of driving the same
US11515344B2 (en) Image sensor, image capturing apparatus and image processing apparatus
CN110708468B (en) Image pickup method and apparatus
US8218021B2 (en) Image capture apparatus, method of controlling the same, and program
JP5473555B2 (en) Imaging device
JP6095519B2 (en) Imaging device
WO2011037048A1 (en) Image pickup device, drive control method, and program
US8823825B2 (en) Image processing device, image processing method, and solid-state imaging device
JP2012195675A (en) Imaging device
JP2020092346A (en) Imaging device and method of controlling the same
CN108432239B (en) Solid-state imaging device, method for driving solid-state imaging device, and electronic apparatus
JPH11146410A (en) Video camera
JP5991932B2 (en) Imaging device
JP2011211497A (en) Image input device
JP7439029B2 (en) Imaging device, imaging method, program and storage medium
JP5988847B2 (en) Image processing apparatus, image processing method, and imaging apparatus
WO2018079071A1 (en) Imaging device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140603