JP2013197613A - Imaging apparatus, image processing device, and image processing program - Google Patents

Imaging apparatus, image processing device, and image processing program Download PDF

Info

Publication number
JP2013197613A
JP2013197613A JP2012059195A JP2012059195A JP2013197613A JP 2013197613 A JP2013197613 A JP 2013197613A JP 2012059195 A JP2012059195 A JP 2012059195A JP 2012059195 A JP2012059195 A JP 2012059195A JP 2013197613 A JP2013197613 A JP 2013197613A
Authority
JP
Japan
Prior art keywords
color
pixel
pixels
image
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012059195A
Other languages
Japanese (ja)
Other versions
JP6127368B2 (en
Inventor
Atsushi Kawai
篤史 河合
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2012059195A priority Critical patent/JP6127368B2/en
Publication of JP2013197613A publication Critical patent/JP2013197613A/en
Application granted granted Critical
Publication of JP6127368B2 publication Critical patent/JP6127368B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To prevent degradation of a resolution feeling in a dynamic image while suppressing occurrence of moire or a false color.SOLUTION: An imaging apparatus includes: a pixel array in which plural pixels for receiving light of any color components of plural color components capable of representing the same color space by using at least one or more color components are two-dimensionally arrayed, which is arrayed in a line direction being a horizontal direction and in a column direction being a vertical direction; and a readout circuit for performing weighted addition, for each color component, to pixels having a signal value of either of two color components allowing generation of a signal value of a color difference component, of pixels included in a readout range, while shifting the readout range for the plural pixels arrayed in the pixel array, thereby obtaining an image consisting of pixels with the signal value of the two color components.

Description

本発明は、撮像装置、画像処理装置及び画像処理プログラムに関する。   The present invention relates to an imaging apparatus, an image processing apparatus, and an image processing program.

撮像装置の一例であるデジタルカメラは、静止画像の撮影機能の他、動画像の撮影機能を備えている。このデジタルカメラにおいては静止画像の画質向上を図るうえで、高画素化された固体撮像素子が搭載されている。この固体撮像素子として、赤(R)色、緑(G)色及び青(B)色を市松状に配置したベイヤー配列のカラーフィルタアレイを備えた単板式カラーセンサが用いられている。このようなデジタルカメラを用いて静止画像を撮影する場合には、固体撮像素子に配列される全ての画素に対して信号の読み出しを行っている。一方、動画像を撮影する場合には、動画像を取得する際のフレームレートや、動画像のファイルフォーマットに対応するために、固体撮像素子に配列される画素のうち、同色画素を、例えば間引き読出しなどの手法を用いて信号を読み出している。   A digital camera, which is an example of an imaging apparatus, has a moving image shooting function in addition to a still image shooting function. This digital camera is equipped with a solid-state imaging device with high pixels in order to improve the quality of still images. As this solid-state imaging device, a single-plate color sensor including a Bayer array color filter array in which red (R), green (G), and blue (B) colors are arranged in a checkered pattern is used. When a still image is taken using such a digital camera, signals are read out from all the pixels arranged in the solid-state imaging device. On the other hand, when capturing a moving image, in order to correspond to the frame rate at the time of acquiring the moving image or the file format of the moving image, the same color pixels among the pixels arranged in the solid-state image sensor are thinned out, for example. The signal is read using a method such as reading.

ところで、上述した単板式カラーセンサからなる固体撮像素子から出力される各画素の信号は、赤(R)色、緑(G)色及び青(B)色のいずれかの色成分の信号である。このため、出力された信号に対して色補間処理を施し、R色、G色及びB色の全ての色成分の信号を生成している。例えば、撮像光学系が静止画像の解像感に最適化されているデジタルカメラを用いて動画像を撮影した場合には、撮像光学系が合焦に近い状態となっている時に、間引き読出しにより得られる信号に対して色補間処理を施すと、モアレや偽色が発生してしまう原因となる。これらモアレや偽色の発生を防止するために、例えば加算間引き読出し時に読み出す画素の範囲を広げることでローパスフィルタの効果を付与することも提案されている(特許文献1参照)。   By the way, the signal of each pixel output from the solid-state imaging device composed of the single-plate color sensor described above is a signal of any color component of red (R), green (G), and blue (B). . For this reason, the output signal is subjected to color interpolation processing to generate signals of all color components of R, G, and B colors. For example, when a moving image is shot using a digital camera in which the imaging optical system is optimized for the resolution of still images, thinning readout is performed when the imaging optical system is close to focusing. If color interpolation processing is performed on the obtained signal, moire and false colors are caused. In order to prevent the occurrence of these moire and false colors, for example, it has also been proposed to provide the effect of a low-pass filter by widening the range of pixels to be read during addition thinning readout (see Patent Document 1).

特許3877695号公報Japanese Patent No. 3877695

しかしながら、上述した特許文献1の発明では、モアレや偽色の発生は抑えられるものの、得られた動画像における解像感が低下してしまうという問題がある。   However, although the above-described invention of Patent Document 1 can suppress the generation of moire and false colors, there is a problem that the resolution in the obtained moving image is lowered.

本発明は、モアレや偽色の発生を抑えつつ、動画像における解像感の低下を防止することができるようにした撮像装置、画像処理装置及び画像処理プログラムを提供することを目的とする。   It is an object of the present invention to provide an imaging apparatus, an image processing apparatus, and an image processing program that can prevent a decrease in resolution in moving images while suppressing the occurrence of moire and false colors.

上述した課題を解決するために、本発明の撮像装置は、少なくとも1以上の色成分を用いて同一の色空間を表現することが可能な複数の色成分のいずれかの色成分の光を受光する複数の画素が、水平方向である行方向と、垂直方向である列方向との2次元に配置された画素配列と、前記画素配列に配置される前記複数の画素に対する読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な2つの色成分のいずれかの信号値を有する画素に対する加重加算を色成分毎に実行することで、前記2つの色成分の信号値を備えた画素からなる画像を取得する読出回路と、を備えたことを特徴とする。   In order to solve the above-described problem, an imaging apparatus according to the present invention receives light of any one of a plurality of color components capable of expressing the same color space using at least one color component. A plurality of pixels are arranged in a two-dimensional arrangement of a row direction that is a horizontal direction and a column direction that is a vertical direction, and a reading range for the plurality of pixels arranged in the pixel array is shifted, The weighted addition is performed for each color component for each pixel having a signal value of one of two color components capable of generating a signal value of a color difference component among the pixels included in the readout range. And a readout circuit that acquires an image composed of pixels having signal values of two color components.

また、本発明の画像処理装置は、少なくとも1以上の色成分を用いて同一の色空間を表現することが可能な複数の色成分のいずれかの信号値を備えた複数の画素からなる第1画像を受け付ける受付部と、前記受付部により受け付けた前記第1画像における複数の画素に対して読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な2つの色成分のいずれかの信号値を有する画素に対する加重加算を色成分毎に実行することで、前記2つの色成分の値を備えた画素からなる第2画像を生成する画像生成部と、を備えたことを特徴とする。   In addition, the image processing apparatus of the present invention includes a first pixel including a plurality of pixels each having a signal value of a plurality of color components capable of expressing the same color space using at least one color component. An accepting unit that accepts an image, and generating a signal value of a color difference component among pixels included in the readout range while shifting the readout range with respect to a plurality of pixels in the first image received by the accepting unit. An image generation unit that generates a second image composed of pixels having the values of the two color components by performing weighted addition on the pixels having signal values of either of the two possible color components for each color component And.

また、本発明の画像処理プログラムは、少なくとも1以上の色成分を用いて同一の色空間を表現することが可能な複数の色成分のいずれかの信号値を備えた複数の画素からなる第1画像を受け付ける受付工程と、前記受付工程により受け付けた前記第1画像における複数の画素に対して読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な2つの色成分のいずれかの信号値を有する画素に対する加重加算を色成分毎に実行することで、前記2つの色成分の値を備えた画素からなる第2画像を生成する画像生成工程と、を、コンピュータに実行させることが可能なものである。   The image processing program of the present invention is a first program comprising a plurality of pixels each having a signal value of any of a plurality of color components capable of expressing the same color space using at least one or more color components. An accepting step of accepting an image, and generating a signal value of a color difference component among the pixels included in the readout range while shifting the readout range with respect to the plurality of pixels in the first image accepted by the accepting step. An image generation step of generating a second image composed of pixels having the values of the two color components by performing weighted addition on the pixels having signal values of either of the two possible color components for each color component Can be executed by a computer.

本発明によれば、モアレや偽色の発生を抑えつつ、動画像における解像感の低下を防止することができる。   According to the present invention, it is possible to prevent a decrease in resolution in a moving image while suppressing generation of moire and false colors.

本実施形態の撮像装置の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the imaging device of this embodiment. 第1実施形態における撮像素子の構成を示す図である。It is a figure which shows the structure of the image pick-up element in 1st Embodiment. 画素の構成を示す図である。It is a figure which shows the structure of a pixel. 撮像素子上の画素と、加算間引き読出しにより読み出された動画像の画素との位置関係を示す図である。It is a figure which shows the positional relationship of the pixel on an image sensor, and the pixel of the moving image read by addition thinning-out reading. 読出範囲に含まれる各画素の重みを示す図である。It is a figure which shows the weight of each pixel contained in the read-out range. 動画像の各画素が有する色成分を示す図である。It is a figure which shows the color component which each pixel of a moving image has. 撮像素子上の座標(i,j)にあるR色画素を基準画素とした読出範囲を説明する図である。It is a figure explaining the read-out range which used R color pixel in coordinates (i, j) on an image sensor as a standard pixel. 撮像素子上の座標(i+3,j)にあるGr色画素を基準画素とした読出範囲を説明する図である。It is a figure explaining the read-out range which used Gr color pixel in coordinates (i + 3, j) on an image sensor as a standard pixel. 撮像素子上の座標(i,j+3)にあるGb色画素を基準画素とした読出範囲を説明する図である。It is a figure explaining the read-out range which used Gb color pixel in coordinates (i, j + 3) on an image sensor as a standard pixel. 撮像素子上の座標(i+3,j+3)にあるB色画素を基準画素とした読出範囲を説明する図である。It is a figure explaining the reading range which used B color pixel in coordinates (i + 3, j + 3) on an image sensor as a standard pixel. 動画像の各画素が有する色成分を示す図である。It is a figure which shows the color component which each pixel of a moving image has. 動画像の各画素の色成分の重心位置を示す図である。It is a figure which shows the gravity center position of the color component of each pixel of a moving image. 第4実施形態における撮像素子の構成を示す図である。It is a figure which shows the structure of the image pick-up element in 4th Embodiment. 撮像素子の画素部の各画素と読出範囲との関係を示す図である。It is a figure which shows the relationship between each pixel of the pixel part of an image pick-up element, and the read-out range. 画像処理装置の一例を示す図である。It is a figure which shows an example of an image processing apparatus. 画像処理プログラムにおける処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in an image processing program.

以下、本発明の実施の形態について説明する。図1は、本実施形態の撮像装置の一例を示す機能ブロック図である。撮像装置10は、撮像光学系15、撮像素子16、操作部材17、レンズ駆動回路18、測光回路19、CPU20、撮像素子駆動回路21、A/D変換器22、画像処理回路23、液晶モニタ24、圧縮伸長処理回路25、表示出力回路26、記憶媒体27を備えている。   Embodiments of the present invention will be described below. FIG. 1 is a functional block diagram illustrating an example of an imaging apparatus according to the present embodiment. The imaging apparatus 10 includes an imaging optical system 15, an imaging element 16, an operation member 17, a lens driving circuit 18, a photometric circuit 19, a CPU 20, an imaging element driving circuit 21, an A / D converter 22, an image processing circuit 23, and a liquid crystal monitor 24. A compression / decompression processing circuit 25, a display output circuit 26, and a storage medium 27.

不図示の被写体の像は、撮像光学系15によって、撮像素子16の撮像面上に結像される。撮像光学系15は、複数枚のレンズで構成され、操作部材17の操作などに基づいて、レンズ駆動回路18を介して、フォーカス、ズームなどの調整が可能な構成とされている。   A subject image (not shown) is formed on the image pickup surface of the image pickup device 16 by the image pickup optical system 15. The imaging optical system 15 includes a plurality of lenses, and is configured to be able to adjust focus, zoom, and the like via the lens driving circuit 18 based on the operation of the operation member 17 and the like.

撮像素子16は、例えばCMOSイメージセンサが用いられる。このCMOSイメージセンサは、例えば赤(R)色、緑(G)色及び青(B)色のカラーフィルタを市松状に配置したベイヤー配列のカラーフィルタアレイを備えた単板式カラーセンサが用いられる。この撮像素子16は、静止画像の単写撮像とともに、静止画像の連続撮像、及び動画像の撮像が可能な撮像素子である。この撮像素子16は、測光回路19で得られた被写体の測光データに基づいて、CPU20の制御のもとで、撮像素子駆動回路21によって駆動される。撮像素子16により読み出された画像信号は、A/D変換器22に入力される。   For example, a CMOS image sensor is used as the image sensor 16. As this CMOS image sensor, for example, a single-plate color sensor including a Bayer array color filter array in which red (R), green (G), and blue (B) color filters are arranged in a checkered pattern is used. The image sensor 16 is an image sensor that can capture a still image as well as continuously capture a still image and a moving image. The image pickup device 16 is driven by the image pickup device drive circuit 21 under the control of the CPU 20 based on the subject photometry data obtained by the photometry circuit 19. The image signal read by the image sensor 16 is input to the A / D converter 22.

A/D変換器22は、撮像素子16から読み出されたアナログの画像信号に対してA/D変換処理を施し、デジタルの画像信号に変換する。デジタルの画像信号は、画像処理回路23に入力される。   The A / D converter 22 performs A / D conversion processing on the analog image signal read from the image sensor 16 and converts the analog image signal into a digital image signal. The digital image signal is input to the image processing circuit 23.

画像処理回路23は、入力された画像信号に対して、ホワイトバランス処理、γ変換処理、エッジ強調処理などの画像処理を施す。この画像処理回路23は、必要に応じて、入力される画像信号に対して、色空間変換処理を実行する。   The image processing circuit 23 performs image processing such as white balance processing, γ conversion processing, and edge enhancement processing on the input image signal. The image processing circuit 23 performs color space conversion processing on the input image signal as necessary.

また、画像処理回路23は、液晶モニタ24に表示を行うための解像度(画素数)変換処理を施し、圧縮伸長処理回路25及び表示出力回路26に出力する。表示出力回路26は、画像処理回路23から入力された画像信号に所定の信号処理を施し、液晶モニタ24に出力する。なお、表示出力回路26は、さらに、CPU20の制御に基づいて、必要に応じて、画像処理回路23から出力された画像信号に、撮影メニュー、カーソルなどのオーバーレイ画像信号を重畳する処理を行う。これにより、液晶モニタ24には、被写体画像にオーバーレイ画像が重畳されて表示される。   In addition, the image processing circuit 23 performs resolution (number of pixels) conversion processing for displaying on the liquid crystal monitor 24 and outputs it to the compression / decompression processing circuit 25 and the display output circuit 26. The display output circuit 26 performs predetermined signal processing on the image signal input from the image processing circuit 23 and outputs it to the liquid crystal monitor 24. The display output circuit 26 further performs a process of superimposing an overlay image signal such as a shooting menu or a cursor on the image signal output from the image processing circuit 23 as needed under the control of the CPU 20. Thus, the overlay image is superimposed on the subject image and displayed on the liquid crystal monitor 24.

圧縮伸長処理回路25は、入力された画像信号に対して圧縮処理を施し、記憶媒体27に記憶する。また、この他に、圧縮伸長処理回路25は、記憶媒体27に記憶された画像信号が読み出されたときに、読み出された画像信号に対して復号化処理を施し、画像処理回路23および表示出力回路26を介して、液晶モニタ24に供給する。   The compression / decompression processing circuit 25 performs compression processing on the input image signal and stores it in the storage medium 27. In addition to this, when the image signal stored in the storage medium 27 is read, the compression / decompression processing circuit 25 performs a decoding process on the read image signal, and the image processing circuit 23 and This is supplied to the liquid crystal monitor 24 via the display output circuit 26.

CPU20は、操作部材17の一部を構成するレリーズボタンの操作に基づいて、撮像画面上に設定された領域(AFエリア)の画像信号を抽出し、該領域のコントラスト値(もしくは、該領域の高空間周波数成分量)を算出し、算出結果をもとに、撮像素子16の撮像面上における被写体像のフォーカス状態を調整する、いわゆるコントラストAF動作を行う。   The CPU 20 extracts an image signal of an area (AF area) set on the imaging screen based on an operation of a release button that constitutes a part of the operation member 17, and the contrast value of the area (or the area) A high spatial frequency component amount) is calculated, and a so-called contrast AF operation for adjusting the focus state of the subject image on the imaging surface of the image sensor 16 is performed based on the calculation result.

また、CPU20は、撮像光学系15を駆動し、順次得られる画像信号を画像内の被写体毎に解析し、領域内のコントラスト値が最大となった際のレンズ位置をもとに、被写体毎の撮影距離情報を取得する。   Further, the CPU 20 drives the imaging optical system 15 to analyze sequentially obtained image signals for each subject in the image, and for each subject based on the lens position when the contrast value in the region becomes maximum. Get shooting distance information.

なお、自動合焦動作として、コントラストAF動作を例に挙げているが、これに限定される必要はなく、周知の瞳分割方式の位相差AF動作を用いることも可能である。この場合にも、自動合焦点動作によって、各領域の撮影距離情報を得ることができる。   Although the contrast AF operation is exemplified as the automatic focusing operation, the present invention is not limited to this, and a well-known pupil division type phase difference AF operation can also be used. Also in this case, the shooting distance information of each region can be obtained by the automatic focusing operation.

CPU20は、操作部材17の一部を構成するズーム操作部材の操作に基づいて、レンズ駆動回路18を介して撮像光学系15を駆動し、撮像素子16の撮像面上に結像される被写体像を拡大、又は縮小する、光学的なズーム動作を実行する。さらに、CPU20は、操作部材17の一部を構成するズーム操作部材の操作に基づいて、撮像素子16により得られる画像信号、又は記憶媒体27に記憶される画像信号を、画像処理回路23による解像度(画素数)変換処理によって拡大または縮小する電気的なズーム動作を制御する。   The CPU 20 drives the imaging optical system 15 via the lens driving circuit 18 based on the operation of the zoom operation member that constitutes a part of the operation member 17, and the subject image formed on the imaging surface of the image sensor 16. An optical zoom operation for enlarging or reducing the image is performed. Further, the CPU 20 converts the image signal obtained by the imaging device 16 or the image signal stored in the storage medium 27 based on the operation of the zoom operation member constituting a part of the operation member 17 to the resolution by the image processing circuit 23. (Number of pixels) An electric zoom operation for enlarging or reducing by the conversion process is controlled.

次に、撮影により得られる動画像のサイズ(画像サイズ)が、静止画像の画像サイズに対して、水平方向及び垂直方向にそれぞれ1/3倍の画像サイズに設定される場合について、第1実施形態と称して説明する。   Next, a first implementation will be described in which the size of the moving image obtained by shooting (image size) is set to an image size that is 1/3 times the horizontal size and the vertical size of the still image. This will be described as a form.

<第1実施形態>
まず、第1実施形態における撮像素子の構成について図2を用いて説明する。図2に示すように、撮像素子16は、画素部41、プリチャージ部42a,42b、切替え部43a,43b、垂直走査回路44、水平走査回路45a,45bを備えている。
<First Embodiment>
First, the configuration of the image sensor in the first embodiment will be described with reference to FIG. As shown in FIG. 2, the image pickup device 16 includes a pixel unit 41, precharge units 42a and 42b, switching units 43a and 43b, a vertical scanning circuit 44, and horizontal scanning circuits 45a and 45b.

画素部41は、複数の画素が水平方向である行方向と垂直方向である列方向とに2次元に配置される。なお、図2において、「R」は、赤(R)色のカラーフィルタが配置される画素、「G」は、緑(G)色のカラーフィルタが配置される画素、「B」は、青(B)色のカラーフィルタが配置される画素である。以下、赤(R)色のカラーフィルタが配置される画素をR色画素、緑(G)色のカラーフィルタが配置される画素をG色画素、青(B)色のカラーフィルタが配置される画素をB色画素と称して説明する。   The pixel unit 41 is two-dimensionally arranged with a plurality of pixels in a horizontal row direction and a vertical column direction. In FIG. 2, “R” is a pixel in which a red (R) color filter is arranged, “G” is a pixel in which a green (G) color filter is arranged, and “B” is blue. (B) A pixel in which a color filter of color is arranged. In the following description, a pixel in which a red (R) color filter is arranged is an R color pixel, a pixel in which a green (G) color filter is arranged is a G pixel, and a blue (B) color filter is arranged. The pixel will be described as a B color pixel.

この撮像素子16においては、同一列に配置される画素に対して、2本の垂直信号線47a,47bが設けられている。各画素に設けられるカラーフィルタは、R色、G色、B色の各色カラーフィルタが2×2の配列パターンによるベイヤー配列にて配列された構成からなる。例えば、R色画素、G色画素が交互に配置される列(奇数の列)においては、垂直信号線47aはR色画素と接続され、垂直信号線47bはG色画素と接続される。また、G色画素、B色画素が交互に配置される列(偶数の列)においては、垂直信号線47aはB色画素と接続され、垂直信号線47bはG色画素と接続される。   In the image sensor 16, two vertical signal lines 47a and 47b are provided for pixels arranged in the same column. The color filter provided in each pixel has a configuration in which each color filter of R color, G color, and B color is arranged in a Bayer arrangement with a 2 × 2 arrangement pattern. For example, in a column (odd column) in which R color pixels and G color pixels are alternately arranged, the vertical signal line 47a is connected to the R color pixel, and the vertical signal line 47b is connected to the G color pixel. Further, in a column in which G color pixels and B color pixels are alternately arranged (even number columns), the vertical signal line 47a is connected to the B color pixel, and the vertical signal line 47b is connected to the G color pixel.

プリチャージ部42a,42bは、各垂直信号線47a,47bにソース電極が接続されたプリチャージトランジスタPREと、プリチャージトランジスタPREのゲート電圧に制御信号φPREを供給する行信号線とを含む。各プリチャージトランジスタPREのドレイン電極には、プリチャージ電圧Vpreが供給される。各列に設けられる垂直信号線47a,47bは、各画素から電圧信号(画素信号)を読み出す前に、対応のプリチャージトランジスタPREを介して所定のプリチャージ電圧Vpreにプリチャージされる。   The precharge units 42a and 42b include a precharge transistor PRE having a source electrode connected to each of the vertical signal lines 47a and 47b, and a row signal line for supplying a control signal φPRE to the gate voltage of the precharge transistor PRE. A precharge voltage Vpre is supplied to the drain electrode of each precharge transistor PRE. The vertical signal lines 47a and 47b provided in each column are precharged to a predetermined precharge voltage Vpre via a corresponding precharge transistor PRE before reading a voltage signal (pixel signal) from each pixel.

切替え部43aは、コンデンサCD1、加算トランジスタADD,ADD,ADD,ADD,ADD,ADD、スイッチングトランジスタSW1、制御信号φADD、φADD、φADD,φADD,φADD,φADD、制御信号φLINE1,φLINE2,φLINE3,φLINE4を供給する10本の行信号線とから構成される。コンデンサCD1は、画素部41に設けられる複数の画素のうち、各列に配置されるG色画素から垂直信号線47bに出力された電圧信号を保持する。 Switching unit 43a includes a capacitor CD1, adding transistors ADD 1, ADD 2, ADD 3 , ADD 4, ADD 5, ADD 6, the switching transistor SW1, the control signal φADD 1, φADD 2, φADD 3 , φADD 4, φADD 5, φADD 6 and 10 row signal lines for supplying control signals φLINE1, φLINE2, φLINE3, and φLINE4. The capacitor CD1 holds a voltage signal output to the vertical signal line 47b from the G color pixel arranged in each column among the plurality of pixels provided in the pixel unit 41.

加算トランジスタADDは、6R−5(R=1,2,3・・)列目の垂直信号線47bと、6R−4列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−5列目の垂直信号線47bと6R−4列目の垂直信号線47bとを短絡させる。 The addition transistor ADD 1 is connected to the vertical signal line 47b in the 6R-5 (R = 1, 2, 3,...) Column and the vertical signal line 47b in the 6R-4 column. The addition transistor ADD 1 is turned on when the control signal φADD 1 is output, and the vertical signal line 47b in the 6R-5th column and the vertical signal line 47b in the 6R-4th column are short-circuited.

加算トランジスタADDは、6R−4列目の垂直信号線47bと6R−3列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−4列目の垂直信号線47bと6R−3列目の垂直信号線47bとを短絡させる。 Summing transistor ADD 2 are connected to each of the 6R-4 column of vertical signal lines 47b and 6R-3 column of the vertical signal line 47b. The addition transistor ADD 2 is turned on when the control signal φADD 2 is output, and short-circuits the vertical signal line 47b in the 6R-4th column and the vertical signal line 47b in the 6R-3th column.

加算トランジスタADDは、6R−3列目の垂直信号線47bと6R−2列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−3列目の垂直信号線47bと6R−2列目の垂直信号線47bとを短絡させる。 Summing transistor ADD 3 is connected to each of the 6R-3 column of the vertical signal line 47b and 6R-2 column of the vertical signal line 47b. The addition transistor ADD 3 is turned on when the control signal φADD 3 is output, and short-circuits the vertical signal line 47b in the 6R-3 column and the vertical signal line 47b in the 6R-2 column.

加算トランジスタADDは、6R−2列目の垂直信号線47bと6R−1列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−2列目の垂直信号線47bと6R−1列目の垂直信号線47bとを短絡させる。 Summing transistor ADD 4 is connected to each of the 6R-2 column of the vertical signal line 47b and 6R-1 column of the vertical signal line 47b. The addition transistor ADD 4 is turned on when the control signal φADD 4 is output, and the vertical signal line 47b in the 6R-2 column and the vertical signal line 47b in the 6R-1 column are short-circuited.

加算トランジスタADDは、6R−1列目の垂直信号線47bと6R列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−1列目の垂直信号線47bと6R列目の垂直信号線47bとを短絡させる。 The addition transistor ADD 5 is connected to each of the vertical signal line 47b in the 6R-1 column and the vertical signal line 47b in the 6R column. The addition transistor ADD 5 is turned on when the control signal φADD 5 is output, and short-circuits the vertical signal line 47b in the 6R-1 column and the vertical signal line 47b in the 6R column.

加算トランジスタADDは、6R列目の垂直信号線47bと6R+1列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R列目の垂直信号線47bと6R+1列目の垂直信号線47bとを短絡させる。 The addition transistor ADD 6 is connected to each of the vertical signal line 47b in the 6R column and the vertical signal line 47b in the 6R + 1 column. The addition transistor ADD 6 is turned on when the control signal φADD 6 is output, and the vertical signal line 47b in the 6R column and the vertical signal line 47b in the 6R + 1 column are short-circuited.

スイッチングトランジスタSW1は、列ごとに読み出した電圧信号を読み出す。例えば、4S−3(S=1,2,3,・・・)列に配置されるスイッチトランジスタSW1のゲート電極には信号φLINE1が入力され、4S−2列に配置されるスイッチトランジスタSW1のゲート電極には信号φLINE2が入力される。また、4S−1列に配置されるスイッチトランジスタSW1のゲート電極には信号φLINE3が入力され、4S列に配置されるスイッチトランジスタSW1のゲート電極には信号φLINE4が入力される。このスイッチングトランジスタSW1がオンとなることにより、対応する列のコンデンサCD1に保持される電圧信号がカラムアンプCAMP1に出力される。   The switching transistor SW1 reads the voltage signal read for each column. For example, the signal φLINE1 is input to the gate electrode of the switch transistor SW1 arranged in the 4S-3 (S = 1, 2, 3,...) Column, and the gate of the switch transistor SW1 arranged in the 4S-2 column. A signal φLINE2 is input to the electrode. A signal φLINE3 is input to the gate electrode of the switch transistor SW1 arranged in the 4S-1 column, and a signal φLINE4 is input to the gate electrode of the switch transistor SW1 arranged in the 4S column. When the switching transistor SW1 is turned on, a voltage signal held in the capacitor CD1 of the corresponding column is output to the column amplifier CAMP1.

切替え部43bは、コンデンサCD2、加算トランジスタADD,ADD,ADD,ADD10、スイッチングトランジスタSW2、制御信号φADD,φADD,φADD,φADD10、制御信号φLINE5,φLINE6,φLINE7、φLINE8を供給する8本の行信号線とから構成される。コンデンサCD2は、画素部41に設けられる複数の画素のうち、各列に配置されるR色画素、又はB色画素から垂直信号線47aに出力された電圧信号を保持する。 Switching unit 43b includes a capacitor CD2, adding transistor ADD 7, ADD 8, ADD 9 , ADD 10, a switching transistor SW2, the control signal φADD 7, φADD 8, φADD 9 , φADD 10, control signals φLINE5, φLINE6, φLINE7, the φLINE8 It consists of eight row signal lines to be supplied. The capacitor CD2 holds a voltage signal output from the R color pixel or the B color pixel arranged in each column to the vertical signal line 47a among the plurality of pixels provided in the pixel unit 41.

加算トランジスタADDは、6R−5列目の垂直信号線47aと、6R−3列目の垂直信号線47aとに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−5列目の垂直信号線47aと6R−3列目の垂直信号線47aとを短絡させる。 The addition transistor ADD 7 is connected to the vertical signal line 47a in the 6R-5th column and the vertical signal line 47a in the 6R-3th column. The addition transistor ADD 7 is turned on when the control signal φADD 7 is output, and short-circuits the vertical signal line 47a in the 6R-5th column and the vertical signal line 47a in the 6R-3th column.

加算トランジスタADDは、6R−4列目の垂直信号線47aと、6R−2列目の垂直信号線47aとに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−4列目の垂直信号線47aと6R−2列目の垂直信号線47aとを短絡させる。 The addition transistor ADD 8 is connected to the vertical signal line 47a in the 6R-4th column and the vertical signal line 47a in the 6R-2th column. The addition transistor ADD 8 is turned on when the control signal φADD 8 is output, and short-circuits the vertical signal line 47a in the 6R-4th column and the vertical signal line 47a in the 6R-2th column.

加算トランジスタADDは、6R−2列目の垂直信号線47aと、6R列目の垂直信号線47aとに接続される。この加算トランジスタADDは、制御信号φADDが出力されることでオンとなり、6R−2列目の垂直信号線47a、6R列目の垂直信号線47aを短絡させる。 The addition transistor ADD 9 is connected to the vertical signal line 47a in the 6R-2 column and the vertical signal line 47a in the 6R column. The addition transistor ADD 9 is turned on when the control signal φADD 9 is output, and short-circuits the 6R-2 column vertical signal line 47a and the 6R column vertical signal line 47a.

加算トランジスタADD10は、6R−1列目の垂直信号線47aと、6R+1列目の垂直信号線47aとに接続される。この加算トランジスタADD10は、制御信号φADD10が出力されることでオンとなり、6R−1列目の垂直信号線47a、6R+1列目の垂直信号線47aを短絡させる。 Summing transistor ADD 10 includes a 6R-1 column of the vertical signal line 47a, is connected to the 6R + 1 column of the vertical signal line 47a. The addition transistor ADD 10 is turned on when the control signal φADD 10 is output, and the vertical signal line 47a in the 6R-1 column and the vertical signal line 47a in the 6R + 1 column are short-circuited.

スイッチングトランジスタSW2は、列ごとに読み出した電圧信号を読み出す。ここで、4S−3列に配置されるスイッチトランジスタSW2のゲート電極には制御信号φLINE5が入力され、4S−2列に配置されるスイッチトランジスタSW2のゲート電極には信号φLINE6が入力される。また、4S−1列に配置されるスイッチトランジスタSW2のゲート電極には信号φLINE7が入力され、4S列に配置されるスイッチトランジスタSW2のゲート電極には信号φLINE8が入力される。このスイッチングトランジスタSW2がオンとなることにより、対応する列のコンデンサCD2に保持される電圧信号がカラムアンプCAMP2に出力される。   The switching transistor SW2 reads the voltage signal read for each column. Here, the control signal φLINE5 is input to the gate electrode of the switch transistor SW2 arranged in the 4S-3 column, and the signal φLINE6 is input to the gate electrode of the switch transistor SW2 arranged in the 4S-2 column. A signal φLINE7 is input to the gate electrode of the switch transistor SW2 arranged in the 4S-1 column, and a signal φLINE8 is input to the gate electrode of the switch transistor SW2 arranged in the 4S column. When the switching transistor SW2 is turned on, a voltage signal held in the capacitor CD2 of the corresponding column is output to the column amplifier CAMP2.

カラムアンプCAMP1及びカラムアンプCAMP2は、対応の垂直信号線に接続された各画素から出力された電圧信号を受ける。各画素からは、入射光を受光した際の光電変換によって得られる電荷量に応じた電圧信号(光信号)と、光電変換によって生成された電荷がリセットされたときの電圧信号(暗信号)とを出力する。これらカラムアンプCAMP1,CAMP2は、光信号と暗信号とをサンプルホールドし、光信号と暗信号との差分を示す差分信号を増幅して出力する。   The column amplifier CAMP1 and the column amplifier CAMP2 receive the voltage signal output from each pixel connected to the corresponding vertical signal line. From each pixel, a voltage signal (optical signal) corresponding to the amount of charge obtained by photoelectric conversion when incident light is received, and a voltage signal (dark signal) when the charge generated by photoelectric conversion is reset Is output. These column amplifiers CAMP1 and CAMP2 sample and hold the optical signal and the dark signal, amplify and output a differential signal indicating the difference between the optical signal and the dark signal.

垂直走査回路44は、図示を省略した信号生成回路とバッファ回路とを備え、制御信号φTX、制御信号φRST、制御信号φSW3及び制御信号φGAINの各信号や電源VCCを、画素部41に2次元に配置される各画素に対して行毎に供給する。   The vertical scanning circuit 44 includes a signal generation circuit and a buffer circuit (not shown), and two-dimensionally supplies the control signal φTX, the control signal φRST, the control signal φSW3, the control signal φGAIN, and the power supply VCC to the pixel unit 41. It supplies for every row | line | column with respect to each pixel arrange | positioned.

水平走査回路45aは、プリチャージ部42aに対して制御信号φPREや、電源Vpreを供給する。また、水平走査回路45aは、切替え部43aに対して制御信号φADD,φADD,φADD,φADD,φADD,φADD,制御信号φLINE1,φLINE2,φLINE3,φLINE4の各信号を供給する。 The horizontal scanning circuit 45a supplies a control signal φPRE and a power supply Vpre to the precharge unit 42a. The horizontal scanning circuit 45a, the control signal FaiADD 1 with respect to the switching unit 43a, φADD 2, φADD 3, φADD 4, φADD 5, φADD 6, control signal φLINE1, φLINE2, φLINE3, supplies a respective signal of FaiLINE4.

同様にして、水平走査回路45bは、プリチャージ部42bに対して制御信号φPREや電源Vpreを供給する。また、水平走査回路45bは、切替え部43bに対して制御信号φADD,φADD,φADD,φADD10,制御信号φLINE5、φLINE6,φLINE7、φLINE8の各信号を供給する。 Similarly, the horizontal scanning circuit 45b supplies the control signal φPRE and the power supply Vpre to the precharge unit 42b. The horizontal scanning circuit 45b supplies control signals φADD 7 , φADD 8 , φADD 9 , φADD 10 , and control signals φLINE5, φLINE6, φLINE7, and φLINE8 to the switching unit 43b.

次に、撮像素子16の画素部41に配置される画素の構成について、図3を用いて説明する。撮像素子16の画素Pは、フォトダイオードPD、転送トランジスタTX、フローティングディフュージョンFD、増幅トランジスタAMI、リセットトランジスタRST、電流源ISS、スイッチングトランジスタSW3、アンプAMPを備えている。   Next, the configuration of the pixels arranged in the pixel portion 41 of the image sensor 16 will be described with reference to FIG. The pixel P of the image sensor 16 includes a photodiode PD, a transfer transistor TX, a floating diffusion FD, an amplification transistor AMI, a reset transistor RST, a current source ISS, a switching transistor SW3, and an amplifier AMP.

フォトダイオードPDは、入射光を光電変換することにより、入射光の受光量に応じた電荷を生成する。転送トランジスタTXは、ゲート電極に供給される制御信号φTXに応答して、フォトダイオードPDにて生成された電荷をフローティングディフュージョンFDに転送する。フローティングディフュージョンFDは、転送トランジスタTXから転送された電荷を蓄積する。フローティングディフュージョンFDの電位は、蓄積された電荷量に応じて決まる。   The photodiode PD generates charges according to the amount of incident light received by photoelectrically converting the incident light. The transfer transistor TX transfers the charge generated by the photodiode PD to the floating diffusion FD in response to the control signal φTX supplied to the gate electrode. The floating diffusion FD accumulates the charges transferred from the transfer transistor TX. The potential of the floating diffusion FD is determined according to the amount of accumulated charge.

増幅トランジスタAMIは、そのドレイン電極が電源ノードVCCに接続され、そのゲート電圧がフローティングディフュージョンFDに接続される。また、増幅トランジスタAMIのソース電極は電流源ISSに接続される。この増幅トランジスタAMIによりソースフォロアが構成される結果、増幅トランジスタAMIのソース電極には、フローティングディフュージョンFDの電位に応じた電圧が生じる。   The amplification transistor AMI has its drain electrode connected to the power supply node VCC and its gate voltage connected to the floating diffusion FD. The source electrode of the amplification transistor AMI is connected to the current source ISS. As a result of the amplification transistor AMI forming a source follower, a voltage corresponding to the potential of the floating diffusion FD is generated at the source electrode of the amplification transistor AMI.

リセットトランジスタRSTは、電源ノードVCCとフローティングディフュージョンFDとの間に接続される。リセットトランジスタRSTは、そのゲート電極に供給される制御信号φRSTに応答してフローティングディフュージョンFDの電位をリセットする。   Reset transistor RST is connected between power supply node VCC and floating diffusion FD. The reset transistor RST resets the potential of the floating diffusion FD in response to the control signal φRST supplied to the gate electrode.

アンプAMPは、増幅トランジスタAMIにより生じる電圧に対して所定のゲインを乗算することで入力される電圧を増幅する。なお、入力される電圧に対して乗算されるゲインについては後述するが、アンプAMPは、例えば撮像素子16に配置される複数の画素を全て読み出す際に用いるゲインと、撮像素子16に配置される複数の画素を間引きながら加算して読み出す際に用いるゲインとを切り替えることができるようになっている。なお、このゲインの切り替えは、制御信号φGAINの出力の有無により実行される。スイッチングトランジスタSW3は、信号φSW3の出力によりオンとなる。このスイッチングトランジスタSW3がオンとなることで、アンプAMPにより増幅された電圧信号が垂直信号線47に出力される。   The amplifier AMP amplifies the input voltage by multiplying the voltage generated by the amplification transistor AMI by a predetermined gain. The gain multiplied by the input voltage will be described later. For example, the amplifier AMP is disposed in the image sensor 16 and the gain used when reading out all of the plurality of pixels disposed in the image sensor 16. The gain used when adding and reading out a plurality of pixels while thinning out can be switched. This gain switching is executed depending on whether or not the control signal φGAIN is output. The switching transistor SW3 is turned on by the output of the signal φSW3. When the switching transistor SW3 is turned on, the voltage signal amplified by the amplifier AMP is output to the vertical signal line 47.

次に、各画素におけるアンプAMPのゲインについて説明する。なお、静止画像を撮影する場合には、全画素読み出しにより撮像素子16を制御することから、各画素のアンプAMPに対するゲインは1となる。   Next, the gain of the amplifier AMP in each pixel will be described. When a still image is taken, the image sensor 16 is controlled by reading out all pixels, so that the gain of each pixel with respect to the amplifier AMP is 1.

一方、動画像を撮影する場合には、加算間引き読出しにより撮像素子16を制御する。上述したように、第1実施形態では、撮影により得られる動画像の画像サイズは、静止画像の画像サイズ(W×H)に対して、水平方向及び垂直方向にそれぞれ1/3倍に縮小した、W/3×H/3の画像サイズに設定される。   On the other hand, when shooting a moving image, the image sensor 16 is controlled by addition thinning readout. As described above, in the first embodiment, the image size of the moving image obtained by shooting is reduced to 1/3 times in the horizontal direction and the vertical direction with respect to the image size (W × H) of the still image. , W / 3 × H / 3 image size is set.

撮像素子16における各画素の位置を、R(i,j)、G(i+1,j)、G(i,j+1)、B(i+1,j+1)等で表す。なお、iは水平方向の座標、jは垂直方向の座標である。一方、取得される動画像における各画素の位置を、R’(x,y)、G’(x,y)、B’(x,y)等で表す。なお、xは水平方向の座標、yは垂直方向の座標である。   The position of each pixel in the image sensor 16 is represented by R (i, j), G (i + 1, j), G (i, j + 1), B (i + 1, j + 1), and the like. Note that i is a coordinate in the horizontal direction, and j is a coordinate in the vertical direction. On the other hand, the position of each pixel in the acquired moving image is represented by R ′ (x, y), G ′ (x, y), B ′ (x, y), or the like. Note that x is a horizontal coordinate, and y is a vertical coordinate.

図4は、加算間引き読出しにより読み出された動画像の画素と、撮像素子16上の画素の位置関係を示している。図4においては、撮像素子16の画素部41に配置される各画素を薄線で示し、動画像の各画素を太線で示している。第1実施形態は、撮像素子16の画素部41に配置される画素のうち、4行4列の画素の範囲(ハッチングの範囲)に含まれる同色画素の信号値を加重加算することで、動画像の画素の各色成分の信号値を生成する場合を示す。以下、4行4列の画素の範囲を読出範囲と称し、符号60を付与する。   FIG. 4 shows the positional relationship between the pixels of the moving image read by the addition thinning readout and the pixels on the image sensor 16. In FIG. 4, each pixel arranged in the pixel portion 41 of the image sensor 16 is indicated by a thin line, and each pixel of the moving image is indicated by a thick line. The first embodiment weights and adds the signal values of the same color pixels included in the pixel range (hatching range) of 4 rows and 4 columns among the pixels arranged in the pixel unit 41 of the image sensor 16, The case where the signal value of each color component of the pixel of an image is generated is shown. Hereinafter, the pixel range of 4 rows and 4 columns is referred to as a readout range, and reference numeral 60 is given.

読出範囲60における同色画素の信号値を用いた加重加算は、動画像の画素における各色成分の重心位置が、読出範囲60における重心位置と一致するように実行される。なお、図4においては、記号「○」で示す位置が読出範囲60における重心位置である。   The weighted addition using the signal value of the same color pixel in the reading range 60 is executed so that the barycentric position of each color component in the pixel of the moving image matches the barycentric position in the reading range 60. In FIG. 4, the position indicated by the symbol “◯” is the barycentric position in the reading range 60.

加算間引き読出しにより生成される画素における各色成分の重心位置を、読出範囲における重心位置と一致させる方法として、加重加算における各画素の加重係数をガウス分布に基づいて設定することが挙げられる。図5は、4行4列の画素の範囲を読出範囲とした場合に設定される各画素に対する重みの一例である。読出範囲に含まれる各画素の重みは、読出範囲60の重心位置を中心とするガウス分布に基づいて設定される。   As a method of matching the barycentric position of each color component in the pixel generated by the addition thinning-out reading with the barycentric position in the reading range, setting the weighting coefficient of each pixel in the weighted addition based on a Gaussian distribution can be mentioned. FIG. 5 is an example of the weight for each pixel set when the pixel range of 4 rows and 4 columns is set as the readout range. The weight of each pixel included in the readout range is set based on a Gaussian distribution with the center of gravity of the readout range 60 as the center.

第1実施形態では、図6に示すように、動画像の奇数行目(y行目、y+2行目・・)に配置される画素に関してはR色成分及びB色成分の信号値を読み出し、動画像の偶数行目(y+1行目、y+3行目・・)に配置される画素に関してはG色成分及びB色成分の信号値を読み出す場合を説明する。なお、2×2画素のベイヤー配列においては、G色画素が2画素含まれることから、以後、G画素については、Gr画素、Gb画素と称する。   In the first embodiment, as shown in FIG. 6, the signal values of the R color component and the B color component are read for the pixels arranged in the odd-numbered rows (y-th row, y + 2-th row,...) Of the moving image, The case where the signal values of the G color component and the B color component are read out for the pixels arranged in the even-numbered rows (y + 1 row, y + 3 row...) Of the moving image will be described. Since the 2 × 2 pixel Bayer array includes two G color pixels, the G pixel is hereinafter referred to as a Gr pixel and a Gb pixel.

図7に示すように、左上隅にあるR色画素を基準にした4行4列の画素の範囲(ハッチングの領域)を読出範囲60とした場合について考慮する。この読出範囲60においては、撮像素子16上の座標(i,j)にあるR色画素が基準となる画素(以下、基準画素)として設定される。この場合、基準画素は、R色画素とGr色画素とが交互に配置される行にある。つまり、色画素又はGr色画素のいずれかの画素が基準画素となる。この場合の読出範囲60に対しては、読出範囲60に含まれるR色画素、Gr色画素、Gb色画素及びB色画素のうち、B色画素を除いた画素の信号値を用いて、動画像における座標(x,y)にある画素のR色成分、G色成分の信号値を求める。動画像における座標(x,y)にある画素のR色成分、G色成分の信号値は、(1)式で表わされる。   As shown in FIG. 7, a case is considered in which the readout range 60 is a pixel range (hatched region) of 4 rows and 4 columns based on the R color pixel in the upper left corner. In the readout range 60, an R color pixel at coordinates (i, j) on the image sensor 16 is set as a reference pixel (hereinafter referred to as a reference pixel). In this case, the reference pixel is in a row in which R color pixels and Gr color pixels are alternately arranged. That is, either the color pixel or the Gr color pixel is the reference pixel. For the readout range 60 in this case, a moving image is obtained by using signal values of pixels excluding the B color pixel among the R color pixel, the Gr color pixel, the Gb color pixel, and the B color pixel included in the readout range 60. The signal values of the R color component and G color component of the pixel at the coordinates (x, y) in the image are obtained. The signal values of the R color component and the G color component of the pixel located at the coordinates (x, y) in the moving image are expressed by equation (1).

Figure 2013197613
Figure 2013197613

ここで、R’(x,y)、G’(x,y)は、動画像における座標(x,y)の画素のR色成分の信号値及びG色成分の信号値を示す。   Here, R ′ (x, y) and G ′ (x, y) indicate the signal value of the R color component and the signal value of the G color component of the pixel at the coordinate (x, y) in the moving image.

つまり、左上隅にあるR色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるR色画素及びG色画素のアンプAMPのゲインは、上述した(1)式が成り立つように設定される。   That is, in the case of the readout range 60 with the R color pixel in the upper left corner as the reference pixel, the gain of the amplifier AMP of the R color pixel and the G color pixel included in the readout range 60 is such that the above-described equation (1) is satisfied. Is set.

次に、図8に示すように、左上隅にあるGr色画素を基準にした4行4列の画素の範囲(ハッチングの領域)を読出範囲60とした場合について考慮する。この場合も、R色画素を基準画素とした場合と同様に、読出範囲に含まれるR色画素、Gr色画素、Gb色画素及びB色画素のうち、B色画素を除いた画素の信号値を用いて、動画像における座標(x+1,y)にある画素のR色成分、G色成分の信号値を求める。動画像における座標(x+1,y)にある画素のR色成分、G色成分の信号値は、(2)式で表わされる。   Next, as shown in FIG. 8, a case is considered in which the readout range 60 is a pixel range (hatched region) of 4 rows and 4 columns with reference to the Gr color pixel in the upper left corner. Also in this case, as in the case where the R color pixel is used as the reference pixel, the signal value of the pixel excluding the B color pixel among the R color pixel, the Gr color pixel, the Gb color pixel, and the B color pixel included in the readout range. Is used to obtain the signal values of the R color component and G color component of the pixel located at the coordinates (x + 1, y) in the moving image. The signal values of the R color component and the G color component of the pixel located at the coordinates (x + 1, y) in the moving image are expressed by equation (2).

Figure 2013197613
Figure 2013197613

ここで、R’(x+1,y)、G’(x+1,y)は、動画像における座標(x+1,y)の画素のR色成分の信号値及びG色成分の信号値を示す。   Here, R ′ (x + 1, y) and G ′ (x + 1, y) indicate the signal value of the R color component and the signal value of the G color component of the pixel at the coordinate (x + 1, y) in the moving image.

つまり、左上隅にあるGr色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるR色画素及びG色画素のアンプAMPのゲインは、上述した(2)式が成り立つように設定される。   That is, in the case of the readout range 60 using the Gr color pixel in the upper left corner as the reference pixel, the gains of the amplifiers AMP of the R color pixel and the G color pixel included in the readout range 60 satisfy the above-described equation (2). Is set.

次に、図9に示すように、左上隅にあるGb色画素を基準にした4行4列の画素の範囲(ハッチングの領域)を読出範囲60とした場合について考慮する。この読出範囲60においては、撮像素子16上の座標(i,j)にあるGb色画素が基準画素として設定される。この場合、基準画素は、Gb色画素とB色画素とが交互に配置される行にある。つまり、Gb色画素又はB画素のいずれかの画素が基準画素となる。この場合の読出範囲60に対しては、読出範囲60に含まれるR色画素、Gr色画素、Gb色画素及びB色画素のうち、R色画素を除いた画素の信号値を用いて、動画像における座標(x,y+1)にある画素のG色成分、B色成分の信号値を求める。動画像における座標(x,y+1)にある画素のR色成分、G色成分の信号値は、(3)式で表わされる。   Next, as shown in FIG. 9, consider a case where a reading range 60 is a pixel range (hatched region) of 4 rows and 4 columns based on the Gb color pixel in the upper left corner. In the readout range 60, a Gb color pixel at coordinates (i, j) on the image sensor 16 is set as a reference pixel. In this case, the reference pixel is in a row in which Gb color pixels and B color pixels are alternately arranged. That is, either the Gb color pixel or the B pixel is the reference pixel. For the readout range 60 in this case, a moving image is obtained by using signal values of pixels excluding the R color pixel among the R color pixel, the Gr color pixel, the Gb color pixel, and the B color pixel included in the readout range 60. The signal values of the G color component and B color component of the pixel located at the coordinates (x, y + 1) in the image are obtained. The signal values of the R color component and the G color component of the pixel located at the coordinates (x, y + 1) in the moving image are expressed by equation (3).

Figure 2013197613
Figure 2013197613

ここで、G’(x,y+1)、B’(x,y+1)は、動画像における座標(x,y+1)の画素のG色成分の信号値及びB色成分の信号値を示す。   Here, G ′ (x, y + 1) and B ′ (x, y + 1) indicate the signal value of the G color component and the signal value of the B color component of the pixel at the coordinate (x, y + 1) in the moving image.

つまり、左上隅にあるGb色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるG色画素及びB色画素のアンプAMPのゲインは、上述した(3)式が成り立つように設定される。   In other words, in the case of the readout range 60 using the Gb color pixel in the upper left corner as the reference pixel, the gain of the amplifier AMP of the G color pixel and the B color pixel included in the readout range 60 satisfies the above-described equation (3). Is set.

最後に、図10に示すように、左上隅にあるGr色画素を基準にした4行4列の画素の範囲(ハッチングの領域)を読出範囲60とした場合について考慮する。この場合、読出範囲60に含まれるR色画素、Gr色画素、Gb色画素及びB色画素のうち、R色画素を除いた画素を用いて、動画像における座標(x+1,y+1)にある画素のG色成分、B色成分の各信号値を求める。この場合、動画像における座標(x+1,y+1)にある画素のG色成分、B色成分の各信号値は、(4)式で表わされる。   Finally, as shown in FIG. 10, a case is considered in which the readout range 60 is a 4 × 4 pixel range (hatched region) based on the Gr color pixel in the upper left corner. In this case, among the R color pixels, Gr color pixels, Gb color pixels, and B color pixels included in the readout range 60, pixels excluding the R color pixels are used and the pixels at the coordinates (x + 1, y + 1) in the moving image Each signal value of the G color component and the B color component is obtained. In this case, each signal value of the G color component and the B color component of the pixel located at the coordinates (x + 1, y + 1) in the moving image is expressed by Expression (4).

Figure 2013197613
Figure 2013197613

ここで、G’(x+1,y+1)、B’(x+1,y+1)は、動画像における座標(x,y+1)の画素のG色成分の信号値及びB色成分の信号値を示す。   Here, G ′ (x + 1, y + 1) and B ′ (x + 1, y + 1) indicate the signal value of the G color component and the signal value of the B color component of the pixel at the coordinate (x, y + 1) in the moving image.

つまり、左上隅にあるB色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるG色画素及びB色画素のアンプAMPのゲインは、上述した(4)式が成り立つように設定される。   That is, in the case of the readout range 60 using the B color pixel in the upper left corner as the reference pixel, the gain of the amplifier AMP of the G color pixel and the B color pixel included in the readout range 60 is such that the above-described equation (4) is satisfied. Is set.

次に、撮像素子16から画像信号を読み出す場合の処理について説明する。静止画像の撮影においては、撮像素子16の画素部41に配置された複数の画素のそれぞれで蓄積された電荷を、画素毎に読み出す、全画素読み出しにて実行される。この全画素読み出しにおいては、複数の画素を行毎に読み出していく。この全画素読み出しでは、垂直走査回路44は、制御信号φGAINを出力しない。これにより、各画素に設けられたアンプAMPのゲインが1となる。また、水平走査回路45a及び水平走査回路45bは、切替え部43aに設けられる各加算トランジスタに対しての制御信号を出力しない。この全画像読み出しにおいては、撮像素子16から出力される画像信号は、各画素の色成分がR色、G色、B色のいずれかの色成分からなる画像信号となる。   Next, a process for reading an image signal from the image sensor 16 will be described. Still image capturing is performed by all-pixel readout, in which charges accumulated in each of a plurality of pixels arranged in the pixel unit 41 of the image sensor 16 are read out for each pixel. In this all-pixel readout, a plurality of pixels are read out row by row. In this all-pixel reading, the vertical scanning circuit 44 does not output the control signal φGAIN. As a result, the gain of the amplifier AMP provided in each pixel becomes 1. Further, the horizontal scanning circuit 45a and the horizontal scanning circuit 45b do not output a control signal for each addition transistor provided in the switching unit 43a. In this all-image reading, the image signal output from the image sensor 16 is an image signal in which the color component of each pixel is any one of R, G, and B color components.

一方、動画像の撮影においては、撮像素子16の画素部41に配置された複数の画素のうち、例えば4行4列の画素の範囲を読出範囲60として色成分毎に加重加算により読み出す、加算間引き読出しが行われる。   On the other hand, in moving image shooting, for example, a range of pixels of 4 rows and 4 columns among a plurality of pixels arranged in the pixel portion 41 of the image sensor 16 is read out by weighted addition for each color component as a reading range 60. Thinning out reading is performed.

まず、垂直走査回路44は、読出範囲60に含まれる4行に配置された各画素に対して制御信号φGAINを出力する。この出力を受けて、各画素のアンプAMPのゲインが1から加重加算を用いた加算間引き読出し時のゲインの値に切り替わる。なお、切り替わるゲインの値は、上述した(1)式から(4)式のいずれかの式を満たす値である。そして、垂直走査回路44は、制御信号φSW3を出力する。これにより、読出範囲に含まれる各画素から、アンプAMPにより増幅された電圧信号が対応する垂直信号線に出力される。この垂直信号線に出力された電圧信号は、コンデンサCD1に蓄積される。その後、垂直走査回路44は、制御信号φSW3の出力を停止する。   First, the vertical scanning circuit 44 outputs a control signal φGAIN to each pixel arranged in four rows included in the reading range 60. In response to this output, the gain of the amplifier AMP of each pixel is switched from 1 to a gain value at the time of addition thinning readout using weighted addition. Note that the value of the gain to be switched is a value that satisfies any of the above-described equations (1) to (4). Then, the vertical scanning circuit 44 outputs a control signal φSW3. As a result, the voltage signal amplified by the amplifier AMP is output from each pixel included in the readout range to the corresponding vertical signal line. The voltage signal output to the vertical signal line is accumulated in the capacitor CD1. Thereafter, the vertical scanning circuit 44 stops outputting the control signal φSW3.

ここで、R色画素、Gr色画素が交互に配置された行の画素が読出範囲の基準画素となる場合の加算間引き読出しについて説明する。   Here, addition thinning-out readout when pixels in a row in which R color pixels and Gr color pixels are alternately arranged serves as a reference pixel in the readout range will be described.

水平走査回路45aは、制御信号φADD,φADD,φADDを出力する。これにより、加算トランジスタADD,ADD,ADDがオンとなり、これら垂直信号線47bがそれぞれ短絡する。これにより、6R−5列目、6R−4列目、6R−3列目及び6R−2列目の垂直信号線47bにそれぞれ接続されるコンデンサCD1の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD,φADD,φADDの出力を停止する。そして、水平走査回路45aは、制御信号φLINE1を出力する。これにより、6R−5列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、例えば動画像における座標(x,y)にある画素のG色成分の信号値となる。 The horizontal scanning circuit 45a outputs control signals φADD 1 , φADD 2 , and φADD 3 . As a result, the addition transistors ADD 1 , ADD 2 , and ADD 3 are turned on, and the vertical signal lines 47b are short-circuited. As a result, the charge amounts of the capacitors CD1 connected to the vertical signal lines 47b in the 6R-5th, 6R-4th, 6R-3th, and 6R-2th columns are the same. Thereafter, the horizontal scanning circuit 45a stops outputting the control signals φADD 1 , φADD 2 , and φADD 3 . Then, the horizontal scanning circuit 45a outputs a control signal φLINE1. As a result, the switch transistor SW1 connected to the vertical signal line 47b in the 6R-5th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD1 connected to the corresponding vertical signal line 47b is supplied to the column amplifier CAMP1. Is output. Here, the output voltage signal is, for example, the signal value of the G color component of the pixel at the coordinate (x, y) in the moving image.

水平走査回路45bは、制御信号φADDを出力する。加算トランジスタADDがオンとなると、6R−5列目及び6R−4列目の垂直信号線47aが短絡する。これにより、6R−5列目及び6R−4列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADDの出力を停止する。そして、水平走査回路45bは、制御信号φLINE5を出力する。これにより、6R−5列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−5列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y)にある画素のR色成分の信号となる。 Horizontal scanning circuit 45b outputs a control signal φADD 7. When adding transistor ADD 7 is turned on, 6R-5 column and 6R-4 column vertical signal line 47a is short-circuited. As a result, the charge amount of the capacitor CD2 connected to the vertical signal lines 47a in the 6R-5th column and the 6R-4th column becomes the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 7. Then, the horizontal scanning circuit 45b outputs a control signal φLINE5. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-5th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-5th column becomes the R color component signal of the pixel at the coordinate (x, y) of the moving image.

この読み出しの後、垂直走査回路44は、制御信号φSW3を出力する。また、水平走査回路45aは、制御信号φADD,φADD,φADDを出力する。これを受けて、加算トランジスタADD,ADD,ADDがオンとなり、6R−2列目、6R−1列目、6R列目、6R+1列目の垂直信号線47bが短絡する。これにより、これら垂直信号線47bに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD,φADD,φADDの出力を停止する。そして、水平走査回路45aは、制御信号φLINE4を出力する。これにより、6R−2列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、動画像の座標(x+1,y)にある画素のG色成分の信号となる。 After this reading, the vertical scanning circuit 44 outputs a control signal φSW3. Further, the horizontal scanning circuit 45a outputs control signals φADD 4 , φADD 5 and φADD 6 . In response to this, the addition transistors ADD 4 , ADD 5 , and ADD 6 are turned on, and the vertical signal lines 47b in the 6R-2, 6R-1, 6R, and 6R + 1 columns are short-circuited. Thereby, the charge amount of the capacitor CD2 connected to these vertical signal lines 47b becomes the same. Thereafter, the horizontal scanning circuit 45a stops outputting the control signals φADD 4 , φADD 5 , φADD 6 . Then, the horizontal scanning circuit 45a outputs a control signal φLINE4. As a result, the switch transistor SW1 connected to the vertical signal line 47b in the 6R-2th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD1 connected to the corresponding vertical signal line 47b is supplied to the column amplifier CAMP1. Is output. Here, the output voltage signal is a signal of the G color component of the pixel located at the coordinate (x + 1, y) of the moving image.

水平走査回路45bは、制御信号φADD10を出力する。加算トランジスタADD10がオンとなると、6R−1列目及び6R+1列目の垂直信号線47aが短絡する。これにより、6R−1列目及び6R+1列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD10の出力を停止する。そして、水平走査回路45bは、制御信号φLINE5を出力する。これにより、6R−1列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−1列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x+1,y)にある画素のR色成分の信号となる。 Horizontal scanning circuit 45b outputs a control signal φADD 10. When adding transistor ADD 10 is turned on, 6R-1 column and 6R + 1 column of the vertical signal line 47a is short-circuited. As a result, the charge amounts of the capacitors CD2 connected to the vertical signal lines 47a in the 6R-1 and 6R + 1 columns are the same. Thereafter, the horizontal scanning circuit 45 b stops outputting the control signal φADD 10 . Then, the horizontal scanning circuit 45b outputs a control signal φLINE5. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-1 column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-1 column becomes the R color component signal of the pixel at the coordinate (x + 1, y) of the moving image.

このようにして、読出範囲60を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出していく。その後、読出範囲60を垂直方向に3画素ずらした後、読出範囲を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出す。   In this manner, the readout range 60 is read out by addition thinning-out readout while being shifted by 3 pixels in the horizontal direction. Thereafter, the readout range 60 is shifted by 3 pixels in the vertical direction, and then read out by addition thinning readout while the readout range is shifted by 3 pixels in the horizontal direction.

次に、読出範囲60の基準画素がGb色画素、B色画素が交互に配置された行の画素となる場合の加算間引き読出しについて説明する。なお、水平走査回路45aにおける信号の出力は、読出範囲60の基準画素がR色画素、Gr色画素が交互に配置された行の画素となる場合の加算間引き読出しと同様の読み出し方法で実行される。これにより、動画像の座標(x,y+1)及び座標(x+1,y+1)にある画素のG色成分の信号値が得られる。以下、B色成分の信号を読み出す場合について説明する。   Next, addition thinning readout when the reference pixel in the readout range 60 is a pixel in a row in which Gb color pixels and B color pixels are alternately arranged will be described. The signal output in the horizontal scanning circuit 45a is executed by a reading method similar to the addition thinning-out reading when the reference pixel of the reading range 60 is a pixel in a row in which R color pixels and Gr color pixels are alternately arranged. The Thereby, the signal value of the G color component of the pixel at the coordinate (x, y + 1) and the coordinate (x + 1, y + 1) of the moving image is obtained. Hereinafter, a case where a B color component signal is read will be described.

水平走査回路45bは、制御信号φADDを出力する。加算トランジスタADDがオンとなると、6R−4列目及び6R−2列目の垂直信号線47aが短絡する。これにより、6R−4列目及び6R−2列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADDの出力を停止する。そして、水平走査回路45bは、制御信号φLINE6を出力する。これにより、6R−4列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−4列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y+1)にある画素のB色成分の信号となる。 Horizontal scanning circuit 45b outputs a control signal φADD 8. When adding transistor ADD 8 is turned on, 6R-4 column and 6R-2 column of the vertical signal line 47a is short-circuited. As a result, the charge amounts of the capacitors CD2 connected to the vertical signal lines 47a in the 6R-4th column and the 6R-2th column become the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 8. Then, the horizontal scanning circuit 45b outputs a control signal φLINE6. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-4th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-4th column becomes the signal of the B color component of the pixel at the coordinate (x, y + 1) of the moving image.

また、水平走査回路45bは、制御信号φADDを出力する。加算トランジスタADDがオンとなると、6R−2列目及び6R列目の垂直信号線47aが短絡する。これにより、6R−2列目及び6R列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADDの出力を停止する。そして、水平走査回路45bは、制御信号φLINE8を出力する。これにより、6R−2列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−2列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x+1,y+1)にある画素のB色成分の信号となる。 The horizontal scanning circuit 45b outputs a control signal φADD 9. When the addition transistor ADD 9 is turned on, the vertical signal lines 47a in the 6R-2 column and the 6R column are short-circuited. As a result, the charge amounts of the capacitors CD2 connected to the vertical signal lines 47a in the 6R-2 column and the 6R column become the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 8. Then, the horizontal scanning circuit 45b outputs a control signal φLINE8. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-2th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-2th column is a signal of the B color component of the pixel at the coordinate (x + 1, y + 1) of the moving image.

このようにして、G色画素及びB色画素が交互に配置された行の画素を基準画素に設定した場合も、読出範囲60を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出す。   In this way, even when pixels in a row in which G color pixels and B color pixels are alternately arranged are set as reference pixels, readout is performed by addition thinning readout while the readout range 60 is shifted by 3 pixels in the horizontal direction.

上述した方法により、撮像素子16の画素部41に配置される複数の画素に対して加算間引き読出しが実行され、動画像の各画素の信号値が取得される。この場合、図に示すように、動画像を構成する各画素のうち、奇数行目(y行目、y+2行目・・)に配置される画素は、それぞれR色成分及びG色成分の信号値を有している。また、偶数行目(y+1行目、y+3行目・・)に配置される画素は、それぞれG色成分及びB色成分の信号値を有している。つまり、これら動画像の各画素においては、1つの色成分の信号値が得られていないことになる。そこで、撮像素子16から出力される2つの色成分の信号値を有する画像信号に対して、画像処理回路23は、色補間処理を実行する。   By the above-described method, addition thinning-out readout is executed for a plurality of pixels arranged in the pixel unit 41 of the image sensor 16, and the signal value of each pixel of the moving image is acquired. In this case, as shown in the figure, among the pixels constituting the moving image, the pixels arranged in the odd-numbered rows (y-th row, y + 2-th row,...) Are signals of R color component and G color component, respectively. Has a value. The pixels arranged in the even-numbered rows (y + 1 row, y + 3 row...) Have signal values of G color component and B color component, respectively. That is, the signal value of one color component is not obtained for each pixel of these moving images. Therefore, the image processing circuit 23 performs color interpolation processing on the image signal having the signal values of the two color components output from the image sensor 16.

ここで、動画像の偶数行目(y+1行目、y+3行目・・)に配置される画素に対する色補間処理について説明する。まず、動画像の座標(x,y)にある画素と、座標(x、y+2)にある画素のそれぞれで、色差成分の信号値を求める。この色差成分の信号値は、(5)式を用いて求められる。   Here, the color interpolation processing for the pixels arranged in the even-numbered lines (y + 1 line, y + 3 line...) Of the moving image will be described. First, the signal value of the color difference component is obtained for each of the pixel at the coordinate (x, y) of the moving image and the pixel at the coordinate (x, y + 2). The signal value of this color difference component is obtained using equation (5).

Figure 2013197613
Figure 2013197613

そして、画像処理回路23は、(5)式にて求めた色差成分の信号値を用いて、動画像の座標(x、y+1)の画素において不足するR色成分の信号値を求める。なお、R色成分の信号値は、(6)式を用いて求められる。   Then, the image processing circuit 23 obtains the signal value of the R color component that is deficient in the pixel at the coordinate (x, y + 1) of the moving image using the signal value of the color difference component obtained by the equation (5). Note that the signal value of the R color component is obtained using equation (6).

Figure 2013197613
Figure 2013197613

このようにして、動画像を構成する画素のうち、偶数行目(y+1行目、y+3行目・・)に配置される画素のそれぞれ不足するR色成分の信号値を求める。   In this way, the signal values of the R color components that are deficient in the pixels arranged in the even-numbered rows (y + 1 row, y + 3 row,...) Among the pixels constituting the moving image are obtained.

一方、奇数行目(y行目、y+2行目・・)に配置される画素においては、B色成分の信号値が不足している。例えばy+2行目に配置される画素については、y行目及びy+2行目に配置される同一列の画素を用いて色差成分の信号値を求めた後、(6)式の手法を用いて、不足するB色成分の信号値を求めればよい。なお、y行目に配置される画素については、y−1行目に配置される画素がないことから、y+1行目のB色成分の信号値を、y行目に配置される画素のB色成分の信号値としてもよい。このように、色補間処理を実行することで、R色成分、G色成分及びB色成分の全ての色成分を備えた画像信号を得ることができる。   On the other hand, in the pixels arranged in the odd-numbered rows (y-th row, y + 2-th row,...), The signal value of the B color component is insufficient. For example, for the pixel arranged in the y + 2 row, after obtaining the signal value of the color difference component using the pixels in the same column arranged in the y row and the y + 2 row, using the method of the equation (6), What is necessary is just to obtain | require the signal value of the B color component which is insufficient. As for the pixel arranged in the y-th row, since there is no pixel arranged in the y−1-th row, the signal value of the B color component in the y + 1-th row is changed to B of the pixel arranged in the y-th row. It may be a signal value of a color component. As described above, by executing the color interpolation process, an image signal including all the color components of the R color component, the G color component, and the B color component can be obtained.

なお、第1実施形態においては、加算間引き読出しを行うことで、色差成分の信号値を求めることが可能な2つの色成分の信号値を有する画像信号を得ることになる。例えば動画像の画像サイズが、静止画像の画像サイズに対して、水平方向に1/3倍、垂直方向に1/3倍の画像サイズとした場合、読み出される画像信号のデータ量は、静止画像の際に読み出される画像信号のデータ量の1/3×1/3×2=2/9倍のデータ量となる。これにより、動画像の撮影時に各フレーム画像を高速で読み出すことができる。   In the first embodiment, by performing addition thinning-out reading, an image signal having signal values of two color components from which the signal value of the color difference component can be obtained is obtained. For example, when the image size of a moving image is set to an image size that is 1/3 times in the horizontal direction and 1/3 times in the vertical direction with respect to the image size of the still image, the data amount of the read image signal is the still image At this time, the data amount is 1/3 × 1/3 × 2 = 2/9 times the data amount of the image signal read out. Thus, each frame image can be read at a high speed when a moving image is captured.

この第1実施形態では、動画像の各画素における各色成分の信号値は、加算読み出しにより読み出された後、色補間処理が実行される。例えば通常の間引き読出しにより読み出される画像信号を用いた色補間処理の場合には、読み出されていない画素の信号値を用いずに色補間処理を行うため、モアレや偽色が発生しやすくなるが、第1実施形態においては、加算間引き読出しにより得られる各色成分の信号値の重心位置が一致するように、各画素のゲインを設定している。このため、得られる動画像に対して色補間処理を行った場合であっても、モアレや偽色の発生を抑制することができる。   In the first embodiment, the color interpolation processing is executed after the signal value of each color component in each pixel of the moving image is read by addition reading. For example, in the case of color interpolation processing using an image signal read out by normal thinning readout, color interpolation processing is performed without using signal values of pixels that have not been read out, so that moire and false colors are likely to occur. However, in the first embodiment, the gain of each pixel is set so that the barycentric positions of the signal values of the respective color components obtained by the addition thinning readout match. For this reason, even when color interpolation processing is performed on the obtained moving image, it is possible to suppress the occurrence of moire and false colors.

第1実施形態では、y+(2m−2)行目(m=1,2,3・・・)に配置される画素に対しては、R色成分及びG色成分の信号値を読み出し、y+(2m−1)行目に配置される画素に対してはG色成分及びB色成分の信号値を読み出している。しかしながら、動画像の各画素に対して読み出す色成分は、上記に限定される必要はない。   In the first embodiment, for the pixels arranged in the y + (2m−2) th row (m = 1, 2, 3,...), The signal values of the R color component and the G color component are read out, and y + For the pixels arranged in the (2m-1) th row, the signal values of the G color component and the B color component are read out. However, the color components read out for each pixel of the moving image need not be limited to the above.

以下、R色成分及びG色成分の信号値の読み出しと、G色成分及びB色成分の信号値の読み出しとを同一行において交互に行う場合について、第2実施形態として説明する。   Hereinafter, a case where the reading of the signal values of the R color component and the G color component and the reading of the signal values of the G color component and the B color component are alternately performed in the same row will be described as a second embodiment.

<第2実施形態>
この第2実施形態の撮像素子の構成は、第1実施形態の撮像素子16の構成と同一の構成からなることから、撮像素子16の構成についての説明は省略する。
この場合、第1実施形態と同様に、4行4列の画素の範囲を読出範囲60とし、また、
Second Embodiment
Since the configuration of the image sensor of the second embodiment is the same as the configuration of the image sensor 16 of the first embodiment, the description of the configuration of the image sensor 16 is omitted.
In this case, as in the first embodiment, the pixel range of 4 rows and 4 columns is set as the readout range 60, and

読出範囲に含まれる各画素の重みは、図6に示す読出範囲60の重心位置を中心とするガウス分布に基づいて設定される。 The weight of each pixel included in the readout range is set based on a Gaussian distribution centering on the position of the center of gravity of the readout range 60 shown in FIG.

この第2実施形態においては、動画像の各画素においては、図11に示すように、R色成分及びG色成分の信号値が読み出される画素と、G色成分とB色成分の信号値が読み出される画素とが、水平方向及び垂直方向に、それぞれ交互に配置される場合を示す。   In the second embodiment, in each pixel of the moving image, as shown in FIG. 11, a pixel from which the signal values of the R color component and the G color component are read, and the signal values of the G color component and the B color component are A case where pixels to be read out are alternately arranged in the horizontal direction and the vertical direction is shown.

図7に示すように、R色画素を基準画素とした読出範囲60の場合は、第1実施形態と同様に、動画像における座標(x,y)にある画素のR色成分、G色成分の各信号値は、上述した(1)式で表わされる。このため、読出範囲60に含まれるR色画素及びG色画素のアンプAMPのゲインは、上述した(1)式を満足するように設定される。   As shown in FIG. 7, in the case of the readout range 60 with the R color pixel as the reference pixel, the R color component and the G color component of the pixel at the coordinates (x, y) in the moving image, as in the first embodiment. Each signal value is expressed by the above-described equation (1). For this reason, the gains of the amplifiers AMP of the R color pixel and the G color pixel included in the readout range 60 are set so as to satisfy the above-described expression (1).

次に、図8に示すように、Gr色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるR色画素、Gr色画素、Gb色画素及びB色画素のうち、R色画素を除いた画素を用いて、動画像における座標(x+1,y)にある画素のG色成分、B色成分の各信号値を求める。この場合、動画像における座標(x+1,y)にある画素のR色成分、G色成分の各信号値は、(7)式で表わされる。   Next, as shown in FIG. 8, in the case of the readout range 60 using the Gr color pixel as the reference pixel, among the R color pixel, Gr color pixel, Gb color pixel, and B color pixel included in the readout range 60 Using the pixels excluding the pixels, the signal values of the G color component and the B color component of the pixel at the coordinates (x + 1, y) in the moving image are obtained. In this case, each signal value of the R color component and the G color component of the pixel at the coordinates (x + 1, y) in the moving image is expressed by Expression (7).

Figure 2013197613
Figure 2013197613

つまり、Gr色画素を基準画素とした読出範囲60の場合には、読出範囲60に含まれるG色画素及びB色画素のアンプAMPのゲインは、上述した(7)式が成り立つように設定される。   That is, in the case of the readout range 60 using the Gr color pixel as the reference pixel, the gains of the amplifiers AMP of the G color pixel and the B color pixel included in the readout range 60 are set so as to satisfy the above-described equation (7). The

次に、図9に示すように、Gb色画素を基準画素とした読出範囲60の場合について考慮する。この場合、第1実施形態と同様に、動画像における座標(x,y+1)にある画素のG色成分、B色成分の各信号値は、上述した(3)式で表わされる。このため、読出範囲60に含まれるG色画素及びB色画素のアンプAMPのゲインは、上述した(3)式を満足するように設定される。   Next, as shown in FIG. 9, consider the case of a readout range 60 using Gb color pixels as reference pixels. In this case, as in the first embodiment, the signal values of the G color component and the B color component of the pixel at the coordinate (x, y + 1) in the moving image are expressed by the above-described equation (3). For this reason, the gains of the amplifiers AMP of the G color pixel and the B color pixel included in the readout range 60 are set so as to satisfy the above-described expression (3).

最後に、図10に示すように、B色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるR色画素、Gr色画素、Gb色画素及びB色画素のうち、B色画素を除いた画素を用いて、動画像における座標(x+1,y+1)にある画素のR色成分、G色成分の各信号値を求める。この場合、動画像における座標(x+1,y+1)にある画素のR色成分、G色成分の各信号値は、(8)式で表わされる。   Finally, as shown in FIG. 10, in the case of the readout range 60 using the B color pixel as the reference pixel, the B color among the R color pixel, Gr color pixel, Gb color pixel and B color pixel included in the readout range 60 Using the pixels excluding the pixels, the signal values of the R color component and the G color component of the pixel at the coordinates (x + 1, y + 1) in the moving image are obtained. In this case, each signal value of the R color component and the G color component of the pixel located at the coordinates (x + 1, y + 1) in the moving image is expressed by Expression (8).

Figure 2013197613
Figure 2013197613

つまり、B色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるR色画素及びG色画素のアンプAMPのゲインは、上述した(8)式が成り立つように設定される。   That is, in the case of the readout range 60 using the B color pixel as the reference pixel, the gains of the amplifiers AMP of the R color pixel and the G color pixel included in the readout range 60 are set so as to satisfy the above-described equation (8).

以下、動画像の撮影時に撮像素子16から画像信号を読み出す場合の処理について説明する。この場合も、第1実施形態と同様に、加算間引き読出しにより撮像素子16から信号を読み出す。   Hereinafter, a process in the case where an image signal is read from the image sensor 16 when a moving image is captured will be described. Also in this case, the signal is read from the image sensor 16 by addition thinning readout as in the first embodiment.

まず、垂直走査回路44は、読出範囲60に含まれる4行に配置された各画素に対して制御信号φGAINを出力する。この出力を受けて、各画素のアンプAMPのゲインが1から所定値に切り替わる。そして、垂直走査回路44は、制御信号φSW3を出力する。これにより、読出範囲に含まれる各画素から、アンプAMPにより増幅された電圧信号が対応する垂直信号線に出力される。この垂直信号線に出力された電圧信号は、コンデンサCD1に蓄積される。その後、垂直走査回路44は、制御信号φSW3の出力を停止する。   First, the vertical scanning circuit 44 outputs a control signal φGAIN to each pixel arranged in four rows included in the reading range 60. In response to this output, the gain of the amplifier AMP of each pixel is switched from 1 to a predetermined value. Then, the vertical scanning circuit 44 outputs a control signal φSW3. As a result, the voltage signal amplified by the amplifier AMP is output from each pixel included in the readout range to the corresponding vertical signal line. The voltage signal output to the vertical signal line is accumulated in the capacitor CD1. Thereafter, the vertical scanning circuit 44 stops outputting the control signal φSW3.

水平走査回路45aは、制御信号φADD,φADD,φADDを出力する。これにより、加算トランジスタADD,ADD,ADDがオンとなり、6R−5列、6R−4列、6R−3列の垂直信号線47bが短絡する。これにより、各垂直信号線47bに接続されるコンデンサCD1の電荷量が同一となる。その後、水平走査回路45aは、φADD,φADD,φADDの出力を停止する。その後、水平走査回路45aは、制御信号φLINE1を出力する。これにより、6R−5列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、動画像の座標(x,y)にある画素のG色成分の信号値となる。 The horizontal scanning circuit 45a outputs control signals φADD 1 , φADD 2 , and φADD 3 . As a result, the addition transistors ADD 1 , ADD 2 , and ADD 3 are turned on, and the 6R-5 column, 6R-4 column, and 6R-3 column vertical signal lines 47b are short-circuited. As a result, the charge amount of the capacitor CD1 connected to each vertical signal line 47b becomes the same. Thereafter, the horizontal scanning circuit 45a stops the output of φADD 1 , φADD 2 , and φADD 3 . Thereafter, the horizontal scanning circuit 45a outputs a control signal φLINE1. As a result, the switch transistor SW1 connected to the vertical signal line 47b in the 6R-5th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD1 connected to the corresponding vertical signal line 47b is supplied to the column amplifier CAMP1. Is output. Here, the output voltage signal becomes the signal value of the G color component of the pixel located at the coordinates (x, y) of the moving image.

水平走査回路45bは、制御信号φADDを出力する。加算トランジスタADDがオンとなると、6R−5列目及び6R−4列目の垂直信号線47aが短絡する。これにより、6R−5列目及び6R−4列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADDの出力を停止する。そして、水平走査回路45bは、制御信号φLINE5を出力する。これにより、6R−5列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−5列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y)にある画素のR色成分の信号となる。 Horizontal scanning circuit 45b outputs a control signal φADD 7. When adding transistor ADD 7 is turned on, 6R-5 column and 6R-4 column vertical signal line 47a is short-circuited. As a result, the charge amount of the capacitor CD2 connected to the vertical signal lines 47a in the 6R-5th column and the 6R-4th column becomes the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 7. Then, the horizontal scanning circuit 45b outputs a control signal φLINE5. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-5th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-5th column becomes the R color component signal of the pixel at the coordinate (x, y) of the moving image.

これら読み出しの後、垂直走査回路44は、制御信号φSW3を出力する。また、水平走査回路45aは、制御信号φADD,φADD,φADDを出力する。これを受けて、加算トランジスタADD,ADD,ADDがオンとなり、6R−2列目、6R−1列目、6R列目、6R+1列目の垂直信号線47bが短絡する。これにより、これら垂直信号線47bに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD,φADD,φADDの出力を停止する。そして、水平走査回路45aは、制御信号φLINE4を出力する。これにより、6R−2列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、動画像の座標(x+1,y)にある画素のG色成分の信号となる。 After these readings, the vertical scanning circuit 44 outputs a control signal φSW3. Further, the horizontal scanning circuit 45a outputs control signals φADD 4 , φADD 5 and φADD 6 . In response to this, the addition transistors ADD 4 , ADD 5 , and ADD 6 are turned on, and the vertical signal lines 47b in the 6R-2, 6R-1, 6R, and 6R + 1 columns are short-circuited. Thereby, the charge amount of the capacitor CD2 connected to these vertical signal lines 47b becomes the same. Thereafter, the horizontal scanning circuit 45a stops outputting the control signals φADD 4 , φADD 5 , φADD 6 . Then, the horizontal scanning circuit 45a outputs a control signal φLINE4. As a result, the switch transistor SW1 connected to the vertical signal line 47b in the 6R-2th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD1 connected to the corresponding vertical signal line 47b is supplied to the column amplifier CAMP1. Is output. Here, the output voltage signal is a signal of the G color component of the pixel located at the coordinate (x + 1, y) of the moving image.

水平走査回路45bは、制御信号φADDを出力する。加算トランジスタADDがオンとなると、6R−2列目及び6R列目の垂直信号線47aが短絡する。これにより、6R−2列目及び6R列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADDの出力を停止する。そして、水平走査回路45bは、制御信号φLINE8を出力する。これにより、6R−2列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−2列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x+1,y)にある画素のB色成分の信号となる。 Horizontal scanning circuit 45b outputs a control signal φADD 9. When the addition transistor ADD 9 is turned on, the vertical signal lines 47a in the 6R-2 column and the 6R column are short-circuited. As a result, the charge amounts of the capacitors CD2 connected to the vertical signal lines 47a in the 6R-2 column and the 6R column become the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 9. Then, the horizontal scanning circuit 45b outputs a control signal φLINE8. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-2th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-2th column is a signal of the B color component of the pixel at the coordinate (x + 1, y) of the moving image.

このようにして、読出範囲を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出していく。その後、読出範囲を垂直方向に3画素ずらした後、読出範囲を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出す。
次に、G色画素及びB色画素が交互に配置された行の画素を基準画素とした加算間引き読出しについて説明する。なお、水平走査回路45aにおける信号の出力は、読出範囲の基準画素がR色画素、G色画素が交互に配置された行の画素となる場合の加算間引き読出しと同様の読み出し方法で実行される。これにより、動画像の座標(x,y+1)及び座標(x+1,y+1)にある画素のG色成分の信号値が取得される。
In this way, the readout range is read by addition thinning readout while shifting the readout range by 3 pixels in the horizontal direction. Thereafter, the readout range is shifted by 3 pixels in the vertical direction, and then readout is performed by addition thinning readout while the readout range is shifted by 3 pixels in the horizontal direction.
Next, addition thinning readout using a pixel in a row in which G color pixels and B color pixels are alternately arranged as a reference pixel will be described. The signal output in the horizontal scanning circuit 45a is executed by a reading method similar to the addition thinning-out reading when the reference pixel in the reading range is a pixel in a row in which R color pixels and G color pixels are alternately arranged. . Thereby, the signal value of the G color component of the pixel at the coordinate (x, y + 1) and the coordinate (x + 1, y + 1) of the moving image is acquired.

一方、水平走査回路45bは、制御信号φADDを出力する。加算トランジスタADDがオンとなると、6R−4列目及び6R−2列目の垂直信号線47aが短絡する。これにより、6R−4列目及び6R−2列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADDの出力を停止する。そして、水平走査回路45bは、制御信号φLINE6を出力する。これにより、6R−4列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−4列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y+1)にある画素のB色成分の信号となる。 On the other hand, the horizontal scanning circuit 45b outputs a control signal φADD 8. When adding transistor ADD 7 is turned on, 6R-4 column and 6R-2 column of the vertical signal line 47a is short-circuited. As a result, the charge amounts of the capacitors CD2 connected to the vertical signal lines 47a in the 6R-4th column and the 6R-2th column become the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 8. Then, the horizontal scanning circuit 45b outputs a control signal φLINE6. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-4th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-4th column becomes the signal of the B color component of the pixel at the coordinate (x, y + 1) of the moving image.

次に、水平走査回路45bは、制御信号φADD10を出力する。加算トランジスタADD10がオンとなると、6R−1列目及び6R+1列目の垂直信号線47aが短絡する。これにより、6R−1列目及び6R+1列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD10の出力を停止する。そして、水平走査回路45bは、制御信号φLINE5を出力する。これにより、6R−1列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−1列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x+1,y+1)にある画素のR色成分の信号となる。 Then, the horizontal scanning circuit 45b outputs a control signal φADD 10. When adding transistor ADD 10 is turned on, 6R-1 column and 6R + 1 column of the vertical signal line 47a is short-circuited. As a result, the charge amounts of the capacitors CD2 connected to the vertical signal lines 47a in the 6R-1 and 6R + 1 columns are the same. Thereafter, the horizontal scanning circuit 45 b stops outputting the control signal φADD 10 . Then, the horizontal scanning circuit 45b outputs a control signal φLINE5. As a result, the switch transistor SW2 connected to the vertical signal line 47a in the 6R-1 column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD2 connected to the corresponding vertical signal line 47a is supplied to the column amplifier CAMP2. Is output. Here, the voltage signal output from the vertical signal line 47a in the 6R-1 column is the R color component signal of the pixel at the coordinate (x + 1, y + 1) of the moving image.

このようにして、G色画素及びB色画素が交互に配置された行の画素を基準画素に設定した場合も、読出範囲60を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出す。   In this way, even when pixels in a row in which G color pixels and B color pixels are alternately arranged are set as reference pixels, readout is performed by addition thinning readout while the readout range 60 is shifted by 3 pixels in the horizontal direction.

上述した方法により、撮像素子16の画素部41に配置される複数の画素に対して加算間引き読出しが実行され、動画像の各画素の信号値が取得される。この場合、図に示すように、動画像を構成する各画素は、R色成分及びG色成分の信号値を有する画素と、G色成分及びB色成分の信号値を有する画素とが交互に配列された状態となる。これら動画像の各画素においては、1つの色成分の信号値が得られていない。そこで、第2実施形態においても、撮像素子16から出力される2つの色成分の信号値を有する画像信号に対して、画相処理回路23は、色補間処理を実行する。   By the above-described method, addition thinning-out readout is executed for a plurality of pixels arranged in the pixel unit 41 of the image sensor 16, and the signal value of each pixel of the moving image is acquired. In this case, as shown in the figure, each pixel constituting the moving image is alternately composed of pixels having R and G color component signal values and pixels having G and B color component signal values. It becomes an arrayed state. In each pixel of these moving images, a signal value of one color component is not obtained. Therefore, also in the second embodiment, the phase processing circuit 23 performs color interpolation processing on the image signal having the signal values of the two color components output from the image sensor 16.

例えば、座標(x+1,y+1)にある画素の周囲にある各画素の色差成分の信号値は、(9)式で求められる。   For example, the signal value of the color difference component of each pixel around the pixel at the coordinates (x + 1, y + 1) is obtained by equation (9).

Figure 2013197613
Figure 2013197613

次に、(9)式にて求めた色差成分の信号値を用いて、動画像の座標(x+1、y+1)の画素において不足するB色成分の信号値が求められる。なお、B色成分の信号値は、(10)式を用いて求められる。   Next, the signal value of the B color component that is insufficient in the pixel at the coordinate (x + 1, y + 1) of the moving image is obtained using the signal value of the color difference component obtained by the equation (9). Note that the signal value of the B color component is obtained using equation (10).

Figure 2013197613
Figure 2013197613

このようにして、動画像を構成する画素のそれぞれで不足する色成分の信号値を求めることで、色補間処理が実行される。このように、色補間処理を実行することで、R色成分、G色成分及びB色成分の全ての色成分を備えた画像信号を得ることができる。また、この場合も、第1実施形態と同様の効果を得ることができる。また、垂直方向だけでなく、水平方向の画素についても考慮していることから、動画像において偽色の発生をさらに抑制することができる。   In this way, the color interpolation processing is executed by obtaining the signal value of the color component that is insufficient in each of the pixels constituting the moving image. As described above, by executing the color interpolation process, an image signal including all the color components of the R color component, the G color component, and the B color component can be obtained. Also in this case, the same effect as in the first embodiment can be obtained. In addition, since consideration is given not only to the vertical direction but also to the horizontal pixel, the occurrence of false colors in the moving image can be further suppressed.

なお、第2実施形態における色補間処理として、(9)式及び(10)式の手法を用いているが、これに限定される必要はなく、例えば、対象となる画素の周囲に位置する画素の勾配を考慮した色補間処理を行うことも可能である。   In addition, although the method of (9) Formula and (10) Formula is used as the color interpolation process in 2nd Embodiment, it is not necessary to be limited to this, For example, the pixel located around the pixel of object It is also possible to perform color interpolation processing in consideration of the gradient.

