JP2005341244A - Imaging device, defective pixel detecting method, and program - Google Patents

Imaging device, defective pixel detecting method, and program Download PDF

Info

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
Application number
JP2004157620A
Other languages
Japanese (ja)
Inventor
Shunji Kawaguchi
俊次 川口
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004157620A priority Critical patent/JP2005341244A/en
Publication of JP2005341244A publication Critical patent/JP2005341244A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging device which can raise precision of defective pixel detection, based on an imaging picture signal by solid imaging elements, without increasing the memory capacity. <P>SOLUTION: A defective detector 131 detects a defective pixel candidate based on the imaging picture signal. A data write-in 151 increments the data value of an address on a frame memory 20 for defective discrimination, corresponding to a position of the defective pixel candidate, whenever the defective pixel candidate is detected by the defective detector 131. A defective discriminator 152 extracts the addresses of a predetermined number from a higher order whose data value is large at a point when data value of at least one address on the frame memory 20 for defective detection reaches a predetermined standard value, determines that the pixel corresponding to the address is a defective pixel, and registers it in a defective position information 19a. As a result of this it is possible to carry out defective pixel detection, based on the imaging picture signal of a plurality of frames using one of the frame memory 20 of the defective discrimination. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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参照)。
特開平6−284346号公報(段落番号〔0032〕〜〔0038〕、図2) 特開平4−115785号公報(第555頁−第557頁,図1)
As a conventional technique using a method of detecting a bright spot (white defect) by shielding a light receiving surface of a solid-state imaging device, one frame is used according to a comparison result between a captured image signal and a reference signal at the time of shielding. By incrementing or decrementing the data at the corresponding address on the memory and repeating this detection operation for a plurality of frames, and determining the pixel corresponding to the address with the large data on the frame memory as a bright spot, the memory capacity is reduced. There has been a bright spot detection apparatus in which the influence of random noise is reduced and detection accuracy is increased without increasing the number (for example, see Patent Document 2).
JP-A-6-284346 (paragraph numbers [0032] to [0038], FIG. 2) JP-A-4-115785 (pages 555-557, FIG. 1)

上述したように、撮像画像信号を基に欠陥画素を検出する方法は、遮光手段や基準光源を用いる必要がないので、比較的簡単な構成で実現することができる。また、このような方法を用いた場合には、上記の特許文献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 optical block 11, an analog front end (AFE) processing circuit 12, a camera signal processing circuit 13, an encoder / decoder 14, a system control unit 15, an input unit 16, and a graphic I / F (interface). 17, a display 17 a, and an R / W (reader / writer) 18. Further, an EEPROM (Electronically Erasable and Programmable ROM) 19 and a defect determination frame memory 20 are connected to the system control unit 15. Further, the memory card 18a is detachably connected to the R / W 18.

光学ブロック11は、複数枚のレンズとその移動機構を含むレンズ機構部111、アイリスやシャッタ、およびそれらの駆動機構を含む露光機構部112、赤外カットフィルタなどからなるオプティカル・ローパスフィルタ(OP−LPF)113、および、固体撮像素子の一つとしてCCD(Charge Coupled Device)114を具備する。また、レンズ機構部111、露光機構部112およびCCD114をそれぞれ駆動するためのレンズドライバ115、露光制御ドライバ116およびタイミングジェネレータ(TG)117が設けられている。   The optical block 11 includes an optical low-pass filter (OP−) including a lens mechanism unit 111 including a plurality of lenses and a moving mechanism thereof, an exposure mechanism unit 112 including an iris and a shutter and driving mechanisms thereof, an infrared cut filter, and the like. LPF) 113 and CCD (Charge Coupled Device) 114 as one of the solid-state imaging devices. Further, a lens driver 115, an exposure control driver 116, and a timing generator (TG) 117 are provided for driving the lens mechanism unit 111, the exposure mechanism unit 112, and the CCD 114, respectively.

この光学ブロック11では、レンズ機構部111、露光機構部112およびOP−LPF113を含む光学系を通過した被写体からの反射光がCCD114により受光されて光電変換される。なお、固体撮像素子としてはCCDの他に、例えばCMOS(Complementary Metal Oxide Semiconductor)イメージセンサなどが用いられてもよい。   In the optical block 11, the reflected light from the subject that has passed through the optical system including the lens mechanism 111, the exposure mechanism 112, and the OP-LPF 113 is received by the CCD 114 and subjected to photoelectric conversion. In addition to the CCD, for example, a CMOS (Complementary Metal Oxide Semiconductor) image sensor may be used as the solid-state imaging device.

