JP2008017037A - Solid imaging apparatus, and defective pixel correcting method - Google Patents
Solid imaging apparatus, and defective pixel correcting method Download PDFInfo
- Publication number
- JP2008017037A JP2008017037A JP2006184631A JP2006184631A JP2008017037A JP 2008017037 A JP2008017037 A JP 2008017037A JP 2006184631 A JP2006184631 A JP 2006184631A JP 2006184631 A JP2006184631 A JP 2006184631A JP 2008017037 A JP2008017037 A JP 2008017037A
- Authority
- JP
- Japan
- Prior art keywords
- defective pixel
- solid
- imaging device
- state imaging
- pixel correction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000002950 deficient Effects 0.000 title claims abstract description 154
- 238000003384 imaging method Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims description 39
- 239000007787 solid Substances 0.000 title 1
- 238000012937 correction Methods 0.000 claims abstract description 78
- 238000001514 detection method Methods 0.000 claims description 24
- 230000007547 defect Effects 0.000 claims description 21
- 230000002093 peripheral effect Effects 0.000 abstract description 9
- 230000007423 decrease Effects 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 241000519995 Stachys sylvatica Species 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Landscapes
- Transforming Light Signals Into Electric Signals (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は固体撮像装置及び欠陥画素補正方法に関し、特に、欠陥画素補正を効率的に行うために用いて好適な技術に関する。 The present invention relates to a solid-state imaging device and a defective pixel correction method, and more particularly to a technique suitable for performing defective pixel correction efficiently.
固体撮像素子(例えば、CCD、CMOS等)においては、結晶欠陥やダストなどにより欠陥画素が生じることが従来から知られている。欠陥画素は主に2種類に層別される。1つ目は黒キズと呼ばれるもので、本来出力すべき値に対して、出力値が低下する欠陥画素を指す。実使用上現れる現象としては、白一面の被写体を撮影した際に、本来輝度が均一の画像が得られるはずだが、黒キズにより白一面の中に黒い点が存在する画像になる。原因としては、程度の悪いものはダスト、程度の軽いものは開口むら等が考えられる。 In a solid-state imaging device (for example, CCD, CMOS, etc.), it is conventionally known that defective pixels are generated due to crystal defects, dust, or the like. The defective pixels are mainly classified into two types. The first is called a black flaw and refers to a defective pixel whose output value is lower than the value that should be output. As a phenomenon that appears in actual use, an image with a uniform brightness should be originally obtained when a subject with a white surface is photographed, but an image having black spots in the white surface due to black scratches. As the cause, it can be considered that dust is inferior in the degree, and unevenness in opening is in the lighter degree.
2つ目は白キズと呼ばれるもので、本来出力すべき値に対して出力値が高くなる欠陥画素を指す。実使用上現れる現象としては、黒一面の被写体を撮影した際に、本来黒一面の画像が得られるはずだが、白キズにより黒一面の中に白い点が存在する画像になる。原因としては、主に結晶欠陥による暗信号の増加が考えられる。 The second is a so-called white scratch, which indicates a defective pixel whose output value is higher than the value that should be output. As a phenomenon that appears in actual use, an image with a black surface should be originally obtained when a subject with a black surface is photographed, but an image having white spots in the black surface due to white scratches. A possible cause is an increase in dark signal mainly due to crystal defects.
昨今の高画素化、超微細化の流れの中で、前述した欠陥画素の個数は増加傾向にあり、画像への影響、カメラシステムへの影響が懸念されている。欠陥画素の個数が増加すると全ての欠陥画素に対して対応することが困難になってくるため、それらの対策として、様々な欠陥画素補正方法が提案されている。 In the recent trend of increasing the number of pixels and miniaturization, the number of defective pixels described above is increasing, and there is concern about the influence on the image and the camera system. As the number of defective pixels increases, it becomes difficult to deal with all defective pixels, and various defective pixel correction methods have been proposed as countermeasures against them.
例えば、特許文献1に記載の欠陥画素補正方法では、撮像面が映像として出力される有効画素領域とそれ以外の無効画素領域とからなる固体撮像素子において、その欠陥画素を検出する際に、有効画素領域の欠陥画素の検出を無効画素領域の欠陥画素の検出よりも優先して行う。これにより、欠陥画素についてのデータを記憶しておくデータバンク数を増やすことなく、欠陥補正を効果的に行うという方法が提案されている。
For example, the defective pixel correction method described in
また、特許文献2記載の欠陥画素補正方法では、画像格納手段に画像データを一時格納し、読み出した画像データに含まれる欠陥画素の検出を欠陥画素検出手段で行い、第1の記憶手段に欠陥画素をすべて格納する。一方、補正対象選択手段では、第1の記憶手段から読み出した画像データのうち、画面中央近傍領域の欠陥を優先させて、補正数を考慮して補正対象の撮像素子を選択する。すなわち、補正数の制約を満たしながら、欠陥画像が目立ってしまう領域を重点的にかつ的確に選ぶことにより、簡便な構成で負担を軽減し、欠陥画素のない画像を容易に提供する方法が提案されている。
Further, in the defective pixel correction method described in
特許文献1及び特許文献2に記載の欠陥画素補正方法は、欠陥画素補正が優先的に必要な領域において優先的に欠陥画素補正を行い、優先的に必要でない領域においては欠陥画素補正を必要最小限とする方法である。しかし、欠陥画素補正が優先的に必要な領域において、補正対象画素が非常に多くなった場合、または画面内のある一部分に補正対象画素が集中する場合に補間エラーが発生する可能性が高かった。このため、実使用上としては、解像度、解像感の低下、偽色の発生などが起きる頻度が高くなるという問題点があった。
In the defective pixel correction methods described in
これらの現象が発生する理由は、欠陥画素補正は通常同色隣接画素から補間を行うが、同色隣接画素にも複数欠陥画素が存在した場合、さらに周囲の同色隣接画素から補間を行うからである。それゆえに欠陥画素と補間の際使用する同色隣接画素との位置関係が遠くなるため、欠陥画素補正を行った際に正しい補正値と異なる補正値を用いて欠陥画素補正を行う可能性が高くなってしまった。 The reason why these phenomena occur is that defective pixel correction normally interpolates from adjacent pixels of the same color, but if there are a plurality of defective pixels in the adjacent pixels of the same color, interpolation is further performed from neighboring pixels of the same color. Therefore, since the positional relationship between the defective pixel and the adjacent pixel of the same color used in the interpolation becomes far, there is a high possibility that the defective pixel is corrected using a correction value different from the correct correction value when the defective pixel is corrected. I have.
また、特許文献1及び特許文献2に記載の欠陥画素補正方法では、被写体の輝度に係わらず検出した欠陥画素に対して補正を行っていた。このため、この欠陥画素補正方法の場合には、欠陥画素が視覚的に目立ちやすい低輝度時、欠陥画素が視覚的に目立ちにくい高輝度時に係わらず常に同様に補正を行っていた。このように、欠陥画素の目立ち具合に係わりなく欠陥画素補正を行うことは、前述したように、補正対象画素が非常に多くなった場合に、またはある一部分に補正対象画素が集中する場合に、補間エラーが発生する可能性が高くなってしまう問題点があった。
In addition, in the defective pixel correction methods described in
本発明は前述の問題点に鑑み、解像度、解像感の低下、偽色の発生などが起きる頻度を抑えることができるようにするとともに、固体撮像素子の欠陥画素補正が過度に行われるのを防止できるようにすることを目的としている。 In view of the above-described problems, the present invention makes it possible to suppress the frequency with which the resolution, the sense of resolution decrease, the occurrence of false colors, and the like, and the defective pixel correction of the solid-state imaging device is excessively performed. It aims to be able to prevent.
本発明の固体撮像装置は、被写体からの入射光を固体撮像素子で光電変換することによって得られるアナログ信号をデジタル信号に変換し、前記デジタル信号に信号処理を施して前記固体撮像素子の欠陥画素補正を行う固体撮像装置であって、前記アナログ信号または前記デジタル信号の出力レベルを検出する映像信号レベル検出手段と、前記映像信号レベル検出手段によって検出された出力レベルに応じて、前記固体撮像素子の欠陥画素補正を行うか否かを判定する欠陥画素補正動作判定手段とを有することを特徴とする。 The solid-state imaging device of the present invention converts an analog signal obtained by photoelectrically converting incident light from a subject with a solid-state imaging device into a digital signal, performs signal processing on the digital signal, and defective pixels of the solid-state imaging device A solid-state imaging device that performs correction, wherein the solid-state imaging device detects video signal level detection means that detects an output level of the analog signal or the digital signal, and an output level detected by the video signal level detection means And defective pixel correction operation determining means for determining whether or not to perform the defective pixel correction.
本発明の欠陥画素補正方法は、被写体からの入射光を固体撮像素子で光電変換することによって得られるアナログ信号をデジタル信号に変換し、前記デジタル信号に信号処理を施して前記固体撮像素子の欠陥画素補正を行う固体撮像装置の欠陥画素補正方法であって、前記アナログ信号または前記デジタル信号の出力レベルを検出する映像信号レベル検出工程と、前記映像信号レベル検出工程において検出された出力レベルに応じて、前記固体撮像素子の欠陥画素補正を行うか否かを判定する欠陥画素補正動作判定工程とを有することを特徴とする。 The defective pixel correction method of the present invention converts an analog signal obtained by photoelectrically converting incident light from a subject with a solid-state image sensor into a digital signal, and performs signal processing on the digital signal to detect defects in the solid-state image sensor. A defective pixel correction method for a solid-state imaging device that performs pixel correction, according to a video signal level detection step for detecting an output level of the analog signal or the digital signal, and an output level detected in the video signal level detection step And a defective pixel correction operation determination step for determining whether or not to perform defective pixel correction of the solid-state imaging device.
本発明によれば、出力レベルに応じて、欠陥画素補正を行うか否かを判定して固体撮像素子の欠陥画素補正を行うようにした。これにより、解像度、解像感低下偽色の発生などが起きる頻度を抑えることができるとともに、固体撮像素子の欠陥画素補正が過度に行われるのを防止することができる。 According to the present invention, it is determined whether or not to perform defective pixel correction according to the output level, and defective pixel correction of the solid-state imaging device is performed. As a result, it is possible to suppress the occurrence of the occurrence of false colors with reduced resolution and resolution, and it is possible to prevent the defective pixel correction of the solid-state imaging device from being performed excessively.
(第1の実施形態)
以下、本発明の実施形態について、図面を参照しながら説明する。図1は、本実施形態に係る固体撮像装置(ここではデジタルスチルカメラ)の機能構成例を示すブロック図である。
まず、図1の各部の機能を説明する。10は固体撮像装置であり、本実施形態ではデジタルスチルカメラである。
(First embodiment)
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a functional configuration example of a solid-state imaging apparatus (here, a digital still camera) according to the present embodiment.
First, the function of each part in FIG. 1 will be described.
内部の機能を詳述すると、12は光を電気信号へ変換する固体撮像素子であり、本実施形態ではCCDとする。11は被写体からの光をCCD12へ集光するレンズである。13は、CCD12を駆動するタイミングを生成するタイミングジェネレータ(TG)である。
The internal function will be described in detail.
14はCCD12から出力される電気信号、すなわちアナログ映像信号をデジタル映像信号へ変換するA/D変換回路である。A/D変換回路14でデジタル映像信号に変換後、RAW画像データとして一旦、記憶部15の画像用メモリ16(ここではDRAMとする。)に記録される。
An A /
また、記憶部15中の欠陥画素アドレスメモリ17(ここではROMとする。)には、事前に工場調整時またはカメラ起動時等に、欠陥画素検出によって得られた欠陥画素の座標、Xアドレス、Yアドレスが記録されている。さらに、欠陥画素レベルメモリ18(ここではROMとする。)には、事前に工場調整時またはカメラ起動時等に、欠陥画素検出によって得られた、欠陥レベルが記録されている。
The defective pixel address memory 17 (referred to as ROM here) in the
19は欠陥画素周辺画素の輝度レベルを判定する輝度レベル判定回路であり、20は画像用メモリ16に記録されているRAWデータを最終的な出力画像フォーマットに変換する画像処理回路である。画像処理回路20で画像処理された後、記録媒体21(ここではコンパクトフラッシュ(登録商標)カードとする。)に撮影画像が最終フォーマットで記録される。
また、22は制御部(ここではCPUとする。)であり、タイミングジェネレータ13、A/D変換回路14、記憶部15、輝度レベル判定回路19、画像処理回路20及び記録媒体21を統括的に制御する。
次に、本実施形態における欠陥画素の検出処理手順を図2に示すフローチャートを用いて説明する。前述した通り、欠陥画素のXアドレス、Yアドレスと、欠陥画素の欠陥レベルを事前に検出し、カメラ内メモリに記憶しておく必要がある。本実施形態では製品出荷前に工場で欠陥画素検出を行う例を示す。 Next, the defective pixel detection processing procedure in this embodiment will be described with reference to the flowchart shown in FIG. As described above, the X address and Y address of the defective pixel and the defect level of the defective pixel must be detected in advance and stored in the camera memory. In this embodiment, an example in which defective pixels are detected in a factory before product shipment is shown.
まず、ステップS101において、欠陥画素検出を開始する。ここで、欠陥画素は当然のことながら搭載されるCCDによって、存在する個数、アドレス、欠陥レベルが異なるため、製品個々に検出する必要がある。 First, in step S101, defective pixel detection is started. Here, since the number of existing pixels, addresses, and defect levels differ depending on the CCD mounted, it is necessary to detect each defective product.
次に、ステップS102において、欠陥画素検出のために、明るさが一様な被写体、例えば輝度箱のような被写体を撮影する。撮影条件は、撮影した画像の全面が一様になるようなシェーディングを持たない条件、例えばF値の場合より絞った条件が好ましい。そして、ステップS103において、撮影した画像を、A/D変換回路14でアナログ映像信号からデジタル信号に変換し、RAW画像として画像用メモリ16に記録する。
Next, in step S102, a subject with uniform brightness, for example, a subject such as a luminance box, is photographed to detect defective pixels. The photographing condition is preferably a condition that does not have shading that makes the entire surface of the photographed image uniform, for example, a condition that is narrower than the F value. In step S103, the captured image is converted from an analog video signal to a digital signal by the A /
次に、ステップS104に進み、RAW画像各画素において、同色周囲画素との差分値を計算する。差分値の計算方法の詳細について、図4を参照しながら後で説明する。なお、本実施形態ではCCD12について原色ベイヤー配列を前提に説明するが、その他の色フィルタ構成でもよい。
Next, the process proceeds to step S104, and a difference value from the surrounding pixels of the same color is calculated for each pixel of the RAW image. Details of the difference value calculation method will be described later with reference to FIG. In the present embodiment, the
例えば、検査対象画素を図4の中心に位置するR33とした場合、検査対象画素の同色周囲画素(本実施形態ではR11、R13、R15、R31、R35、R51、R53、R55)の平均値をAVER33とする。AVER33は、以下の式(1)により求められる。
AVER33=(R11+R13+R15+R31+R35+R51+R53+R55)/8 ・・・(1)
For example, when the inspection target pixel is R33 located in the center of FIG. 4, the average value of the surrounding pixels of the same color of the inspection target pixel (R11, R13, R15, R31, R35, R51, R53, and R55 in this embodiment) AVER33. AVER33 is calculated | required by the following formula | equation (1).
AVER33 = (R11 + R13 + R15 + R31 + R35 + R51 + R53 + R55) / 8 (1)
さらに、加算平均値AVER33とR33との差分値をDR33とすると、DR33は、以下の式(2)により求められる。
DR33=|R33−AVER33| ・・・(2)
Furthermore, when the difference value between the addition average values AVER33 and R33 is DR33, DR33 is obtained by the following equation (2).
DR33 = | R33-AVER33 | (2)
図2のフローチャートの説明に戻る。ステップS104において、差分値の計算を行った後、ステップS105において、さらに欠陥画素の判定レベルをKとして、KとDR33との大小の比較を行う。この比較の結果、K<DR33である場合は、ステップS106に進み、R33は欠陥画素と判断し、デジタルスチルカメラ10内の記憶部15の欠陥画素アドレスメモリ17に、Xアドレス及びYアドレス(図4に示す例ではX=3、Y=3)を記録する。
Returning to the flowchart of FIG. In step S104, after calculating the difference value, in step S105, the defective pixel determination level is further set to K, and K and DR33 are compared in magnitude. As a result of this comparison, if K <DR33, the process proceeds to step S106, where R33 is determined to be a defective pixel, and the X address and Y address (see FIG. 5) are stored in the defective
さらに、以下の式(3)、(4)により欠陥画素の欠陥のレベルを算出する。R33の欠陥レベルをLEVR33とすると、
R33≧AVER33の場合、LEVR33=R33/AVER33 ・・・(3)
R33<AVER33の場合、LEVR33=AVER33/R33 ・・・(4)
とする。そして、デジタルスチルカメラ10内の記憶部15の欠陥画素レベルメモリ18に、R33の欠陥レベル(LEVR33)を記録する。
Further, the defect level of the defective pixel is calculated by the following equations (3) and (4). If the defect level of R33 is LEVR33,
When R33 ≧ AVER33, LEVR33 = R33 / AVER33 (3)
When R33 <AVER33, LEVR33 = AVER33 / R33 (4)
And Then, the defect level (LEVR33) of R33 is recorded in the defective
一方、ステップS105の比較の結果、K≧DR33である場合は、ステップS107に進み、R33は本来の値が出力されているため、欠陥画素ではないと判断する。次に、ステップS108において、RAW画像の最終画素まで欠陥画素の判定が終了したか否かを判定する。この判定の結果、欠陥画素の判定が終了していない場合は、ステップS104に戻り、ステップS104〜S108まで、各画素の欠陥画素検出作業を全画素終了するまで同様に行う。 On the other hand, if K ≧ DR33 as a result of the comparison in step S105, the process proceeds to step S107, and it is determined that R33 is not a defective pixel because the original value of R33 is output. Next, in step S108, it is determined whether or not defective pixels have been determined up to the final pixel of the RAW image. If the determination of the defective pixel is not completed as a result of the determination, the process returns to step S104, and the defective pixel detection operation for each pixel is performed in the same manner until the completion of all pixels from step S104 to S108.
一方、ステップS108の判定の結果、欠陥画素の判定が終了した場合は、ステップS109に進み、欠陥画素補正テーブルを作成する。図5は、欠陥画素補正テーブルの一例を示す図である。図5に示すように、欠陥画素の同色周辺画素の輝度レベル(12ビット)と欠陥画素レベルとで5段階に分類されており、○及び×の2つのパラメータで作成されている。作成方法と使用方法の詳細については、図3に示すフローチャートで後述する。ステップS109において欠陥画素補正テーブルを作成したら、製品出荷前の工場での欠陥画素検出を終了する(ステップS110)。 On the other hand, if the determination of the defective pixel is completed as a result of the determination in step S108, the process proceeds to step S109, and a defective pixel correction table is created. FIG. 5 is a diagram illustrating an example of a defective pixel correction table. As shown in FIG. 5, the brightness level (12 bits) of the peripheral pixels of the same color of the defective pixel and the defective pixel level are classified into five levels, and are created with two parameters of ○ and ×. Details of the creation method and the usage method will be described later with reference to the flowchart shown in FIG. When the defective pixel correction table is created in step S109, the defective pixel detection at the factory before product shipment is terminated (step S110).
次に、図3に示すフローチャートを参照しながら本実施形態の欠陥画素補正方法の一例を説明する。
まず、ステップS201において、撮影者の操作により撮影を開始する。次に、ステップS202において、撮影されたRAW画像をデジタルスチルカメラ10内の記憶部15の画像用メモリ(DRAM)16に一旦記録する。
Next, an example of the defective pixel correction method of this embodiment will be described with reference to the flowchart shown in FIG.
First, in step S201, shooting is started by a photographer's operation. Next, in step S <b> 202, the captured RAW image is temporarily recorded in the image memory (DRAM) 16 of the
次に、ステップS203において、図2のステップS106で検出した欠陥画素のアドレスを欠陥画素アドレスメモリ17より取得する。さらに、ステップS204において、図2のステップS106で検出した欠陥画素の欠陥画素レベルを欠陥画素レベルメモリ18より取得する。 Next, in step S203, the address of the defective pixel detected in step S106 in FIG. Further, in step S204, the defective pixel level of the defective pixel detected in step S106 in FIG.
次に、ステップS205において、欠陥画素周辺の周辺輝度レベルを算出する。欠陥画素周辺の周辺輝度レベル算出方法は、図4に示すR33が、欠陥画素であった場合、周辺輝度レベルをYR33とすると、本実施形態では、以下の式(5)を用いて欠陥画素の周辺輝度レベルを算出する。
YR33=((R13+R31+R35+R53)/4+(B22+B24+B42+B44)/4+(Gr23+Gb32+Gb34+Gr43)/4×2)/4 ・・・(5)
Next, in step S205, the peripheral luminance level around the defective pixel is calculated. As for the peripheral luminance level calculation method around the defective pixel, if R33 shown in FIG. 4 is a defective pixel and the peripheral luminance level is YR33, in this embodiment, the following equation (5) is used to calculate the defective pixel. A peripheral brightness level is calculated.
YR33 = ((R13 + R31 + R35 + R53) / 4 + (B22 + B24 + B42 + B44) / 4 + (Gr23 + Gb32 + Gb34 + Gr43) / 4 × 2) / 4 (5)
次に、ステップS206において、図2のステップS109で作成した欠陥画素補正テーブルを参照し、ステップS203で取得した欠陥画素に対して欠陥画素補正を行うか否かを判定する。本実施形態では欠陥画素補正テーブルを、図2のステップS109で算出した欠陥画素周辺の周辺輝度レベルを5段階(12ビットで記載)と、欠陥画素の欠陥画素レベルをレベル1〜5(レベル1の方が程度が悪い)に5段階に分類した2つのパラメータによって作成している。
Next, in step S206, with reference to the defective pixel correction table created in step S109 of FIG. 2, it is determined whether or not the defective pixel correction is performed on the defective pixel acquired in step S203. In the present embodiment, the defective pixel correction table includes five levels of peripheral luminance levels around the defective pixel calculated in step S109 in FIG. 2 (described in 12 bits), and the defective pixel level of the defective pixel is set to
この2つのパラメータによって欠陥画素補正を行うか否かを判定するが、本実施形態では欠陥画素周辺が高輝度である場合に欠陥画素が目立ちにくいという特性を生かし、低輝度時かつ欠陥画素レベルが低い時のみ欠陥画素補正を行う。 Whether or not to perform defective pixel correction is determined based on these two parameters. In this embodiment, the defective pixel is less noticeable when the periphery of the defective pixel has high luminance, and the defective pixel level is low at low luminance. Only when it is low, defective pixel correction is performed.
欠陥画素周辺が高輝度である場合は欠陥画素が目立ちにくいという特性について、図6を参照しながら説明する。図6は、輝度値の入出力特性、すなわち、輝度ガンマ特性を示す図である。X軸は入力RAW画像の輝度値(12ビット)を表現し、Y軸は最終出力画像フォーマットの輝度値(8ビット)を表現している。 The characteristic that the defective pixel is less noticeable when the periphery of the defective pixel has high brightness will be described with reference to FIG. FIG. 6 is a diagram showing input / output characteristics of luminance values, that is, luminance gamma characteristics. The X axis represents the luminance value (12 bits) of the input RAW image, and the Y axis represents the luminance value (8 bits) of the final output image format.
例えば、本来出力すべき値に対して−20%の出力値となる欠陥画素が、高輝度部と低輝度部それぞれに存在したと仮定した場合を説明する。高輝度部の欠陥画素は、図6中の(1)に示すように、−20%出力が低下してもガンマ特性の傾きが小さいため、出力値としての低下は僅かとなる。一方、低輝度部の欠陥画素は、図6中の(2)に示すように、同じ−20%の低下でもガンマ特性の傾きが大きいため、出力値の低下は大きくなる。 For example, a case will be described in which it is assumed that a defective pixel having an output value of −20% with respect to a value that should be output is present in each of the high luminance portion and the low luminance portion. As indicated by (1) in FIG. 6, the defective pixel in the high luminance portion has a small decrease in output value because the gradient of the gamma characteristic is small even when the output is decreased by −20%. On the other hand, as shown in (2) in FIG. 6, the defective pixel in the low luminance part has a large gradient of the gamma characteristic even when the decrease is the same −20%, so that the output value decreases greatly.
このような特性を生かして、ステップS206では低輝度時かつ欠陥画素レベルが低い図5中の○に該当する欠陥画素である場合に欠陥画素補正を行うと判定し、×部に該当する欠陥画素である場合は欠陥画素補正を行わない判定する。 Taking advantage of such characteristics, in step S206, it is determined that defective pixel correction is to be performed when the pixel is a defective pixel corresponding to a circle in FIG. If it is, it is determined not to perform defective pixel correction.
ステップS206の判定の結果、欠陥画素補正を行う場合は、ステップS207に進み、同色周囲画素から補間して欠陥画素の値を置き換える。具体的には、例えば図4中のR33が欠陥画素補正必要画素であった場合は、以下の式(6)を用いてR33を同色周囲画素平均値AVER33と置き換える。
R33=AVER33=(R11+R13+R15+R31+R35+R51+R53+R55)/8 ・・・(6)
If defective pixel correction is to be performed as a result of the determination in step S206, the process proceeds to step S207, and the value of the defective pixel is replaced by interpolation from surrounding pixels of the same color. Specifically, for example, when R33 in FIG. 4 is a defective pixel correction necessary pixel, R33 is replaced with the same color surrounding pixel average value AVER33 by using the following equation (6).
R33 = AVER33 = (R11 + R13 + R15 + R31 + R35 + R51 + R53 + R55) / 8 (6)
一方、ステップS206の判定の結果、欠陥画素補正を行わない場合は、ステップS208に進み、欠陥画素補正を行わずに放置する。次に、ステップS209において、最終欠陥画素まで欠陥画素補正の判定が終了したか否かを判定する。この判定の結果、最終欠陥画素まで欠陥画素補正の判定が終了していない場合は、ステップS203に戻り、図2のステップS106で検出した欠陥画素アドレスメモリに記録されている全欠陥画素に対して欠陥画素補正の判定を行うまで繰り返す。一方、ステップS209の判定の結果、最終欠陥画素まで欠陥画素補正の判定が終了した場合は、ステップS210に進み、欠陥画素補正を完了する。 On the other hand, if the result of determination in step S206 is that defective pixel correction is not to be performed, processing proceeds to step S208, where the defective pixel correction is not performed and is left unattended. Next, in step S209, it is determined whether or not the defective pixel correction determination has been completed up to the final defective pixel. If the result of this determination is that the defective pixel correction determination has not been completed up to the final defective pixel, the process returns to step S203, and all defective pixels recorded in the defective pixel address memory detected in step S106 of FIG. Repeat until the defective pixel correction is determined. On the other hand, as a result of the determination in step S209, when the determination of the defective pixel correction is completed up to the final defective pixel, the process proceeds to step S210, and the defective pixel correction is completed.
以上のように、本実施形態においては、欠陥画素周辺の周辺輝度レベルと欠陥画素の欠陥画素レベルとから、視覚的に欠陥画素が目立ちやすい画素のみ欠陥画素補正を行うようにした。これにより、解像感低下を最低限に抑えた良好な画像を提供することが可能となる。 As described above, in the present embodiment, the defective pixel correction is performed only on the pixel that is visually conspicuous of the defective pixel from the peripheral luminance level around the defective pixel and the defective pixel level of the defective pixel. As a result, it is possible to provide a good image with a reduction in resolution feeling minimized.
(本発明に係る他の実施形態)
前述した本発明の実施形態における固体撮像装置を構成する各手段、並びに欠陥画素補正方法の各工程は、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記録したコンピュータ読み取り可能な記録媒体は本発明に含まれる。
(Other embodiments according to the present invention)
Each means constituting the solid-state imaging device and each step of the defective pixel correction method in the embodiment of the present invention described above can be realized by operating a program stored in a RAM or ROM of a computer. This program and a computer-readable recording medium recording the program are included in the present invention.
また、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。 Further, the present invention can be implemented as, for example, a system, apparatus, method, program, or recording medium. Specifically, the present invention may be applied to a system including a plurality of devices. The present invention may be applied to an apparatus composed of a single device.
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図2、3に示すフローチャートに対応したプログラム)を、システムまたは装置に直接、または遠隔から供給する。そして、そのシステムまたは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。 In the present invention, a software program (in the embodiment, a program corresponding to the flowcharts shown in FIGS. 2 and 3) that realizes the functions of the above-described embodiments is directly or remotely supplied to the system or apparatus. This includes the case where the system or the computer of the apparatus is also achieved by reading and executing the supplied program code.
したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。 In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.
プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスクなどがある。さらに、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM、DVD−R)などもある。 Examples of the recording medium for supplying the program include a floppy (registered trademark) disk, a hard disk, an optical disk, and a magneto-optical disk. Further, there are MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R) and the like.
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する方法がある。そして、前記ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。 As another program supply method, there is a method of connecting to a homepage on the Internet using a browser of a client computer. The computer program itself of the present invention or a compressed file including an automatic installation function can be downloaded from the homepage by downloading it to a recording medium such as a hard disk.
また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.
また、その他の方法として、本発明のプログラムを暗号化してCD−ROM等の記録媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 As another method, the program of the present invention is encrypted, stored in a recording medium such as a CD-ROM, distributed to users, and encrypted from a homepage via the Internet to users who have cleared predetermined conditions. Download the key information to be solved. It is also possible to execute the encrypted program by using the key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。さらに、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 Further, the functions of the above-described embodiments are realized by the computer executing the read program. Furthermore, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can be realized by the processing.
さらに、その他の方法として、まず記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。そして、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。 As another method, the program read from the recording medium is first written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on the instructions of the program, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are also realized by the processing.
10 デジタルスチルカメラ
11 レンズ
12 CCD
13 タイミングジェネレータ
14 A/D変換回路
15 記憶部
16 画像用メモリ
17 欠陥画素アドレスメモリ
18 欠陥画素レベルメモリ
19 輝度レベル判定回路
20 画像処理回路
21 記録媒体
22 制御部
10 Digital still
DESCRIPTION OF
Claims (6)
前記アナログ信号または前記デジタル信号の出力レベルを検出する映像信号レベル検出手段と、
前記映像信号レベル検出手段によって検出された出力レベルに応じて、前記固体撮像素子の欠陥画素補正を行うか否かを判定する欠陥画素補正動作判定手段とを有することを特徴とする固体撮像装置。 A solid-state imaging device that converts an analog signal obtained by photoelectrically converting incident light from an object into a digital signal, performs signal processing on the digital signal, and corrects a defective pixel of the solid-state imaging device. And
Video signal level detection means for detecting an output level of the analog signal or the digital signal;
A solid-state imaging device, comprising: a defective pixel correction operation determination unit that determines whether or not to perform defective pixel correction of the solid-state imaging device according to an output level detected by the video signal level detection unit.
前記欠陥画素補正動作判定手段は、前記欠陥レベル検出手段によって検出された欠陥レベルと、前記映像信号レベル検出手段によって生成された輝度信号の情報とから前記固体撮像素子の欠陥画素補正を行うか否かを判定することを特徴とする請求項2に記載の固体撮像装置。 A defect level detecting means for detecting a defect level of a defective pixel in the solid-state imaging device;
Whether or not the defective pixel correction operation determination unit performs the defective pixel correction of the solid-state imaging device from the defect level detected by the defect level detection unit and the information of the luminance signal generated by the video signal level detection unit. The solid-state imaging device according to claim 2, wherein the solid-state imaging device is determined.
前記アナログ信号または前記デジタル信号の出力レベルを検出する映像信号レベル検出工程と、
前記映像信号レベル検出工程において検出された出力レベルに応じて、前記固体撮像素子の欠陥画素補正を行うか否かを判定する欠陥画素補正動作判定工程とを有することを特徴とする欠陥画素補正方法。 A defect in a solid-state imaging device that converts an analog signal obtained by photoelectrically converting incident light from a subject into a digital signal to a digital signal and performs signal processing on the digital signal to correct a defective pixel of the solid-state imaging device A pixel correction method,
A video signal level detection step of detecting an output level of the analog signal or the digital signal;
A defective pixel correction method comprising: a defective pixel correction operation determination step for determining whether or not to perform defective pixel correction of the solid-state imaging device according to the output level detected in the video signal level detection step .
前記欠陥画素補正動作判定工程においては、前記欠陥レベル検出工程において検出された欠陥レベルと、前記映像信号レベル検出工程において生成された輝度信号の情報とから前記固体撮像素子の欠陥画素補正を行うか否かを判定することを特徴とする請求項5に記載の欠陥画素補正方法。 A defect level detection step of detecting a defect level of a defective pixel in the solid-state imaging device;
Whether the defective pixel correction of the solid-state imaging device is performed based on the defect level detected in the defect level detection step and the luminance signal information generated in the video signal level detection step in the defective pixel correction operation determination step 6. The defective pixel correction method according to claim 5, wherein it is determined whether or not.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006184631A JP2008017037A (en) | 2006-07-04 | 2006-07-04 | Solid imaging apparatus, and defective pixel correcting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006184631A JP2008017037A (en) | 2006-07-04 | 2006-07-04 | Solid imaging apparatus, and defective pixel correcting method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008017037A true JP2008017037A (en) | 2008-01-24 |
Family
ID=39073663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006184631A Pending JP2008017037A (en) | 2006-07-04 | 2006-07-04 | Solid imaging apparatus, and defective pixel correcting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008017037A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8077253B2 (en) | 2008-06-17 | 2011-12-13 | Kabushiki Kaisha Toshiba | Solid-state device having digital signal processing circuit |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002142157A (en) * | 2000-11-06 | 2002-05-17 | Matsushita Electric Ind Co Ltd | Pixel defect correcting apparatus |
JP2006100913A (en) * | 2004-09-28 | 2006-04-13 | Canon Inc | Image processor and processing method |
JP2006148794A (en) * | 2004-11-24 | 2006-06-08 | Canon Inc | Imaging apparatus, correction processing method, correction processing program and storage medium |
-
2006
- 2006-07-04 JP JP2006184631A patent/JP2008017037A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002142157A (en) * | 2000-11-06 | 2002-05-17 | Matsushita Electric Ind Co Ltd | Pixel defect correcting apparatus |
JP2006100913A (en) * | 2004-09-28 | 2006-04-13 | Canon Inc | Image processor and processing method |
JP2006148794A (en) * | 2004-11-24 | 2006-06-08 | Canon Inc | Imaging apparatus, correction processing method, correction processing program and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8077253B2 (en) | 2008-06-17 | 2011-12-13 | Kabushiki Kaisha Toshiba | Solid-state device having digital signal processing circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5335327B2 (en) | Defect detection and correction apparatus and defect detection and correction method | |
JP5266957B2 (en) | Defective pixel detection device, imaging device, and defective pixel detection method | |
JP3944151B2 (en) | Image processing method, image processing apparatus, and image processing program | |
US8970742B2 (en) | Image processing apparatus and method capable of performing correction process speedily and easily | |
JP2007143120A (en) | Noise eliminating device, noise eliminating method, noise eliminating program and recording medium | |
JP2008015946A (en) | Apparatus and method for image processing | |
JP4383827B2 (en) | Imaging apparatus, white defect correction method, computer program, and computer-readable recording medium | |
JP2009005083A (en) | Imaging apparatus, control method of imaging apparatus and control program of imaging apparatus | |
JP2005101829A (en) | Signal processing apparatus | |
JP4926467B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
JP2020022135A (en) | Defective pixel correction device, imaging device, and defective pixel correction method | |
JP2010068329A (en) | Imaging apparatus | |
JP2001307079A (en) | Image processing apparatus, image processing method, and recording medium | |
JP2007312076A (en) | Noise reducing device for image data and control method thereof | |
JP2010178226A (en) | Imaging apparatus, chromatic aberration suppressing method, and chromatic aberration suppressing circuit, and program | |
JP2008017037A (en) | Solid imaging apparatus, and defective pixel correcting method | |
JP2010041437A (en) | Imaging apparatus, and control method and program thereof | |
JP2010011073A (en) | Imaging device, its image processing method and program | |
JP2010056817A (en) | Imaging apparatus | |
JP2009284343A (en) | Imaging device, defect correction apparatus, defect correction method, and program | |
JP2005286825A (en) | Defective pixel correction apparatus and method, imaging apparatus, program, and storage medium | |
JP2013126101A (en) | Imaging device and imaging method | |
JP5968145B2 (en) | Image processing apparatus and control method thereof | |
JP5213542B2 (en) | Imaging apparatus and imaging method | |
JP2006246442A (en) | Noise processing apparatus and imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090629 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110614 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110621 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110822 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110913 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111111 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111206 |