この場合、まず、対象となる画素を座標(x+1,y+1)にある画素とする。この画素に対して、水平方向におけるB色画素の勾配と、垂直方向におけるB色画素の勾配とを、それぞれ(11)式より求める。   In this case, first, the target pixel is a pixel at coordinates (x + 1, y + 1). With respect to this pixel, the gradient of the B color pixel in the horizontal direction and the gradient of the B color pixel in the vertical direction are respectively obtained from Equation (11).

Figure 2013197613
Figure 2013197613

そして、求めた勾配の大小に基づいて色差成分の信号値を求める。色差成分の信号値は、(12)式にて求められる。   Then, the signal value of the color difference component is obtained based on the magnitude of the obtained gradient. The signal value of the color difference component is obtained by the equation (12).

Figure 2013197613
Figure 2013197613

この(12)式に基づいた色差成分の信号値を用いて、座標(x+1,y+1)にある画素のB色成分の信号値を求める。   Using the signal value of the color difference component based on the expression (12), the signal value of the B color component of the pixel at the coordinates (x + 1, y + 1) is obtained.

上述した第2実施形態では、読出範囲60に含まれる画素のアンプAMPのゲインを、ガウス分布に基づいて設定される重みに基づいた値とすることで、動画像の各画素の各色成分の重心位置が読出範囲における重心位置と一致するように設定している。しかしながら、読出範囲に含まれる画素のアンプAMPのゲインを、ガウス分布に基づいて設定される重みに基づいた値とする必要はない。例えば、読出範囲60に含まれる画素に対する重みを1として、読出範囲60に含まれる各画素のアンプAMPのゲインを設定することも可能である。以下、読出範囲60に含まれる画素に対する重みを1とした場合について、第3実施形態として説明する。   In the second embodiment described above, the gain of the amplifier AMP of the pixels included in the readout range 60 is set to a value based on the weight set based on the Gaussian distribution, so that the center of gravity of each color component of each pixel of the moving image is obtained. The position is set so as to coincide with the position of the center of gravity in the reading range. However, it is not necessary to set the gain of the amplifier AMP of the pixel included in the readout range to a value based on the weight set based on the Gaussian distribution. For example, it is possible to set the gain of the amplifier AMP of each pixel included in the readout range 60 by setting the weight for the pixels included in the readout range 60 to 1. Hereinafter, the case where the weight for the pixels included in the readout range 60 is set to 1 will be described as a third embodiment.

<第3実施形態>
この第3実施形態では、第2実施形態と同様に、撮影により得られる動画像の画像サイズが、静止画像の画像サイズに対して、水平方向及び垂直方向にそれぞれ1/3倍のサイズに設定される場合について説明する。この場合、撮像素子16の構成は、実施形態1と同一であることから、ここでは、撮像素子16の構成については省略する。
<Third Embodiment>
In the third embodiment, as in the second embodiment, the image size of the moving image obtained by shooting is set to 1/3 times the horizontal size and the vertical direction of the still image size. The case where it will be described. In this case, since the configuration of the image sensor 16 is the same as that of the first embodiment, the configuration of the image sensor 16 is omitted here.

上述したように、第3実施形態においては、読出範囲60に含まれる画素に対する重みを1として、読出範囲に含まれる各画素のアンプAMPのゲインを設定する。例えば図7に示すように、動画像における座標(x、y)にある画素のR色成分、G色成分の各信号値は、撮像素子16上の座標(i,j)にあるR色画素を左上端とした4×4画素の範囲(ハッチングの領域)に含まれる画素を用いた加重加算により求められる。
ここで、撮像素子16上の座標(i,j)にあるR色画素を基準画素とした場合には、動画像において、座標(x,y)にある画素のR色成分、G色成分の各信号値は(13)式で表すことができる。
As described above, in the third embodiment, the weight of the pixel included in the readout range 60 is set to 1, and the gain of the amplifier AMP of each pixel included in the readout range is set. For example, as shown in FIG. 7, the R color component and G color component signal values of the pixel at the coordinate (x, y) in the moving image are the R color pixel at the coordinate (i, j) on the image sensor 16. Is obtained by weighted addition using pixels included in a 4 × 4 pixel range (hatched area).
Here, when the R color pixel at the coordinates (i, j) on the image sensor 16 is used as the reference pixel, the R color component and G color component of the pixel at the coordinates (x, y) in the moving image are displayed. Each signal value can be expressed by equation (13).

Figure 2013197613
Figure 2013197613

ここで、(13)式に示すように、動画像において、座標(x,y)にある画素における各色成分の信号値は、読出範囲60に含まれる同色画素の信号値を単純加算平均した値となる。   Here, as shown in the equation (13), in the moving image, the signal value of each color component in the pixel at the coordinate (x, y) is a value obtained by simply adding and averaging the signal values of the same color pixel included in the readout range 60. It becomes.

つまり、動画像における座標(x,y)にある画素のR色成分、G色成分の信号値を読み出す際には、上述した(13)式が成り立つように、対象となる読出範囲60に含まれるR色画素、G色画素のそれぞれのアンプAMPのゲインをそれぞれ設定する。   That is, when reading the signal values of the R color component and G color component of the pixel located at the coordinates (x, y) in the moving image, they are included in the target read range 60 so that the above-described equation (13) is satisfied. The gain of each amplifier AMP of the R color pixel and G color pixel to be set is set.

同様にして、動画像において、座標(x+1,y+1)にある画素のR色成分、G色成分の信号値を読み出す場合も、図10に示す読出範囲60に含まれる同色画素の信号値を加算間引き読出しにより読み出す。さらに、動画像において座標(x+1,y)にある画素や座標(x,y+1)にある画素のそれぞれの画素のG色成分、B色成分の各信号値を読み出す場合も、対応する読出範囲に含まれる同色画素の信号値を単純加算平均する加算間引き読出しにより読み出す。   Similarly, when reading the signal values of the R color component and the G color component of the pixel at the coordinates (x + 1, y + 1) in the moving image, the signal values of the same color pixels included in the read range 60 shown in FIG. 10 are added. Read by thinning readout. Further, when reading the signal values of the G color component and the B color component of the pixel at the coordinate (x + 1, y) or the pixel at the coordinate (x, y + 1) in the moving image, the corresponding readout range is also included. The signal values of the same color pixels included are read out by addition thinning-out reading that is simply added and averaged.

図12は、動画像の各画素における色成分毎の重心位置について説明している。動画像の各画素を太線、撮像素子上の画素を薄線、読出範囲を実線で示す。ここでは、動画像の各画素を、R色成分及びG色成分の信号値を有する画素と、G色成分及びB色成分の信号値を有する画素とが、水平方向及び垂直方向のそれぞれに交互に配置される場合を示している。   FIG. 12 explains the barycentric position for each color component in each pixel of the moving image. Each pixel of the moving image is indicated by a thick line, a pixel on the image sensor is indicated by a thin line, and a readout range is indicated by a solid line. Here, each pixel of a moving image is composed of pixels having R and G component signal values and pixels having G and B component signal values alternately in the horizontal and vertical directions. The case where it arrange | positions is shown.

例えば座標(x,y)にある画素について考慮する。この座標(x,y)にある画素は、R色成分及びG色成分の信号値を有する画素である。この画素においては、G色成分の重心位置(図中記号「○」)が画素の中心に位置している。一方、R色成分の重心位置は、画素の中心(G色成分の重心位置)からずれた位置となる。また、R色成分及びG色成分の信号値を有する画素であっても、画素の位置によっては、R色成分の重心位置が、それぞれ異なる位置となっている。この重心位置のずれは、R色成分及びG色成分の信号値を有する画素だけではなく、G色成分及びB色成分の信号値を有する画素についても同様である。図中記号「×」にて示す位置がB色成分の重心位置である。このような重心位置のずれは、静止画像においては、偽色として見え画像劣化の原因となる。   For example, consider a pixel at coordinates (x, y). The pixel at the coordinates (x, y) is a pixel having signal values of the R color component and the G color component. In this pixel, the center position of the G color component (symbol “◯” in the figure) is located at the center of the pixel. On the other hand, the center of gravity of the R color component is shifted from the center of the pixel (the center of gravity of the G color component). In addition, even for pixels having signal values of R color components and G color components, the barycentric positions of the R color components are different positions depending on the positions of the pixels. This shift in the center of gravity position applies not only to the pixels having the signal values of the R color component and the G color component but also to the pixels having the signal values of the G color component and the B color component. The position indicated by the symbol “x” in the figure is the barycentric position of the B color component. Such a shift in the position of the center of gravity appears as a false color in a still image and causes image deterioration.

ここで、動画像の場合には、色空間フォーマットをRGB色空間からYUV420色空間に変換する処理を行うのが一般的である。つまり、この変換の際に、R色成分、G色成分、B色成分の各色成分における重心位置が一致する箇所でYUV420色空間における色差信号を生成することで、動画像を読み出す際の重心位置のずれの影響を低減する。   Here, in the case of a moving image, it is common to perform processing for converting the color space format from the RGB color space to the YUV420 color space. That is, during this conversion, a centroid position when reading out a moving image is generated by generating a color difference signal in the YUV420 color space at a location where the centroid positions of the R, G, and B color components match. Reduce the effects of misalignment.

以下、得られた動画像の色空間フォーマットを、RGB色空間からYUV420色空間に変換する処理について説明する。なお、この処理は、画像処理回路23において色空間変換処理として実行される。   Hereinafter, a process of converting the color space format of the obtained moving image from the RGB color space to the YUV420 color space will be described. This process is executed as a color space conversion process in the image processing circuit 23.

ここで、YUV420色空間は、2×2画素に対して、輝度信号(Y信号)を4画素、色差信号(U信号、及びV信号)をそれぞれ1画素とる色空間である。まず、画像処理回路23は、YUV色空間に変換するためのR色成分、G色成分及びB色成分の各信号値を(14)式を用いて生成する。   Here, the YUV420 color space is a color space that takes 4 pixels of luminance signals (Y signals) and 1 pixel of color difference signals (U signals and V signals) for 2 × 2 pixels. First, the image processing circuit 23 generates each signal value of the R color component, the G color component, and the B color component for conversion into the YUV color space using the equation (14).

Figure 2013197613
Figure 2013197613

そして、画像処理回路23は、(14)式により求めた値を用いて色空間変換処理を実行する。ここで、輝度信号(Y信号)については、動画像における座標(x,y)、座標(x+1,y)、座標(x,y+1)、座標(x+1,y+1)にある画素の信号値を用いて、各画素において不足する色成分の信号値を色補間処理により求めた後、R’色成分、G’色成分、B’色成分の信号値を用いて色空間を変換する。一方、色差信号(U信号及びV信号)については、(14)式にて求めたR”色成分、G”色成分、B”色成分を用いて色空間を変換する。なお、色空間を変換する式は、下記の(15)式となる。   Then, the image processing circuit 23 executes the color space conversion process using the value obtained by the equation (14). Here, for the luminance signal (Y signal), the signal values of the pixels at the coordinates (x, y), coordinates (x + 1, y), coordinates (x, y + 1), and coordinates (x + 1, y + 1) in the moving image are used. Thus, after the signal value of the color component that is insufficient in each pixel is obtained by color interpolation processing, the color space is converted using the signal values of the R ′ color component, the G ′ color component, and the B ′ color component. On the other hand, for the color difference signals (U signal and V signal), the color space is converted using the R ″ color component, the G ″ color component, and the B ″ color component obtained by the equation (14). The equation to be converted is the following equation (15).

Figure 2013197613
Figure 2013197613

この色空間変換処理を行うことで、YUV420色空間に変換された動画像の各画素の色成分の重心位置が、撮像素子の座標(i+3,j+3)の位置(動画像の座標(x+0.5,y+0.5)の位置)となる。なお、図12中「☆」で示す位置が、YUV420色空間に変換された動画像の各画素における重心位置である。   By performing this color space conversion process, the barycentric position of the color component of each pixel of the moving image converted into the YUV420 color space is the position of the coordinates (i + 3, j + 3) of the image sensor (moving image coordinates (x + 0.5 , Y + 0.5)). Note that the position indicated by “☆” in FIG. 12 is the barycentric position of each pixel of the moving image converted into the YUV420 color space.

このように、対象となる4行4列の範囲における同一色成分の画素毎の単純加算平均により加算間引き読出し行う場合には、読み出される動画像の各画素において、各色成分の重心位置が異なる。このような場合、画像処理回路23により実行される色空間変換処理の際に、各色成分の重心位置が一致するように、動画像における色空間フォーマットを変換することにより、重心位置のズレの発生を防止でき、その結果、動画像における偽色の発生を防止することができる。   As described above, in the case of performing addition thinning readout by simple addition averaging for each pixel of the same color component in the target 4 × 4 column range, the barycentric position of each color component is different for each pixel of the moving image to be read. In such a case, when the color space conversion process executed by the image processing circuit 23 is performed, the color space format in the moving image is converted so that the barycentric positions of the respective color components coincide with each other, thereby generating a shift of the barycentric position. As a result, it is possible to prevent the occurrence of false colors in moving images.

なお、第3実施形態の場合、読み出された画像信号に対して、画像処理回路23による上記の色空間変換処理を行うことで、第1実施形態と同様の効果を得ることができる。   In the case of the third embodiment, the same effect as that of the first embodiment can be obtained by performing the above color space conversion processing by the image processing circuit 23 on the read image signal.

上述した第1から第3実施形態においては、取得される動画像の画像サイズは、静止画像の画像サイズに対して水平方向に1/3倍、垂直方向に1/3倍の画像サイズとしているが、これに限定される必要はなく、動画像の画像サイズは、静止画像の画像サイズに対して水平方向に1/4倍、垂直方向に1/4倍してもよい。   In the first to third embodiments described above, the image size of the acquired moving image is set to an image size that is 1/3 times in the horizontal direction and 1/3 times in the vertical direction relative to the image size of the still image. However, the present invention is not limited to this, and the image size of the moving image may be 1/4 times in the horizontal direction and 1/4 times in the vertical direction with respect to the image size of the still image.

以下、動画像の画像サイズが、静止画像の画像サイズに対して、水平方向に1/4倍、垂直方向に1/4倍となる場合について、第4実施形態と称して説明する。   Hereinafter, a case where the image size of the moving image is 1/4 times in the horizontal direction and 1/4 times in the vertical direction with respect to the image size of the still image will be referred to as a fourth embodiment.

<第4実施形態>
この第4実施形態においては、G色画素を読み出すための切替え部、及びR色画素又はB色画素を読み出すための切替え部の構成が第1実施形態とは異なる。以下、G色画素を読み出すための切替え部に対して符号43a’を付し、R色画素又はB色画素を読み出すための切替え部に対して符号43b’を付して説明する。なお、他の構成は第1実施形態と共通することから、第1実施形態と同一の符号を付して説明する。
<Fourth embodiment>
In the fourth embodiment, the configuration of a switching unit for reading G color pixels and a switching unit for reading R color pixels or B color pixels are different from those of the first embodiment. Hereinafter, the switching unit for reading the G color pixel will be denoted by reference numeral 43a ′, and the switching unit for reading the R color pixel or B color pixel will be denoted by reference numeral 43b ′. Since other configurations are the same as those in the first embodiment, the same reference numerals as those in the first embodiment are used for explanation.

図13に示すように、切替え部43a’は、コンデンサCD3、加算トランジスタADD11、ADD12、ADD13、スイッチングトランジスタSW4の他、制御信号φADD11、φADD12、φADD13及び制御信号φLINE9,φLINE10,φLINE11,φLINE12を供給する7本の行信号線とから構成される。ここで、加算トランジスタADD11は制御信号φADD11が出力されることでオンとなり、4T−3(T=1,2,3,・・・)列の垂直信号線47bと、4T−2列目の垂直信号線47bとが短絡される。また、加算トランジスタADD12は制御信号φADD12が出力されることでオンとなり、4T−2列目の垂直信号線47bと、4T−1列目の垂直信号線47bが短絡される。また、加算トランジスタADD13は制御信号φADD13が出力されることでオンとなり、4T−1列目の垂直信号線47bと、4T列目の垂直信号線47bとが短絡される。 As shown in FIG. 13, the switching unit 43a ′ includes the capacitor CD3, the addition transistors ADD 11 , ADD 12 , ADD 13 and the switching transistor SW4, as well as the control signals φADD 11 , φADD 12 , φADD 13 and the control signals φLINE9, φLINE10, It consists of seven row signal lines for supplying φLINE11 and φLINE12. Here, the addition transistor ADD 11 is turned on by the control signal FaiADD 11 is outputted, 4T-3 (T = 1,2,3 , ···) and the vertical signal line 47b of the column, 4T-2 column The vertical signal line 47b is short-circuited. The addition transistor ADD 12 the control signal FaiADD 12 turned on by the output, and 4T-2 column of the vertical signal line 47b, 4T-1 column of the vertical signal line 47b is short-circuited. Further, the addition transistor ADD 13 is turned on when the control signal φADD 13 is output, and the vertical signal line 47b in the 4T-1 column and the vertical signal line 47b in the 4T column are short-circuited.

切替え部43b’は、コンデンサCD4、加算トランジスタADD14,ADD15,ADD16,ADD17,スイッチングトランジスタSW4の他、制御信号φADD14、φADD15,φADD16,φADD17及び制御信号φLINE13,φLINE14,φLINE15,φLINE16を供給する8本の行信号線とから構成される。ここで、加算トランジスタADD14は制御信号φADD14が出力されることでオンとなり、8U−7(U=1,2,3,・・・)列の垂直信号線47aと、8U−5列目の垂直信号線が短絡される。また、加算トランジスタADD15は制御信号φADD15が出力されることでオンとなり、8U−6列目の垂直信号線47aと、8U−4列目の垂直信号線が短絡される。 Switching unit 43 b 'includes a capacitor CD4, adding transistor ADD 14, ADD 15, ADD 16 , ADD 17, other switching transistor SW4, control signals φADD 14, φADD 15, φADD 16 , φADD 17 and the control signal φLINE13, φLINE14, φLINE15 , ΦLINE16 and eight row signal lines for supplying the φLINE16. Here, the addition transistor ADD 14 is turned on when the control signal φADD 14 is output, and the vertical signal line 47a in the 8U-7 (U = 1, 2, 3,...) Column and the 8U-5th column. The vertical signal line is short-circuited. The addition transistor ADD 15 is turned on when the control signal φADD 15 is output, and the vertical signal line 47a in the 8U-6 column and the vertical signal line in the 8U-4 column are short-circuited.

また、加算トランジスタADD16は制御信号φADD16が出力されることでオンとなり、8U−3列の垂直信号線47aと、8U−1列目の垂直信号線が短絡される。また、加算トランジスタADD17は制御信号φADD17が出力されることでオンとなり、8U−2列目の垂直信号線47aと、8U列目の垂直信号線が短絡される。 Further, the addition transistor ADD 16 is turned on when the control signal φADD 16 is output, and the vertical signal line 47a in the 8U-3 column and the vertical signal line in the 8U-1 column are short-circuited. Further, the addition transistor ADD 17 is turned on when the control signal φADD 17 is output, and the vertical signal line 47a in the 8U-2 column and the vertical signal line in the 8U column are short-circuited.

上述したように、第4実施形態では、動画像の画像サイズを、静止画像の画像サイズに対して水平方向に1/4倍、垂直方向に1/4倍した画像サイズとすることを目的にしている。つまり、この第4実施形態の場合には、4行4列の画素の範囲を読出範囲する点では第1実施形態と同一であるが、この第4実施形態では、水平方向又は垂直方向に4画素ずつずらしながら、動画像における画素の各色成分を読み出す点で第1実施形態とは異なる。図14は、撮像素子16上の各画素の位置と、動画像における各画素の位置との関係を示している。ここで、ハッチングで示す4行4列の範囲(読出範囲)がそれぞれ、動画像の各画素に対応する。この場合、読出範囲60に含まれる各画素の配置は同一の画素の配置となる。   As described above, the purpose of the fourth embodiment is to set the image size of a moving image to 1/4 times the horizontal image size and 1/4 times the vertical image size. ing. In other words, the fourth embodiment is the same as the first embodiment in that the pixel range of 4 rows and 4 columns is read out, but in the fourth embodiment, 4 pixels are arranged in the horizontal direction or the vertical direction. This is different from the first embodiment in that each color component of the pixel in the moving image is read out while shifting the pixel by pixel. FIG. 14 shows the relationship between the position of each pixel on the image sensor 16 and the position of each pixel in the moving image. Here, a range of 4 rows and 4 columns (reading range) indicated by hatching corresponds to each pixel of the moving image. In this case, the arrangement of each pixel included in the readout range 60 is the same pixel arrangement.

なお、第4実施形態においては、第2実施形態と同様に、R色成分及びG色成分の読み出しと、G色成分及びB色成分の読み出しとを交互に行う場合について説明する。第1実施形態と同様に、読出範囲60に対する各画素の重みは、ガウス分布に基づいて設定される(図5参照)。   In the fourth embodiment, as in the second embodiment, a case will be described in which reading of the R color component and the G color component and reading of the G color component and the B color component are alternately performed. As in the first embodiment, the weight of each pixel with respect to the readout range 60 is set based on a Gaussian distribution (see FIG. 5).

まず、読出範囲60に含まれる各画素から、R色成分及びG色成分を読み出す場合について説明する。この場合、読出範囲に含まれるR色画素及びG色画素のアンプAMPのゲインは、以下の(16)式を考慮して設定される。   First, a case where an R color component and a G color component are read from each pixel included in the reading range 60 will be described. In this case, the gains of the amplifiers AMP of the R color pixel and the G color pixel included in the reading range are set in consideration of the following equation (16).

Figure 2013197613
Figure 2013197613

また、読出範囲に含まれる各画素から、G色成分及びB色成分を読み出す場合について説明する。この場合、読出範囲に含まれるG色画素及びB色画素のアンプAMPのゲインは、以下の(17)式を考慮して設定される。   A case where the G color component and the B color component are read from each pixel included in the reading range will be described. In this case, the gain of the amplifier AMP of the G color pixel and the B color pixel included in the read range is set in consideration of the following equation (17).

Figure 2013197613
Figure 2013197613

次に、動画像の撮影時に、読出範囲60に含まれる各画素からR色成分及びG色成分の信号値を読み出す場合の処理について説明する。垂直走査回路44は、読出範囲となる4行に配列される各画素に対して制御信号φGAINを出力する。この出力を受けて、各画素のアンプAMPのゲインが1から所定値に切り替わる。そして、制御信号φSW3を出力することで、各画素から、アンプAMPにより増幅された電圧信号が対応する垂直信号線に出力される。この垂直信号線に出力された電圧信号は、コンデンサCD3又はコンデンサCD4に蓄積される。その後、垂直走査回路44は、制御信号φSW3の出力を停止する。   Next, a process in the case of reading out the signal values of the R color component and the G color component from each pixel included in the reading range 60 when shooting a moving image will be described. The vertical scanning circuit 44 outputs a control signal φGAIN to each pixel arranged in four rows serving as a reading range. In response to this output, the gain of the amplifier AMP of each pixel is switched from 1 to a predetermined value. Then, by outputting the control signal φSW3, the voltage signal amplified by the amplifier AMP is output from each pixel to the corresponding vertical signal line. The voltage signal output to the vertical signal line is accumulated in the capacitor CD3 or the capacitor CD4. Thereafter, the vertical scanning circuit 44 stops outputting the control signal φSW3.

水平走査回路45aは、制御信号φADD11,φADD12,φADD13を出力する。これにより、加算トランジスタADD11,ADD12,ADD13がオンとなり、4T−3列目、4T−2列目、4T−1列目及び4T列目の垂直信号線47bが短絡される。これにより、4T−3列目、4T−2列目、4T−1列目及び4T列目の各垂直信号線47bに接続されるコンデンサCD3の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD11,φADD12,φADD13の出力を停止する。そして、水平走査回路45aは、制御信号φLINE9を出力する。これにより、4T−3列目の垂直信号線47bに接続されたスイッチトランジスタSW4がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD3に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、カラムアンプCAMP1から出力される電圧信号が、例えば動画像における座標(x,y)や座標(x+1,y)にある画素のG色成分の信号となる。 The horizontal scanning circuit 45a outputs control signals φADD 11 , φADD 12 , φADD 13 . As a result, the addition transistors ADD 11 , ADD 12 , and ADD 13 are turned on, and the vertical signal lines 47b in the 4T-3rd, 4T-2th, 4T-1th, and 4Tth columns are short-circuited. As a result, the charge amounts of the capacitors CD3 connected to the vertical signal lines 47b in the 4T-3rd, 4T-2th, 4T-1th, and 4Tth columns become the same. Thereafter, the horizontal scanning circuit 45a stops outputting the control signals φADD 11 , φADD 12 , φADD 13 . Then, the horizontal scanning circuit 45a outputs a control signal φLINE9. As a result, the switch transistor SW4 connected to the vertical signal line 47b in the 4T-3th column is turned on, and a voltage signal based on the amount of charge accumulated in the capacitor CD3 connected to the corresponding vertical signal line 47b is supplied to the column amplifier CAMP1. Is output. Here, the voltage signal output from the column amplifier CAMP1 is, for example, a G color component signal of a pixel at coordinates (x, y) or coordinates (x + 1, y) in the moving image.

水平走査回路45bは、制御信号φADD14を出力する。これにより、加算トランジスタADD14がオンとなる。加算トランジスタADD14がオンとなると、8U−7列目及び8U−5列目の垂直信号線47aが短絡する。これにより、8U−7列目及び8U−5列目の各垂直信号線47bに接続されるコンデンサCD4の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD14の出力を停止する。そして、水平走査回路45bは、制御信号φLINE13を出力する。制御信号φLINE13が出力されることで、8U−7列目の垂直信号線47bに接続されたスイッチトランジスタSW4がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD4に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、出力される電圧信号が、例えば動画像における座標(x,y)にある画素のR色成分の信号となる。 Horizontal scanning circuit 45b outputs a control signal φADD 14. As a result, the addition transistor ADD 14 is turned on. When the addition transistor ADD 14 is turned on, the vertical signal lines 47a in the 8U-7th column and the 8U-5th column are short-circuited. Thereby, the charge amount of the capacitor CD4 connected to each vertical signal line 47b in the 8U-7 column and the 8U-5 column becomes the same. Thereafter, the horizontal scanning circuit 45 b stops outputting the control signal φADD 14 . Then, the horizontal scanning circuit 45b outputs a control signal φLINE13. By outputting the control signal φLINE13, the switch transistor SW4 connected to the vertical signal line 47b in the 8U-7th column is turned on, and the charge amount accumulated in the capacitor CD4 connected to the corresponding vertical signal line 47b is increased. A voltage signal based thereon is output to the column amplifier CAMP2. Here, the output voltage signal is, for example, an R color component signal of a pixel located at coordinates (x, y) in the moving image.

次に、読出範囲に含まれる各画素からG色成分及びB色成分の信号値を読み出す場合の処理について説明する。なお、G色成分の信号値を読み出す処理は、同一であるので省略する。B色成分の信号値を読み出す場合、水平走査回路45bは、制御信号φADD17を出力する。これにより、加算トランジスタADD17がオンとなる。加算トランジスタADD17がオンとなると、8U−6列目及び8U列目の垂直信号線47aが短絡する。これにより、8U−6列目及び8U列目の各垂直信号線47bに接続されるコンデンサCD4の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD17の出力を停止する。そして、水平走査回路45bは、制御信号φLINE14を出力する。制御信号φLINE14が出力されることで、8U−6列目の垂直信号線47aに接続されたスイッチトランジスタSW4がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD4に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、出力される電圧信号が、例えば動画像における座標(x+1、y)にある画素のB色成分の信号となる。 Next, processing in the case where signal values of the G color component and the B color component are read from each pixel included in the reading range will be described. Note that the process of reading the signal value of the G color component is the same, and is omitted. When reading a signal value of the B color component, the horizontal scanning circuit 45b outputs a control signal φADD 17. As a result, the addition transistor ADD 17 is turned on. When the addition transistor ADD 17 is turned on, the vertical signal lines 47a in the 8U-6th column and the 8Uth column are short-circuited. As a result, the charge amount of the capacitor CD4 connected to each vertical signal line 47b in the 8U-6th column and the 8Uth column becomes the same. Thereafter, the horizontal scanning circuit 45b stops outputting the control signal φADD 17. Then, the horizontal scanning circuit 45b outputs a control signal φLINE14. By outputting the control signal φLINE14, the switch transistor SW4 connected to the vertical signal line 47a in the 8U-6th column is turned on, and the charge amount accumulated in the capacitor CD4 connected to the corresponding vertical signal line 47a is increased. A voltage signal based thereon is output to the column amplifier CAMP2. Here, the output voltage signal is, for example, a signal of the B color component of the pixel located at the coordinates (x + 1, y) in the moving image.

上述した処理を行うことで、読出範囲からR色成分及びG色成分の信号値、或いはG色成分及びB色成分の信号値のいずれかが、動画像の各画素における信号値として読み出されていく。   By performing the above-described processing, either the R color component and G color component signal values or the G color component and B color component signal values are read from the readout range as signal values in each pixel of the moving image. To go.

上述したように、動画像の各画素における信号値は、R色成分及びG色成分の信号値、或いはG色成分及びB色成分の信号値である。この場合も、画像処理回路23は、撮像素子16から出力される動画像に対して色補間処理を実行する。この色補間処理は、例えば上述した(5)式及び(6)式を用いて、又は、(9)式から(12)式を用いて実行される。   As described above, the signal value in each pixel of the moving image is the signal value of the R color component and the G color component, or the signal value of the G color component and the B color component. Also in this case, the image processing circuit 23 performs color interpolation processing on the moving image output from the image sensor 16. This color interpolation processing is executed using, for example, the above-described equations (5) and (6) or using equations (9) to (12).

このように、色補間処理を実行することで、R色成分、G色成分及びB色成分の全ての色成分を備えた画像信号を得ることができる。この第4実施形態においても、撮像素子から読み出される動画像の画像サイズは、静止画像の画像サイズに対して、水平方向に1/4倍、垂直方向に1/4倍の画像サイズであることから、読み出される画像信号のデータ量は、静止画像の際に読み出される画像信号のデータ量の1/4×1/4×2=1/8倍となる。これにより、動画像の撮影時に各フレーム画像を高速で読み出すことができる。   As described above, by executing the color interpolation process, an image signal including all the color components of the R color component, the G color component, and the B color component can be obtained. Also in the fourth embodiment, the image size of the moving image read from the image sensor is 1/4 times the horizontal size and 1/4 times the vertical size relative to the still image size. Therefore, the data amount of the image signal to be read is 1/4 × 1/4 × 2 = 1/8 times the data amount of the image signal read in the case of a still image. Thus, each frame image can be read at a high speed when a moving image is captured.

また、第1実施形態と同様に、動画像の各画素における各色成分の信号値は、加算読み出しにより読み出された後、色補間処理が実行される。例えば通常の間引き読出しにより読み出される画像信号を用いた色補間処理の場合には、読み出されていない画素の信号値を用いずに色補間処理を行うため、モアレや偽色が発生しやすくなるが、第1実施形態においては、加算間引き読出しにより得られる各色成分の信号値の重心位置が一致するように、各画素のゲインを設定している。このため、得られる動画像に対して色補間処理を行った場合であっても、モアレや偽色の発生を抑制することができる。   Similarly to the first embodiment, the signal value of each color component in each pixel of the moving image is read by addition reading, and then color interpolation processing is executed. For example, in the case of color interpolation processing using an image signal read out by normal thinning readout, color interpolation processing is performed without using signal values of pixels that have not been read out, so that moire and false colors are likely to occur. However, in the first embodiment, the gain of each pixel is set so that the barycentric positions of the signal values of the respective color components obtained by the addition thinning readout match. For this reason, even when color interpolation processing is performed on the obtained moving image, it is possible to suppress the occurrence of moire and false colors.

この第4実施形態では、動画像を構成する画素のうち、R色成分及びG色成分の信号値を読み出す画素と、G色成分及びB色成分の信号値を読み出す画素とを、水平方向及び垂直方向に対して交互に配置されるようにしているが、これに限定される必要はなく、動画像の画素のうち、R色成分及びG色成分の信号値を読み出す画素と、G色成分及びB色成分の信号値を読み出す画素とを、垂直方向にのみ交互に配置されるようにしてもよい。   In the fourth embodiment, among the pixels constituting the moving image, the pixels that read the signal values of the R color component and the G color component and the pixels that read the signal values of the G color component and the B color component are set in the horizontal direction and The pixels are alternately arranged in the vertical direction, but the present invention is not limited to this. Among the pixels of the moving image, the pixels for reading out the signal values of the R color component and the G color component, and the G color component Also, the pixels for reading out the signal values of the B color component may be alternately arranged only in the vertical direction.

上述した第3実施形態及び第4実施形態においては、動画像の画像サイズが、静止画像の画像サイズに対して水平方向に1/4、垂直方向に1/4の画像サイズの場合を示している。しかしながら、例えばアスペクト比3:2となる撮像素子が搭載された撮像装置において、HD動画に必要な水平方向の画素数1920を満たす画像サイズとする場合には、撮像素子の画素数が、水平方向(1920×4)、垂直方向(1920×2/3×4)の計37.5Mとなる。ここで、撮像装置に搭載される撮像素子の画素数が37.5M画素を満足していない場合には、加算間引き読出しにより読み出した動画像は、HD動画における画像サイズを満足していない。このような場合には、得られる動画像に対して超解像度処理を施すことも可能である。   In the third embodiment and the fourth embodiment described above, the case where the image size of the moving image is 1/4 in the horizontal direction and 1/4 in the vertical direction with respect to the image size of the still image is shown. Yes. However, for example, in an imaging apparatus equipped with an imaging device with an aspect ratio of 3: 2, when the image size satisfies the horizontal pixel number 1920 necessary for HD video, the number of pixels of the imaging device is horizontal. (1920 × 4) in the vertical direction (1920 × 2/3 × 4) is 37.5M in total. Here, when the number of pixels of the image sensor mounted on the imaging device does not satisfy 37.5 M pixels, the moving image read by the addition thinning readout does not satisfy the image size in the HD moving image. In such a case, it is possible to perform super-resolution processing on the obtained moving image.

上述した第1から第3実施形態では、動画像の画像サイズが、静止画像の画像サイズに対して、水平方向に1/3倍、垂直方向に1/3倍の画像サイズに設定される場合について説明している。また、第4実施形態では、動画像の画像サイズが、静止画像の画像サイズに対して、水平方向に1/4倍、垂直方向に1/4倍の画像サイズに設定される場合について説明している。しかしながら、水平方向の縮小率や垂直方向の縮小率は、その一例を示したものであり、これら縮小率は適宜設定してよい。また、上述した各実施形態では、水平方向の縮小率と垂直方向の縮小率とを同一の縮小率としているが、これに限定される必要はなく、水平方向の縮小率と垂直方向の縮小率とを異なる縮小率とすることも可能である。   In the first to third embodiments described above, the image size of the moving image is set to an image size that is 1/3 times in the horizontal direction and 1/3 times in the vertical direction relative to the image size of the still image. Describes. In the fourth embodiment, a case where the image size of the moving image is set to an image size that is 1/4 times in the horizontal direction and 1/4 times in the vertical direction with respect to the image size of the still image will be described. ing. However, the reduction ratio in the horizontal direction and the reduction ratio in the vertical direction are just examples, and these reduction ratios may be set as appropriate. In each of the above-described embodiments, the horizontal reduction ratio and the vertical reduction ratio are set to the same reduction ratio. However, the present invention is not limited to this, and the horizontal reduction ratio and the vertical reduction ratio are not limited thereto. It is also possible to use different reduction ratios.

上述した第1から第4実施形態においては、撮像素子の各画素に配置されるカラーフィルタを、R色、G色、B色としているが、これに限定される必要はなく、シアン(C)、イエロー(Y)、マゼンタ(M)のカラーフィルタであってもよい。   In the first to fourth embodiments described above, the color filters arranged in each pixel of the image sensor are R color, G color, and B color. However, the present invention is not limited to this, and cyan (C) , Yellow (Y) and magenta (M) color filters.