レンズドライバ115および露光制御ドライバ116は、システム制御部15の制御の下で、レンズ機構部111および露光機構部112の動作をそれぞれ制御する。TG117は、システム制御部15の制御の下で、CCD114に対してタイミング信号を供給し、その駆動タイミングを制御する。また、このタイミング信号はAFE処理回路12に対しても供給される。   The lens driver 115 and the exposure control driver 116 respectively control the operations of the lens mechanism unit 111 and the exposure mechanism unit 112 under the control of the system control unit 15. The TG 117 supplies a timing signal to the CCD 114 under the control of the system control unit 15 and controls its driving timing. This timing signal is also supplied to the AFE processing circuit 12.

AFE処理回路12は、CCD114から出力されたアナログ画像信号に対して、CDS(Correlated Double Sampling)処理によりS/N(Signal/Noise)比を良好に保つようにサンプルホールドを行い、さらにAGC(Auto Gain Control)処理により利得を制御し、A/D変換を行ってデジタル画像信号を出力する。なお、AFE処理回路12は、TG117からのタイミング信号に従って動作し、またAGC処理のゲインなどはシステム制御部15から与えられる。   The AFE processing circuit 12 samples and holds the analog image signal output from the CCD 114 so as to maintain a good S / N (Signal / Noise) ratio by CDS (Correlated Double Sampling) processing, and further performs AGC (Auto The gain is controlled by gain control), A / D conversion is performed, and a digital image signal is output. The AFE processing circuit 12 operates according to the timing signal from the TG 117, and the gain of the AGC processing is given from the system control unit 15.

カメラ信号処理回路13は、システム制御部15の制御の下で、AFE処理回路12からの画像信号に対して、欠陥画素の補正処理やホワイトバランス調整処理、色補正処理、AF(Auto Focus)処理、AE(Auto Exposure)処理などのカメラ信号処理を施す。また、例えば電源投入時、あるいは一定時間ごとなどに、後述するように、AFE処理回路12からの画像信号を基にした欠陥画素の検出処理を行う。なお、本実施の形態では、カメラ信号処理回路13において検出された欠陥画素は欠陥画素候補として取り扱われ、欠陥か否かの最終的な判定はシステム制御部15の処理により行われて、その画素位置は例えばEEPROM19に記録される。   Under the control of the system control unit 15, the camera signal processing circuit 13 performs defective pixel correction processing, white balance adjustment processing, color correction processing, and AF (Auto Focus) processing on the image signal from the AFE processing circuit 12. And camera signal processing such as AE (Auto Exposure) processing. Further, for example, when the power is turned on or at regular intervals, a defective pixel detection process is performed based on the image signal from the AFE processing circuit 12 as described later. In the present embodiment, the defective pixel detected by the camera signal processing circuit 13 is handled as a defective pixel candidate, and the final determination as to whether or not it is a defect is performed by the processing of the system control unit 15, and the pixel. The position is recorded in the EEPROM 19, for example.

エンコーダ/デコーダ14は、カメラ信号処理回路13からの画像信号に対して、JPEG(Joint Photographic Coding Experts Group)方式などの所定の静止画像データフォーマットで圧縮符号化処理を行う。また、システム制御部15から供給された静止画像の符号化データを伸張復号化処理する。   The encoder / decoder 14 performs compression coding processing on the image signal from the camera signal processing circuit 13 in a predetermined still image data format such as JPEG (Joint Photographic Coding Experts Group) method. Further, the encoded data of the still image supplied from the system control unit 15 is decompressed and decoded.

システム制御部15は、例えば、CPU、ROM、RAMなどから構成されるマイクロコントローラであり、入力部16からの制御信号に応じて、ROMやEEPROM19などに記憶されたプログラムを実行することにより、デジタルスチルカメラの各部を統括的に制御する。   The system control unit 15 is a microcontroller composed of, for example, a CPU, a ROM, a RAM, and the like, and executes a program stored in the ROM, the EEPROM 19 or the like in accordance with a control signal from the input unit 16, thereby digitally Centrally control each part of the still camera.

また、本実施の形態では特に、システム制御部15は、カメラ信号処理回路13による欠陥画素検出に基づく最終的な欠陥画素判定の処理を行い、この処理のために、システム制御部15には、撮像画像の1フレーム分の各画素に対応するアドレスにデータが順次配置されるように構成された欠陥判定用フレームメモリ20が接続されている。   In the present embodiment, in particular, the system control unit 15 performs final defective pixel determination processing based on defective pixel detection by the camera signal processing circuit 13, and for this processing, the system control unit 15 includes A defect determination frame memory 20 configured so that data is sequentially arranged at addresses corresponding to the pixels of one frame of the captured image is connected.

