JP2013197613A - Imaging apparatus, image processing device, and image processing program - Google Patents
Imaging apparatus, image processing device, and image processing program Download PDFInfo
- 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
Links
- 238000003384 imaging method Methods 0.000 title claims abstract description 45
- 238000006243 chemical reaction Methods 0.000 claims description 17
- 230000003321 amplification Effects 0.000 claims description 7
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 7
- 230000015556 catabolic process Effects 0.000 abstract 1
- 238000006731 degradation reaction Methods 0.000 abstract 1
- 238000000034 method Methods 0.000 description 45
- 239000003990 capacitor Substances 0.000 description 42
- 239000003086 colorant Substances 0.000 description 13
- 230000003287 optical effect Effects 0.000 description 12
- 230000005484 gravity Effects 0.000 description 9
- 238000009792 diffusion process Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 7
- 230000006835 compression Effects 0.000 description 5
- 238000007906 compression Methods 0.000 description 5
- 239000004973 liquid crystal related substance Substances 0.000 description 5
- 230000006837 decompression Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012935 Averaging Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000012447 hatching Effects 0.000 description 2
- 238000005375 photometry Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
Images
Landscapes
- Color Television Image Signal Generators (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
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).
しかしながら、上述した特許文献1の発明では、モアレや偽色の発生は抑えられるものの、得られた動画像における解像感が低下してしまうという問題がある。
However, although the above-described invention of
本発明は、モアレや偽色の発生を抑えつつ、動画像における解像感の低下を防止することができるようにした撮像装置、画像処理装置及び画像処理プログラムを提供することを目的とする。 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.
以下、本発明の実施の形態について説明する。図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
不図示の被写体の像は、撮像光学系15によって、撮像素子16の撮像面上に結像される。撮像光学系15は、複数枚のレンズで構成され、操作部材17の操作などに基づいて、レンズ駆動回路18を介して、フォーカス、ズームなどの調整が可能な構成とされている。
A subject image (not shown) is formed on the image pickup surface of the
撮像素子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
A/D変換器22は、撮像素子16から読み出されたアナログの画像信号に対してA/D変換処理を施し、デジタルの画像信号に変換する。デジタルの画像信号は、画像処理回路23に入力される。
The A /
画像処理回路23は、入力された画像信号に対して、ホワイトバランス処理、γ変換処理、エッジ強調処理などの画像処理を施す。この画像処理回路23は、必要に応じて、入力される画像信号に対して、色空間変換処理を実行する。
The
また、画像処理回路23は、液晶モニタ24に表示を行うための解像度(画素数)変換処理を施し、圧縮伸長処理回路25及び表示出力回路26に出力する。表示出力回路26は、画像処理回路23から入力された画像信号に所定の信号処理を施し、液晶モニタ24に出力する。なお、表示出力回路26は、さらに、CPU20の制御に基づいて、必要に応じて、画像処理回路23から出力された画像信号に、撮影メニュー、カーソルなどのオーバーレイ画像信号を重畳する処理を行う。これにより、液晶モニタ24には、被写体画像にオーバーレイ画像が重畳されて表示される。
In addition, the
圧縮伸長処理回路25は、入力された画像信号に対して圧縮処理を施し、記憶媒体27に記憶する。また、この他に、圧縮伸長処理回路25は、記憶媒体27に記憶された画像信号が読み出されたときに、読み出された画像信号に対して復号化処理を施し、画像処理回路23および表示出力回路26を介して、液晶モニタ24に供給する。
The compression /
CPU20は、操作部材17の一部を構成するレリーズボタンの操作に基づいて、撮像画面上に設定された領域(AFエリア)の画像信号を抽出し、該領域のコントラスト値(もしくは、該領域の高空間周波数成分量)を算出し、算出結果をもとに、撮像素子16の撮像面上における被写体像のフォーカス状態を調整する、いわゆるコントラストAF動作を行う。
The
また、CPU20は、撮像光学系15を駆動し、順次得られる画像信号を画像内の被写体毎に解析し、領域内のコントラスト値が最大となった際のレンズ位置をもとに、被写体毎の撮影距離情報を取得する。
Further, the
なお、自動合焦動作として、コントラスト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
次に、撮影により得られる動画像のサイズ(画像サイズ)が、静止画像の画像サイズに対して、水平方向及び垂直方向にそれぞれ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
画素部41は、複数の画素が水平方向である行方向と垂直方向である列方向とに2次元に配置される。なお、図2において、「R」は、赤(R)色のカラーフィルタが配置される画素、「G」は、緑(G)色のカラーフィルタが配置される画素、「B」は、青(B)色のカラーフィルタが配置される画素である。以下、赤(R)色のカラーフィルタが配置される画素をR色画素、緑(G)色のカラーフィルタが配置される画素をG色画素、青(B)色のカラーフィルタが配置される画素をB色画素と称して説明する。
The
この撮像素子16においては、同一列に配置される画素に対して、2本の垂直信号線47a,47bが設けられている。各画素に設けられるカラーフィルタは、R色、G色、B色の各色カラーフィルタが2×2の配列パターンによるベイヤー配列にて配列された構成からなる。例えば、R色画素、G色画素が交互に配置される列(奇数の列)においては、垂直信号線47aはR色画素と接続され、垂直信号線47bはG色画素と接続される。また、G色画素、B色画素が交互に配置される列(偶数の列)においては、垂直信号線47aはB色画素と接続され、垂直信号線47bはG色画素と接続される。
In the
プリチャージ部42a,42bは、各垂直信号線47a,47bにソース電極が接続されたプリチャージトランジスタPREと、プリチャージトランジスタPREのゲート電圧に制御信号φPREを供給する行信号線とを含む。各プリチャージトランジスタPREのドレイン電極には、プリチャージ電圧Vpreが供給される。各列に設けられる垂直信号線47a,47bは、各画素から電圧信号(画素信号)を読み出す前に、対応のプリチャージトランジスタPREを介して所定のプリチャージ電圧Vpreにプリチャージされる。
The
切替え部43aは、コンデンサCD1、加算トランジスタADD1,ADD2,ADD3,ADD4,ADD5,ADD6、スイッチングトランジスタSW1、制御信号φADD1、φADD2、φADD3,φADD4,φADD5,φADD6、制御信号φLINE1,φLINE2,φLINE3,φLINE4を供給する10本の行信号線とから構成される。コンデンサCD1は、画素部41に設けられる複数の画素のうち、各列に配置されるG色画素から垂直信号線47bに出力された電圧信号を保持する。
加算トランジスタADD1は、6R−5(R=1,2,3・・)列目の垂直信号線47bと、6R−4列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADD1は、制御信号φADD1が出力されることでオンとなり、6R−5列目の垂直信号線47bと6R−4列目の垂直信号線47bとを短絡させる。
The addition transistor ADD 1 is connected to the
加算トランジスタADD2は、6R−4列目の垂直信号線47bと6R−3列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADD2は、制御信号φADD2が出力されることでオンとなり、6R−4列目の垂直信号線47bと6R−3列目の垂直信号線47bとを短絡させる。
Summing transistor ADD 2 are connected to each of the 6R-4 column of
加算トランジスタADD3は、6R−3列目の垂直信号線47bと6R−2列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADD3は、制御信号φADD3が出力されることでオンとなり、6R−3列目の垂直信号線47bと6R−2列目の垂直信号線47bとを短絡させる。
Summing transistor ADD 3 is connected to each of the 6R-3 column of the
加算トランジスタADD4は、6R−2列目の垂直信号線47bと6R−1列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADD4は、制御信号φADD4が出力されることでオンとなり、6R−2列目の垂直信号線47bと6R−1列目の垂直信号線47bとを短絡させる。
Summing transistor ADD 4 is connected to each of the 6R-2 column of the
加算トランジスタADD5は、6R−1列目の垂直信号線47bと6R列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADD5は、制御信号φADD5が出力されることでオンとなり、6R−1列目の垂直信号線47bと6R列目の垂直信号線47bとを短絡させる。
The addition transistor ADD 5 is connected to each of the
加算トランジスタADD6は、6R列目の垂直信号線47bと6R+1列目の垂直信号線47bとのそれぞれに接続される。この加算トランジスタADD6は、制御信号φADD6が出力されることでオンとなり、6R列目の垂直信号線47bと6R+1列目の垂直信号線47bとを短絡させる。
The addition transistor ADD 6 is connected to each of the
スイッチングトランジスタ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、加算トランジスタADD7,ADD8,ADD9,ADD10、スイッチングトランジスタSW2、制御信号φADD7,φADD8,φADD9,φADD10、制御信号φLINE5,φLINE6,φLINE7、φLINE8を供給する8本の行信号線とから構成される。コンデンサCD2は、画素部41に設けられる複数の画素のうち、各列に配置されるR色画素、又はB色画素から垂直信号線47aに出力された電圧信号を保持する。
加算トランジスタADD7は、6R−5列目の垂直信号線47aと、6R−3列目の垂直信号線47aとに接続される。この加算トランジスタADD7は、制御信号φADD7が出力されることでオンとなり、6R−5列目の垂直信号線47aと6R−3列目の垂直信号線47aとを短絡させる。
The addition transistor ADD 7 is connected to the
加算トランジスタADD8は、6R−4列目の垂直信号線47aと、6R−2列目の垂直信号線47aとに接続される。この加算トランジスタADD8は、制御信号φADD8が出力されることでオンとなり、6R−4列目の垂直信号線47aと6R−2列目の垂直信号線47aとを短絡させる。
The addition transistor ADD 8 is connected to the
加算トランジスタADD9は、6R−2列目の垂直信号線47aと、6R列目の垂直信号線47aとに接続される。この加算トランジスタADD9は、制御信号φADD9が出力されることでオンとなり、6R−2列目の垂直信号線47a、6R列目の垂直信号線47aを短絡させる。
The addition transistor ADD 9 is connected to the
加算トランジスタ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
スイッチングトランジスタ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
水平走査回路45aは、プリチャージ部42aに対して制御信号φPREや、電源Vpreを供給する。また、水平走査回路45aは、切替え部43aに対して制御信号φADD1,φADD2,φADD3,φADD4,φADD5,φADD6,制御信号φLINE1,φLINE2,φLINE3,φLINE4の各信号を供給する。
The
同様にして、水平走査回路45bは、プリチャージ部42bに対して制御信号φPREや電源Vpreを供給する。また、水平走査回路45bは、切替え部43bに対して制御信号φADD7,φADD8,φADD9,φADD10,制御信号φLINE5、φLINE6,φLINE7、φLINE8の各信号を供給する。
Similarly, the
次に、撮像素子16の画素部41に配置される画素の構成について、図3を用いて説明する。撮像素子16の画素Pは、フォトダイオードPD、転送トランジスタTX、フローティングディフュージョンFD、増幅トランジスタAMI、リセットトランジスタRST、電流源ISS、スイッチングトランジスタSW3、アンプAMPを備えている。
Next, the configuration of the pixels arranged in the
フォトダイオード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
次に、各画素におけるアンプAMPのゲインについて説明する。なお、静止画像を撮影する場合には、全画素読み出しにより撮像素子16を制御することから、各画素のアンプAMPに対するゲインは1となる。
Next, the gain of the amplifier AMP in each pixel will be described. When a still image is taken, the
一方、動画像を撮影する場合には、加算間引き読出しにより撮像素子16を制御する。上述したように、第1実施形態では、撮影により得られる動画像の画像サイズは、静止画像の画像サイズ(W×H)に対して、水平方向及び垂直方向にそれぞれ1/3倍に縮小した、W/3×H/3の画像サイズに設定される。
On the other hand, when shooting a moving image, the
撮像素子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
図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
読出範囲60における同色画素の信号値を用いた加重加算は、動画像の画素における各色成分の重心位置が、読出範囲60における重心位置と一致するように実行される。なお、図4においては、記号「○」で示す位置が読出範囲60における重心位置である。
The weighted addition using the signal value of the same color pixel in the
加算間引き読出しにより生成される画素における各色成分の重心位置を、読出範囲における重心位置と一致させる方法として、加重加算における各画素の加重係数をガウス分布に基づいて設定することが挙げられる。図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
第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
ここで、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
次に、図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
ここで、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
次に、図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
ここで、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
最後に、図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
ここで、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
次に、撮像素子16から画像信号を読み出す場合の処理について説明する。静止画像の撮影においては、撮像素子16の画素部41に配置された複数の画素のそれぞれで蓄積された電荷を、画素毎に読み出す、全画素読み出しにて実行される。この全画素読み出しにおいては、複数の画素を行毎に読み出していく。この全画素読み出しでは、垂直走査回路44は、制御信号φGAINを出力しない。これにより、各画素に設けられたアンプAMPのゲインが1となる。また、水平走査回路45a及び水平走査回路45bは、切替え部43aに設けられる各加算トランジスタに対しての制御信号を出力しない。この全画像読み出しにおいては、撮像素子16から出力される画像信号は、各画素の色成分がR色、G色、B色のいずれかの色成分からなる画像信号となる。
Next, a process for reading an image signal from the
一方、動画像の撮影においては、撮像素子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
まず、垂直走査回路44は、読出範囲60に含まれる4行に配置された各画素に対して制御信号φGAINを出力する。この出力を受けて、各画素のアンプAMPのゲインが1から加重加算を用いた加算間引き読出し時のゲインの値に切り替わる。なお、切り替わるゲインの値は、上述した(1)式から(4)式のいずれかの式を満たす値である。そして、垂直走査回路44は、制御信号φSW3を出力する。これにより、読出範囲に含まれる各画素から、アンプAMPにより増幅された電圧信号が対応する垂直信号線に出力される。この垂直信号線に出力された電圧信号は、コンデンサCD1に蓄積される。その後、垂直走査回路44は、制御信号φSW3の出力を停止する。
First, the
ここで、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は、制御信号φADD1,φADD2,φADD3を出力する。これにより、加算トランジスタADD1,ADD2,ADD3がオンとなり、これら垂直信号線47bがそれぞれ短絡する。これにより、6R−5列目、6R−4列目、6R−3列目及び6R−2列目の垂直信号線47bにそれぞれ接続されるコンデンサCD1の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD1,φADD2,φADD3の出力を停止する。そして、水平走査回路45aは、制御信号φLINE1を出力する。これにより、6R−5列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、例えば動画像における座標(x,y)にある画素のG色成分の信号値となる。
The
水平走査回路45bは、制御信号φADD7を出力する。加算トランジスタADD7がオンとなると、6R−5列目及び6R−4列目の垂直信号線47aが短絡する。これにより、6R−5列目及び6R−4列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD7の出力を停止する。そして、水平走査回路45bは、制御信号φLINE5を出力する。これにより、6R−5列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−5列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y)にある画素のR色成分の信号となる。
この読み出しの後、垂直走査回路44は、制御信号φSW3を出力する。また、水平走査回路45aは、制御信号φADD4,φADD5,φADD6を出力する。これを受けて、加算トランジスタADD4,ADD5,ADD6がオンとなり、6R−2列目、6R−1列目、6R列目、6R+1列目の垂直信号線47bが短絡する。これにより、これら垂直信号線47bに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD4,φADD5,φADD6の出力を停止する。そして、水平走査回路45aは、制御信号φLINE4を出力する。これにより、6R−2列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、動画像の座標(x+1,y)にある画素のG色成分の信号となる。
After this reading, the
水平走査回路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色成分の信号となる。
このようにして、読出範囲60を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出していく。その後、読出範囲60を垂直方向に3画素ずらした後、読出範囲を水平方向に3画素ずつずらしながら、加算間引き読出しにより読み出す。
In this manner, the
次に、読出範囲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
水平走査回路45bは、制御信号φADD8を出力する。加算トランジスタADD8がオンとなると、6R−4列目及び6R−2列目の垂直信号線47aが短絡する。これにより、6R−4列目及び6R−2列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD8の出力を停止する。そして、水平走査回路45bは、制御信号φLINE6を出力する。これにより、6R−4列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−4列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y+1)にある画素のB色成分の信号となる。
また、水平走査回路45bは、制御信号φADD9を出力する。加算トランジスタADD9がオンとなると、6R−2列目及び6R列目の垂直信号線47aが短絡する。これにより、6R−2列目及び6R列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD8の出力を停止する。そして、水平走査回路45bは、制御信号φLINE8を出力する。これにより、6R−2列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−2列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x+1,y+1)にある画素のB色成分の信号となる。
The
このようにして、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
上述した方法により、撮像素子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
ここで、動画像の偶数行目(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).
そして、画像処理回路23は、(5)式にて求めた色差成分の信号値を用いて、動画像の座標(x、y+1)の画素において不足するR色成分の信号値を求める。なお、R色成分の信号値は、(6)式を用いて求められる。
Then, the
このようにして、動画像を構成する画素のうち、偶数行目(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
In this case, as in the first embodiment, the pixel range of 4 rows and 4 columns is set as the
読出範囲に含まれる各画素の重みは、図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
この第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
次に、図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
つまり、Gr色画素を基準画素とした読出範囲60の場合には、読出範囲60に含まれるG色画素及びB色画素のアンプAMPのゲインは、上述した(7)式が成り立つように設定される。
That is, in the case of 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
最後に、図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
つまり、B色画素を基準画素とした読出範囲60の場合、読出範囲60に含まれるR色画素及びG色画素のアンプAMPのゲインは、上述した(8)式が成り立つように設定される。
That is, in the case of the
以下、動画像の撮影時に撮像素子16から画像信号を読み出す場合の処理について説明する。この場合も、第1実施形態と同様に、加算間引き読出しにより撮像素子16から信号を読み出す。
Hereinafter, a process in the case where an image signal is read from the
まず、垂直走査回路44は、読出範囲60に含まれる4行に配置された各画素に対して制御信号φGAINを出力する。この出力を受けて、各画素のアンプAMPのゲインが1から所定値に切り替わる。そして、垂直走査回路44は、制御信号φSW3を出力する。これにより、読出範囲に含まれる各画素から、アンプAMPにより増幅された電圧信号が対応する垂直信号線に出力される。この垂直信号線に出力された電圧信号は、コンデンサCD1に蓄積される。その後、垂直走査回路44は、制御信号φSW3の出力を停止する。
First, the
水平走査回路45aは、制御信号φADD1,φADD2,φADD3を出力する。これにより、加算トランジスタADD1,ADD2,ADD3がオンとなり、6R−5列、6R−4列、6R−3列の垂直信号線47bが短絡する。これにより、各垂直信号線47bに接続されるコンデンサCD1の電荷量が同一となる。その後、水平走査回路45aは、φADD1,φADD2,φADD3の出力を停止する。その後、水平走査回路45aは、制御信号φLINE1を出力する。これにより、6R−5列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、動画像の座標(x,y)にある画素のG色成分の信号値となる。
The
水平走査回路45bは、制御信号φADD7を出力する。加算トランジスタADD7がオンとなると、6R−5列目及び6R−4列目の垂直信号線47aが短絡する。これにより、6R−5列目及び6R−4列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD7の出力を停止する。そして、水平走査回路45bは、制御信号φLINE5を出力する。これにより、6R−5列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−5列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y)にある画素のR色成分の信号となる。
これら読み出しの後、垂直走査回路44は、制御信号φSW3を出力する。また、水平走査回路45aは、制御信号φADD4,φADD5,φADD6を出力する。これを受けて、加算トランジスタADD4,ADD5,ADD6がオンとなり、6R−2列目、6R−1列目、6R列目、6R+1列目の垂直信号線47bが短絡する。これにより、これら垂直信号線47bに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45aは、制御信号φADD4,φADD5,φADD6の出力を停止する。そして、水平走査回路45aは、制御信号φLINE4を出力する。これにより、6R−2列目の垂直信号線47bに接続されたスイッチトランジスタSW1がオンとなり、対応する垂直信号線47bに接続されたコンデンサCD1に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP1に出力される。ここで、出力される電圧信号が、動画像の座標(x+1,y)にある画素のG色成分の信号となる。
After these readings, the
水平走査回路45bは、制御信号φADD9を出力する。加算トランジスタADD9がオンとなると、6R−2列目及び6R列目の垂直信号線47aが短絡する。これにより、6R−2列目及び6R列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD9の出力を停止する。そして、水平走査回路45bは、制御信号φLINE8を出力する。これにより、6R−2列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−2列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x+1,y)にある画素のB色成分の信号となる。
このようにして、読出範囲を水平方向に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
一方、水平走査回路45bは、制御信号φADD8を出力する。加算トランジスタADD7がオンとなると、6R−4列目及び6R−2列目の垂直信号線47aが短絡する。これにより、6R−4列目及び6R−2列目の垂直信号線47aに接続されるコンデンサCD2の電荷量が同一となる。その後、水平走査回路45bは、制御信号φADD8の出力を停止する。そして、水平走査回路45bは、制御信号φLINE6を出力する。これにより、6R−4列目の垂直信号線47aに接続されたスイッチトランジスタSW2がオンとなり、対応する垂直信号線47aに接続されたコンデンサCD2に蓄積された電荷量に基づく電圧信号がカラムアンプCAMP2に出力される。ここで、6R−4列目の垂直信号線47aから出力される電圧信号が、動画像の座標(x,y+1)にある画素のB色成分の信号となる。
On the other hand, the
次に、水平走査回路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
このようにして、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
上述した方法により、撮像素子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
例えば、座標(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).
次に、(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).
このようにして、動画像を構成する画素のそれぞれで不足する色成分の信号値を求めることで、色補間処理が実行される。このように、色補間処理を実行することで、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).
そして、求めた勾配の大小に基づいて色差成分の信号値を求める。色差成分の信号値は、(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).
この(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
<第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
上述したように、第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
Here, when the R color pixel at the coordinates (i, j) on the
ここで、(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
つまり、動画像における座標(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
同様にして、動画像において、座標(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
図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
ここで、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
そして、画像処理回路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
この色空間変換処理を行うことで、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
なお、第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
上述した第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
切替え部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列目の垂直信号線が短絡される。
また、加算トランジスタ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
上述したように、第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
なお、第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
まず、読出範囲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
また、読出範囲に含まれる各画素から、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).
次に、動画像の撮影時に、読出範囲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
水平走査回路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
水平走査回路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色成分の信号となる。
次に、読出範囲に含まれる各画素から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
上述した処理を行うことで、読出範囲から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
このように、色補間処理を実行することで、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
また、画像処理装置の他に、画像処理プログラムであってもよい。この場合、図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
ステップ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
Claims (13)
前記画素配列に配置される前記複数の画素に対する読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な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:
前記複数の画素は、赤(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つの色成分の画素として、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.
前記複数の画素は、ベイヤー配列により配置されることを特徴とする撮像装置。 The imaging device according to claim 1,
The plurality of pixels are arranged in a Bayer array.
前記読出回路は、前記画像の各画素における前記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.
前記読出回路は、単純加算平均に基づいて設定される加重係数を用いて、前記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.
前記読出回路により読み出された前記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.
前記色補間処理部により色補間処理が施された前記画像に対する色空間を変換する色空間変換部を備え、
前記色空間部変換部は、前記画像に対する色空間の変換時に、前記画像の各画素における各色成分の重心位置を一致させることを特徴とする撮像装置。 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.
前記複数の画素は、
受光した入射光を光電変換する光電変換素子と、
前記光電変換された電荷量に基づく信号を増幅する増幅部と、を備えていることを特徴とする撮像装置。 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.
前記増幅部は、前記光電変換された電荷量に基づく信号を、前記加重加算時の加重係数に基づいて増幅することを特徴とする撮像装置。 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画像における複数の画素に対して読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な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画像における複数の画素に対して読出範囲をずらしながら、前記読出範囲に含まれる画素のうち、色差成分の信号値を生成することが可能な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.
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)
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)
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 |
-
2012
- 2012-03-15 JP JP2012059195A patent/JP6127368B2/en active Active
Patent Citations (4)
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)
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 |