上述した第1から第4実施形態においては、R色画素、G色画素及びB色画素を2行2列で配置したベイヤー配列としているが、これに限定される必要はなく、他の配列にて各色成分の画素を配置することも可能である。   In the first to fourth embodiments described above, a Bayer array in which R color pixels, G color pixels, and B color pixels are arranged in 2 rows and 2 columns is used. However, the present invention is not limited to this, and other arrays may be used. It is also possible to arrange pixels of each color component.

上述した第1から第4実施形態においては、動画像の撮影時に、加算間引き読出しを行うことを前提に説明しているが、これに限定される必要はなく、静止画像の撮影時に、第1から第4実施形態のいずれかの手法を用いることも可能である。   In the first to fourth embodiments described above, the description has been made on the assumption that addition thinning readout is performed at the time of moving image shooting. However, the present invention is not limited to this. It is also possible to use any method of the fourth embodiment.

上述した第1実施形態から第4実施形態においては、撮像装置を例に取り上げて説明しているが、これに限定される必要はなく、画像処理装置の場合であってもよい。図15に示すように、画像処理装置60は、縮小画像生成部61及び色補間処理部62を備えている。この画像処理装置60には、例えば撮像素子から全画素読み出しにて読み出された動画像が、直接、或いは、バッファメモリや記憶媒体を介して入力される。縮小画像生成部61は、入力される画像に対して、上述した(1)式から(4)式、又は、(7)式及び(8)式を用いて、又は(13)式、或いは(16)式を用いて、縮小された動画像を生成する。色補間部62は、縮小された動画像に対して、(5)式及び(6)式、又は(9)式から(12)式、又は(14)式及び(15)式を用いて、色補間処理を行い、動画像における各画素に対して欠けている色成分を補間する。そして、画像処理回路60は、必要に応じて、色補間処理が施された動画像に対して、色空間フォーマットをRGB色空間からYUV420色空間に変換する処理を行う。   In the first to fourth embodiments described above, the image pickup apparatus has been described as an example. However, the present invention is not limited to this and may be an image processing apparatus. As illustrated in FIG. 15, the image processing device 60 includes a reduced image generation unit 61 and a color interpolation processing unit 62. For example, a moving image read from the image sensor by reading all pixels is input to the image processing apparatus 60 directly or via a buffer memory or a storage medium. The reduced image generation unit 61 uses the above-described formulas (1) to (4), formulas (7) and (8), formula (13), or ( A reduced moving image is generated using the equation (16). The color interpolation unit 62 uses the equations (5) and (6), or (9) to (12), or (14) and (15) for the reduced moving image, Color interpolation processing is performed to interpolate missing color components for each pixel in the moving image. Then, the image processing circuit 60 performs a process of converting the color space format from the RGB color space to the YUV420 color space for the moving image that has been subjected to the color interpolation process, as necessary.

また、画像処理装置の他に、画像処理プログラムであってもよい。この場合、図16に示すフローチャートの処理をコンピュータにて実行することができる画像処理プログラムであればよい。   In addition to the image processing apparatus, an image processing program may be used. In this case, any image processing program that can execute the processing of the flowchart shown in FIG.

以下、画像処理プログラムにおける処理の手順について説明する。   Hereinafter, a processing procedure in the image processing program will be described.

ステップS101は、動画像を入力する処理である。この処理を行うことで、例えば全画素読み出しにて読み出された動画像をコンピュータが受け付ける。   Step S101 is a process for inputting a moving image. By performing this process, for example, the computer accepts a moving image read by all-pixel reading.

ステップS102は、動画像の生成処理である。ステップS101にて受け付けた動画像に対して、動画像生成処理を実行する。なお、この動画像生成処理は、上述した(1)式から(4)式、又は、(7)式及び(8)式を用いて、又は(13)式、或いは(16)式を用いて実行する。これにより、例えば、水平方向に1/3、垂直方向に1/3に縮小された動画像が生成される。この動画像においては、R色、G色、B色のいずれかの色成分の信号値を有する動画像が、R色、G色、B色の全ての色成分の信号値を有する動画像となる。   Step S102 is a moving image generation process. A moving image generation process is performed on the moving image received in step S101. This moving image generation processing is performed using the above-described equations (1) to (4), or (7) and (8), or (13) or (16). Run. Thereby, for example, a moving image reduced to 1/3 in the horizontal direction and 1/3 in the vertical direction is generated. In this moving image, a moving image having a signal value of any color component of R, G, and B is a moving image having signal values of all the color components of R, G, and B. Become.

ステップS103は、動画像の生成処理が終了したか否かを判定する処理である。この画像処理プログラムを実行するコンピュータのCPUは、ステップS102における動画像の生成処理が終了したか否かにより、このステップS103の判定処理を実行する。動画像の生成処理が終了している場合には、このステップS103の判定処理がYesとなり、ステップS104に進む。一方、動画像の生成処理が終了していない場合には、ステップS103の判定処理がNoとなり、ステップS102に戻る。   Step S103 is a process of determining whether or not the moving image generation process is completed. The CPU of the computer that executes the image processing program executes the determination process in step S103 depending on whether or not the moving image generation process in step S102 is completed. If the moving image generation process has been completed, the determination process in step S103 is Yes, and the process proceeds to step S104. On the other hand, if the moving image generation process has not ended, the determination process in step S103 is No and the process returns to step S102.

ステップS104は、縮小された動画想に対する色補間処理である。色補間部62は、縮小された動画像に対して、(5)式及び(6)式、又は(9)式から(12)式、又は(14)式及び(15)式を用いて、色補間処理を行う。   Step S104 is a color interpolation process for the reduced moving image idea. The color interpolation unit 62 uses the equations (5) and (6), or (9) to (12), or (14) and (15) for the reduced moving image, Perform color interpolation processing.

ステップS105は、縮小された動画像を出力する処理である。上述したコンピュータのCPUは、縮小した動画像を、例えば記憶媒体に出力する。   Step S105 is processing to output a reduced moving image. The CPU of the computer described above outputs the reduced moving image to, for example, a storage medium.

なお、この画像処理プログラムは、メモリカード、磁気ディスク、光学ディスクなど、コンピュータにより読み取り可能な記憶媒体に記憶されていることが好ましい。   The image processing program is preferably stored in a computer-readable storage medium such as a memory card, a magnetic disk, or an optical disk.

10…撮像装置、16…撮像素子、41…画素部、42a,42b…プリチャージ部、43a,43b…切替え部、44…垂直走査回路、45a,45b…水平走査回路 DESCRIPTION OF SYMBOLS 10 ... Imaging device, 16 ... Imaging device, 41 ... Pixel part, 42a, 42b ... Precharge part, 43a, 43b ... Switching part, 44 ... Vertical scanning circuit, 45a, 45b ... Horizontal scanning circuit

Claims (13)

少なくとも1以上の色成分を用いて同一の色空間を表現することが可能な複数の色成分のいずれかの色成分の光を受光する複数の画素が、水平方向である行方向と、垂直方向である列方向との2次元に配置された画素配列と、
前記画素配列に配置される前記複数の画素に対する読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な2つの色成分のいずれかの信号値を有する画素に対する加重加算を色成分毎に実行することで、前記2つの色成分の信号値を備えた画素からなる画像を取得する読出回路と、
を備えたことを特徴とする撮像装置。
A plurality of pixels that receive light of any one of a plurality of color components capable of expressing the same color space using at least one or more color components includes a horizontal row direction and a vertical direction. A pixel array arranged two-dimensionally with the column direction,
The signal value of one of two color components capable of generating a signal value of a color difference component among the pixels included in the readout range while shifting the readout range for the plurality of pixels arranged in the pixel array. A readout circuit that obtains an image composed of pixels having signal values of the two color components by performing weighted addition on the pixels having
An imaging apparatus comprising:
請求項1に記載の撮像装置において、
前記複数の画素は、赤(R)色を受光するR色画素、緑(G)色を受光するG色画素、青(B)色を受光するB色画素から構成されることを特徴とする撮像装置。
The imaging device according to claim 1,
The plurality of pixels include an R color pixel that receives red (R) color, a G color pixel that receives green (G) color, and a B color pixel that receives blue (B) color. Imaging device.
請求項2に記載の撮像装置において、
前記読出回路は、前記色差成分の信号値を生成することが可能な2つの色成分の画素として、R色画素及びG色画素、或いは、G色画素及びB色画素を読み出すことを特徴とする撮像装置。
The imaging device according to claim 2,
The readout circuit reads out an R color pixel and a G color pixel, or a G color pixel and a B color pixel as two color component pixels capable of generating a signal value of the color difference component. Imaging device.
請求項1に記載の撮像装置において、
前記複数の画素は、ベイヤー配列により配置されることを特徴とする撮像装置。
The imaging device according to claim 1,
The plurality of pixels are arranged in a Bayer array.
請求項1に記載の撮像装置において、
前記読出回路は、前記画像の各画素における前記2つの色成分の重心位置がそれぞれ一致するように、前記読出範囲における前記2つの色成分の信号値に対する加重加算を実行することを特徴とする撮像装置。
The imaging device according to claim 1,
The readout circuit performs weighted addition on the signal values of the two color components in the readout range so that the centroid positions of the two color components in each pixel of the image coincide with each other. apparatus.
請求項1に記載の撮像装置において、
前記読出回路は、単純加算平均に基づいて設定される加重係数を用いて、前記2つの色成分の画素の信号値に対する加重加算を実行することを特徴とする撮像装置。
The imaging device according to claim 1,
The image pickup apparatus, wherein the readout circuit performs weighted addition on signal values of pixels of the two color components using a weighting coefficient set based on a simple addition average.
請求項1に記載の撮像装置において、
前記読出回路により読み出された前記2つの色成分の信号値を用いて前記色差成分の信号値を求め、求めた前記色差成分の信号値を用いて、読み出された前記画像に対する色補間処理を実行する色補間処理部を備えていることを特徴とする撮像装置。
The imaging device according to claim 1,
Using the signal values of the two color components read out by the readout circuit, the signal values of the color difference components are obtained, and color interpolation processing is performed on the read image using the obtained signal values of the color difference components An image pickup apparatus comprising a color interpolation processing unit for executing the above.
請求項7に記載の撮像装置において、
前記色補間処理部により色補間処理が施された前記画像に対する色空間を変換する色空間変換部を備え、
前記色空間部変換部は、前記画像に対する色空間の変換時に、前記画像の各画素における各色成分の重心位置を一致させることを特徴とする撮像装置。
The imaging apparatus according to claim 7,
A color space conversion unit that converts a color space for the image that has undergone color interpolation processing by the color interpolation processing unit;
The color space section conversion section matches the barycentric position of each color component in each pixel of the image when converting the color space for the image.
請求項1に記載の撮像装置において、
前記複数の画素は、
受光した入射光を光電変換する光電変換素子と、
前記光電変換された電荷量に基づく信号を増幅する増幅部と、を備えていることを特徴とする撮像装置。
The imaging device according to claim 1,
The plurality of pixels are:
A photoelectric conversion element that photoelectrically converts received incident light; and
An imaging device comprising: an amplification unit that amplifies a signal based on the photoelectrically converted charge amount.
請求項9に記載の撮像装置において、
前記増幅部は、前記光電変換された電荷量に基づく信号を、前記加重加算時の加重係数に基づいて増幅することを特徴とする撮像装置。
The imaging device according to claim 9,
The amplifying unit amplifies a signal based on the photoelectrically converted charge amount based on a weighting coefficient at the time of the weighted addition.
前記画素配列に配置された前記複数の画素のうち、同一の列方向に配置される同一色成分の画素のそれぞれに接続される複数の垂直信号線と、
前記複数の垂直信号線のそれぞれに接続され、前記複数の垂直信号線により垂直方向に転送される信号を一時的に保持する保持部と、
前記読出範囲に含まれる画素のうち、前記同一色成分の画素に接続される垂直信号線を短絡することで、前記保持部に保持された前記同一色成分の画素の信号を加算する複数のスイッチと、
を備えたことを特徴とする撮像装置。
A plurality of vertical signal lines connected to each of pixels of the same color component arranged in the same column direction among the plurality of pixels arranged in the pixel array;
A holding unit that is connected to each of the plurality of vertical signal lines and temporarily holds a signal transferred in the vertical direction by the plurality of vertical signal lines;
A plurality of switches for adding the signals of the pixels of the same color component held in the holding unit by short-circuiting the vertical signal lines connected to the pixels of the same color component among the pixels included in the readout range When,
An imaging apparatus comprising:
少なくとも1以上の色成分を用いて同一の色空間を表現することが可能な複数の色成分のいずれかの信号値を備えた複数の画素からなる第1画像を受け付ける受付部と、
前記受付部により受け付けた前記第1画像における複数の画素に対して読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な2つの色成分のいずれかの信号値を有する画素に対する加重加算を色成分毎に実行することで、前記2つの色成分の値を備えた画素からなる第2画像を生成する画像生成部と、
を備えたことを特徴とする画像処理装置。
A receiving unit that receives a first image including a plurality of pixels having signal values of any of a plurality of color components capable of expressing the same color space using at least one or more color components;
While shifting the readout range with respect to the plurality of pixels in the first image received by the reception unit, two color components that can generate a signal value of a color difference component among the pixels included in the readout range. An image generation unit that generates a second image including pixels having the values of the two color components by performing weighted addition on the pixels having any one of the signal values for each color component;
An image processing apparatus comprising:
少なくとも1以上の色成分を用いて同一の色空間を表現することが可能な複数の色成分のいずれかの信号値を備えた複数の画素からなる第1画像を受け付ける受付工程と、
前記受付工程により受け付けた前記第1画像における複数の画素に対して読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な2つの色成分のいずれかの信号値を有する画素に対する加重加算を色成分毎に実行することで、前記2つの色成分の値を備えた画素からなる第2画像を生成する画像生成工程と、
を、コンピュータに実行させることが可能な画像処理プログラム。
An accepting step of accepting a first image composed of a plurality of pixels having signal values of any of a plurality of color components capable of expressing the same color space using at least one or more color components;
While shifting the readout range with respect to the plurality of pixels in the first image received in the reception step, two color components that can generate a signal value of a color difference component among the pixels included in the readout range. An image generation step of generating a second image composed of pixels having the values of the two color components by performing weighted addition on the pixels having any one of the signal values for each color component;
Is an image processing program that can be executed by a computer.
JP2012059195A 2012-03-15 2012-03-15 Imaging device Active JP6127368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012059195A JP6127368B2 (en) 2012-03-15 2012-03-15 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012059195A JP6127368B2 (en) 2012-03-15 2012-03-15 Imaging device

Publications (2)

Publication Number Publication Date
JP2013197613A true JP2013197613A (en) 2013-09-30
JP6127368B2 JP6127368B2 (en) 2017-05-17

Family

ID=49396116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012059195A Active JP6127368B2 (en) 2012-03-15 2012-03-15 Imaging device

Country Status (1)

Country Link
JP (1) JP6127368B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016039617A (en) * 2014-08-11 2016-03-22 キヤノン株式会社 Imaging device and its control method, program, storage medium
JP2018088721A (en) * 2018-03-05 2018-06-07 キヤノン株式会社 Solid state image sensor, imaging device and method for controlling the same, program, and storage medium
US10362252B2 (en) 2014-04-07 2019-07-23 Canon Kabushiki Kaisha Solid-state image sensor, image capturing apparatus and control method thereof, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004147093A (en) * 2002-10-24 2004-05-20 Canon Inc Apparatus and method for signal processing, and imaging apparatus
JP2004193911A (en) * 2002-12-10 2004-07-08 Sharp Corp Image processing apparatus, its method and digital still camera
JP2005086247A (en) * 2003-09-04 2005-03-31 Olympus Corp Imaging apparatus
JP2008060893A (en) * 2006-08-31 2008-03-13 Dainippon Printing Co Ltd Interpolation arithmetic unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004147093A (en) * 2002-10-24 2004-05-20 Canon Inc Apparatus and method for signal processing, and imaging apparatus
JP2004193911A (en) * 2002-12-10 2004-07-08 Sharp Corp Image processing apparatus, its method and digital still camera
JP2005086247A (en) * 2003-09-04 2005-03-31 Olympus Corp Imaging apparatus
JP2008060893A (en) * 2006-08-31 2008-03-13 Dainippon Printing Co Ltd Interpolation arithmetic unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10362252B2 (en) 2014-04-07 2019-07-23 Canon Kabushiki Kaisha Solid-state image sensor, image capturing apparatus and control method thereof, and storage medium
JP2016039617A (en) * 2014-08-11 2016-03-22 キヤノン株式会社 Imaging device and its control method, program, storage medium
JP2018088721A (en) * 2018-03-05 2018-06-07 キヤノン株式会社 Solid state image sensor, imaging device and method for controlling the same, program, and storage medium

Also Published As

Publication number Publication date
JP6127368B2 (en) 2017-05-17

Similar Documents

Publication Publication Date Title
JP5026951B2 (en) Imaging device driving device, imaging device driving method, imaging device, and imaging device
US9661210B2 (en) Image pickup device and image pickup apparatus
JP5850680B2 (en) Imaging apparatus and control method thereof
US20070076269A1 (en) Imaging unit and image sensor
US20220328543A1 (en) Image sensor, focus adjustment device, and imaging device
CN107306335B (en) Image pickup apparatus and control method thereof
US10033951B2 (en) Image sensor that performs different readout operations and image capturing apparatus including image sensor
JP6442362B2 (en) Image pickup apparatus and image pickup element control method
US20240015406A1 (en) Image sensor and imaging device
WO2012147515A1 (en) Image capture device and image capture method
JP2007129581A (en) Image pickup device and image pickup system
JP5607265B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND CONTROL PROGRAM
JP6127368B2 (en) Imaging device
JP2019186910A (en) Imaging device, imaging apparatus, and control method therefor
JP6545013B2 (en) Image forming method, image forming apparatus, and image forming program
JP6069857B2 (en) Imaging device
JP5624228B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND CONTROL PROGRAM
JP6010943B2 (en) Imaging device
JP5124549B2 (en) Moving image signal readout method and imaging apparatus for solid-state imaging device
JP4848349B2 (en) Imaging apparatus and solid-state imaging device driving method
JP2022102594A (en) Imaging element and imaging apparatus
JP2015173387A (en) Imaging element, driving method of the same, and program
JP6065395B2 (en) Imaging device
JP2018042222A (en) Imaging apparatus and its driving method
JP2006340065A (en) Image data capturing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161024

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170327

R150 Certificate of patent or registration of utility model

Ref document number: 6127368

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250