システム制御部15は、カメラ信号処理回路13により欠陥画素が検出されるたびに、その画素に対応する欠陥判定用フレームメモリ20のアドレスのデータ値をインクリメントし、この欠陥判定用フレームメモリ20の記録データを基に欠陥画素の位置を最終判定して、その位置情報をEEPROM19に記録する。そして、画像の撮像の際のカメラ信号処理回路13による欠陥画素補正時には、EEPROM19から欠陥画素の位置情報を読み出して、カメラ信号処理回路13に出力する。   Each time a defective pixel is detected by the camera signal processing circuit 13, the system control unit 15 increments the data value of the address of the defect determination frame memory 20 corresponding to the pixel, and records in the defect determination frame memory 20. Based on the data, the position of the defective pixel is finally determined, and the position information is recorded in the EEPROM 19. Then, when the defective pixel is corrected by the camera signal processing circuit 13 at the time of capturing an image, the position information of the defective pixel is read from the EEPROM 19 and output to the camera signal processing circuit 13.

入力部16は、例えばシャッタレリーズボタンなどの各種操作キーやレバー、ダイヤルなどにより構成され、ユーザによる入力操作に応じた制御信号をシステム制御部15に出力する。   The input unit 16 includes various operation keys such as a shutter release button, a lever, a dial, and the like, for example, and outputs a control signal corresponding to an input operation by the user to the system control unit 15.

グラフィックI/F17は、システム制御部15から供給された画像信号から、ディスプレイ17aに表示させるための画像信号を生成して、この信号をディスプレイ17aに供給し、画像を表示させる。ディスプレイ17aは、例えばLCD(Liquid Crystal Display)からなり、撮像中のカメラスルー画像やメモリカード18aに記録されたデータに基づく再生画像などを表示する。   The graphic I / F 17 generates an image signal to be displayed on the display 17a from the image signal supplied from the system control unit 15, supplies the signal to the display 17a, and displays an image. The display 17a is composed of, for example, an LCD (Liquid Crystal Display), and displays a camera-through image being captured, a reproduced image based on data recorded on the memory card 18a, and the like.

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 / W 18 as a recording medium for recording image data generated by imaging. The R / W 18 writes the data supplied from the system control unit 15 to the memory card 18a, and outputs the data read from the memory card 18a to the system control unit 15. As the recording medium, for example, a writable optical disk or HDD (hard disk drive) may be used.

ここで、上記のデジタルスチルカメラにおける撮像時の基本的な動作について説明する。まず、静止画像の撮像時の動作について説明する。
静止画像の撮像前には、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 CCD 114 and subjected to photoelectric conversion are sequentially supplied to the AFE processing circuit 12. The AFE processing circuit 12 performs CDS processing and AGC processing on the input signal, and further converts it into a digital signal. The camera signal processing circuit 13 performs image quality correction processing on the digital image signal supplied from the AFE processing circuit 12 and supplies it as a camera-through image signal to the graphic I / F 17 via the system control unit 15. As a result, the camera-through image is displayed on the display 17a, and the user can adjust the angle of view while viewing the display 17a.

この状態で、入力部16のシャッタレリーズボタンが押下されると、システム制御部15は、露光制御ドライバ116やTG117に制御信号を出力してシャッタを動作させる。これによりCCD114からは、1フレーム分の画像信号が出力される。なお、このとき、システム制御部15は、カメラ信号処理回路13におけるAF処理およびAE処理の結果に応じて、レンズドライバ115、露光制御ドライバ116およびTG117に対して制御信号を出力し、これにより露光時間や露光量が適切になるように制御される。   In this state, when the shutter release button of the input unit 16 is pressed, the system control unit 15 outputs a control signal to the exposure control driver 116 and the TG 117 to operate the shutter. As a result, an image signal for one frame is output from the CCD 114. At this time, the system control unit 15 outputs control signals to the lens driver 115, the exposure control driver 116, and the TG 117 in accordance with the results of the AF processing and AE processing in the camera signal processing circuit 13, and thereby exposure is performed. It is controlled so that the time and the exposure amount are appropriate.

カメラ信号処理回路13は、CCD114からAFE処理回路12を介して供給された1フレーム分の画像信号に画質補正処理を施し、処理後の画像信号をエンコーダ/デコーダ14に供給する。エンコーダ/デコーダ14は、入力された画像信号を圧縮符号化し、生成した符号化データを、システム制御部15を介してR/W18に供給する。これにより、撮像された静止画像のデータファイルがメモリカード18aに記憶される。   The camera signal processing circuit 13 performs image quality correction processing on the image signal for one frame supplied from the CCD 114 via the AFE processing circuit 12, and supplies the processed image signal to the encoder / decoder 14. The encoder / decoder 14 compresses and encodes the input image signal, and supplies the generated encoded data to the R / W 18 via the system control unit 15. Thereby, the data file of the captured still image is stored in the memory card 18a.

一方、メモリカード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 system control unit 15 sends the selected still image file from the memory card 18a to the R / W 18 in response to an operation input from the input unit 16. And is supplied to the encoder / decoder 14 to execute decompression decoding processing. The decoded image signal is supplied to the graphic I / F 17 via the system control unit 15, and a still image is reproduced and displayed on the display 17a.

次に、このデジタルスチルカメラにおける欠陥画素検出について詳しく説明する。
図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 defect detection unit 131 and a defect determination processing unit 150 as functions for detecting defective pixels. In addition, a defect correction unit 132 that corrects the defective pixel based on the detected position information of the defective pixel (defect position information 19a) is also provided.

欠陥検出部131は、カメラ信号処理回路13の機能として実現され、AFE処理回路12から出力された画像信号を基に欠陥画素を検出し、その画素位置を示すアドレスをシステム制御部15に通知する。例えば、欠陥検出部131は、検出対象の画素とその周囲の画素との信号レベルを比較して、検出対象の画素の信号レベルが極端に大きい場合あるいは小さい場合などに欠陥画素と判断する。   The defect detection unit 131 is realized as a function of the camera signal processing circuit 13, detects a defective pixel based on the image signal output from the AFE processing circuit 12, and notifies the system control unit 15 of an address indicating the pixel position. . For example, the defect detection unit 131 compares the signal levels of the detection target pixel and surrounding pixels, and determines that the pixel is a defective pixel when the signal level of the detection target pixel is extremely high or low.

欠陥判定処理部150は、システム制御部15の機能として実現され、データ書き込み部151および欠陥判定部152を有している。データ書き込み部151は、欠陥検出部131の検出結果に応じて、欠陥判定用フレームメモリ20に対してデータ値を書き込む機能ブロックである。具体的には、欠陥検出部131により欠陥画素の候補が検出されるごとに、その画素位置に対応する欠陥判定用フレームメモリ20のアドレスのデータ値をインクリメントする。この処理の結果、欠陥判定用フレームメモリ20には、欠陥検出部131により欠陥画素候補として検出された回数が画素ごとに記録される。   The defect determination processing unit 150 is realized as a function of the system control unit 15 and includes a data writing unit 151 and a defect determination unit 152. The data writing unit 151 is a functional block that writes a data value to the defect determination frame memory 20 in accordance with the detection result of the defect detection unit 131. Specifically, every time a defect pixel candidate is detected by the defect detection unit 131, the data value of the address of the defect determination frame memory 20 corresponding to the pixel position is incremented. As a result of this processing, the number of times detected by the defect detection unit 131 as a defective pixel candidate is recorded in the defect determination frame memory 20 for each pixel.

なお、欠陥画素候補としての検出回数を記録するためにフレームメモリを用いることにより、この検出回数の記録動作を欠陥検出部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 defect detection unit 131, and the processing efficiency is improved.

欠陥判定部152は、欠陥判定用フレームメモリ20の記録データに基づいて、最終的な欠陥画素の判定を行う。具体的には、欠陥判定用フレームメモリ20に記録された各画素のデータ値を監視し、これらのデータ値の最大値が所定のしきい値に達したときに欠陥判定を行う。このとき、データ値が大きい順に上位から所定数のアドレスを抽出し、それらのアドレスに対応する画素を欠陥画素と判定して、欠陥位置情報19aとしてEEPROM19に記録する。   The defect determination unit 152 determines a final defective pixel based on the recording data of the defect determination frame memory 20. Specifically, the data value of each pixel recorded in the defect determination frame memory 20 is monitored, and the defect determination is performed when the maximum value of these data values reaches a predetermined threshold value. At this time, a predetermined number of addresses are extracted from the top in descending order of data values, pixels corresponding to these addresses are determined as defective pixels, and are recorded in the EEPROM 19 as defect position information 19a.

なお、欠陥補正部132はカメラ信号処理回路13の機能として実現され、画像の撮像時に、欠陥位置情報19aをEEPROM19からシステム制御部15を通じて読み出し、この情報に基づいてAFE処理回路12からの画像信号に対して、補間演算などにより欠陥画素の信号補正を行う。補間演算など信号補正処理の一部はシステム制御部15により行われてもよい。   The defect correction unit 132 is realized as a function of the camera signal processing circuit 13. When the image is captured, the defect position information 19 a is read from the EEPROM 19 through the system control unit 15, and based on this information, the image signal from the AFE processing circuit 12 is read out. In contrast, signal correction of defective pixels is performed by interpolation calculation or the like. Part of signal correction processing such as interpolation calculation may be performed by the system control unit 15.

以上のように、欠陥検出部131は、撮像画像信号を基に欠陥画素候補を検出するので、遮光手段や基準光源などを用いない比較的簡単な装置構成により実現される。そして、欠陥判定処理部150は、欠陥画素候補とされた回数を基にして最終的な欠陥画素の位置を判定するので、欠陥画素の検出精度を高めることができる。欠陥検出部131での欠陥検出方法としては、例えば以下の図3のような一般的な方法を用いることができる。   As described above, since the defect detection unit 131 detects a defective pixel candidate based on the captured image signal, the defect detection unit 131 is realized by a relatively simple device configuration that does not use a light shielding unit or a reference light source. And since the defect determination process part 150 determines the position of the final defective pixel based on the frequency | count made into the defective pixel candidate, it can improve the detection precision of a defective pixel. As a defect detection method in the defect detection unit 131, for example, a general method as shown in FIG. 3 below can be used.

図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 defect detection unit 131.
FIG. 3 shows, as an example, the state of the light receiving surface of the CCD 114 when a Bayer array RGB primary color filter is provided. In this case, filters of the same color are provided every other pixel. If a pixel to be detected as a defect is a target pixel P, signals of the same color pixel existing around the target pixel P are used to detect the target pixel P. Here, as an example, peripheral eight pixels (peripheral pixels P1 to P8) are used as shown in FIG. At this time, the difference between the average value of the signal levels of the peripheral pixels P1 to P8 and the signal level of the target pixel P is taken, and if the absolute value exceeds the threshold value, it is determined as a defective pixel. Thereby, a pixel having an extremely large signal level difference from surrounding pixels is determined as a defect.

このような検出方法では、注目画素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 determination processing unit 150 based on the detection result obtained by executing the defect detection realized by such a relatively simple device configuration for a plurality of frames. Therefore, even when the defect detection unit 131 adopts a relatively simple defect detection method as shown in FIG. 3, for example, the detection accuracy can be increased.

図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 determination processing unit 150.
The process shown in FIG. 4 is executed when the defect detection unit 131 performs defect detection based on the captured image signal for one frame at the time of power-on or at certain time intervals (FIG. 5, which will be described later). The same applies to FIGS. 6 and 7. First, steps S101 to S104 are executed by the data writing unit 151.

〔ステップS101〕欠陥検出部131から、1画素についての欠陥検出結果を受信する。
〔ステップS102〕欠陥画素であることが検出された場合にはステップS103に進み、検出されなかった場合にはステップS104に進む。
[Step S101] The defect detection result for one pixel is received from the defect detection unit 131.
[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 determination frame memory 20 corresponding to the position of the defective pixel is incremented.
[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 defect determination unit 152.

〔ステップS105〕欠陥判定用フレームメモリ20に記録されたデータ値の最大値が所定のしきい値(ここでは255)に達したか否かを判定し、達している場合はステップS106に進み、そうでない場合は処理を終了する。   [Step S105] It is determined whether or not the maximum value of the data value recorded in the defect determination frame memory 20 has reached a predetermined threshold value (255 in this case). If so, the process proceeds to step S106. Otherwise, the process is terminated.

〔ステップS106〕欠陥判定用フレームメモリ20上で、データ値が大きい順に上位から所定個数(ここでは30個)のアドレスを抽出する。なお、このとき、抽出対象とするデータ値の下限値を設けておき、上位から所定個数以内であっても、そのデータ値が下限値に達していない場合には、該当アドレスを抽出しないようにしてもよい。   [Step S106] On the defect determination frame memory 20, a predetermined number of addresses (here, 30 addresses) are extracted in descending order of data values. At this time, a lower limit value is set for the data value to be extracted, and if the data value does not reach the lower limit value even if it is within a predetermined number from the top, the corresponding address is not extracted. May be.

〔ステップ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 EEPROM 19 as defect position information 19a.
[Step S108] The recording data in the defect determination frame memory 20 is reset.

以上の処理では、欠陥検出部131により欠陥画素候補とされた回数がいずれかの画素において所定値に達したときに欠陥画素の判定が行われ、このときにその回数の多い順に所定数の画素が欠陥画素と判定される。このため、すべての画素について検出条件が同じ状態となり、その条件下において欠陥画素である可能性の高い画素が優先的に欠陥画素と判定されるので、ステップS105における最大値やステップS106におけるアドレスの抽出個数を適正に設定することで、高い欠陥判定精度を得ることができる。   In the above processing, the defective pixel is determined when the number of defective pixel candidates by the defect detection unit 131 reaches a predetermined value in any pixel, and at this time, a predetermined number of pixels in descending order of the number of times. Are determined to be defective pixels. For this reason, the detection condition is the same for all pixels, and a pixel that is highly likely to be a defective pixel under that condition is preferentially determined as a defective pixel. Therefore, the maximum value in step S105 or the address in step S106 High defect determination accuracy can be obtained by appropriately setting the number of extractions.

また、複数フレーム分の撮像画像信号を基に欠陥判定を行うので、ランダムノイズの発生や、画素エッジでの誤検出発生などに起因する検出誤差の影響を打ち消すことができる。そして、欠陥画素候補としての検出回数を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 defect detection unit 131 is configured to determine whether or not the target pixel is a defective pixel. In addition to this, for example, the defect detection unit 131 may detect when a defect is detected. The defect level may be output for each pixel according to the calculation result. For example, the higher the value of the defect level, the higher the possibility of a defective pixel. For example, in the defect detection method described above with reference to FIG. 3, it is considered that the higher the absolute value of the difference value between the average value of the signal level of the peripheral pixels and the signal level of the target pixel is, the higher the possibility of the defective pixel is. Therefore, the absolute value of this difference value (or a value assigned stepwise according to this value) can be used as the defect level.

このように欠陥検出部131から欠陥レベルが出力される場合、欠陥判定処理部150では、欠陥レベルを基に欠陥画素候補とするか否かを独自に判定し、さらに欠陥画素候補とした回数を基に最終的な欠陥判定を行うことで、その判定精度を高めることができる。本実施の形態では、1フレーム分の撮像画像信号を基に検出された欠陥レベルを受け取ると、その欠陥レベルが大きい順に上位から所定個数の画素を欠陥画素候補とする。   In this way, when the defect level is output from the defect detection unit 131, the defect determination processing unit 150 uniquely determines whether or not to be a defective pixel candidate based on the defect level, and further determines the number of times that the defect pixel candidate is determined. Based on the final defect determination, the determination accuracy can be improved. In this embodiment, when a defect level detected based on a captured image signal for one frame is received, a predetermined number of pixels from the top in the descending order of the defect level are set as defective pixel candidates.

図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 determination processing unit 150 in this case.
First, similarly to FIG. 4, steps S <b> 201 to S <b> 203 are executed by the data writing unit 151.

〔ステップS201〕欠陥検出部131から、1フレーム分の各画素の欠陥レベルを順次受信する。受信した欠陥レベルは、例えばRAMなどに一時的に記憶しておく。
〔ステップS202〕1フレーム分のうち、欠陥レベルの大きい順に上位から所定数(ここでは30個)の画素を、欠陥画素候補として抽出する。なお、このとき、欠陥画素候補とするための欠陥レベルの下限を設けておいてもよい。
[Step S201] The defect level of each pixel for one frame is sequentially received from the defect detector 131. The received defect level is temporarily stored in, for example, a RAM.
[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 determination frame memory 20 corresponding to the position of the pixel determined as the defective pixel candidate is incremented.
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 determination frame memory 20 can be reduced, so that the memory capacity is suppressed.

≪第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 defect detection unit 131, the occurrence probability of the false detection also changes depending on the exposure condition at the time of imaging. For example, the system control unit 15 controls the shutter speed of the mechanical shutter and the electronic shutter, the gain of the AGC in the AFE processing circuit 12 and the like according to the result of the AE processing by the camera signal processing circuit 13. When the gain of AGC is set high, the noise component included in the image signal increases accordingly, and it becomes difficult to distinguish between defects and noise. Alternatively, with respect to random noise generated on the CCD 114, noise components cancel each other by integration for the exposure time, so that the generation of noise decreases as the shutter speed is slower and the exposure time is longer. On the other hand, since the white defect is caused by the generation of excess charge in the defective pixel, the longer the exposure time is, the more excess charge is accumulated and the white defect is easily detected.

このような性質を加味して、本実施の形態では、欠陥検出部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 defect detection unit 131 according to the exposure condition. Improve. For this reason, when the detection by the defect detection unit 131 is started, the data writing unit 151 of the defect determination processing unit 150 calculates the shutter speed and AGC gain for imaging the frame calculated in the system control unit 15. And the number of pixels to be extracted as defective pixel candidates is changed.

図6は、この場合の欠陥判定処理部150における欠陥判定時の処理の流れを示すフローチャートである。
まず、データ書き込み部151によりステップS301〜S304が実行される。
FIG. 6 is a flowchart showing a flow of processing at the time of defect determination in the defect determination processing unit 150 in this case.
First, steps S301 to S304 are executed by the data writing unit 151.

〔ステップ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 defect detector 131. The received defect level is temporarily stored in, for example, a RAM.
[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 determination frame memory 20 corresponding to the position of the pixel determined as the defective pixel candidate is incremented.
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 determination frame memory 20 can be further suppressed.

≪第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 determination processing unit 150 in this case.
First, steps S401 to S405 are executed by the data writing unit 151.

〔ステップ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 defect detector 131.
[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 determination frame memory 20 corresponding to the position of the pixel determined as the defective pixel candidate is incremented.
[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 defect determination unit 152. Since these steps S406 to S409 correspond to steps S105 to S108 in FIG. 4, description thereof is omitted here. To do.

以上の処理では、欠陥画素候補の判定基準値を露光条件に応じて変化させることで、欠陥画素候補の判定精度がより高められるので、上記の第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 determination frame memory 20 can be further suppressed.

≪第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 signal processing circuit 13 is provided with defect detection units 131a and 131b for white defect detection and black defect detection, respectively. In such a case, the system control unit 15 is also provided with defect determination processing units 150a and 150b for white defects and black defects, respectively, and dedicated frame memories (white defect determination frame memory 20a, black defect determination defect), respectively. A frame memory 20b) may be provided. Even when the defect determination is performed individually for the white defect and the black defect in this way, only one frame memory is required for each of the white defect and the black defect, so that the defect detection accuracy can be increased without increasing the memory capacity. Can be increased.

また、欠陥判定処理部150aおよび150bでは、欠陥画素の判定処理として、上述した図4〜図7のいずれの処理手順が用いられてもよい。また、欠陥画素候補とするための判定基準や、最終的な欠陥画素判定を開始するためのフレームメモリ上のデータ値の最大値などについては、白欠陥および黒欠陥でそれぞれ異なる値が設定されてもよい。   Further, in the defect determination processing units 150a and 150b, any of the above-described processing procedures of FIGS. 4 to 7 may be used as the defective pixel determination process. In addition, different values are set for white defects and black defects for the determination criteria for determining defective pixel candidates and the maximum data value on the frame memory for starting the final defective pixel determination. Also good.

さらに、白欠陥および黒欠陥のための欠陥検出部131aおよび131bが個別に設けられた場合でも、欠陥判定用フレームメモリを1つだけ設けるようにし、処理を簡略化するとともにメモリ容量を抑制してもよい。この場合、欠陥判定処理部150aおよび150bでは、欠陥画素候補を抽出するための機能(データ書き込み部151に対応)のみそれぞれ個別に設けて、このときに各機能が同じフレームメモリに対してデータ値のインクリメントを行うようにする。従って、フレームメモリには、白欠陥,黒欠陥を区別することなく欠陥画素候補とされた回数が記録される。また、フレームメモリ上のデータ値に基づく欠陥判定を行う機能(欠陥判定部152に対応)は1つだけ設けられて共用されればよい。   Furthermore, even when defect detection units 131a and 131b for white defects and black defects are individually provided, only one defect determination frame memory is provided, which simplifies the process and suppresses the memory capacity. Also good. In this case, in the defect determination processing units 150a and 150b, only a function for extracting defective pixel candidates (corresponding to the data writing unit 151) is individually provided, and at this time, each function has a data value for the same frame memory. Is incremented. Therefore, the frame memory records the number of times that the defective pixel candidate is identified without distinguishing between the white defect and the black defect. Further, only one function (corresponding to the defect determination unit 152) for performing defect determination based on the data value on the frame memory may be provided and shared.

なお、以上の実施の形態では、本発明をデジタルスチルカメラに適用した場合について説明したが、固体撮像素子を用いたこれ以外の撮像装置に対しても本発明を適用することができる。例えば、デジタルビデオカメラや、携帯電話機、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 determination processing units 150, 150a, 150b, etc.) is provided. And the said processing function is implement | achieved on a computer by running the program with a computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical disk, and a semiconductor memory.

プログラムを流通させる場合には、例えば、そのプログラムが記録された光ディスクや半導体メモリなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   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.

本発明の第1の実施の形態に係るデジタルスチルカメラの全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a digital still camera according to a first embodiment of the present invention. 本発明の第1の実施の形態に係るデジタルスチルカメラが具備する欠陥画素検出のための機能を示すブロック図である。It is a block diagram which shows the function for the defective pixel detection which the digital still camera concerning the 1st Embodiment of this invention comprises. 欠陥検出部における欠陥検出方法の一例を説明するための図である。It is a figure for demonstrating an example of the defect detection method in a defect detection part. 第1の実施の形態に係る欠陥判定処理部における欠陥判定時の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process at the time of the defect determination in the defect determination process part which concerns on 1st Embodiment. 第2の実施の形態に係る欠陥判定処理部における欠陥判定時の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process at the time of the defect determination in the defect determination process part which concerns on 2nd Embodiment. 第3の実施の形態に係る欠陥判定処理部における欠陥判定時の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process at the time of the defect determination in the defect determination process part which concerns on 3rd Embodiment. 第4の実施の形態に係る欠陥判定処理部における欠陥判定時の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process at the time of the defect determination in the defect determination process part which concerns on 4th Embodiment. 本発明の第5の実施の形態に係るデジタルスチルカメラが具備する欠陥画素検出のための機能を示すブロック図である。It is a block diagram which shows the function for the defective pixel detection which the digital still camera concerning the 5th Embodiment of this invention comprises.

符号の説明Explanation of symbols

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 SYMBOLS 11 ... Optical block, 12 ... AFE processing circuit, 13 ... Camera signal processing circuit, 14 ... Encoder / decoder, 15 ... System control part, 16 ... Input part, 17 ... Graphic I / F, 17a ... Display, 18 ... R / W, 18a ... Memory card, 19 ... EEPROM, 20 ... Frame memory for defect determination, 111 ... Lens mechanism, 112 ... Exposure mechanism, 113 ... OP- LPF, 114 ... CCD, 115 ... lens driver, 116 ... exposure control driver, 117 ... TG, 131 ... defect detection unit, 132 ... defect correction unit, 150 ... defect determination processing unit, 151 ... Data writing unit, 152... Defect determination unit

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:
前記欠陥画素候補検出手段は、撮像画像信号中の検出対象画素の信号レベルとその周囲画素の信号レベルとの比較結果に応じて前記欠陥レベルを出力することを特徴とする請求項2記載の撮像装置。   3. The imaging according to claim 2, wherein the defective pixel candidate detection unit outputs the defect level according to a comparison result between a signal level of a detection target pixel in a captured image signal and a signal level of surrounding pixels. apparatus. 前記データ書き込み手段は、前記フレームメモリ上のデータ値をインクリメントするアドレス数を、直前の撮像時における露光条件に応じて変化させることを特徴とする請求項2記載の撮像装置。   3. The imaging apparatus according to claim 2, wherein the data writing unit changes the number of addresses for incrementing the data value on the frame memory in accordance with an exposure condition at the time of the previous imaging. 前記欠陥画素候補検出手段は、検出した前記各欠陥画素候補についての欠陥画素である可能性の高さを示す欠陥レベルを出力し、
前記データ書き込み手段は、前記欠陥レベルが所定の下限値に達している場合に、当該画素の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントし、さらに、前記下限値を直前の撮像時における露光条件に応じて変化させることを特徴とする請求項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記載の撮像装置。   The defective pixel determining means determines that a pixel corresponding to one having a data value greater than or equal to a predetermined threshold among defective addresses extracted from the frame memory in descending order of data value is determined as a defective pixel. The imaging apparatus according to claim 1, characterized in that: 前記欠陥画素判定手段により判定された欠陥画素の位置情報を記憶する欠陥位置記憶手段と、
前記欠陥位置記憶手段の記憶情報に基づいて撮像画像信号における欠陥画素の画素信号を補正する欠陥画素補正手段と、
をさらに有し、
前記欠陥画素判定手段は、新たな欠陥画素を判定するたびにその位置情報を前記欠陥位置記憶手段に書き加えるとともに、前記フレームメモリの全データ値をリセットすることを特徴とする請求項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記載の撮像装置。   The imaging apparatus according to claim 1, wherein the defective pixel candidate detecting unit detects the defective pixel candidate based on a signal level of a detection target pixel in a captured image signal and a signal level of surrounding pixels. 撮像画像の1フレームの各画素に対応するアドレスにデータを記憶するフレームメモリを用いて、固体撮像素子における欠陥画素を検出するための欠陥画素検出方法において、
撮像画像信号を基に欠陥画素候補が検出されるごとに、データ書き込み手段が、検出された前記欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするステップと、
欠陥画素判定手段が、前記フレームメモリ上の少なくとも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フレームの各画素に対応するアドレスにデータを記憶するフレームメモリを用いて、固体撮像素子における欠陥画素を検出する処理をコンピュータに実行させる欠陥画素検出プログラムにおいて、
撮像画像信号を基に欠陥画素候補が検出されるごとに、当該欠陥画素候補の位置に対応する前記フレームメモリ上のアドレスのデータ値をインクリメントするデータ書き込み手段、
前記フレームメモリ上の少なくとも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:
JP2004157620A 2004-05-27 2004-05-27 Imaging device, defective pixel detecting method, and program Pending JP2005341244A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (16)

* Cited by examiner, † Cited by third party
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