JP2005341244A - Imaging device, defective pixel detecting method, and program - Google Patents
Imaging device, defective pixel detecting method, and program Download PDFInfo
- Publication number
- JP2005341244A JP2005341244A JP2004157620A JP2004157620A JP2005341244A JP 2005341244 A JP2005341244 A JP 2005341244A JP 2004157620 A JP2004157620 A JP 2004157620A JP 2004157620 A JP2004157620 A JP 2004157620A JP 2005341244 A JP2005341244 A JP 2005341244A
- Authority
- JP
- Japan
- Prior art keywords
- defective pixel
- defect
- defective
- pixel
- frame memory
- 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
Images
Abstract
Description
本発明は、固体撮像装置を用いて画像を撮像する撮像装置、この撮像装置における欠陥画素検出方法およびプログラムに関し、特に、撮像画像の1フレームの各画素に対応するアドレスにデータを記憶するフレームメモリを用い、かつ撮像画像信号を基に欠陥画素を検出することが可能な撮像装置、欠陥画素検出方法およびプログラムに関する。 The present invention relates to an image pickup apparatus that picks up an image using a solid-state image pickup apparatus, a defective pixel detection method and a program in the image pickup apparatus, and in particular, a frame memory that stores data at an address corresponding to each pixel of one frame of a picked-up image. In addition, the present invention relates to an imaging apparatus, a defective pixel detection method, and a program capable of detecting a defective pixel based on a captured image signal.
一般に、デジタルスチルカメラやデジタルビデオカメラなどに搭載されて被写体を撮像するための固体撮像素子では、多数の画素のうちの一部に欠陥が生じることがある。このような欠陥画素は、例えば、固体撮像素子を構成する半導体の局部的な結晶欠陥などによる過剰電荷の発生といった原因により発生する。このような欠陥画素は異常なレベルの信号を出力するので、欠陥画素は画質を劣化させる原因となる。このため、固体撮像素子を用いた従来の撮像素子では、欠陥画素の位置を検出してその出力信号を補正することが行われていた。 In general, in a solid-state imaging device that is mounted on a digital still camera, a digital video camera, or the like and images a subject, a defect may occur in some of a large number of pixels. Such defective pixels are generated due to, for example, generation of excessive charges due to local crystal defects of the semiconductor constituting the solid-state imaging device. Since such a defective pixel outputs an abnormal level signal, the defective pixel causes deterioration in image quality. For this reason, in a conventional image sensor using a solid-state image sensor, the position of a defective pixel is detected and the output signal is corrected.
欠陥画素の検出には、様々な方法がある。例えば、異常に出力レベルの高い欠陥画素(白欠陥と呼ばれる)は、シャッタを完全に閉じた状態で撮像することで検出することができる。また、異常に出力レベルの低い欠陥画素(黒欠陥と呼ばれる)は、基準光源などを受光面に照射して撮像することで検出することができる。 There are various methods for detecting defective pixels. For example, a defective pixel having an abnormally high output level (referred to as a white defect) can be detected by capturing an image with the shutter completely closed. In addition, defective pixels with abnormally low output levels (called black defects) can be detected by irradiating a light receiving surface with a reference light source or the like and imaging.
また、このような遮光手段や基準光源などを用いずに、通常撮像時の画像信号を基に欠陥画素の位置を検出する方法もある。例えば、所定の画素とその周囲の画素との信号レベル差などを基に欠陥画素位置を推定する方法が一般的に用いられており、さらに、このような方法による欠陥検出を複数フレームにわたって行い、複数フレーム分の検出結果をメモリに記憶しておき、その記憶情報に基づいて欠陥画素であるか否かを最終的に断定することで、検出精度を高めたものもあった(例えば、特許文献1参照)。ここで、複数フレーム分の検出結果を記憶しておくためには、1フレーム分の各画素に対応するアドレスにデータが配置される、いわゆるフレームメモリを用いることが望ましく、これにより処理を効率化することができる。 There is also a method of detecting the position of a defective pixel based on an image signal at the time of normal imaging without using such a light shielding means or a reference light source. For example, a method of estimating a defective pixel position based on a signal level difference between a predetermined pixel and surrounding pixels is generally used, and further, defect detection by such a method is performed over a plurality of frames, Some detection results for a plurality of frames are stored in a memory, and finally it is determined whether or not the pixel is a defective pixel based on the stored information. 1). Here, in order to store detection results for a plurality of frames, it is desirable to use a so-called frame memory in which data is arranged at an address corresponding to each pixel for one frame, thereby improving processing efficiency. can do.
なお、固体撮像素子の受光面を遮光して輝点(白欠陥)を検出する方法を用いた従来技術としては、遮光時の撮像画像信号と基準信号との比較結果に応じて、1つのフレームメモリ上の対応アドレスのデータをインクリメントまたはデクリメントし、このような検出動作を複数フレーム分繰り返し行って、フレームメモリ上のデータが大きいアドレスに対応する画素を輝点と判定することで、メモリ容量を増やすことなく、ランダムノイズの影響が低減されて検出精度が高められた輝点検出装置があった(例えば、特許文献2参照)。
上述したように、撮像画像信号を基に欠陥画素を検出する方法は、遮光手段や基準光源を用いる必要がないので、比較的簡単な構成で実現することができる。また、このような方法を用いた場合には、上記の特許文献1に開示されたように、より多くのフレーム分の欠陥検出を行ってそれらの検出結果に基づいて欠陥画素を断定する方が、検出精度を高くすることができる。 As described above, the method of detecting a defective pixel based on the captured image signal does not require the use of a light shielding unit or a reference light source, and can be realized with a relatively simple configuration. In addition, when such a method is used, it is better to detect defects for a larger number of frames and to determine defective pixels based on the detection results as disclosed in Patent Document 1 above. The detection accuracy can be increased.
しかし、多くのフレーム分の欠陥検出を行う場合には、その分だけ検出結果を記憶しておくフレームメモリが必要となり、回路規模が大きくなり、製造コストが上昇するという問題がある。特に、近年では固体撮像素子の高画素化が進んでおり、ある程度の検出精度を満たすようにするためには非常に容量の大きいフレームメモリを設ける必要がある。 However, when performing defect detection for a large number of frames, a frame memory for storing detection results corresponding to the number of frames is necessary, which causes a problem that the circuit scale increases and the manufacturing cost increases. In particular, in recent years, the number of pixels of a solid-state imaging device has been increased, and it is necessary to provide a frame memory having a very large capacity in order to satisfy a certain degree of detection accuracy.
本発明はこのような課題に鑑みてなされたものであり、メモリ容量が増大することなく、固体撮像素子による撮像画像信号を基にした欠陥画素検出の精度を高めることが可能な撮像装置を提供することを目的とする。 The present invention has been made in view of such problems, and provides an imaging apparatus capable of increasing the accuracy of defective pixel detection based on a captured image signal from a solid-state imaging device without increasing the memory capacity. The purpose is to do.
また、本発明の他の目的は、メモリ容量を増大させることなく検出精度を高めることが可能な、固体撮像素子による撮像画像信号を基にした欠陥画素検出方法を提供することである。 Another object of the present invention is to provide a defective pixel detection method based on a picked-up image signal from a solid-state image pickup device capable of increasing detection accuracy without increasing the memory capacity.
さらに、本発明の他の目的は、メモリ容量を増大させることなく検出精度を高めることが可能な、固体撮像素子による撮像画像信号を基にした欠陥画素検出プログラムを提供することである。 Furthermore, another object of the present invention is to provide a defective pixel detection program based on a picked-up image signal from a solid-state image pickup device capable of increasing detection accuracy without increasing the memory capacity.
本発明では上記課題を解決するために、固体撮像装置を用いて画像を撮像する撮像装置において、撮像画像の1フレームの各画素に対応するアドレスにデータを記憶するフレームメモリと、撮像画像信号を基に欠陥画素候補を検出する欠陥画素候補検出手段と、前記欠陥画素候補検出手段により前記欠陥画素候補が検出されるごとに、当該欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするデータ書き込み手段と、前記フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、その時点でデータ値が大きい順に上位から所定数のアドレスを抽出し、当該アドレスに対応する画素を欠陥画素と判定する欠陥画素判定手段とを有することを特徴とする撮像装置が提供される。 In the present invention, in order to solve the above-described problem, in an imaging apparatus that captures an image using a solid-state imaging apparatus, a frame memory that stores data at an address corresponding to each pixel of one frame of the captured image, and a captured image signal Defective pixel candidate detecting means for detecting a defective pixel candidate based on the data, and each time the defective pixel candidate is detected by the defective pixel candidate detecting means, the address data on the frame memory corresponding to the position of the defective pixel candidate Data writing means for incrementing the value, and when the data value of at least one address on the frame memory reaches a predetermined reference value, a predetermined number of addresses are extracted from the top in descending order of the data value at that time, Provided is an imaging device having defective pixel determination means for determining a pixel corresponding to the address as a defective pixel It is.
このような撮像装置では、欠陥画素候補検出手段による欠陥画素候補の検出が複数フレーム分だけ行われると、欠陥画素候補として検出された回数がその画素の対応アドレスのデータ値として1つのフレームメモリに記録される。そして、欠陥画素判定手段により、フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、フレームメモリ上のデータ値が大きい画素のみが欠陥画素として最終的に判定される。 In such an imaging apparatus, when defective pixel candidates are detected by a defective pixel candidate detection unit for a plurality of frames, the number of times detected as a defective pixel candidate is stored in one frame memory as the data value of the corresponding address of the pixel. To be recorded. Then, when the data value of at least one address on the frame memory reaches a predetermined reference value, only a pixel having a large data value on the frame memory is finally determined as a defective pixel by the defective pixel determination means. .
また、本発明では、撮像画像の1フレームの各画素に対応するアドレスにデータを記憶するフレームメモリを用いて、固体撮像素子における欠陥画素を検出するための欠陥画素検出方法において、撮像画像信号を基に欠陥画素候補が検出されるごとに、データ書き込み手段が、検出された前記欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするステップと、欠陥画素判定手段が、前記フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、その時点でデータ値が大きい順に上位から所定数のアドレスを抽出し、当該アドレスに対応する画素を欠陥画素と判定するステップとを含むことを特徴とする欠陥画素検出方法が提供される。 Further, according to the present invention, in a defective pixel detection method for detecting a defective pixel in a solid-state imaging device using a frame memory that stores data at an address corresponding to each pixel of one frame of the captured image, Each time a defective pixel candidate is detected, the data writing means increments the data value of the address on the frame memory corresponding to the detected position of the defective pixel candidate; and the defective pixel determination means, When the data value of at least one address on the frame memory reaches a predetermined reference value, a predetermined number of addresses are extracted in descending order of the data value at that time, and the pixel corresponding to the address is defined as a defective pixel. And determining a defective pixel.
このような欠陥画素検出方法では、欠陥画素候補検出手段による欠陥画素候補の検出が複数フレーム分だけ行われると、欠陥画素候補として検出された回数がその画素の対応アドレスのデータ値として1つのフレームメモリに記録される。そして、欠陥画素判定手段により、フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、フレームメモリ上のデータ値が大きい画素のみが欠陥画素として最終的に判定される。 In such a defective pixel detection method, when defective pixel candidates are detected for a plurality of frames by the defective pixel candidate detection means, the number of times detected as defective pixel candidates is one frame as the data value of the corresponding address of the pixel. Recorded in memory. Then, when the data value of at least one address on the frame memory reaches a predetermined reference value, only a pixel having a large data value on the frame memory is finally determined as a defective pixel by the defective pixel determination means. .
本発明によれば、欠陥画素候補として検出された回数を画素ごとにフレームメモリに記録する構成としたことにより、複数フレームの撮像画像信号を基に欠陥画素候補を検出しながらもフレームメモリが1つしか必要とされない。また、いずれかの画素について欠陥画素候補とされた回数が所定値に達したときに最終的な欠陥画素の判定を行い、このときに上記回数の多い順に所定数の画素を欠陥画素とすることで、同じ検出条件下において欠陥画素である可能性の高い画素が優先的に欠陥画素と判定されるので、遮光手段や基準光源などを用いない比較的簡単な構成により実現可能な欠陥画素候補の検出を行いながらも、その検出精度を向上させることができる。従って、メモリ容量を増大させることなく、低コストで精度の高い欠陥画素検出を行うことが可能となる。 According to the present invention, the number of times detected as a defective pixel candidate is recorded in the frame memory for each pixel, so that the frame memory is 1 while the defective pixel candidate is detected based on the captured image signals of a plurality of frames. Only one is needed. Further, when the number of defective pixels for any pixel reaches a predetermined value, the final defective pixel is determined, and at this time, the predetermined number of pixels is determined as the defective pixel in descending order of the number of times. Therefore, a pixel that is likely to be a defective pixel under the same detection condition is preferentially determined as a defective pixel, so that a defective pixel candidate that can be realized with a relatively simple configuration without using a light shielding unit or a reference light source is used. While performing detection, the detection accuracy can be improved. Therefore, it is possible to detect defective pixels with high accuracy at low cost without increasing the memory capacity.
以下、本発明をデジタルスチルカメラに適用した場合を例に、本発明の実施の形態を図面を参照して詳細に説明する。
≪第1の実施の形態≫
図1は、本発明の第1の実施の形態に係るデジタルスチルカメラの全体構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings, taking the case where the present invention is applied to a digital still camera as an example.
<< First Embodiment >>
FIG. 1 is a block diagram showing the overall configuration of the digital still camera according to the first embodiment of the present invention.
図1に示すデジタルスチルカメラは、光学ブロック11、アナログフロントエンド(AFE)処理回路12、カメラ信号処理回路13、エンコーダ/デコーダ14、システム制御部15、入力部16、グラフィックI/F(インタフェース)17、ディスプレイ17a、およびR/W(リーダ/ライタ)18を具備する。また、システム制御部15にはさらに、EEPROM(Electronically Erasable and Programmable ROM)19および欠陥判定用フレームメモリ20が接続されている。また、R/W18には、メモリカード18aが着脱可能な状態で接続される。
The digital still camera shown in FIG. 1 includes an
光学ブロック11は、複数枚のレンズとその移動機構を含むレンズ機構部111、アイリスやシャッタ、およびそれらの駆動機構を含む露光機構部112、赤外カットフィルタなどからなるオプティカル・ローパスフィルタ(OP−LPF)113、および、固体撮像素子の一つとしてCCD(Charge Coupled Device)114を具備する。また、レンズ機構部111、露光機構部112およびCCD114をそれぞれ駆動するためのレンズドライバ115、露光制御ドライバ116およびタイミングジェネレータ(TG)117が設けられている。
The
この光学ブロック11では、レンズ機構部111、露光機構部112およびOP−LPF113を含む光学系を通過した被写体からの反射光がCCD114により受光されて光電変換される。なお、固体撮像素子としてはCCDの他に、例えばCMOS(Complementary Metal Oxide Semiconductor)イメージセンサなどが用いられてもよい。
In the
レンズドライバ115および露光制御ドライバ116は、システム制御部15の制御の下で、レンズ機構部111および露光機構部112の動作をそれぞれ制御する。TG117は、システム制御部15の制御の下で、CCD114に対してタイミング信号を供給し、その駆動タイミングを制御する。また、このタイミング信号はAFE処理回路12に対しても供給される。
The
AFE処理回路12は、CCD114から出力されたアナログ画像信号に対して、CDS(Correlated Double Sampling)処理によりS/N(Signal/Noise)比を良好に保つようにサンプルホールドを行い、さらにAGC(Auto Gain Control)処理により利得を制御し、A/D変換を行ってデジタル画像信号を出力する。なお、AFE処理回路12は、TG117からのタイミング信号に従って動作し、またAGC処理のゲインなどはシステム制御部15から与えられる。
The
カメラ信号処理回路13は、システム制御部15の制御の下で、AFE処理回路12からの画像信号に対して、欠陥画素の補正処理やホワイトバランス調整処理、色補正処理、AF(Auto Focus)処理、AE(Auto Exposure)処理などのカメラ信号処理を施す。また、例えば電源投入時、あるいは一定時間ごとなどに、後述するように、AFE処理回路12からの画像信号を基にした欠陥画素の検出処理を行う。なお、本実施の形態では、カメラ信号処理回路13において検出された欠陥画素は欠陥画素候補として取り扱われ、欠陥か否かの最終的な判定はシステム制御部15の処理により行われて、その画素位置は例えばEEPROM19に記録される。
Under the control of the
エンコーダ/デコーダ14は、カメラ信号処理回路13からの画像信号に対して、JPEG(Joint Photographic Coding Experts Group)方式などの所定の静止画像データフォーマットで圧縮符号化処理を行う。また、システム制御部15から供給された静止画像の符号化データを伸張復号化処理する。
The encoder /
システム制御部15は、例えば、CPU、ROM、RAMなどから構成されるマイクロコントローラであり、入力部16からの制御信号に応じて、ROMやEEPROM19などに記憶されたプログラムを実行することにより、デジタルスチルカメラの各部を統括的に制御する。
The
また、本実施の形態では特に、システム制御部15は、カメラ信号処理回路13による欠陥画素検出に基づく最終的な欠陥画素判定の処理を行い、この処理のために、システム制御部15には、撮像画像の1フレーム分の各画素に対応するアドレスにデータが順次配置されるように構成された欠陥判定用フレームメモリ20が接続されている。
In the present embodiment, in particular, the
システム制御部15は、カメラ信号処理回路13により欠陥画素が検出されるたびに、その画素に対応する欠陥判定用フレームメモリ20のアドレスのデータ値をインクリメントし、この欠陥判定用フレームメモリ20の記録データを基に欠陥画素の位置を最終判定して、その位置情報をEEPROM19に記録する。そして、画像の撮像の際のカメラ信号処理回路13による欠陥画素補正時には、EEPROM19から欠陥画素の位置情報を読み出して、カメラ信号処理回路13に出力する。
Each time a defective pixel is detected by the camera
入力部16は、例えばシャッタレリーズボタンなどの各種操作キーやレバー、ダイヤルなどにより構成され、ユーザによる入力操作に応じた制御信号をシステム制御部15に出力する。
The
グラフィックI/F17は、システム制御部15から供給された画像信号から、ディスプレイ17aに表示させるための画像信号を生成して、この信号をディスプレイ17aに供給し、画像を表示させる。ディスプレイ17aは、例えばLCD(Liquid Crystal Display)からなり、撮像中のカメラスルー画像やメモリカード18aに記録されたデータに基づく再生画像などを表示する。
The graphic I /
R/W18には、撮像により生成された画像データなどを記録する記録媒体として、可搬型のフラッシュメモリからなるメモリカード18aが着脱可能に接続される。R/W18は、システム制御部15から供給されたデータをメモリカード18aに書き込み、また、メモリカード18aから読み出したデータをシステム制御部15に出力する。なお、記録媒体としては、他に、例えば書き込み可能な光ディスクやHDD(ハードディスクドライブ)などが用いられてもよい。
A memory card 18a composed of a portable flash memory is detachably connected to the R /
ここで、上記のデジタルスチルカメラにおける撮像時の基本的な動作について説明する。まず、静止画像の撮像時の動作について説明する。
静止画像の撮像前には、CCD114によって受光されて光電変換された信号が、順次AFE処理回路12に供給される。AFE処理回路12は、入力信号に対してCDS処理、AGC処理を施し、さらにデジタル信号に変換する。カメラ信号処理回路13は、AFE処理回路12から供給されたデジタル画像信号を画質補正処理し、カメラスルー画像の信号として、システム制御部15を介してグラフィックI/F17に供給する。これにより、カメラスルー画像がディスプレイ17aに表示され、ユーザはディスプレイ17aを見て画角合わせを行うことが可能となる。
Here, a basic operation at the time of imaging in the above digital still camera will be described. First, the operation at the time of capturing a still image will be described.
Prior to capturing a still image, signals received by the
この状態で、入力部16のシャッタレリーズボタンが押下されると、システム制御部15は、露光制御ドライバ116やTG117に制御信号を出力してシャッタを動作させる。これによりCCD114からは、1フレーム分の画像信号が出力される。なお、このとき、システム制御部15は、カメラ信号処理回路13におけるAF処理およびAE処理の結果に応じて、レンズドライバ115、露光制御ドライバ116およびTG117に対して制御信号を出力し、これにより露光時間や露光量が適切になるように制御される。
In this state, when the shutter release button of the
カメラ信号処理回路13は、CCD114からAFE処理回路12を介して供給された1フレーム分の画像信号に画質補正処理を施し、処理後の画像信号をエンコーダ/デコーダ14に供給する。エンコーダ/デコーダ14は、入力された画像信号を圧縮符号化し、生成した符号化データを、システム制御部15を介してR/W18に供給する。これにより、撮像された静止画像のデータファイルがメモリカード18aに記憶される。
The camera
一方、メモリカード18aに記憶された静止画像ファイルを再生する場合には、システム制御部15は、入力部16からの操作入力に応じて、選択された静止画像ファイルをメモリカード18aからR/W18を介して読み込み、エンコーダ/デコーダ14に供給して伸張復号化処理を実行させる。復号化された画像信号はシステム制御部15を介してグラフィックI/F17に供給され、これによりディスプレイ17aに静止画像が再生表示される。
On the other hand, when playing back a still image file stored in the memory card 18a, the
次に、このデジタルスチルカメラにおける欠陥画素検出について詳しく説明する。
図2は、このデジタルスチルカメラが具備する欠陥画素検出のための機能を示すブロック図である。
Next, detection of defective pixels in this digital still camera will be described in detail.
FIG. 2 is a block diagram showing functions for detecting defective pixels provided in the digital still camera.
図2に示すように、上記のデジタルスチルカメラには、欠陥画素検出のための機能として、欠陥検出部131および欠陥判定処理部150が設けられている。また、検出された欠陥画素の位置情報(欠陥位置情報19a)を基に欠陥画素の補正を行う欠陥補正部132も設けられている。
As shown in FIG. 2, the digital still camera includes a
欠陥検出部131は、カメラ信号処理回路13の機能として実現され、AFE処理回路12から出力された画像信号を基に欠陥画素を検出し、その画素位置を示すアドレスをシステム制御部15に通知する。例えば、欠陥検出部131は、検出対象の画素とその周囲の画素との信号レベルを比較して、検出対象の画素の信号レベルが極端に大きい場合あるいは小さい場合などに欠陥画素と判断する。
The
欠陥判定処理部150は、システム制御部15の機能として実現され、データ書き込み部151および欠陥判定部152を有している。データ書き込み部151は、欠陥検出部131の検出結果に応じて、欠陥判定用フレームメモリ20に対してデータ値を書き込む機能ブロックである。具体的には、欠陥検出部131により欠陥画素の候補が検出されるごとに、その画素位置に対応する欠陥判定用フレームメモリ20のアドレスのデータ値をインクリメントする。この処理の結果、欠陥判定用フレームメモリ20には、欠陥検出部131により欠陥画素候補として検出された回数が画素ごとに記録される。
The defect
なお、欠陥画素候補としての検出回数を記録するためにフレームメモリを用いることにより、この検出回数の記録動作を欠陥検出部131による検出動作に容易に同期させることができ、処理効率が高められる。
In addition, by using the frame memory to record the number of detections as defective pixel candidates, the recording operation of the number of detections can be easily synchronized with the detection operation by the
欠陥判定部152は、欠陥判定用フレームメモリ20の記録データに基づいて、最終的な欠陥画素の判定を行う。具体的には、欠陥判定用フレームメモリ20に記録された各画素のデータ値を監視し、これらのデータ値の最大値が所定のしきい値に達したときに欠陥判定を行う。このとき、データ値が大きい順に上位から所定数のアドレスを抽出し、それらのアドレスに対応する画素を欠陥画素と判定して、欠陥位置情報19aとしてEEPROM19に記録する。
The
なお、欠陥補正部132はカメラ信号処理回路13の機能として実現され、画像の撮像時に、欠陥位置情報19aをEEPROM19からシステム制御部15を通じて読み出し、この情報に基づいてAFE処理回路12からの画像信号に対して、補間演算などにより欠陥画素の信号補正を行う。補間演算など信号補正処理の一部はシステム制御部15により行われてもよい。
The
以上のように、欠陥検出部131は、撮像画像信号を基に欠陥画素候補を検出するので、遮光手段や基準光源などを用いない比較的簡単な装置構成により実現される。そして、欠陥判定処理部150は、欠陥画素候補とされた回数を基にして最終的な欠陥画素の位置を判定するので、欠陥画素の検出精度を高めることができる。欠陥検出部131での欠陥検出方法としては、例えば以下の図3のような一般的な方法を用いることができる。
As described above, since the
図3は、欠陥検出部131における欠陥検出方法の一例を説明するための図である。
図3では例として、ベイヤ配列のRGBの原色フィルタが設けられた場合のCCD114の受光面の様子を示している。この場合、1画素おきに同色のフィルタが設けられる。欠陥の検出対象とする画素を注目画素Pとすると、この注目画素Pの検出を行うために、その周囲に存在する同色画素の信号が用いられる。ここでは例として、図3のように周囲の8画素(周辺画素P1〜P8)を用いる。このとき、周辺画素P1〜P8の信号レベルの平均値と、注目画素Pの信号レベルとの差分をとり、その絶対値がしきい値を超える場合に欠陥画素と判断する。これにより、周囲の画素との信号レベル差が極端に大きい画素が欠陥と判断される。
FIG. 3 is a diagram for explaining an example of a defect detection method in the
FIG. 3 shows, as an example, the state of the light receiving surface of the
このような検出方法では、注目画素Pとの比較対照とする周辺画素の数を増加させることで、検出精度を高めることができる。また、例えば周辺画素の信号レベルの分散値算出などの統計的演算手法を用いたり、注目画素Pとは異なる色の周辺画素の信号レベルとの相関をとることなどにより、さらに検出精度を高めることができる。このように、撮像画像信号を基にした欠陥検出では、複雑な演算を用いるほど検出精度を高めることができる。 In such a detection method, the detection accuracy can be increased by increasing the number of peripheral pixels to be compared with the target pixel P. Further, for example, by using a statistical calculation method such as calculation of a variance value of signal levels of peripheral pixels, or by correlating with signal levels of peripheral pixels having a color different from the target pixel P, the detection accuracy is further increased. Can do. As described above, in the defect detection based on the captured image signal, the detection accuracy can be increased as the complicated calculation is used.
しかし、本実施の形態では、このような比較的簡単な装置構成により実現される欠陥検出を複数フレームに対して実行した検出結果を基に、欠陥判定処理部150により最終的な欠陥判定を行うので、欠陥検出部131において例えば図3に示したような比較的簡単な欠陥検出方法が採られた場合にも、その検出精度を高めることができる。
However, in the present embodiment, the final defect determination is performed by the defect
図4は、欠陥判定処理部150における欠陥判定時の処理の流れを示すフローチャートである。
図4に示す処理は、電源投入時、あるいは一定時間ごとなどに、欠陥検出部131により1フレーム分の撮像画像信号を基にした欠陥検出が行われる場合に実行される(後述する図5,図6,図7も同様)。まず、データ書き込み部151により、ステップS101〜S104が実行される。
FIG. 4 is a flowchart showing a flow of processing at the time of defect determination in the defect
The process shown in FIG. 4 is executed when the
〔ステップS101〕欠陥検出部131から、1画素についての欠陥検出結果を受信する。
〔ステップS102〕欠陥画素であることが検出された場合にはステップS103に進み、検出されなかった場合にはステップS104に進む。
[Step S101] The defect detection result for one pixel is received from the
[Step S102] If it is detected that the pixel is defective, the process proceeds to step S103. If not detected, the process proceeds to step S104.
〔ステップS103〕欠陥画素とされた画素の位置に対応する欠陥判定用フレームメモリ20上のアドレスのデータ値をインクリメントする。
〔ステップS104〕1フレーム分の欠陥検出が終了したか否か判定し、終了していない場合はステップS101に戻って、次の画素についての検出結果を受信する。また、終了した場合には、続いて、欠陥判定部152によりステップS105〜S108が実行される。
[Step S103] The data value of the address on the defect
[Step S104] It is determined whether or not the defect detection for one frame has been completed. If not, the process returns to step S101 to receive the detection result for the next pixel. When the process is completed, steps S105 to S108 are subsequently performed by the
〔ステップS105〕欠陥判定用フレームメモリ20に記録されたデータ値の最大値が所定のしきい値(ここでは255)に達したか否かを判定し、達している場合はステップS106に進み、そうでない場合は処理を終了する。
[Step S105] It is determined whether or not the maximum value of the data value recorded in the defect
〔ステップS106〕欠陥判定用フレームメモリ20上で、データ値が大きい順に上位から所定個数(ここでは30個)のアドレスを抽出する。なお、このとき、抽出対象とするデータ値の下限値を設けておき、上位から所定個数以内であっても、そのデータ値が下限値に達していない場合には、該当アドレスを抽出しないようにしてもよい。
[Step S106] On the defect
〔ステップS107〕抽出したアドレスに対応する画素を欠陥画素と判定し、このアドレスをEEPROM19に欠陥位置情報19aとして登録する。
〔ステップS108〕欠陥判定用フレームメモリ20の記録データをリセットする。
[Step S107] A pixel corresponding to the extracted address is determined as a defective pixel, and this address is registered in the
[Step S108] The recording data in the defect
以上の処理では、欠陥検出部131により欠陥画素候補とされた回数がいずれかの画素において所定値に達したときに欠陥画素の判定が行われ、このときにその回数の多い順に所定数の画素が欠陥画素と判定される。このため、すべての画素について検出条件が同じ状態となり、その条件下において欠陥画素である可能性の高い画素が優先的に欠陥画素と判定されるので、ステップS105における最大値やステップS106におけるアドレスの抽出個数を適正に設定することで、高い欠陥判定精度を得ることができる。
In the above processing, the defective pixel is determined when the number of defective pixel candidates by the
また、複数フレーム分の撮像画像信号を基に欠陥判定を行うので、ランダムノイズの発生や、画素エッジでの誤検出発生などに起因する検出誤差の影響を打ち消すことができる。そして、欠陥画素候補としての検出回数を1つのフレームメモリに記録する構成とすることで、このように複数フレーム分の欠陥検出を行いながらも必要なフレームメモリの容量を抑制することができるので、回路規模を縮小し、製造コストを抑制することができる。 Further, since the defect determination is performed based on the picked-up image signals for a plurality of frames, it is possible to cancel the influence of the detection error caused by the occurrence of random noise or the occurrence of erroneous detection at the pixel edge. And, since the number of times of detection as a defective pixel candidate is recorded in one frame memory, the necessary capacity of the frame memory can be suppressed while performing defect detection for a plurality of frames in this way. The circuit scale can be reduced and the manufacturing cost can be suppressed.
≪第2の実施の形態≫
上述した第1の実施の形態では、欠陥検出部131は、対象の画素が欠陥画素であるか否かを判定するようになっていたが、この他に例えば、欠陥検出部131が欠陥検出時の演算結果に応じて各画素について欠陥レベルを出力することとしてもよい。欠陥レベルは、例えばその値が高いほど、欠陥画素である可能性が高いことを示す。例えば、上記の図3で説明した欠陥検出方法では、周辺画素の信号レベルの平均値と、注目画素の信号レベルとの差分値の絶対値が大きいほど欠陥画素である可能性が高いと考えられるので、この差分値の絶対値(またはこの値に応じて段階的に割り当てられた値など)を欠陥レベルとすることができる。
<< Second Embodiment >>
In the first embodiment described above, the
このように欠陥検出部131から欠陥レベルが出力される場合、欠陥判定処理部150では、欠陥レベルを基に欠陥画素候補とするか否かを独自に判定し、さらに欠陥画素候補とした回数を基に最終的な欠陥判定を行うことで、その判定精度を高めることができる。本実施の形態では、1フレーム分の撮像画像信号を基に検出された欠陥レベルを受け取ると、その欠陥レベルが大きい順に上位から所定個数の画素を欠陥画素候補とする。
In this way, when the defect level is output from the
図5は、この場合の欠陥判定処理部150における欠陥判定時の処理の流れを示すフローチャートである。
まず、図4と同様に、データ書き込み部151によりステップS201〜S203が実行される。
FIG. 5 is a flowchart showing a flow of processing at the time of defect determination in the defect
First, similarly to FIG. 4, steps S <b> 201 to S <b> 203 are executed by the
〔ステップS201〕欠陥検出部131から、1フレーム分の各画素の欠陥レベルを順次受信する。受信した欠陥レベルは、例えばRAMなどに一時的に記憶しておく。
〔ステップS202〕1フレーム分のうち、欠陥レベルの大きい順に上位から所定数(ここでは30個)の画素を、欠陥画素候補として抽出する。なお、このとき、欠陥画素候補とするための欠陥レベルの下限を設けておいてもよい。
[Step S201] The defect level of each pixel for one frame is sequentially received from the
[Step S202] A predetermined number (30 in this case) of pixels in the descending order of the defect level in one frame is extracted as defective pixel candidates. At this time, a lower limit of the defect level may be provided for the defective pixel candidate.
〔ステップS203〕欠陥画素候補とされた画素の位置に対応する欠陥判定用フレームメモリ20上のアドレスのデータ値をインクリメントする。
以下のステップS204〜S207の処理は、図4のステップS105〜S108に対応するので、ここでは説明を省略する。ただし、上記処理では、欠陥レベルの大きい順に上位から所定数の画素を欠陥画素候補とする判定により検出精度を高めることができるので、最終的な欠陥判定までに必要なフレーム数を少なくすることができる。従って、ステップS204では、欠陥画素とするための判定基準値を、第1の実施の形態の場合より低くすることができる。これとともに、欠陥判定用フレームメモリ20に記録する画素当たりのビット数を減少させることができるので、メモリ容量が抑制される。
[Step S203] The data value of the address on the defect
The processing in the following steps S204 to S207 corresponds to steps S105 to S108 in FIG. 4 and will not be described here. However, in the above process, the detection accuracy can be increased by determining a predetermined number of pixels from the top in the descending order of the defect level, so that the number of frames required until the final defect determination can be reduced. it can. Therefore, in step S204, the determination reference value for determining a defective pixel can be made lower than that in the first embodiment. At the same time, the number of bits per pixel recorded in the defect
≪第3の実施の形態≫
ところで、欠陥検出部131における欠陥検出では誤検出を完全になくすことは不可能であるが、誤検出の発生確率は撮像時の露光条件によっても変化する。例えば、システム制御部15は、カメラ信号処理回路13によるAE処理の結果に応じて、メカニカルシャッタや電子シャッタのシャッタ速度、AFE処理回路12内のAGCのゲインなどを制御するが、この際に、AGCのゲインを高く設定した場合には、それに伴って画像信号に含まれるノイズ成分が増加するため、欠陥とノイズの区別が難しくなる。あるいは、CCD114上で発生するランダムノイズに関しては、露光時間分の積分によりノイズ成分が打ち消し合うので、シャッタスピードが遅く、露光時間が長いほど、ノイズの発生が減少する。その一方で、白欠陥は欠陥画素における過剰電荷の発生に起因するので、露光時間が長いほど過剰電荷が多く蓄積され、白欠陥の検出が容易になる。
<< Third Embodiment >>
By the way, although it is impossible to completely eliminate the false detection by the defect detection in the
このような性質を加味して、本実施の形態では、欠陥検出部131の検出結果に基づいて欠陥画素候補とする条件を、露光条件に応じて変化させることで、欠陥画素の検出精度をより向上させる。このために、欠陥判定処理部150のデータ書き込み部151は、欠陥検出部131の検出が開始されると、システム制御部15内で演算された、そのフレームの撮像のためのシャッタスピードやAGCゲインなどの制御値を受け取り、欠陥画素候補として抽出する画素数を変化させる。
In consideration of such a property, in the present embodiment, the detection condition of the defective pixel is changed by changing the condition of the defective pixel candidate based on the detection result of the
図6は、この場合の欠陥判定処理部150における欠陥判定時の処理の流れを示すフローチャートである。
まず、データ書き込み部151によりステップS301〜S304が実行される。
FIG. 6 is a flowchart showing a flow of processing at the time of defect determination in the defect
First, steps S301 to S304 are executed by the
〔ステップS301〕撮像時の露光条件を取得し、この条件に応じて、後のステップS303で欠陥画素候補として抽出する画素数を設定する。例えば、AGCのゲインを高くするほど、抽出する画素数を減少させる。また、シャッタスピードが遅いほど、抽出する画素数を増加させる。 [Step S301] An exposure condition at the time of imaging is acquired, and the number of pixels to be extracted as a defective pixel candidate in a subsequent step S303 is set according to this condition. For example, the higher the AGC gain, the smaller the number of pixels to be extracted. Further, the slower the shutter speed, the larger the number of pixels to be extracted.
〔ステップS302〕欠陥検出部131から、1フレーム分の各画素の欠陥レベルを順次受信する。受信した欠陥レベルは、例えばRAMなどに一時的に記憶しておく。
〔ステップS303〕欠陥レベルの大きい順に、ステップS301で設定された数だけの画素を欠陥画素候補として抽出する。なお、このとき、欠陥画素候補とするための欠陥レベルの下限を設けておいてもよい。
[Step S302] The defect level of each pixel for one frame is sequentially received from the
[Step S303] The number of pixels set in step S301 is extracted as defective pixel candidates in descending order of defect level. At this time, a lower limit of the defect level may be provided for the defective pixel candidate.
〔ステップS304〕欠陥画素候補とされた画素の位置に対応する欠陥判定用フレームメモリ20上のアドレスのデータ値をインクリメントする。
この後のステップS305〜S308の処理は、図4のステップS105〜S108に対応するので、ここでは説明を省略する。以上の処理では、欠陥画素候補の判定精度がより高められるので、同じ欠陥検出精度を得るためには、上記の第2の実施の形態と比較して、最終的な欠陥判定までに必要なフレーム数を少なくすることができ、欠陥判定用フレームメモリ20の容量をさらに抑制することができる。
[Step S304] The data value of the address on the defect
The subsequent processes in steps S305 to S308 correspond to steps S105 to S108 in FIG. In the above processing, the determination accuracy of defective pixel candidates is further increased. Therefore, in order to obtain the same defect detection accuracy, a frame required until the final defect determination is obtained as compared with the second embodiment. The number can be reduced, and the capacity of the defect
≪第4の実施の形態≫
上記の第3の実施の形態では、欠陥画素候補とする画素数を露光条件に応じて変化させたが、この他に例えば、欠陥画素候補の判定を欠陥レベルの値に応じて行い、その判定基準値を露光条件に応じて変化させてもよい。
<< Fourth Embodiment >>
In the third embodiment, the number of defective pixel candidates is changed according to the exposure conditions. For example, the defective pixel candidate is determined according to the value of the defect level. The reference value may be changed according to the exposure conditions.
図7は、この場合の欠陥判定処理部150における欠陥判定時の処理の流れを示すフローチャートである。
まず、データ書き込み部151によりステップS401〜S405が実行される。
FIG. 7 is a flowchart showing a flow of processing at the time of defect determination in the defect
First, steps S401 to S405 are executed by the
〔ステップS401〕撮像時の露光条件を取得し、この条件に応じて、後のステップS403で欠陥画素候補として抽出するための判定基準値を設定する。例えば、AGCのゲインを高くするほど、判定基準値を高くし、シャッタスピードが遅いほど、判定基準値を低くする。 [Step S401] An exposure condition at the time of imaging is acquired, and in accordance with this condition, a determination reference value is set for extraction as a defective pixel candidate in a subsequent step S403. For example, the higher the AGC gain, the higher the criterion value, and the slower the shutter speed, the lower the criterion value.
〔ステップS402〕欠陥検出部131から、1画素についての欠陥レベルを受信する。
〔ステップS403〕欠陥レベルが、ステップS401で設定した判定基準値以上であるか否かを判定し、判定基準値以上である場合は欠陥画素候補であると判定してステップS404に進み、そうでない場合にはステップS405に進む。
[Step S402] The defect level for one pixel is received from the
[Step S403] It is determined whether or not the defect level is equal to or higher than the determination reference value set in Step S401. In that case, the process proceeds to step S405.
〔ステップS404〕欠陥画素候補とされた画素の位置に対応する欠陥判定用フレームメモリ20上のアドレスのデータ値をインクリメントする。
〔ステップS405〕1フレーム分の欠陥検出が終了したか否か判定し、終了していない場合はステップS402に戻って、次の画素についての欠陥レベルを受信する。また、終了した場合には、続いて、欠陥判定部152によりステップS406〜S409が実行されるが、これらのステップS406〜S409は図4のステップS105〜S108に対応するので、ここでは説明を省略する。
[Step S404] The data value of the address on the defect
[Step S405] It is determined whether or not the defect detection for one frame has been completed. If not, the process returns to step S402 to receive the defect level for the next pixel. When the process is completed, steps S406 to S409 are subsequently executed by the
以上の処理では、欠陥画素候補の判定基準値を露光条件に応じて変化させることで、欠陥画素候補の判定精度がより高められるので、上記の第3の実施の形態と同様に、第2の実施の形態と比較して最終的な欠陥判定までに必要なフレーム数を少なくすることができ、欠陥判定用フレームメモリ20の容量をさらに抑制することができる。
In the above processing, the determination accuracy of the defective pixel candidate can be further improved by changing the determination reference value of the defective pixel candidate in accordance with the exposure condition. Therefore, as in the third embodiment, the second Compared to the embodiment, the number of frames required until the final defect determination can be reduced, and the capacity of the defect
≪第5の実施の形態≫
図8は、本発明の第5の実施の形態に係るデジタルスチルカメラが具備する欠陥画素検出のための機能を示すブロック図である。
<< Fifth Embodiment >>
FIG. 8 is a block diagram illustrating functions for detecting defective pixels included in a digital still camera according to the fifth embodiment of the present invention.
図8に示すデジタルスチルカメラでは、カメラ信号処理回路13において、白欠陥検出用および黒欠陥検出用にそれぞれ欠陥検出部131aおよび131bを設けている。このような場合に、システム制御部15においても、白欠陥、黒欠陥についてそれぞれ欠陥判定処理部150aおよび150bを設け、またそれぞれに専用のフレームメモリ(白欠陥判定用フレームメモリ20a,黒欠陥判定用フレームメモリ20b)を設けてもよい。このように白欠陥および黒欠陥について個別に欠陥判定を行う場合にも、フレームメモリは白欠陥、黒欠陥のそれぞれについて1つずつしか必要とならないので、メモリ容量を増大させることなく、欠陥検出精度を高めることができる。
In the digital still camera shown in FIG. 8, the camera
また、欠陥判定処理部150aおよび150bでは、欠陥画素の判定処理として、上述した図4〜図7のいずれの処理手順が用いられてもよい。また、欠陥画素候補とするための判定基準や、最終的な欠陥画素判定を開始するためのフレームメモリ上のデータ値の最大値などについては、白欠陥および黒欠陥でそれぞれ異なる値が設定されてもよい。
Further, in the defect
さらに、白欠陥および黒欠陥のための欠陥検出部131aおよび131bが個別に設けられた場合でも、欠陥判定用フレームメモリを1つだけ設けるようにし、処理を簡略化するとともにメモリ容量を抑制してもよい。この場合、欠陥判定処理部150aおよび150bでは、欠陥画素候補を抽出するための機能(データ書き込み部151に対応)のみそれぞれ個別に設けて、このときに各機能が同じフレームメモリに対してデータ値のインクリメントを行うようにする。従って、フレームメモリには、白欠陥,黒欠陥を区別することなく欠陥画素候補とされた回数が記録される。また、フレームメモリ上のデータ値に基づく欠陥判定を行う機能(欠陥判定部152に対応)は1つだけ設けられて共用されればよい。
Furthermore, even when
なお、以上の実施の形態では、本発明をデジタルスチルカメラに適用した場合について説明したが、固体撮像素子を用いたこれ以外の撮像装置に対しても本発明を適用することができる。例えば、デジタルビデオカメラや、携帯電話機、PDA(Personal Digital Assistants)などの撮像機能などに適用可能である。 In the above embodiment, the case where the present invention is applied to a digital still camera has been described. However, the present invention can also be applied to other imaging apparatuses using a solid-state imaging device. For example, the present invention can be applied to an imaging function such as a digital video camera, a mobile phone, and a PDA (Personal Digital Assistants).
さらに、上記の撮像装置の処理機能は、コンピュータによって実現することができる。その場合、この撮像装置が有すべき機能(特に、上記の欠陥判定処理部150,150a,150bなどに対応する機能)の処理内容を記述したプログラムが提供される。そして、そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気ディスク、半導体メモリなどがある。
Furthermore, the processing functions of the imaging apparatus described above can be realized by a computer. In that case, a program describing the processing contents of the functions that the imaging apparatus should have (particularly, the functions corresponding to the defect
プログラムを流通させる場合には、例えば、そのプログラムが記録された光ディスクや半導体メモリなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。 In order to distribute the program, for example, portable recording media such as an optical disk and a semiconductor memory on which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.
プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムまたはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。 The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.
11……光学ブロック、12……AFE処理回路、13……カメラ信号処理回路、14……エンコーダ/デコーダ、15……システム制御部、16……入力部、17……グラフィックI/F、17a……ディスプレイ、18……R/W、18a……メモリカード、19……EEPROM、20……欠陥判定用フレームメモリ、111……レンズ機構部、112……露光機構部、113……OP−LPF、114……CCD、115……レンズドライバ、116……露光制御ドライバ、117……TG、131……欠陥検出部、132……欠陥補正部、150……欠陥判定処理部、151……データ書き込み部、152……欠陥判定部
DESCRIPTION OF
Claims (11)
撮像画像の1フレームの各画素に対応するアドレスにデータを記憶するフレームメモリと、
撮像画像信号を基に欠陥画素候補を検出する欠陥画素候補検出手段と、
前記欠陥画素候補検出手段により前記欠陥画素候補が検出されるごとに、当該欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするデータ書き込み手段と、
前記フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、その時点でデータ値が大きい順に上位から所定数のアドレスを抽出し、当該アドレスに対応する画素を欠陥画素と判定する欠陥画素判定手段と、
を有することを特徴とする撮像装置。 In an imaging device that captures an image using a solid-state imaging device,
A frame memory for storing data at an address corresponding to each pixel of one frame of the captured image;
A defective pixel candidate detecting means for detecting a defective pixel candidate based on the captured image signal;
Data writing means for incrementing the data value of the address on the frame memory corresponding to the position of the defective pixel candidate each time the defective pixel candidate is detected by the defective pixel candidate detection means;
When the data value of at least one address on the frame memory reaches a predetermined reference value, a predetermined number of addresses are extracted in descending order of the data value at that time, and the pixel corresponding to the address is defined as a defective pixel. Defective pixel determination means for determining
An imaging device comprising:
前記データ書き込み手段は、1フレームの撮像画像から前記欠陥レベルが大きい順に上位から所定数の前記欠陥画素候補を抽出して、当該欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントすることを特徴とする請求項1記載の撮像装置。 The defective pixel candidate detection means outputs a defect level indicating a high possibility of being a defective pixel for each detected defective pixel candidate,
The data writing means extracts a predetermined number of the defective pixel candidates from the top in descending order of the defect level from the captured image of one frame, and the data value of the address on the frame memory corresponding to the position of the defective pixel candidate The imaging apparatus according to claim 1, wherein:
前記データ書き込み手段は、前記欠陥レベルが所定の下限値に達している場合に、当該画素の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントし、さらに、前記下限値を直前の撮像時における露光条件に応じて変化させることを特徴とする請求項1記載の撮像装置。 The defective pixel candidate detection means outputs a defect level indicating a high possibility of being a defective pixel for each detected defective pixel candidate,
When the defect level has reached a predetermined lower limit value, the data writing means increments the data value of the address on the frame memory corresponding to the position of the pixel, and further sets the lower limit value to the immediately preceding imaging value. The imaging apparatus according to claim 1, wherein the imaging apparatus is changed according to exposure conditions at the time.
前記欠陥画素候補検出手段は、前記各欠陥画素候補として白欠陥および黒欠陥についてそれぞれ検出し、
前記データ書き込み手段は、前記欠陥画素候補検出手段による検出結果に応じて白欠陥および黒欠陥にそれぞれ対応する前記フレームメモリのデータ値をインクリメントし、
前記欠陥画素判定手段は、白欠陥および黒欠陥についてそれぞれ対応する前記フレームメモリのデータ値に基づいて判定することを特徴とする請求項1記載の撮像装置。 The frame memory is individually provided for white defect determination and black defect determination,
The defective pixel candidate detecting means detects a white defect and a black defect as the defective pixel candidates,
The data writing unit increments the data value of the frame memory corresponding to each of a white defect and a black defect according to a detection result by the defective pixel candidate detection unit,
The imaging apparatus according to claim 1, wherein the defective pixel determination unit determines a white defect and a black defect based on data values of the corresponding frame memories.
前記欠陥位置記憶手段の記憶情報に基づいて撮像画像信号における欠陥画素の画素信号を補正する欠陥画素補正手段と、
をさらに有し、
前記欠陥画素判定手段は、新たな欠陥画素を判定するたびにその位置情報を前記欠陥位置記憶手段に書き加えるとともに、前記フレームメモリの全データ値をリセットすることを特徴とする請求項1記載の撮像装置。 Defect position storage means for storing position information of the defective pixels determined by the defective pixel determination means;
Defective pixel correction means for correcting the pixel signal of the defective pixel in the captured image signal based on the storage information of the defect position storage means;
Further comprising
2. The imaging according to claim 1, wherein each time the defective pixel determination unit determines a new defective pixel, the position information is written to the defect position storage unit and all data values of the frame memory are reset. apparatus.
撮像画像信号を基に欠陥画素候補が検出されるごとに、データ書き込み手段が、検出された前記欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするステップと、
欠陥画素判定手段が、前記フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、その時点でデータ値が大きい順に上位から所定数のアドレスを抽出し、当該アドレスに対応する画素を欠陥画素と判定するステップと、
を含むことを特徴とする欠陥画素検出方法。 In a defective pixel detection method for detecting a defective pixel in a solid-state imaging device using a frame memory that stores data at an address corresponding to each pixel of one frame of a captured image,
Each time a defective pixel candidate is detected based on the captured image signal, the data writing means increments the data value of the address on the frame memory corresponding to the detected position of the defective pixel candidate;
When the data value of at least one address on the frame memory reaches a predetermined reference value, the defective pixel determination unit extracts a predetermined number of addresses from the top in descending order of the data value at that time, Determining a corresponding pixel as a defective pixel;
A defective pixel detection method comprising:
撮像画像信号を基に欠陥画素候補が検出されるごとに、当該欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするデータ書き込み手段、
前記フレームメモリ上の少なくとも1つのアドレスのデータ値が所定の基準値に達したときに、その時点でデータ値が大きい順に上位から所定数のアドレスを抽出し、当該アドレスに対応する画素を欠陥画素と判定する欠陥画素判定手段、
として前記コンピュータを機能させることを特徴とする欠陥画素検出プログラム。 In a defective pixel detection program that causes a computer to execute a process of detecting a defective pixel in a solid-state imaging device using a frame memory that stores data at an address corresponding to each pixel of one frame of a captured image.
Data writing means for incrementing the data value of the address on the frame memory corresponding to the position of the defective pixel candidate each time a defective pixel candidate is detected based on the captured image signal;
When the data value of at least one address on the frame memory reaches a predetermined reference value, a predetermined number of addresses are extracted in descending order of the data value at that time, and the pixel corresponding to the address is defined as a defective pixel. Defective pixel determination means for determining
A defective pixel detection program for causing the computer to function as:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004157620A JP2005341244A (en) | 2004-05-27 | 2004-05-27 | Imaging device, defective pixel detecting method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004157620A JP2005341244A (en) | 2004-05-27 | 2004-05-27 | Imaging device, defective pixel detecting method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005341244A true JP2005341244A (en) | 2005-12-08 |
Family
ID=35494294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004157620A Pending JP2005341244A (en) | 2004-05-27 | 2004-05-27 | Imaging device, defective pixel detecting method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005341244A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006157851A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Image processing apparatus and processing method |
JP2006157852A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Processing apparatus and processing method |
JP2010074644A (en) * | 2008-09-19 | 2010-04-02 | Konica Minolta Medical & Graphic Inc | Abnormal pixel determination method, defective pixel determination method based on abnormal pixel determination, radiograph detector, abnormal pixel determination system and defective pixel determination system |
US7876369B2 (en) | 2006-11-20 | 2011-01-25 | Sony Corporation | Image processing apparatus, image processing method, and program |
WO2011118329A1 (en) * | 2010-03-26 | 2011-09-29 | Canon Kabushiki Kaisha | Image processing apparatus and control method for image processing apparatus |
US8810695B2 (en) | 2008-09-16 | 2014-08-19 | Canon Kabushiki Kaisha | Image sensing apparatus and defective pixel detection method |
JP2015122791A (en) * | 2015-02-12 | 2015-07-02 | キヤノン株式会社 | Image processing apparatus, control method of image processing apparatus, and program |
-
2004
- 2004-05-27 JP JP2004157620A patent/JP2005341244A/en active Pending
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006157851A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Image processing apparatus and processing method |
JP2006157852A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Processing apparatus and processing method |
JP4533171B2 (en) * | 2004-10-29 | 2010-09-01 | キヤノン株式会社 | Processing apparatus and processing method |
JP4566766B2 (en) * | 2004-10-29 | 2010-10-20 | キヤノン株式会社 | Processing apparatus and processing method |
US7876369B2 (en) | 2006-11-20 | 2011-01-25 | Sony Corporation | Image processing apparatus, image processing method, and program |
US8810695B2 (en) | 2008-09-16 | 2014-08-19 | Canon Kabushiki Kaisha | Image sensing apparatus and defective pixel detection method |
JP2010074644A (en) * | 2008-09-19 | 2010-04-02 | Konica Minolta Medical & Graphic Inc | Abnormal pixel determination method, defective pixel determination method based on abnormal pixel determination, radiograph detector, abnormal pixel determination system and defective pixel determination system |
CN102835102A (en) * | 2010-03-26 | 2012-12-19 | 佳能株式会社 | Image processing apparatus and control method for image processing apparatus |
JP2011205586A (en) * | 2010-03-26 | 2011-10-13 | Canon Inc | Image processing apparatus, and control method and program for image processing apparatus |
GB2494064A (en) * | 2010-03-26 | 2013-02-27 | Canon Kk | Image processing apparatus and control method for image processing apparatus |
WO2011118329A1 (en) * | 2010-03-26 | 2011-09-29 | Canon Kabushiki Kaisha | Image processing apparatus and control method for image processing apparatus |
RU2527198C2 (en) * | 2010-03-26 | 2014-08-27 | Кэнон Кабусики Кайся | Image processing device and image processing device control method |
US8922680B2 (en) | 2010-03-26 | 2014-12-30 | Canon Kabushiki Kaisha | Image processing apparatus and control method for image processing apparatus |
GB2494064B (en) * | 2010-03-26 | 2016-04-13 | Canon Kk | Image processing apparatus and control method for image processing apparatus |
DE112011101066B4 (en) * | 2010-03-26 | 2020-02-06 | Canon Kabushiki Kaisha | IMAGE PROCESSING DEVICE AND CONTROL METHOD FOR AN IMAGE PROCESSING DEVICE |
JP2015122791A (en) * | 2015-02-12 | 2015-07-02 | キヤノン株式会社 | Image processing apparatus, control method of image processing apparatus, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4702441B2 (en) | Imaging apparatus and imaging method | |
US7876369B2 (en) | Image processing apparatus, image processing method, and program | |
US9800772B2 (en) | Focus adjustment device and focus adjustment method that detects spatial frequency of a captured image | |
JP4404864B2 (en) | Video camera and image extraction apparatus used therefor | |
JP2009284309A (en) | Imaging device, display control program, and display control method | |
US8295609B2 (en) | Image processing apparatus, image processing method and computer readable-medium | |
US20050280722A1 (en) | Image processing apparatus and image processing method | |
US8054341B2 (en) | Photographing apparatus for supporting overriding mode and method of controlling same | |
CN101459770B (en) | Digital photographing apparatus and method of controlling the same | |
US8040429B2 (en) | Electronic apparatus having autofocus camera function | |
US20130293741A1 (en) | Image processing apparatus, image capturing apparatus, and storage medium storing image processing program | |
JP2005341244A (en) | Imaging device, defective pixel detecting method, and program | |
JP2007267072A (en) | Electronic camera | |
US20130076940A1 (en) | Photographing apparatus and method of detecting distortion thereof | |
JP2008067158A (en) | Electronic equipment, method for processing information and program | |
JP4700544B2 (en) | Imaging apparatus and imaging method | |
JP5223950B2 (en) | Imaging apparatus, display control program, and display control method | |
JP2016092513A (en) | Image acquisition device, shake reduction method and program | |
JP5179859B2 (en) | Imaging apparatus and imaging method | |
US9392169B2 (en) | Image processing apparatus, image processing method, program, and imaging apparatus | |
JP2007228269A (en) | Image signal processing device and method | |
JP5479883B2 (en) | Imaging apparatus and imaging method | |
JP5024033B2 (en) | Object tracking device, object tracking program, and object tracking method | |
JP2008312169A (en) | Image processing apparatus and method, and imaging apparatus | |
JP6218408B2 (en) | Image processing apparatus, image processing method, and program |