JP5293447B2 - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP5293447B2
JP5293447B2 JP2009149434A JP2009149434A JP5293447B2 JP 5293447 B2 JP5293447 B2 JP 5293447B2 JP 2009149434 A JP2009149434 A JP 2009149434A JP 2009149434 A JP2009149434 A JP 2009149434A JP 5293447 B2 JP5293447 B2 JP 5293447B2
Authority
JP
Japan
Prior art keywords
pixel
pixel signal
signal
pixels
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009149434A
Other languages
Japanese (ja)
Other versions
JP2011009897A (en
Inventor
正和 須原
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 JP2009149434A priority Critical patent/JP5293447B2/en
Publication of JP2011009897A publication Critical patent/JP2011009897A/en
Application granted granted Critical
Publication of JP5293447B2 publication Critical patent/JP5293447B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、被写体光を受光することで画像を取得する電子カメラに関する。   The present invention relates to an electronic camera that acquires an image by receiving subject light.

近年、普及されるデジタルカメラなどの電子カメラにおいては、被写体光を受光した状態での本撮影と被写体光を遮光した状態での遮光撮影とを行い、これら撮影にて得られる画像の差分を求めることで、ノイズ成分を除去した画像を取得することが考案されている(特許文献1参照)。また、カメラ本体に組み込まれる撮像素子をリセットした直後の各画素の信号レベルと被写体光を受光したときの各画素の信号レベルとの差分を求めることで、各画素に生じるリセットノイズや各画素を構成するフォトダイオードなどの回路素子特有の固定パターンノイズ(FPN:Fixed Pattern Noise)などを取り除くことも考案されている。   2. Description of the Related Art In recent years, electronic cameras such as digital cameras that have been widely used perform main shooting in a state in which subject light is received and light-shielded shooting in a state in which subject light is blocked, and obtain a difference between images obtained by the shooting. Thus, it has been devised to acquire an image from which noise components have been removed (see Patent Document 1). In addition, by obtaining the difference between the signal level of each pixel immediately after resetting the image sensor incorporated in the camera body and the signal level of each pixel when the subject light is received, reset noise and each pixel generated in each pixel can be reduced. It has also been devised to remove fixed pattern noise (FPN: Fixed Pattern Noise) peculiar to circuit elements such as photodiodes.

上述したノイズ成分を除去する方法としては、例えば撮像素子に行列状に配置される複数の画素のうち、同一の画素列となる画素の信号レベルを平均した平均信号レベルを算出し、算出された平均信号レベルを、本撮影時に得られる画素の信号レベルから減算することが挙げられる。   As a method for removing the noise component described above, for example, an average signal level obtained by averaging signal levels of pixels in the same pixel column among a plurality of pixels arranged in a matrix on the image sensor is calculated and calculated. For example, the average signal level is subtracted from the signal level of the pixel obtained during the main photographing.

特許第4146945号公報Japanese Patent No. 4146945

しかしながら、撮像素子に配置される複数の画素として、例えば他の画素の信号レベルよりも高い信号レベルとなる画素(所謂、白点画素)が含まれる場合、その画素列の平均信号レベルは他の画素列の平均信号レベルよりも高くなってしまう。このため、平均信号レベルを用いた減算処理を実行すると、実際のノイズ成分よりも大きい値を減算してしまうことになり、ノイズ除去された本画像においては縦筋と呼ばれる画素欠陥が生じてしまう。このように、撮像素子に配置される複数の画素に白点画素が含まれる場合には、上述したノイズ除去を高精度に施すことができない。   However, when a plurality of pixels arranged in the image sensor includes, for example, pixels having a signal level higher than the signal level of other pixels (so-called white point pixels), the average signal level of the pixel column is different from that of other pixels. It becomes higher than the average signal level of the pixel column. For this reason, when the subtraction process using the average signal level is executed, a value larger than the actual noise component is subtracted, and a pixel defect called a vertical stripe is generated in the noise-removed main image. . Thus, when the white point pixel is included in the plurality of pixels arranged in the image sensor, the above-described noise removal cannot be performed with high accuracy.

本発明は、撮像素子に配置される複数の画素として白点画素が含まれる場合であっても、撮影時に得られる画像に対して高精度なノイズ補正を行うことができるようにした電子カメラを提供することを目的とする。   The present invention provides an electronic camera capable of performing highly accurate noise correction on an image obtained at the time of photographing even when white point pixels are included as a plurality of pixels arranged in an image sensor. The purpose is to provide.

上述した課題を解決するために、本発明の電子カメラは、入射光を光電変換する複数の画素が行列状に配置された撮像素子と、前記撮像素子に配置された前記複数の画素のそれぞれに蓄積される、前記撮像素子が遮光された状態で蓄積される電荷に基づく画素信号を第1画素信号として出力させるとともに、前記撮像素子に配置された前記複数の画素のそれぞれで受光した前記入射光を光電変換したときに得られる電荷に基づく画素信号を第2画素信号として出力させる制御部と、前記複数の画素から出力される第1画素信号のうち、その信号値が予め設定された第1閾値よりも大きい第2閾値を超過する第1画素信号が含まれる場合に、前記第2閾値を超過する前記第1画素信号を、該第1画素信号を出力した画素の周縁に配置された周縁画素から出力された第1画素信号に基づいて補正した後、少なくとも予め設定された第1閾値を超過する前記第1画素信号を除いた、各画素列に含まれる残りの第1画素信号を用いて画素列毎の補正値を算出し、算出した画素列ごとの補正値を用いて該画素列ごとに前記第2画素信号を前記画素列毎に補正する補正部と、を備えたことを特徴とする。 In order to solve the above-described problems, an electronic camera according to the present invention includes an imaging device in which a plurality of pixels that photoelectrically convert incident light are arranged in a matrix, and each of the plurality of pixels arranged in the imaging device. The incident light received by each of the plurality of pixels arranged in the image sensor, and is output as a first pixel signal a pixel signal based on the charge accumulated in a state where the image sensor is shielded from light A control unit that outputs a pixel signal based on the electric charge obtained when the signal is photoelectrically converted as a second pixel signal, and a first pixel signal having a preset signal value among the first pixel signals output from the plurality of pixels. when including the first pixel signal exceeds a second threshold value larger than the threshold value, the first pixel signal exceeds the second threshold value, which is disposed on the periphery of the pixel which outputs the first pixel signal periphery After corrected based on the first pixel signal output from the element, using at least pre excluding the set the first pixel signal exceeds a first threshold value and the first pixel signal remaining included in each pixel row A correction unit that calculates a correction value for each pixel column and corrects the second pixel signal for each pixel column using the calculated correction value for each pixel column. And

また、前記補正部は、前記第2閾値を超過する第1画素信号を、前記周縁画素のいずれかの画素から出力される第1画素信号に置換することを特徴とする。 The correction unit may replace a first pixel signal exceeding the second threshold with a first pixel signal output from any one of the peripheral pixels.

また、前記補正部は、前記周縁画素から出力される第1画素信号を用いた補間処理を行うことで、前記第2閾値を超過した第1画素信号を補正することを特徴とする。 The correction unit may correct the first pixel signal exceeding the second threshold by performing an interpolation process using the first pixel signal output from the peripheral pixel.

また、前記複数の画素は、前記入射光を光電変換する光電変換部と、前記光電変換部により光電変換された電荷を蓄積する電荷蓄積部と、前記光電変換部と前記電荷蓄積部とを遮断、又は接続するスイッチング素子と、を有し、前記制御部は、前記スイッチング素子により前記光電変換部と前記電荷蓄積部とを遮断した状態で出力された画素信号と、前記光電変換部と前記電荷蓄積部とが接続された状態で出力された画素信号との差分を求めることで、前記第1画素信号及び第2画素信号を出力することが好ましい。   The plurality of pixels block a photoelectric conversion unit that photoelectrically converts the incident light, a charge storage unit that stores charges photoelectrically converted by the photoelectric conversion unit, and the photoelectric conversion unit and the charge storage unit. Or a switching element to be connected, and the control unit outputs a pixel signal output in a state where the photoelectric conversion unit and the charge storage unit are blocked by the switching element, and the photoelectric conversion unit and the charge. It is preferable to output the first pixel signal and the second pixel signal by obtaining a difference from the pixel signal output in a state where the storage unit is connected.

また、前記撮像素子は、前記複数の画素の各画素からの画素信号を画素列方向に転送する転送部と、前記転送部により読み出された画素信号を画素列毎に増幅する増幅器とを、さらに備え、前記補正部は、前記増幅器により増幅された画素列毎の第1画素信号の信号値を平均することで前記補正値を算出することが好ましい。   Further, the imaging device includes a transfer unit that transfers a pixel signal from each pixel of the plurality of pixels in a pixel column direction, and an amplifier that amplifies the pixel signal read by the transfer unit for each pixel column, Further, it is preferable that the correction unit calculates the correction value by averaging the signal value of the first pixel signal for each pixel column amplified by the amplifier.

本発明によれば、撮像素子に配置される複数の画素として白点画素が含まれる場合であっても、高精度なノイズ除去を行うことができる。   According to the present invention, it is possible to perform highly accurate noise removal even when white point pixels are included as the plurality of pixels arranged in the image sensor.

本発明のデジタルカメラの構成を示す図である。It is a figure which shows the structure of the digital camera of this invention. 撮像素子の画素の構成を示す回路図である。It is a circuit diagram which shows the structure of the pixel of an image pick-up element. 各画素の画素信号を読み出す手順を示す図である。It is a figure which shows the procedure which reads the pixel signal of each pixel. ノイズ補正の一例を示す説明図である。It is explanatory drawing which shows an example of noise correction. 信号レベルが第2閾値よりも高い画素が生じる場合に、ノイズ補正に用いる補正値を求める場合を示す説明図である。It is explanatory drawing which shows the case where the correction value used for noise correction is calculated | required when the pixel whose signal level is higher than a 2nd threshold value arises. 撮影時におけるデジタルカメラの処理の流れを示すローチャートである。It is a flowchart which shows the flow of a process of the digital camera at the time of imaging | photography. 信号レベルが第2閾値よりも高い画素が含まれる行を除いて、ノイズ補正に用いる補正値を求める場合を示す説明図である。It is explanatory drawing which shows the case where the correction value used for noise correction is calculated | required except the row | line | column in which the pixel whose signal level is higher than a 2nd threshold value is included.

図1は、本発明を用いたデジタルカメラの構成を示す。周知のように、デジタルカメラ10は、撮像光学系15によって取り込まれた被写体光を撮像素子16によって光電変換し、光電変換後の電気信号(画素信号)から画像データを取得する。撮像光学系15は、図示を省略したズームレンズやフォーカスレンズなどを含むレンズ群から構成される。これらズームレンズやフォーカスレンズは図示を省略したレンズ駆動機構によって光軸L方向に移動する。なお、撮像素子16は、例えばCMOSイメージセンサが用いられる。この撮像素子16は、ドライバ17によって駆動される。   FIG. 1 shows a configuration of a digital camera using the present invention. As is well known, the digital camera 10 photoelectrically converts the subject light captured by the imaging optical system 15 by the imaging device 16 and acquires image data from the electrical signal (pixel signal) after the photoelectric conversion. The imaging optical system 15 includes a lens group including a zoom lens, a focus lens, and the like that are not shown. These zoom lens and focus lens are moved in the direction of the optical axis L by a lens driving mechanism (not shown). For example, a CMOS image sensor is used as the image sensor 16. The image sensor 16 is driven by a driver 17.

AFE(Analog Front End)回路21は、図示しないAGC回路やCDS回路を含んで構成される。このAFE回路21には、撮像処理により取得された画像信号が入力される。撮像処理としては、予め設定されたシャッタ速度に合わせた露光時間、撮像素子16の各画素に被写体光を受光させる露光処理の他に、第1排出処理、第2排出処理からなる。   The AFE (Analog Front End) circuit 21 includes an AGC circuit and a CDS circuit (not shown). The AFE circuit 21 receives an image signal acquired by the imaging process. The imaging process includes a first discharge process and a second discharge process in addition to an exposure time according to a preset shutter speed and an exposure process in which each pixel of the image sensor 16 receives subject light.

第1排出処理は、図示を省略したシャッタにより遮光された状態で実行される。なお、撮像素子16の各画素には、遮光された状態でも不要な電荷が蓄積されることから、各画素に蓄積される不要な電荷を画素毎に排出することで、固定パターンノイズ(FPN)を示す画像(以下、FPN画像)を取得することが可能となる。この第1排出処理は、撮像素子16に設けられた各画素の転送トランジスタ65(図2参照)がオフの状態で、撮像素子16に設けられたコンデンサ64(図2参照)に蓄積される電荷を排出する処理と、撮像素子16に設けられた転送トランジスタ65がオンの状態で、フォトダイオード63(図2参照)やコンデンサ64に蓄積された電荷を排出する処理とから構成される。この第1排出処理を行うことで、FPN画像を取得することが可能となる。   The first discharge process is executed in a state where it is shielded by a shutter (not shown). Since unnecessary charges are accumulated in each pixel of the image sensor 16 even in a light-shielded state, fixed pattern noise (FPN) is generated by discharging unnecessary charges accumulated in each pixel. It is possible to acquire an image (hereinafter referred to as FPN image) indicating In the first discharge process, the charge accumulated in the capacitor 64 (see FIG. 2) provided in the image sensor 16 in a state where the transfer transistor 65 (see FIG. 2) of each pixel provided in the image sensor 16 is off. And a process of discharging charges accumulated in the photodiode 63 (see FIG. 2) and the capacitor 64 while the transfer transistor 65 provided in the image sensor 16 is on. By performing the first discharge process, it is possible to acquire an FPN image.

また、第2排出処理は、露光処理の後に、シャッタにより遮光された状態で実行される。この第2排出処理も第1排出処理と同様に、撮像素子16に設けられた各画素の転送トランジスタ65がオフの状態で、撮像素子16に設けられたコンデンサ64(図2参照)に蓄積される電荷を排出する処理と、撮像素子16に設けられた転送トランジスタ65がオンの状態で、フォトダイオード63やコンデンサ64に蓄積された電荷を排出する処理とから構成される。つまり、第1排出処理及び第2排出処理のそれぞれの排出処理においては、撮像素子16から2つの画像信号が出力される。この第2排出処理を行うことで、本画像を取得することが可能となる。   Further, the second discharge process is executed in a state where it is shielded from light by the shutter after the exposure process. Similarly to the first discharge process, this second discharge process is also stored in the capacitor 64 (see FIG. 2) provided in the image sensor 16 with the transfer transistor 65 of each pixel provided in the image sensor 16 turned off. And a process of discharging charges accumulated in the photodiode 63 and the capacitor 64 while the transfer transistor 65 provided in the image sensor 16 is on. That is, two image signals are output from the image sensor 16 in each of the first discharge process and the second discharge process. By performing the second discharge process, the main image can be acquired.

AFE回路21は、第1排出処理により得られる2つの画像信号に対して相関二重サンプリング処理を行って、FPN画像を示す画像信号(以下、FPN画像信号)を生成する。また、同様にして、第2排出処理により得られる2つの画像信号に対して相関二重サンプリング処理を行って、本画像を示す画像信号(以下、本画像信号)を生成する。そして、生成されたFPN画素信号や本画像信号に対して、ゲインコントロールや雑音除去などのアナログ処理を施した後、アナログの信号をデジタルの信号に変換する。   The AFE circuit 21 performs a correlated double sampling process on the two image signals obtained by the first discharge process to generate an image signal indicating an FPN image (hereinafter referred to as an FPN image signal). Similarly, a correlated double sampling process is performed on the two image signals obtained by the second discharge process to generate an image signal indicating the main image (hereinafter, the main image signal). Then, the generated FPN pixel signal and the main image signal are subjected to analog processing such as gain control and noise removal, and then the analog signal is converted into a digital signal.

DFE(Digital Front End)回路22は、入力されたFPN画像信号や本画像信号に対して欠陥補正処理やノイズ補正処理を行う。このDFE回路22は、欠陥補正部23やノイズ補正部24の機能を有している。   A DFE (Digital Front End) circuit 22 performs defect correction processing and noise correction processing on the input FPN image signal and main image signal. The DFE circuit 22 has functions of a defect correction unit 23 and a noise correction unit 24.

欠陥補正部23は、FPN画像や本画像に発生する白点となる画素(以下、白点画素)を欠陥画素として特定し、該欠陥画素に対する補正を行う。なお、白点画素とは、光が入射していなくとも比較的高い画素レベルとなる場合を示す。この欠陥補正部23は、入力されるFPN画像信号や本画像信号における各画素の信号値(以下、画素値)が予め設定される欠陥検出用の閾値を超過するか否かを判定する。この判定で、欠陥検出用の閾値を超過する画素値となる画素に対しては白点画素であると判断し、白点画素を欠陥画素として特定する。   The defect correction unit 23 identifies a pixel that becomes a white point (hereinafter, a white point pixel) generated in the FPN image or the main image as a defective pixel, and corrects the defective pixel. Note that the white point pixel indicates a case where the pixel level is relatively high even when light is not incident. The defect correction unit 23 determines whether the signal value of each pixel (hereinafter referred to as pixel value) in the input FPN image signal or the main image signal exceeds a preset defect detection threshold value. In this determination, a pixel having a pixel value exceeding the defect detection threshold is determined to be a white point pixel, and the white point pixel is specified as a defective pixel.

欠陥画素が特定されると、欠陥補正部23は、欠陥画素の画素値を欠陥画素の周縁に配置された同一色の画素のいずれかの画素値に置換する処理、或いは、欠陥画素の周縁に配置された同一色の画素の画素値を用いた補間処理などを行って、欠陥画素に対する欠陥補正を行う。   When the defective pixel is specified, the defect correcting unit 23 replaces the pixel value of the defective pixel with one of the pixel values of the same color arranged at the peripheral edge of the defective pixel, or the peripheral edge of the defective pixel. Interpolation processing using the pixel values of the arranged pixels of the same color is performed to perform defect correction on the defective pixels.

ノイズ補正部24は、FPN画像に基づいて本画像に対するノイズ補正を行う。詳細には、FPN画像の各画素から画素列毎の補正値を求め、求めた補正値を用いて、本画像の各画素の画素値を画素列毎に補正する。なお、画素列毎の補正値を求める方法については後述する。このノイズ補正が施された画像信号は、画像データとしてバッファメモリ30に記録される。なお、符号25はタイミングジェネレータ(TG)であり、このTG25は、AFE回路21、DFE回路22及びドライバ17の駆動タイミングを制御するために設けられる。   The noise correction unit 24 performs noise correction on the main image based on the FPN image. Specifically, a correction value for each pixel column is obtained from each pixel of the FPN image, and the pixel value of each pixel of the main image is corrected for each pixel column using the obtained correction value. A method for obtaining a correction value for each pixel column will be described later. The image signal subjected to the noise correction is recorded in the buffer memory 30 as image data. Reference numeral 25 denotes a timing generator (TG), which is provided for controlling the drive timing of the AFE circuit 21, the DFE circuit 22, and the driver 17.

画像処理回路35は、バッファメモリ30に記憶された画像データに対して、ホワイトバランス処理、色補間処理、輪郭補償処理、ガンマ処理などの画像処理を施す。これら処理の後、画像処理回路35は、予め設定された圧縮率を用いた圧縮符号化処理を施す。この圧縮符号化処理が実行されることで、例えばJPEG方式の圧縮画像データが生成される。また、画像処理回路35は、解像度変更処理を行うことによってサムネイル画像データを生成する。   The image processing circuit 35 performs image processing such as white balance processing, color interpolation processing, contour compensation processing, and gamma processing on the image data stored in the buffer memory 30. After these processes, the image processing circuit 35 performs a compression encoding process using a preset compression rate. By executing this compression encoding process, for example, JPEG compressed image data is generated. Further, the image processing circuit 35 generates thumbnail image data by performing resolution changing processing.

メディアスロット36は、メモリカードや光学ディスク、或いは磁気ディスクなどの記憶媒体37が着脱自在となっている。この記憶媒体37には、静止画像や動画像などの画像ファイルを記録することが可能となる。例えば画像ファイルが静止画像に基づくものであれば、画像処理回路35にて生成された圧縮画像データ、サムネイル画像データの他に、撮影時の撮影条件を示す情報やデジタルカメラ10の情報が一つにまとめられたExif形式の画像ファイルが記憶媒体37に書き込まれる。   A storage medium 37 such as a memory card, an optical disk, or a magnetic disk is detachable from the media slot 36. The storage medium 37 can record image files such as still images and moving images. For example, if the image file is based on a still image, in addition to the compressed image data and thumbnail image data generated by the image processing circuit 35, there is one piece of information indicating the shooting conditions at the time of shooting and information of the digital camera 10. The Exif format image files compiled in the above are written in the storage medium 37.

LCD38は、表示装置の一形態であって、スルー画像や、撮影時に得られた画像を表示する。また、この他に、LCD38は、デジタルカメラ10の設定を行う際の設定用の画像を表示する。なお、符号39は、LCD38の駆動制御を行う表示制御回路である。   The LCD 38 is one form of a display device, and displays a through image and an image obtained at the time of shooting. In addition, the LCD 38 displays an image for setting when the digital camera 10 is set. Reference numeral 39 denotes a display control circuit that performs drive control of the LCD 38.

CPU41は、バス42を介して、バッファメモリ30、画像処理回路35、メディアスロット36、表示制御回路39、内蔵メモリ43などと電気的に接続される。このCPU41には、レリーズボタン44、設定操作部45などが接続されており、CPU41は、これら操作部材における操作要求や内蔵メモリ43に記憶された制御プログラムに基づいて、デジタルカメラ10の各部を制御する。   The CPU 41 is electrically connected to the buffer memory 30, the image processing circuit 35, the media slot 36, the display control circuit 39, the built-in memory 43, and the like via the bus 42. The CPU 41 is connected to a release button 44, a setting operation unit 45, and the like. The CPU 41 controls each unit of the digital camera 10 based on an operation request on these operation members and a control program stored in the built-in memory 43. To do.

図2は、撮像素子16の画素の構成を示す回路図である。上述したように、撮像素子16としては、CMOSイメージセンサが用いられる。この撮像素子16は、上述した複数の画素Aij、垂直シフトレジスタ51、サンプルホールド(SH)回路52j及び水平シフトレジスタ53及び出力アンプ54を備えている。複数の画素Aijのそれぞれは、垂直シフトレジスタ51から水平方向に伸びる複数の信号線55i,56i,57i,58iによって電気的に接続される。なお、複数の信号線のうち、信号線55iは転送用の信号線、信号線56iはリセット用の信号線、信号線57iは選択用の信号線、信号線58iは電源用の信号線である。なお、複数の画素Aijのうち、同一列方向に配置された画素(図2においては、画素A11及び画素A21)から出力される画素信号は垂直信号線61jによりカラムアンプ62jを介してSH回路52jに入力される。 FIG. 2 is a circuit diagram illustrating the configuration of the pixels of the image sensor 16. As described above, a CMOS image sensor is used as the image sensor 16. The imaging device 16 includes the above-described plurality of pixels A ij , a vertical shift register 51, a sample hold (SH) circuit 52 j, a horizontal shift register 53, and an output amplifier 54. Each of the plurality of pixels A ij is electrically connected by a plurality of signal lines 55 i , 56 i , 57 i , 58 i extending in the horizontal direction from the vertical shift register 51. Of the plurality of signal lines, the signal line 55 i is a transfer signal line, the signal line 56 i is a reset signal line, the signal line 57 i is a selection signal line, and the signal line 58 i is a power supply line. It is a signal line. Of the plurality of pixels A ij, the pixel signals output from the pixels arranged in the same column direction (pixel A 11 and pixel A 21 in FIG. 2) are supplied to the column amplifier 62 j by the vertical signal line 61 j. To the SH circuit 52 j .

複数の画素Aijは、従来のCMOSイメージセンサと同様に、光電変換によって電荷を生成するフォトダイオード63、フォトダイオード63により生成された電荷を蓄積するフローティングディフュージョン(FD)として機能するコンデンサ64、フォトダイオード63に蓄積された電荷をコンデンサ64に転送する転送トランジスタ65、ゲートがコンデンサ64と接続されてコンデンサ64の電位変動を電気信号に変換する増幅トランジスタ66、信号を読み出す画素を行単位で選択するための選択トランジスタ67、コンデンサの電位を電源電位(Vdd)にリセットするためのリセットトランジスタ68を有している。なお、選択トランジスタ67は、画素列毎に配線された垂直信号線61jと接続されている。 Like the conventional CMOS image sensor, the plurality of pixels A ij include a photodiode 63 that generates charges by photoelectric conversion, a capacitor 64 that functions as a floating diffusion (FD) that stores charges generated by the photodiode 63, a photo A transfer transistor 65 that transfers the electric charge accumulated in the diode 63 to the capacitor 64, an amplification transistor 66 whose gate is connected to the capacitor 64 and converts the potential fluctuation of the capacitor 64 into an electric signal, and a pixel for reading the signal are selected in units of rows. And a reset transistor 68 for resetting the capacitor potential to the power supply potential (Vdd). The selection transistor 67 is connected to the vertical signal line 61 j wired for each pixel column.

SH回路52jは、信号を読み出す画素を列単位で選択するための選択トランジスタ71,72と、選択トランジスタ71,72のゲートが開放されたときに掃き出される信号を蓄積するコンデンサ73,74とから構成される。なお、選択トランジスタ71とコンデンサ73とは、上述した転送トランジスタ65のゲートが遮断されている場合にコンデンサ64に蓄積される電荷を掃き出す際に、選択トランジスタ72とコンデンサ74とは、上述した転送トランジスタ65のゲートが開放された場合にコンデンサ64に蓄積される電荷を掃き出す際にそれぞれ使用される。なお、このSH回路52jは水平信号線75に接続されており、SH回路52jから出力される画素信号は、SH回路52jに保持された画素信号は水平信号線75、出力アンプ54を介して出力される。なお、出力アンプ54を介して出力される画素信号をまとめたものが画像信号(画像データ)となる。 The SH circuit 52 j includes selection transistors 71 and 72 for selecting pixels from which signals are read out in units of columns, and capacitors 73 and 74 for storing signals that are swept out when the gates of the selection transistors 71 and 72 are opened. Consists of Note that when the gate of the transfer transistor 65 described above is cut off, the selection transistor 71 and the capacitor 73 are used when the charge stored in the capacitor 64 is swept away. It is used when sweeping out the electric charge accumulated in the capacitor 64 when the gate of 65 is opened. The SH circuit 52 j is connected to the horizontal signal line 75, and the pixel signal output from the SH circuit 52 j is the pixel signal held in the SH circuit 52 j through the horizontal signal line 75 and the output amplifier 54. Is output via. A collection of pixel signals output through the output amplifier 54 is an image signal (image data).

次に、上述した撮像素子16は下記の動作にて駆動される。垂直シフトレジスタ51は、対象となる画素Aijにリセット信号を出力する。このリセット信号が出力されると、対象となる画素Aijのリセットトランジスタ68はオンとなる。これにより、コンデンサ64に蓄積された電荷に基づいた電圧が増幅トランジスタ66のゲート電圧となる。この状態で、選択信号が出力されると選択トランジスタ67がオンとなる。電源電圧線58iには、所定量の電圧が印可されているので、この選択トランジスタ67がオンとなることを受けて、増幅トランジスタ66のゲート電圧が垂直信号線61jに出力される。なお、垂直信号線61jに出力されたゲート電圧は、カラムアンプ62jを介してSH回路52jに入力される。なお、水平シフトレジスタ53では、選択トランジスタ71に対するオン信号を出力している。これにより、選択トランジスタ71がオンとなるので、カラムアンプ62jにより増幅された電圧が、コンデンサ73に電荷として蓄積される。 Next, the image sensor 16 described above is driven by the following operation. The vertical shift register 51 outputs a reset signal to the target pixel Aij . When this reset signal is output, the reset transistor 68 of the target pixel A ij is turned on. As a result, a voltage based on the electric charge accumulated in the capacitor 64 becomes the gate voltage of the amplification transistor 66. In this state, when a selection signal is output, the selection transistor 67 is turned on. Since a predetermined amount of voltage is applied to the power supply voltage line 58 i , the gate voltage of the amplification transistor 66 is output to the vertical signal line 61 j in response to the selection transistor 67 being turned on. The gate voltage output to the vertical signal line 61 j is input to the SH circuit 52 j via the column amplifier 62 j . Note that the horizontal shift register 53 outputs an ON signal to the selection transistor 71. As a result, the selection transistor 71 is turned on, and the voltage amplified by the column amplifier 62 j is accumulated in the capacitor 73 as electric charge.

その後、垂直シフトレジスタ51は、転送信号とリセット信号とを出力する。これを受けて、転送トランジスタ65及びリセットトランジスタ68がそれぞれオンとなる。これにより、フォトダイオード63及びコンデンサ64に蓄積された電荷に基づいた電圧が増幅トランジスタ66のゲート電圧となる。この状態で選択信号が出力されると、選択トランジスタ67がオンとなる。これにより、増幅トランジスタ66のゲート電圧が垂直信号線61 j に出力される。なお、垂直信号線61jに出力された電圧はカラムアンプ62jを介してSH回路52jに入力される。なお、水平シフトレジスタ53では、選択トランジスタ72に対するオン信号を出力している。これにより、選択トランジスタ72がオンとなるので、カラムアンプ62jにより増幅された電圧が電荷としてコンデンサ74に蓄積される。なお、これらSH回路52jのコンデンサ73,74にそれぞれ蓄積される電荷は、同時に水平信号線75に出力され、出力アンプ54を介して出力される。 Thereafter, the vertical shift register 51 outputs a transfer signal and a reset signal. In response to this, the transfer transistor 65 and the reset transistor 68 are turned on. As a result, the voltage based on the charges accumulated in the photodiode 63 and the capacitor 64 becomes the gate voltage of the amplification transistor 66. When a selection signal is output in this state, the selection transistor 67 is turned on. As a result, the gate voltage of the amplification transistor 66 is output to the vertical signal line 61 j . The voltage output to the vertical signal line 61 j is input to the SH circuit 52 j through the column amplifier 62 j . Note that the horizontal shift register 53 outputs an ON signal to the selection transistor 72. As a result, the selection transistor 72 is turned on, and the voltage amplified by the column amplifier 62 j is accumulated in the capacitor 74 as electric charge. The charges stored in the capacitors 73 and 74 of the SH circuit 52 j are simultaneously output to the horizontal signal line 75 and output through the output amplifier 54.

図3に示すように、撮像素子16の各画素は、R色、G色、B色のいずれかの色からなるベイヤー配列で配列されている。なお、図3においては、R色となる画素をRn、G色となる画素をGrn、Gbn、B色となる画素をBnとして示している。この撮像素子16における各画素の画素信号は、図3中水平方向を行、図3中垂直方向を列とした場合に、同一行毎に各画素の画素信号が読み出されていく。つまり、一行目に配置された画素R00、Gr00、R01、Gr01・・・の順で画素信号が読み出される。その後、二行目に配置された画素Gb00、B00、Gb01、B01・・・の順で画素信号が読み出されていく。 As shown in FIG. 3, the pixels of the image sensor 16 are arranged in a Bayer array composed of any one of R, G, and B colors. In FIG. 3, the R color pixel is indicated as R n , the G color pixel is indicated as Gr n , Gb n , and the B color pixel is indicated as B n . The pixel signal of each pixel in the image sensor 16 is read out for each pixel in the same row when the horizontal direction in FIG. 3 is a row and the vertical direction in FIG. 3 is a column. That is, pixel signals are read out in the order of the pixels R 00 , Gr 00 , R 01 , Gr 01 . Thereafter, pixel signals are read out in the order of the pixels Gb 00 , B 00 , Gb 01 , B 01 ... Arranged in the second row.

次に、ノイズ補正に用いられる補正値を算出する方法について説明する。上述したように、ノイズ補正に用いられる補正値はFPN画像信号に基づいて算出される。撮像素子16から出力される画像信号は、垂直信号線61jに出力された各画素の画素信号が、水平信号線75を介して出力される。また、撮像素子16の各画素は、R色、G色(詳細にはGr色及びGb色)及びB色のいずれかの色の画素をベイヤー配列によって配置されている。これら理由を考慮すると、ノイズ補正に用いる補正値は、複数の画素から出力される画素信号のうち、同一の垂直信号線61jを介して出力される画素信号のうち、同一色成分となる画素の画素信号を用いて求めることが望ましい。図4に示すように、R色の画素であれば、画素R00、R07、R14、R21における画素値を平均することで、同一の画素列におけるR色の画素の補正値が求められる。また、同様にして、Gr色、Gb色及びB色となる画素の補正値も同様にして求められる。なお、この画素列毎の補正値は、同一の画素列に含まれる全ての画素の画素値を用いてもよいし、一部の画素を用いてもよい。 Next, a method for calculating a correction value used for noise correction will be described. As described above, the correction value used for noise correction is calculated based on the FPN image signal. As the image signal output from the image sensor 16, the pixel signal of each pixel output to the vertical signal line 61 j is output via the horizontal signal line 75. In addition, each pixel of the image sensor 16 has pixels of any one of R color, G color (specifically, Gr color and Gb color), and B color arranged in a Bayer array. Considering these reasons, the correction value used for noise correction is a pixel having the same color component among the pixel signals output from the plurality of pixels and the pixel signals output through the same vertical signal line 61 j. It is desirable to obtain using the pixel signal. As shown in FIG. 4, if the pixel is an R color pixel, the correction value of the R color pixel in the same pixel column is obtained by averaging the pixel values in the pixels R 00 , R 07 , R 14 , and R 21 . It is done. Similarly, the correction values of the pixels for the Gr color, Gb color, and B color are obtained in the same manner. Note that, as the correction value for each pixel column, the pixel values of all the pixels included in the same pixel column may be used, or some pixels may be used.

このようにして、ノイズ補正時には、同一の画素列における補正値が求められる。しかしながら、撮像素子16から出力される各画素の画素信号においては、上述した欠陥補正部23において、白点と判定される信号レベルとなる画素の他に、白点と判定されないが、他の画素の信号レベルよりも明らかに高い信号レベルとなる画素も含まれている。このような画素から出力される画素信号を用いた場合には、該画素が含まれる画素列の補正値が他の補正値よりも高い補正値となる。このため、このような補正値を用いると、本画像に対するノイズ補正が高精度に実行されなくなり、ノイズ補正後の本画像中に縦筋が発生してしまう。   In this way, correction values for the same pixel column are obtained during noise correction. However, in the pixel signal of each pixel output from the image sensor 16, the defect correction unit 23 described above does not determine a white point in addition to a pixel having a signal level determined to be a white point, but other pixels Pixels having a signal level that is clearly higher than the signal level are also included. When the pixel signal output from such a pixel is used, the correction value of the pixel column including the pixel is higher than the other correction values. For this reason, when such a correction value is used, noise correction on the main image is not performed with high accuracy, and vertical stripes are generated in the main image after noise correction.

これにより、FPN画像を用いて画素列毎の補正値を求める際には、各画素の画素値が予め設定されたノイズ補正用の閾値を超過するか否かを判定する。なお、このノイズ補正用の閾値は、上述した欠陥検出用の閾値未満の値となる。この判定で各画素の画素値がノイズ補正用の閾値以下となる場合には、上述した方法で画素列毎の補正値を求める。一方、上述した判定で、ノイズ補正用の閾値を超過する画素値であると判定された場合には、ノイズ補正用の閾値を超過する画素値となる画素を含む画素列のうち、該ノイズ補正用の閾値を超過する画素値となる画素を除いた、残りの画素の画素値を用いて画素列毎の補正値を求める。   Thereby, when calculating | requiring the correction value for every pixel row | line using an FPN image, it is determined whether the pixel value of each pixel exceeds the preset threshold value for noise correction. Note that the noise correction threshold value is less than the above-described defect detection threshold value. When the pixel value of each pixel is equal to or less than the noise correction threshold value in this determination, a correction value for each pixel column is obtained by the method described above. On the other hand, if it is determined in the above-described determination that the pixel value exceeds the noise correction threshold, the noise correction is performed among the pixel columns including the pixel having the pixel value exceeding the noise correction threshold. The correction value for each pixel column is obtained using the pixel values of the remaining pixels, excluding the pixels that have pixel values that exceed the threshold for use.

図5に示すように、画素Gr07の画素値がノイズ補正用の閾値を超過していると判定された場合には、画素Gr00、Gr14、Gr21の画素値を用いて補正値を算出する。このようにして求めた画素列毎の補正値を用いて、本画像に対するノイズ補正が画素列毎に実行される。 As shown in FIG. 5, when it is determined that the pixel value of the pixel Gr 07 exceeds the noise correction threshold value, the correction value is calculated using the pixel values of the pixels Gr 00 , Gr 14 , and Gr 21. calculate. Using the correction value for each pixel column obtained in this way, noise correction for the main image is executed for each pixel column.

次に、撮影時のデジタルカメラ10における処理の流れについて、図6のフローチャートに基づいて説明する。なお、このフローチャートは、レリーズボタン44の操作が実行されない、所謂待機状態であることを契機にして実行される。   Next, the flow of processing in the digital camera 10 at the time of shooting will be described based on the flowchart of FIG. This flowchart is executed when the operation of the release button 44 is not executed, which is a so-called standby state.

ステップS101は、レリーズボタン44が操作されたか否かを判定する処理である。レリーズボタン44が操作されると、その操作信号がCPU41に入力される。CPU41は、レリーズボタン44の操作信号が入力された場合に、レリーズボタン44が操作されたと判定する。この場合、ステップS101の判定処理がYesとなり、ステップS102に進む。一方、CPU41にレリーズボタン44の操作信号が入力されない場合には、CPU41は、レリーズボタン44は操作されていないと判定する。この場合、ステップS101の判定処理がNoとなる。この場合は、ステップS101の判定処理がYesとなるまで、撮影待機状態が保持される。なお、このステップS101の判定処理が実行されると、図示を省略したAE処理やAF処理が実行された後、ステップS102の処理が実行される。なお、ステップS102及びステップS103の処理が撮像処理となる。   Step S101 is processing for determining whether or not the release button 44 has been operated. When the release button 44 is operated, the operation signal is input to the CPU 41. The CPU 41 determines that the release button 44 has been operated when an operation signal for the release button 44 is input. In this case, the determination process in step S101 is Yes, and the process proceeds to step S102. On the other hand, when the operation signal of the release button 44 is not input to the CPU 41, the CPU 41 determines that the release button 44 is not operated. In this case, the determination process in step S101 is No. In this case, the shooting standby state is maintained until the determination process in step S101 is Yes. When the determination process in step S101 is executed, the AE process and the AF process (not shown) are executed, and then the process in step S102 is executed. In addition, the process of step S102 and step S103 becomes an imaging process.

ステップS102は、FPN画像を取得する処理である。このステップS102が実行されると、まず、第1排出処理が実行される。上述したように、第1排出処理は、図示を省略したシャッタにより撮像素子16が遮光された状態で実行される。この第1排出処理は、撮像素子16に設けられた各画素の転送トランジスタ65がオフの状態でコンデンサ64に蓄積される電荷を排出する処理が実行された後、撮像素子16に設けられた転送トランジスタ65がオンの状態で、フォトダイオード63やコンデンサ64に蓄積された電荷を排出する処理が実行される。これら処理を行うことで、2種類の画像信号がAFE回路21に入力される。AFE回路21は、各画素に対応する2つの画素信号を用いた相関二重サンプリング処理を施す。この相関二重サンプリング処理が実行された後、ゲインコントロールや雑音除去などのアナログ処理を施す。最後に、アナログの画素信号をデジタルの画素信号に変換する。この処理が実行されたデジタルの画素信号をまとめたものがFPN画像信号として、バッファメモリ30に記憶される。   Step S102 is processing to acquire an FPN image. When step S102 is executed, first, a first discharge process is executed. As described above, the first discharge process is executed in a state where the image sensor 16 is shielded from light by a shutter (not shown). The first discharge process is performed after the process of discharging the charge accumulated in the capacitor 64 in a state where the transfer transistor 65 of each pixel provided in the image sensor 16 is off, and then the transfer provided in the image sensor 16. A process of discharging the charge accumulated in the photodiode 63 and the capacitor 64 is performed in a state where the transistor 65 is on. By performing these processes, two types of image signals are input to the AFE circuit 21. The AFE circuit 21 performs a correlated double sampling process using two pixel signals corresponding to each pixel. After this correlated double sampling processing is executed, analog processing such as gain control and noise removal is performed. Finally, the analog pixel signal is converted into a digital pixel signal. A collection of digital pixel signals subjected to this processing is stored in the buffer memory 30 as an FPN image signal.

ステップS103は、本画像を取得する処理である。CPU41は、AE処理により決定された、或いは、設定操作部45により設定されたシャッタ速度に基づいて、シャッタを開放する。これにより、露光処理が実行され、撮像光学系15を介して取り込まれた被写体光が、予め設定された露光時間、撮像素子16の各画素に照射される。これを受けて、撮像素子16の各画素を構成するフォトダイオード63によって光電変換が行われ、信号電荷が蓄積される。この露光処理が実行された後、第2排出処理が実行される。なお、第2排出処理は、撮像素子16に設けられた各画素の転送トランジスタ65がオフの状態でコンデンサ64に蓄積される電荷を排出する処理が実行された後、撮像素子16に設けられた転送トランジスタ65がオンの状態で、フォトダイオード63やコンデンサ64に蓄積された電荷を排出する処理が実行される。これら処理を行うことで、2種類の画像信号がAFE回路21に入力される。AFE回路21は、各画素に対応する2つの画素信号を用いた相関二重サンプリング処理を施す。この相関二重サンプリング処理が実行された後、ゲインコントロールや雑音除去などのアナログ処理を施す。最後に、アナログの画素信号をデジタルの画素信号に変換する。この処理が実行されたデジタルの画素信号をまとめたものが本画像信号として、バッファメモリ30に記憶される。   Step S103 is processing for acquiring the main image. The CPU 41 opens the shutter based on the shutter speed determined by the AE process or set by the setting operation unit 45. Thereby, the exposure process is executed, and the subject light captured via the imaging optical system 15 is irradiated to each pixel of the imaging element 16 for a preset exposure time. In response to this, photoelectric conversion is performed by the photodiode 63 that constitutes each pixel of the image sensor 16, and signal charges are accumulated. After this exposure process is executed, a second discharge process is executed. The second discharge process is performed on the image sensor 16 after the process of discharging the charge accumulated in the capacitor 64 with the transfer transistor 65 of each pixel provided on the image sensor 16 turned off is executed. In the state where the transfer transistor 65 is on, a process of discharging the charges accumulated in the photodiode 63 and the capacitor 64 is executed. By performing these processes, two types of image signals are input to the AFE circuit 21. The AFE circuit 21 performs a correlated double sampling process using two pixel signals corresponding to each pixel. After this correlated double sampling processing is executed, analog processing such as gain control and noise removal is performed. Finally, the analog pixel signal is converted into a digital pixel signal. A collection of digital pixel signals subjected to this processing is stored in the buffer memory 30 as a main image signal.

ステップS104は、欠陥補正を行う処理である。DFE回路22は、バッファメモリ30に記録されたFPN画像信号を読み出し、読み出したFPN画像信号における信号値(画素値)が欠陥検出用の閾値を超過するか否かを判定する。この判定で、欠陥検出用の閾値を超過する画素値がある場合には、その画素値となる画素を欠陥画素と特定する。そして、この欠陥画素の周縁に位置する同一色の画素のいずれかの画素値を欠陥画素であると判定された画素の画素値に置換する、或いは、欠陥画素の周縁に位置する同一色の画素の画素値を用いた補間処理を行って、欠陥画素であると判定された画素の画素値を差し替える。なお、本画像信号についても同様の処理が実行される。   Step S104 is a process for performing defect correction. The DFE circuit 22 reads the FPN image signal recorded in the buffer memory 30 and determines whether or not the signal value (pixel value) in the read FPN image signal exceeds a defect detection threshold. In this determination, if there is a pixel value that exceeds the defect detection threshold, the pixel having that pixel value is identified as a defective pixel. Then, the pixel value of any pixel of the same color located at the periphery of the defective pixel is replaced with the pixel value of the pixel determined to be a defective pixel, or the pixel of the same color located at the periphery of the defective pixel The pixel value of the pixel determined to be a defective pixel is replaced by performing an interpolation process using the pixel value. The same processing is executed for the main image signal.

ステップS105は、画素列毎の補正値を算出する処理である。DFE回路22は、欠陥補正されたFPN画像信号を読み出し、FPN画像信号における各画素の画素値がノイズ補正用の閾値を超過するか否かを判定する。なお、画素値がノイズ補正用の閾値を超過する場合には、その画素値を有する画素のアドレスを記憶しておく。ノイズ補正用の閾値との比較を全ての画素値に対して実行した後、DFE回路22は、ノイズ補正に用いる画素列毎の補正値を算出する。   Step S105 is processing for calculating a correction value for each pixel column. The DFE circuit 22 reads out the defect-corrected FPN image signal and determines whether or not the pixel value of each pixel in the FPN image signal exceeds a noise correction threshold value. When the pixel value exceeds the noise correction threshold, the address of the pixel having the pixel value is stored. After the comparison with the threshold value for noise correction is performed for all pixel values, the DFE circuit 22 calculates a correction value for each pixel column used for noise correction.

図4に示すように、同一の画素列に含まれる画素が画素R00、R07、R14、R21となり、これら全画素の画素値がノイズ補正用の閾値以下となる場合には、DFE回路22は、これら画素の画素値を平均することで、画素列における補正値を算出する。一方、図5に示すように、同一の画素列に含まれる画素が、画素Gr00、Gr07、Gr14、Gr21となり、これら画素のうち、画素Gr07の画素値がノイズ補正用の閾値を超過する場合には、画素Gr07を除いた残りの画素(この場合、画素Gr00、画素Gr14、画素Gr21)の各画素の画素値を平均することで、画素列における補正値を算出する。このようにして、画素列毎の画素値が求められていく。 As shown in FIG. 4, when the pixels included in the same pixel column are the pixels R 00 , R 07 , R 14 , R 21 and the pixel values of all these pixels are equal to or less than the noise correction threshold value, the DFE The circuit 22 calculates the correction value in the pixel row by averaging the pixel values of these pixels. On the other hand, as shown in FIG. 5, the pixels included in the same pixel column are pixels Gr 00 , Gr 07 , Gr 14 , Gr 21 , and among these pixels, the pixel value of the pixel Gr 07 is a threshold value for noise correction. Is exceeded, the pixel values of the remaining pixels excluding the pixel Gr 07 (in this case, the pixel Gr 00 , the pixel Gr 14 , and the pixel Gr 21 ) are averaged to obtain a correction value in the pixel column. calculate. In this way, pixel values for each pixel column are obtained.

ステップS106は、本画像に対するノイズ補正処理である。DFE回路22は、画素列毎の補正値を用いて、バッファメモリ30に記憶された本画像信号に対するノイズ補正を実行する。なお、このノイズ補正は、所定の画素列に含まれる画素の画素値を、対応する画素列の補正値で減算する処理である。これにより、固定パターンノイズが除去された本画像信号が生成される。   Step S106 is a noise correction process for the main image. The DFE circuit 22 performs noise correction on the main image signal stored in the buffer memory 30 using the correction value for each pixel column. This noise correction is a process of subtracting the pixel value of a pixel included in a predetermined pixel column by the correction value of the corresponding pixel column. As a result, a main image signal from which fixed pattern noise has been removed is generated.

ステップS107は、画像処理である。ステップS106によってノイズ補正が施されている。画像処理回路35は、ノイズ補正が施された本画像信号を読み出す。そして、読み出した本画像信号に対して、ホワイトバランス処理、色補間処理、輪郭補償処理、ガンマ処理などの画像処理を施す。これら処理の後、画像処理回路35は、予め設定された圧縮率を用いた圧縮符号化処理を施す。この圧縮符号化処理が実行されることで、例えばJPEG方式の圧縮画像データが生成される。また、画像処理回路35は、解像度変更処理を行うことによってサムネイル画像データを生成する。   Step S107 is image processing. Noise correction is performed in step S106. The image processing circuit 35 reads the main image signal subjected to noise correction. Then, image processing such as white balance processing, color interpolation processing, contour compensation processing, and gamma processing is performed on the read main image signal. After these processes, the image processing circuit 35 performs a compression encoding process using a preset compression rate. By executing this compression encoding process, for example, JPEG compressed image data is generated. Further, the image processing circuit 35 generates thumbnail image data by performing resolution changing processing.

ステップS108は、画像を記録する処理である。CPU41は、ステップS107により生成された圧縮画像データやサムネイル画像データの他に、撮影条件を示す情報やカメラ機種などの情報を画像ファイルとしてまとめた上で、該画像ファイルを記憶媒体37に書き込む。この処理が終了することで、1回の撮影が終了する。   Step S108 is processing to record an image. In addition to the compressed image data and thumbnail image data generated in step S <b> 107, the CPU 41 collects information indicating shooting conditions and information such as a camera model as an image file, and writes the image file to the storage medium 37. When this process ends, one shooting is completed.

デジタルカメラ10を用いて撮影を実行したときには、被写体光を受光することで得られる本画像を取得する前に、被写体光を受光しない状態で各画素に蓄積される不要な電荷からなるFPN画像を取得している。このFPN画像からノイズ補正における補正値を画素列毎に算出する際に、画素値が高い画素値を有する画素を補正値を算出する際に用いる対象から外し、残りの画素を用いて補正値を算出している。これによれば、画素値(信号レベル)が他の画素の画素値よりも明らかに高い画素値を用いないで済むので、補正値を高精度に求めることが可能となる。これにより、固定パターンノイズが除去された本画像中に縦筋が発生することが抑止される。   When shooting is performed using the digital camera 10, an FPN image made up of unnecessary charges accumulated in each pixel without receiving the subject light is acquired before acquiring the main image obtained by receiving the subject light. Have acquired. When calculating a correction value in noise correction for each pixel column from this FPN image, a pixel having a pixel value having a high pixel value is excluded from a target to be used when calculating the correction value, and the correction value is set using the remaining pixels. Calculated. According to this, since it is not necessary to use a pixel value whose pixel value (signal level) is clearly higher than that of other pixels, it is possible to obtain a correction value with high accuracy. This suppresses the occurrence of vertical streaks in the main image from which the fixed pattern noise has been removed.

また、FPN画像信号を取得する際に、転送トランジスタ65がオフの状態のときに得られる画素信号と、転送トランジスタ65をオンにしたときに得られる画素信号との差分を算出することで、フォトダイオード63によって蓄積された信号電荷を固定パターンノイズとして考えることができるので、より高精度なノイズ補正を本画像に施すことが可能となる。   Further, when acquiring the FPN image signal, the difference between the pixel signal obtained when the transfer transistor 65 is turned off and the pixel signal obtained when the transfer transistor 65 is turned on is calculated. Since the signal charge accumulated by the diode 63 can be considered as fixed pattern noise, more accurate noise correction can be performed on the main image.

本実施形態では、ノイズ補正用の閾値を超過する画素値を除いた上で、画素列毎の補正値を算出しているが、これに限定する必要はない。例えば、同一行に配置された画素のいずれかの画素が、ノイズ補正用の閾値を超過する画素値となる場合には、同一行に配置された画素の画素値が、ノイズ補正用の閾値を超過する画素値となる可能性が高い。これにより、ノイズ補正用の閾値を超過する画素値となる画素が特定された場合には、該画素が含まれる同一行の画素を全て除いた上で、画素列毎の補正値を求めることも可能である。つまり、図7に示すように、画素R08がノイズ補正用の閾値を超過する画素値となる場合には、この画素R08を含む同一行の画素(図中においては、画素R07を、画素Gr07、画素R08、画素Gr08、画素R09、画素Gr09)をノイズ補正時に用いる補正値を算出する際には、その対象から外し、他の行の画素を用いて画素列毎の補正値を算出する。 In the present embodiment, the correction value for each pixel column is calculated after excluding the pixel value that exceeds the threshold value for noise correction. However, the present invention is not limited to this. For example, if any of the pixels arranged in the same row has a pixel value that exceeds the threshold value for noise correction, the pixel value of the pixel arranged in the same row sets the threshold value for noise correction. There is a high possibility of exceeding the pixel value. As a result, when a pixel having a pixel value that exceeds the noise correction threshold is specified, a correction value for each pixel column may be obtained after removing all pixels in the same row including the pixel. Is possible. That is, as shown in FIG. 7, when the pixel R 08 has a pixel value exceeding the noise correction threshold, the pixel in the same row including the pixel R 08 (in the figure, the pixel R 07 is The pixel Gr 07 , the pixel R 08 , the pixel Gr 08 , the pixel R 09 , and the pixel Gr 09 ) are excluded from the target when calculating the correction values to be used for noise correction, and the pixels in other rows are used for each pixel column. The correction value is calculated.

本実施形態では、ノイズ補正用の閾値よりも高い画素値となる画素のみを、補正値を算出する際に除いているが、ノイズ補正用の閾値よりも高い画素値となる画素の周縁に配置される同色の画素の画素値に置換する、又はノイズ補正用の閾値よりも高い画素値となる画素の周縁に配置される同色の画素を用いた補間処理により、ノイズ補正用の閾値よりも高い画素値となる画素の画素値を差し替えた上で、画素列毎の補正値を用いることも可能である。   In the present embodiment, only pixels having a pixel value higher than the noise correction threshold are excluded when calculating the correction value, but are arranged at the periphery of the pixel having a pixel value higher than the noise correction threshold. Replaced with the pixel value of the same color pixel or higher than the noise correction threshold value by interpolation using pixels of the same color arranged at the periphery of the pixel having a pixel value higher than the noise correction threshold value. It is also possible to use the correction value for each pixel column after replacing the pixel value of the pixel to be the pixel value.

本実施形態では、欠陥補正処理の後に、ノイズ補正処理を実行しているが、これに限定する必要はなく、ノイズ補正処理を実行した後に、欠陥補正処理を実行することも可能である。   In the present embodiment, the noise correction process is performed after the defect correction process. However, the present invention is not limited to this, and the defect correction process can be performed after the noise correction process is performed.

本実施形態では、電子カメラを例に取り上げているが、これに限定されるものではなく、例えばカメラ機能を備えた携帯型電話機や携帯型ゲーム機などの携帯型端末器に用いることが可能である。   In this embodiment, an electronic camera is taken as an example, but the present invention is not limited to this. For example, the present invention can be used for a portable terminal such as a portable phone or a portable game machine having a camera function. is there.

また、この他に、図1に示す欠陥補正部、ノイズ補正部の機能をコンピュータに実行させるためのプログラムであってもよい。この場合、電子カメラにおける撮影時には、FPN画像と本画像とを関連付けて記憶媒体に記録しておき、欠陥補正処理やノイズ補正処理を実行することも可能である。なお、これら機能は、画像処理プログラムの機能の一つとしておき、画像処理を実行する前に、これら処理を実行させることも可能である。   In addition, a program for causing a computer to execute the functions of the defect correction unit and the noise correction unit illustrated in FIG. 1 may be used. In this case, at the time of photographing with the electronic camera, it is also possible to record the FPN image and the main image in association with each other and execute defect correction processing and noise correction processing. These functions are set as one of the functions of the image processing program, and these processes can be executed before the image processing is executed.

10…デジタルカメラ、16…撮像素子、22…DFE回路、23…欠陥補正部、24…ノイズ補正部、30…バッファメモリ、35…画像処理回路、51…垂直シフトレジスタ、52…SH回路、53…水平シフトレジスタ、62…カラムアンプ、63…フォトダイオード、64…コンデンサ、65…転送トランジスタ、67…選択トランジスタ、68…リセットトランジスタ DESCRIPTION OF SYMBOLS 10 ... Digital camera, 16 ... Imaging device, 22 ... DFE circuit, 23 ... Defect correction part, 24 ... Noise correction part, 30 ... Buffer memory, 35 ... Image processing circuit, 51 ... Vertical shift register, 52 ... SH circuit, 53 ... Horizontal shift register, 62 ... Column amplifier, 63 ... Photodiode, 64 ... Capacitor, 65 ... Transfer transistor, 67 ... Select transistor, 68 ... Reset transistor

Claims (5)

入射光を光電変換する複数の画素が行列状に配置された撮像素子と、
前記撮像素子に配置された前記複数の画素のそれぞれに蓄積される、前記撮像素子が遮光された状態で蓄積される電荷に基づく画素信号を第1画素信号として出力させるとともに、前記撮像素子に配置された前記複数の画素のそれぞれで受光した前記入射光を光電変換したときに得られる電荷に基づく画素信号を第2画素信号として出力させる制御部と、
前記複数の画素から出力される第1画素信号のうち、その信号値が予め設定された第1閾値よりも大きい第2閾値を超過する第1画素信号が含まれる場合に、前記第2閾値を超過する前記第1画素信号を、該第1画素信号を出力した画素の周縁に配置された周縁画素から出力された第1画素信号に基づいて補正した後、少なくとも予め設定された第1閾値を超過する前記第1画素信号を除いた、各画素列に含まれる残りの第1画素信号を用いて画素列毎の補正値を算出し、算出した画素列ごとの補正値を用いて該画素列ごとに前記第2画素信号を前記画素列毎に補正する補正部と、
を備えたことを特徴とする電子カメラ。
An image sensor in which a plurality of pixels that photoelectrically convert incident light are arranged in a matrix;
A pixel signal based on the charge accumulated in each of the plurality of pixels arranged in the image pickup device and stored in a state where the image pickup device is shielded from light is output as a first pixel signal, and arranged in the image pickup device. A control unit that outputs, as a second pixel signal, a pixel signal based on charges obtained when photoelectrically converting the incident light received by each of the plurality of pixels.
When the first pixel signal output from the plurality of pixels includes a first pixel signal whose signal value exceeds a second threshold value greater than a preset first threshold value , the second threshold value is set. After the excess first pixel signal is corrected based on the first pixel signal output from the peripheral pixel arranged at the peripheral edge of the pixel that output the first pixel signal, at least a first threshold value set in advance is set. A correction value for each pixel column is calculated using the remaining first pixel signals included in each pixel column excluding the excess first pixel signal, and the pixel column is calculated using the calculated correction value for each pixel column. A correction unit that corrects the second pixel signal for each pixel column every time;
An electronic camera characterized by comprising:
請求項1に記載の電子カメラにおいて、
前記補正部は、前記第2閾値を超過する第1画素信号を、前記周縁画素のいずれかの画素から出力される第1画素信号に置換することを特徴とする電子カメラ。
The electronic camera according to claim 1,
The electronic camera according to claim 1 , wherein the correction unit replaces a first pixel signal exceeding the second threshold with a first pixel signal output from any one of the peripheral pixels .
請求項1に記載の電子カメラにおいて、
前記補正部は、前記周縁画素から出力される第1画素信号を用いた補間処理を行うことで、前記第2閾値を超過した第1画素信号を補正することを特徴とする電子カメラ。
The electronic camera according to claim 1,
The electronic camera according to claim 1, wherein the correction unit corrects the first pixel signal exceeding the second threshold by performing an interpolation process using the first pixel signal output from the peripheral pixel .
請求項1から請求項3のいずれか1項に記載の電子カメラにおいて、
前記複数の画素は、前記入射光を光電変換する光電変換部と、前記光電変換部により光電変換された電荷を蓄積する電荷蓄積部と、前記光電変換部と前記電荷蓄積部とを遮断、又は接続するスイッチング素子と、を有し、
前記制御部は、前記スイッチング素子により前記光電変換部と前記電荷蓄積部とを遮断した状態で出力された画素信号と、前記光電変換部と前記電荷蓄積部とが接続された状態で出力された画素信号との差分を求めることで、前記第1画素信号及び第2画素信号を出力することを特徴とする電子カメラ。
The electronic camera according to any one of claims 1 to 3 ,
The plurality of pixels block a photoelectric conversion unit that photoelectrically converts the incident light, a charge storage unit that stores charges photoelectrically converted by the photoelectric conversion unit, and the photoelectric conversion unit and the charge storage unit, or A switching element to be connected,
The control unit is output with the pixel signal output in a state where the photoelectric conversion unit and the charge storage unit are blocked by the switching element, and the photoelectric conversion unit and the charge storage unit are connected. An electronic camera that outputs the first pixel signal and the second pixel signal by obtaining a difference from the pixel signal .
請求項1から請求項4のいずれか1項に記載の電子カメラにおいて、
前記撮像素子は、前記複数の画素の各画素からの画素信号を画素列方向に転送する転送部と、前記転送部により読み出された画素信号を画素列毎に増幅する増幅器とを、さらに備え、
前記補正部は、前記増幅器により増幅された画素列毎の第1画素信号の信号値を平均することで前記補正値を算出することを特徴とする電子カメラ。
The electronic camera according to any one of claims 1 to 4 ,
The imaging device further includes a transfer unit that transfers a pixel signal from each pixel of the plurality of pixels in a pixel column direction, and an amplifier that amplifies the pixel signal read by the transfer unit for each pixel column. ,
The electronic camera according to claim 1, wherein the correction unit calculates the correction value by averaging a signal value of a first pixel signal for each pixel column amplified by the amplifier .
JP2009149434A 2009-06-24 2009-06-24 Electronic camera Expired - Fee Related JP5293447B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009149434A JP5293447B2 (en) 2009-06-24 2009-06-24 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009149434A JP5293447B2 (en) 2009-06-24 2009-06-24 Electronic camera

Publications (2)

Publication Number Publication Date
JP2011009897A JP2011009897A (en) 2011-01-13
JP5293447B2 true JP5293447B2 (en) 2013-09-18

Family

ID=43566074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009149434A Expired - Fee Related JP5293447B2 (en) 2009-06-24 2009-06-24 Electronic camera

Country Status (1)

Country Link
JP (1) JP5293447B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4380403B2 (en) * 2004-04-22 2009-12-09 ソニー株式会社 Solid-state imaging device and driving method of solid-state imaging device
JP2007013292A (en) * 2005-06-28 2007-01-18 Olympus Corp Imaging apparatus

Also Published As

Publication number Publication date
JP2011009897A (en) 2011-01-13

Similar Documents

Publication Publication Date Title
JP5219778B2 (en) Imaging apparatus and control method thereof
JP5013811B2 (en) Imaging apparatus and correction method
JP5013812B2 (en) Imaging apparatus and correction method
CN109997352B (en) Imaging device, camera, and imaging method
JP2011071709A (en) Electronic camera
JP2007174266A (en) Imaging apparatus
JP2007019577A (en) Solid-state image pickup device
JP5332540B2 (en) Imaging apparatus and image correction program
JP5589284B2 (en) Imaging apparatus and correction amount calculation program
JP5043400B2 (en) Imaging apparatus and control method thereof
JP5058840B2 (en) Imaging device
JP5293447B2 (en) Electronic camera
JP2013192058A (en) Imaging apparatus
JP5720213B2 (en) Imaging device
JP2012094984A (en) Imaging apparatus
JP5127510B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2008072512A (en) Photographing apparatus and its control method, and photographing system
JP2009284392A (en) Imaging apparatus
JP5311943B2 (en) Imaging apparatus, control method, and program
JP4991435B2 (en) Imaging device
JP5404217B2 (en) Imaging apparatus and control method thereof
JP5311927B2 (en) Imaging apparatus and imaging method
JP2012094983A (en) Imaging apparatus and electronic camera
JP5072466B2 (en) Imaging device
JP4498253B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130416

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: 20130514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130527

R150 Certificate of patent or registration of utility model

Ref document number: 5293447

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees