JP2003250091A - Apparatus for detecting defective pixel of solid-state imaging element and electronic camera - Google Patents
Apparatus for detecting defective pixel of solid-state imaging element and electronic cameraInfo
- Publication number
- JP2003250091A JP2003250091A JP2002045539A JP2002045539A JP2003250091A JP 2003250091 A JP2003250091 A JP 2003250091A JP 2002045539 A JP2002045539 A JP 2002045539A JP 2002045539 A JP2002045539 A JP 2002045539A JP 2003250091 A JP2003250091 A JP 2003250091A
- Authority
- JP
- Japan
- Prior art keywords
- defective pixel
- block
- solid
- detected
- cumulative addition
- 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.)
- Withdrawn
Links
- 230000002950 deficient Effects 0.000 title claims abstract description 252
- 238000003384 imaging method Methods 0.000 title claims abstract description 11
- 238000001514 detection method Methods 0.000 claims description 122
- 230000007547 defect Effects 0.000 claims description 74
- 230000001186 cumulative effect Effects 0.000 claims description 61
- 238000000034 method Methods 0.000 claims description 34
- 238000005375 photometry Methods 0.000 claims description 6
- 230000000295 complement effect Effects 0.000 claims description 4
- 239000007787 solid Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 206010027146 Melanoderma Diseases 0.000 description 2
- 230000002411 adverse Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Landscapes
- Studio Devices (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
- Color Television Image Signal Generators (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、固体撮像素子上
又は固体撮像素子から出力される画像中に発生する欠陥
画素を電気的に検出する固体撮像素子の欠陥画素検出装
置、及び該欠陥画素検出装置を用いた電子カメラに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a solid-state image sensor defective pixel detection device for electrically detecting a defective pixel generated on or in an image output from a solid-state image sensor, and a defective pixel detection device. The present invention relates to an electronic camera using the device.
【0002】[0002]
【従来の技術】一般に、固体撮像素子にはダストの付着
や結晶欠陥等による欠陥画素が存在することがある。特
に、多画素を有する固体撮像素子においては欠陥画素の
発生頻度は高く、これを検出し補正するための技術が必
須となっており、かかる検出補正技術の一手法につい
て、例えば特開平11−220661号公報に提案がな
されている。2. Description of the Related Art Generally, a solid-state image sensor may have defective pixels due to dust adhesion, crystal defects, or the like. In particular, a solid-state image sensor having many pixels has a high occurrence frequency of defective pixels, and a technique for detecting and correcting the defective pixels is indispensable. One method of such detection / correction technique is disclosed in, for example, Japanese Patent Laid-Open No. 11-220661. The proposal is made in the publication.
【0003】ところで、固体撮像素子の欠陥には、固体
撮像素子を使用している間に欠陥画素が生じるといった
経時変化が存在する。しかし、前記公報開示の従来技術
のように、あらかじめ欠陥画素位置の検出及び記憶を行
い、記憶した位置情報を元に補正を行う手法では、経時
変化に対応できない。By the way, the defect of the solid-state image pickup device has a change with time such that defective pixels are generated while the solid-state image pickup device is used. However, the method of detecting and storing the defective pixel position in advance and correcting it based on the stored position information as in the prior art disclosed in the above publication cannot cope with the change with time.
【0004】そこで、経時変化に対応する技術として、
特開平10−322603号公報には、電源投入時に、
絞りを閉じて真っ暗な状態でCCDにより1画面分撮影
し、該撮影で得られた画像と閾値とを比較し、該閾値よ
りも画像データが高い輝度を示す場合には欠陥画素(白
キズ)として検出し、またモードスイッチにより欠陥画
素の検出モードを選択した状態で、専用の被写体にカメ
ラを向けてCCDにより1画面分撮影し、該撮影で得ら
れた画像データと閾値とを比較し、該閾値よりも画像デ
ータが低い輝度を示す場合には欠陥画素(黒キズ)とし
て検出するようにした電子カメラが開示されている。Therefore, as a technique for coping with changes over time,
Japanese Patent Laid-Open No. 10-322603 discloses that when power is turned on,
One screen is photographed by CCD with the aperture closed and in a pitch dark state, the image obtained by the photographing is compared with a threshold value, and when the image data shows a higher brightness than the threshold value, a defective pixel (white defect) In the state where the defective pixel detection mode is selected by the mode switch, the camera is pointed at a dedicated subject, one screen is photographed by the CCD, and the image data obtained by the photographing is compared with a threshold value. An electronic camera is disclosed which detects defective pixels (black scratches) when the image data has a luminance lower than the threshold value.
【0005】[0005]
【発明が解決しようとする課題】上記特開平10−32
2603号公報開示の手法によれば、固体撮像素子の経
時変化により発生した欠陥画素を検出することが可能で
あるが、電源投入時に1画面分の撮影と欠陥画素の検出
処理を行うようにしているため、電子カメラの起動に要
する時間が長くなるという問題が生じる。また、欠陥検
出モードに切り替えて専用の被写体を撮影するという、
電子カメラの使用者に対して煩わしい作業が発生すると
いう問題もある。このように、欠陥検出専用の画像を撮
影し、その画像データを用いて欠陥画素検出を行う方式
は、検出精度は高いものの処理時間の増大や、本来の撮
影には必要のない操作が発生するという問題がある。DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
According to the method disclosed in Japanese Patent No. 2603, it is possible to detect a defective pixel caused by the change over time of the solid-state imaging device. However, when the power is turned on, one screen of image capturing and defective pixel detection processing are performed. Therefore, there is a problem in that it takes a long time to start the electronic camera. Also, switching to the defect detection mode and shooting a dedicated subject,
There is also a problem in that the user of the electronic camera has troublesome work. As described above, in the method in which an image dedicated to defect detection is captured and defective pixel detection is performed using the image data, detection accuracy is high, but processing time increases and operations that are not necessary for original imaging occur. There is a problem.
【0006】本発明は、従来の固体撮像素子の欠陥画素
の検出方式における上記問題点を解決するためになされ
たもので、請求項1〜12に係る発明は、欠陥検出専用の
画像を用いることなく、短時間に高い精度で欠陥画素を
検出できるようにした固体撮像素子の欠陥画素検出装置
を提供することを目的とする。また、請求項13〜20に係
る発明は、様々な撮影条件に応じて適切な欠陥画素検出
を行えるようにした、上記固体撮像素子の欠陥画素検出
装置を用いた電子カメラを提供することを目的とする。The present invention has been made to solve the above-mentioned problems in the conventional defective pixel detection system of a solid-state image pickup device. The invention according to claims 1 to 12 uses an image dedicated to defect detection. It is an object of the present invention to provide a defective pixel detection device for a solid-state image sensor, which is capable of detecting defective pixels with high accuracy in a short time. Further, the invention according to claims 13 to 20 aims to provide an electronic camera using the defective pixel detection device of the solid-state image pickup device, which enables appropriate defective pixel detection according to various imaging conditions. And
【0007】[0007]
【課題を解決するための手段】上記問題点を解決するた
め、請求項1に係る発明は、固体撮像素子から出力され
る画像データを任意ブロック毎に累積加算するための累
積加算手段と、該累積加算手段による累積加算値を用い
て欠陥画素検出を行うブロックを選択するブロック選択
手段と、選択されたブロックに含まれる画像データを用
いて該ブロック内の欠陥画素検出を行う欠陥検出手段
と、検出した欠陥画素に関する情報を記憶する記憶手段
とで固体撮像素子の欠陥画素検出装置を構成するもので
ある。In order to solve the above problems, the invention according to claim 1 is a cumulative addition means for cumulatively adding image data output from a solid-state image pickup device for each arbitrary block, Block selecting means for selecting a block for performing defective pixel detection using the cumulative addition value by the cumulative adding means, and defect detecting means for performing defective pixel detection in the block using image data included in the selected block, A defective pixel detection device for a solid-state image sensor is configured with a storage unit that stores information about the detected defective pixel.
【0008】このように構成した欠陥画素検出装置にお
いては、欠陥検出手段により欠陥画素検出を行うブロッ
クをブロック選択手段により適切に選択することができ
るため、短時間に欠陥画素検出処理を行うことが可能と
なる。In the defective pixel detecting device having such a configuration, the block for which the defective pixel is detected by the defect detecting means can be appropriately selected by the block selecting means, so that the defective pixel detecting process can be performed in a short time. It will be possible.
【0009】請求項2に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記記憶手段
は、工場出荷時に検出した欠陥画素位置情報を記憶する
領域と、工場出荷後に検出した欠陥画素に関する情報を
記憶する領域とに分割されており、工場出荷時に検出し
た欠陥画素位置情報については情報の更新を行わないよ
うに構成されていることを特徴とするものである。According to a second aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the storage means detects an area for storing defective pixel position information detected at the time of factory shipment, and detects after the factory shipment. The defective pixel position information detected at the time of factory shipment is not updated.
【0010】このように構成した欠陥画素検出装置にお
いては、経時変化により発生した欠陥画素の検出及び記
憶の際に、工場出荷時の欠陥画素位置情報が上書きされ
消えてしまうことがなくなる。工場出荷時に検出した欠
陥画素は非常に高い精度で検出されているので、この欠
陥画素位置情報を保護することにより精度の高い欠陥画
素補正が可能となる。In the defective pixel detecting device thus constructed, the defective pixel position information at the time of factory shipment is not overwritten and erased when detecting and storing the defective pixel generated due to aging. Since the defective pixel detected at the time of factory shipment is detected with extremely high accuracy, it is possible to perform highly accurate defective pixel correction by protecting this defective pixel position information.
【0011】請求項3に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記累積加算
手段は、固体撮像素子がベイヤ配列カラーフィルタを備
えている場合、色毎に累積加算値を計算するように構成
されていることを特徴とするものである。According to a third aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the cumulative addition means accumulates each color when the solid-state image pickup device includes a Bayer array color filter. It is characterized in that it is configured to calculate an addition value.
【0012】このように構成した欠陥画素検出装置にお
いては、R,Gr ,Gb ,Bの各色毎の累積加算値に基
づいてブロックを選択し欠陥画素検出を行うため、ベイ
ヤ配列カラーフィルタに影響されない、精度の高い欠陥
画素検出が可能となる。In the defective pixel detection device thus constructed, the defective pixel detection is performed by selecting a block based on the cumulative addition value of each color of R, Gr, Gb and B, so that it is not affected by the Bayer array color filter. It is possible to detect defective pixels with high accuracy.
【0013】請求項4に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記累積加算
手段は、固体撮像素子が補色モザイク配列カラーフィル
タを備えている場合、色毎に累積加算値を計算するよう
に構成されていることを特徴とするものである。According to a fourth aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the cumulative addition means is arranged for each color when the solid-state image pickup device includes a complementary color mosaic array color filter. It is characterized in that it is configured to calculate a cumulative addition value.
【0014】このように構成した欠陥画素検出装置にお
いては、Mg ,G,Ye ,Cy の各色毎の累積加算値に
基づいてブロックを選択し欠陥画素検出を行うため、補
色モザイク配列カラーフィルタに影響されない、精度の
高い欠陥画素検出が可能となる。In the defective pixel detection device thus constructed, the defective pixel detection is performed by selecting a block based on the cumulative addition value of each color of Mg, G, Ye and Cy, so that the complementary color mosaic array color filter is affected. It is possible to detect defective pixels with high accuracy.
【0015】請求項5に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記累積加算
手段をCMOS撮像素子で構成し、該CMOS撮像素子
出力の列毎及び行毎の累積加算を行うように構成されて
いることを特徴とするものである。According to a fifth aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the cumulative addition means is composed of a CMOS image pickup device, and the output of the CMOS image pickup device is arranged for each column and each row. It is characterized in that it is configured to perform cumulative addition.
【0016】このように構成した欠陥画素検出装置にお
いては、累積加算するデータ数が減るため欠陥画素検出
処理に要する時間をより短縮することが可能となる。In the defective pixel detecting device having such a configuration, the number of data to be cumulatively added is reduced, so that the time required for the defective pixel detecting process can be further shortened.
【0017】請求項6に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記ブロック
選択手段は、累積加算値を明ブロック判定閾値及び暗ブ
ロック判定閾値と比較し、累積加算値が明ブロック判定
閾値より大きい場合又は暗ブロック判定閾値より小さい
場合に、欠陥画素検出処理を行うブロックとして選択す
るように構成されていることを特徴とするものである。According to a sixth aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the block selection means compares the cumulative addition value with a bright block determination threshold value and a dark block determination threshold value, and accumulates them. When the added value is larger than the bright block determination threshold value or smaller than the dark block determination threshold value, the block is configured to be selected as a block to be subjected to defective pixel detection processing.
【0018】このように構成した欠陥画素検出装置にお
いては、欠陥画素検出を行い易い一様に明るいブロック
あるいは一様に暗いブロックを選択することができ、欠
陥画素検出精度を上げることが可能となる。また、撮影
時に一様に明るいブロックあるいは一様に暗いブロック
が出現する位置には、傾向があるため、一様に明るいブ
ロックあるいは一様に暗いブロックに対して、優先的に
欠陥画素検出を続けることにより、効率的に目立ちやす
い位置の欠陥画素を検出することが可能となる。In the defective pixel detection device having such a configuration, it is possible to select a uniformly bright block or a uniformly dark block that facilitates defective pixel detection, and it is possible to improve the defective pixel detection accuracy. . Further, since there is a tendency in the position where a uniformly bright block or a uniformly dark block appears at the time of shooting, the defective pixel detection is preferentially continued for the uniformly bright block or the uniformly dark block. As a result, it becomes possible to efficiently detect defective pixels at positions that are easily noticeable.
【0019】請求項7に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記ブロック
選択手段は、定義された任意のブロック順番で累積加算
値と明ブロック判定閾値及び暗ブロック判定閾値を比較
し、累積加算値が明ブロック判定閾値を超えるか又は暗
ブロック判定閾値を下回るかしたブロックについて検出
処理を行うブロックとして選択するように構成されてい
ることを特徴とするものである。According to a seventh aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the block selection means is a cumulative addition value, a bright block determination threshold value, and a dark block in a defined arbitrary block order. It is characterized in that it is configured to compare the block determination thresholds and select a block for which the cumulative addition value exceeds the bright block determination threshold or falls below the dark block determination threshold as a block to be detected. is there.
【0020】このように構成した欠陥画素検出装置にお
いては、ブロック選択を欠陥画素が目に付きやすい位置
から順番に行うことができ、目に付きやすい位置の画素
の経時変化により発生した欠陥画素を速やかに検出する
ことが可能となる。In the defective pixel detection device having such a configuration, block selection can be performed in order from the position where the defective pixel is easily noticeable, and the defective pixel generated due to the temporal change of the pixel at the easily noticeable position is selected. It is possible to detect it promptly.
【0021】請求項8に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記ブロック
選択手段は、指定された任意の数のブロックを選択する
ように構成されていることを特徴とするものである。According to an eighth aspect of the present invention, in the defective pixel detecting device for a solid-state image pickup device according to the first aspect, the block selecting means is configured to select a designated arbitrary number of blocks. It is characterized by.
【0022】このように構成した欠陥画素検出装置にお
いては、1 フレーム全体の欠陥画素検出処理に要する期
間を短くしたい場合は、撮影毎に選択するブロック数を
増やし、1 回の欠陥画素検出処理に要する時間を短くし
たい場合は選択するブロック数を減らすことにより、1
回あたりの欠陥画素検出処理データ量を適切に調整する
ことが可能である。In the defective pixel detection device having such a configuration, if it is desired to shorten the period required for the defective pixel detection process for one frame as a whole, the number of blocks to be selected for each photographing is increased and the defective pixel detection process is performed once. If you want to reduce the time required, reduce the number of blocks selected to
It is possible to appropriately adjust the defective pixel detection processing data amount per time.
【0023】請求項9に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記記憶手段
は欠陥画素の位置情報、該欠陥画素が欠陥として検出さ
れた回数及び該欠陥画素が含まれるブロックが選択され
た回数を記憶し、該記憶手段に空きがなくなった際に
は、欠陥画素として検出された回数と検出された該欠陥
画素を含むブロックが選択された回数の比が最も小さい
欠陥画素の情報が記憶されている領域を空き領域とする
ことを特徴とするものである。According to a ninth aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the storage means has position information of the defective pixel, the number of times the defective pixel is detected as a defect, and the defective pixel. Stores the number of times the block including is selected, and when the storage means is full, the ratio of the number of times that the defective pixel is detected to the number of times when the block including the detected defective pixel is selected is It is characterized in that the area in which the information of the smallest defective pixel is stored is set as an empty area.
【0024】このように構成した欠陥画素検出装置にお
いては、欠陥画素検出を繰り返すうちに記憶手段の空き
領域がなくなった状態で欠陥画素検出を行った場合、以
前欠陥画素として検出したものの誤検出である可能性が
高いものの情報を破棄し、新たに検出した欠陥画素情報
を記憶することによって、誤検出の割合を下げることが
可能となる。In the defective pixel detection device thus constructed, when defective pixel detection is performed in a state where the empty space of the storage means is exhausted while the defective pixel detection is repeated, false detection of a previously detected defective pixel may occur. It is possible to reduce the rate of erroneous detection by discarding information that has a high possibility of being present and storing the newly detected defective pixel information.
【0025】請求項10に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記欠陥検出
手段は、選択されたブロックの累積加算値が明ブロック
判定閾値より大きい場合は、該ブロック内の画素におい
て明時欠陥判定閾値を下回るものを欠陥画素として検出
し、選択されたブロックの累積加算値が暗ブロック判定
閾値より小さい場合は、該ブロック内の画素において暗
時欠陥判定閾値を超えるものを欠陥画素として検出する
ように構成されていることを特徴とするものである。According to a tenth aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the defect detection means, when the cumulative addition value of the selected blocks is larger than the bright block determination threshold value, In the pixels in the block, those below the bright defect determination threshold are detected as defective pixels, and when the cumulative addition value of the selected blocks is smaller than the dark block determination threshold, the dark defect determination threshold in the pixel in the block is detected. It is characterized in that it is configured to detect a pixel exceeding the above as a defective pixel.
【0026】このように構成した欠陥画素検出装置にお
いては、ブロック内の画素値と閾値との比較のみで欠陥
画素検出を行うため、短い処理時間で欠陥画素を検出す
ることが可能となる。In the defective pixel detection device thus constructed, the defective pixel is detected only by comparing the pixel value in the block with the threshold value, so that the defective pixel can be detected in a short processing time.
【0027】請求項11に係る発明は、請求項10に係る固
体撮像素子の欠陥画素検出装置において、前記欠陥検出
手段において用いる明時欠陥判定閾値及び暗時欠陥判定
閾値は、選択されたブロックの累積加算値に比例して可
変であることを特徴とするものである。According to an eleventh aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the tenth aspect, the bright defect determination threshold value and the dark defect determination threshold value used in the defect detection means are those of a selected block. It is characterized in that it is variable in proportion to the cumulative addition value.
【0028】このように構成した欠陥画素検出装置にお
いては、ブロックの累積加算値に応じた閾値を用いるた
め、欠陥画素の誤検出及び検出漏れを低減することが可
能となる。In the defective pixel detection device thus constructed, the threshold value corresponding to the cumulative addition value of the blocks is used, so that it is possible to reduce erroneous detection of defective pixels and omission of detection.
【0029】請求項12に係る発明は、請求項1に係る固
体撮像素子の欠陥画素検出装置において、前記欠陥検出
手段は欠陥として検出する画素の数に上限を設けている
ことを特徴とするものである。According to a twelfth aspect of the present invention, in the defective pixel detection device for a solid-state image pickup device according to the first aspect, the defect detection means sets an upper limit on the number of pixels detected as a defect. Is.
【0030】このように構成した欠陥画素検出装置にお
いては、1 つのシーンで検出する欠陥画素の数を減らす
ことができ、欠陥画素検出結果のシーン依存性を低減す
ることが可能である。In the defective pixel detection device thus configured, it is possible to reduce the number of defective pixels detected in one scene and reduce the scene dependency of the defective pixel detection result.
【0031】請求項13に係る発明は、固体撮像素子とA
Eモード設定手段とを備えた電子カメラにおいて、前記
固体撮像素子から出力される画像データを任意ブロック
毎に累積加算するための累積加算手段と、該累積加算手
段による累積加算値を用いて欠陥画素検出を行うブロッ
クを選択するブロック選択手段と、選択されたブロック
に含まれる画像データを用いて該ブロック内の欠陥画素
検出を行う欠陥検出手段と、検出した欠陥画素に関する
情報を記憶する記憶手段と、記憶されている欠陥画素に
関する情報を元に欠陥画素を補正する補正手段とを有
し、撮影用露光時に得られた画像データから欠陥画素の
検出を行うように構成されていることを特徴とするもの
である。According to a thirteenth aspect of the present invention, there is provided a solid-state image sensor and an A
In an electronic camera provided with an E mode setting means, a defective pixel is formed by using a cumulative addition means for cumulatively adding image data output from the solid-state image sensor for each arbitrary block, and a cumulative addition value by the cumulative addition means. Block selection means for selecting a block to be detected, defect detection means for detecting a defective pixel in the block using image data included in the selected block, and storage means for storing information on the detected defective pixel A defective pixel is detected based on the image data obtained at the time of exposure for photographing, and a correcting unit that corrects the defective pixel based on the stored information about the defective pixel. To do.
【0032】このように構成した電子カメラにおいて
は、撮影の画像データを用いて欠陥画素検出を行うた
め、欠陥画素検出のために起動時間が遅くなることもな
く、欠陥画素検出専用の被写体を用意する必要もなくな
る。また、欠陥検出手段により欠陥検出を行うブロック
をブロック選択手段により適切に選択するため、短時間
に欠陥検出処理を行うことが可能となる。In the electronic camera configured as described above, since defective pixels are detected using image data of a photographed image, a start-up time for detecting defective pixels is not delayed, and a subject dedicated to defective pixel detection is prepared. There is no need to do it. Further, since the block for which the defect is detected by the defect detecting unit is appropriately selected by the block selecting unit, the defect detecting process can be performed in a short time.
【0033】請求項14に係る発明は、請求項13に係る電
子カメラにおいて、前記ブロック選択手段は、AEモー
ド設定手段によるAEモードが中央重点測光時に、画面
中央付近のブロックを優先的に選択するように構成され
ていることを特徴とするものである。According to a fourteenth aspect of the present invention, in the electronic camera according to the thirteenth aspect, the block selecting means preferentially selects a block near the center of the screen when the AE mode by the AE mode setting means is center-weighted photometry. It is characterized by being configured as follows.
【0034】AEモードを中央重点測光に設定して撮影
するということは、主要被写体が中央付近にあるという
ことであり、したがって、このように構成した電子カメ
ラにおいては、主要被写体の位置にある欠陥画素を、い
ち早く検出することが可能となる。Shooting with the AE mode set to center-weighted photometry means that the main subject is in the vicinity of the center. Therefore, in the electronic camera constructed in this way, the defect at the position of the main subject is detected. Pixels can be detected quickly.
【0035】請求項15に係る発明は、請求項13に係る電
子カメラにおいて、前記ブロック選択手段は、撮影処理
に関わる処理の負荷に応じて選択するブロック数を動的
に変化するように構成されていることを特徴とするもの
である。According to a fifteenth aspect of the present invention, in the electronic camera according to the thirteenth aspect, the block selection means is configured to dynamically change the number of blocks to be selected according to the processing load related to the photographing processing. It is characterized by that.
【0036】このように構成した電子カメラにおいて
は、撮影処理に関わる処理の負荷は画質や撮影モードに
よって異なるため、それら撮影条件により変化する撮影
処理に関わる処理の負荷が少ない場合は、1フレーム全
体の欠陥画素検出に要する期間を短くするために選択す
るブロック数を増加させ、処理の負荷が多い場合は、1
回の処理に要する時間を短くするために選択するブロッ
ク数を減少させることが可能となる。In the electronic camera constructed as described above, the processing load related to the photographing process differs depending on the image quality and the photographing mode. Therefore, when the processing load related to the photographing process that changes depending on the photographing conditions is small, one frame If the number of blocks to be selected is increased in order to shorten the period required for defective pixel detection of
It is possible to reduce the number of blocks selected in order to shorten the time required for one processing.
【0037】請求項16に係る発明は、請求項13に係る電
子カメラにおいて、前記ブロック選択手段は、固体撮像
素子の温度が高い場合、選択するブロック数を増加させ
るように構成されていることを特徴とするものである。According to a sixteenth aspect of the present invention, in the electronic camera according to the thirteenth aspect, the block selecting means is configured to increase the number of blocks to be selected when the temperature of the solid-state image sensor is high. It is a feature.
【0038】このように構成した電子カメラにおいて
は、固体撮像素子の温度が高い場合のみ発生する欠陥画
素を検出する確率を上げることが可能となる。In the electronic camera constructed as described above, it is possible to increase the probability of detecting a defective pixel that occurs only when the temperature of the solid-state image sensor is high.
【0039】請求項17に係る発明は、請求項13に係る電
子カメラにおいて、前記記憶手段は、検出された欠陥画
素に関する情報を補正手段による欠陥補正前に記憶する
ように構成されていることを特徴とするものである。According to a seventeenth aspect of the present invention, in the electronic camera according to the thirteenth aspect, the storage means is configured to store information regarding the detected defective pixel before the defect correction by the correction means. It is a feature.
【0040】このように構成した電子カメラにおいて
は、撮影した画像データから検出した欠陥画素情報を、
その画像データに対する欠陥補正前に記憶するため、検
出した欠陥画素情報を即座に欠陥補正に反映することが
可能である。したがって、ある撮影で経時変化により欠
陥画素が発生した場合、それを電子カメラの利用者に気
づかれることなく補正することが可能となる。In the electronic camera thus constructed, the defective pixel information detected from the photographed image data is
Since the image data is stored before the defect correction, the detected defective pixel information can be immediately reflected in the defect correction. Therefore, when a defective pixel is generated due to a change with time in a certain photographing, it can be corrected without being noticed by the user of the electronic camera.
【0041】請求項18に係る発明は、請求項13に係る電
子カメラにおいて、前記記憶手段は、検出された欠陥画
素に関する情報を補正手段による欠陥補正後に記憶する
ように構成されていることを特徴とするものである。According to a eighteenth aspect of the present invention, in the electronic camera according to the thirteenth aspect, the storage means is configured to store information regarding the detected defective pixel after the defect correction by the correction means. It is what
【0042】このように構成した電子カメラにおいて
は、欠陥画素の検出が誤検出である場合、その欠陥画素
検出に用いた画像データに対しては今回誤検出した画素
欠陥情報は用いられないため、この画像データの該誤検
出欠陥画素近傍の空間周波数が高いとしても、欠陥補正
によって画像の品質がそこなわれることはない。In the electronic camera configured as described above, when the defective pixel is erroneously detected, the pixel defect information erroneously detected this time is not used for the image data used for the defective pixel detection. Even if the spatial frequency of the image data near the erroneously detected defective pixel is high, the image quality is not damaged by the defect correction.
【0043】請求項19に係る発明は、請求項13に係る電
子カメラにおいて、前記記憶手段は、検出された欠陥画
素に関する情報を、撮影モードや電子カメラの状態に応
じて欠陥補正前又は欠陥補正後に記憶するように構成さ
れていることを特徴とするものである。According to a nineteenth aspect of the present invention, in the electronic camera according to the thirteenth aspect, the storage means stores information relating to the detected defective pixel before or after the defect correction according to the photographing mode or the state of the electronic camera. It is characterized in that it is configured to be stored later.
【0044】このように構成した電子カメラにおいて
は、欠陥画素が目立ちやすい長時間露光モードや固体撮
像素子の温度が上昇した状態のときには、欠陥画素情報
記憶の後に欠陥補正を行うことができ、検出した欠陥画
素を即座に補正し良好な欠陥補正結果を得ることが可能
である。逆に通常撮影時は、欠陥画素情報記憶の前に欠
陥補正を行うことができ、誤検出した欠陥画素情報を即
座に反映させてしまい、欠陥補正結果が損なわれるとい
うことを防ぐことが可能となる。In the electronic camera constructed as described above, in the long-time exposure mode in which defective pixels are easily conspicuous and in the state where the temperature of the solid-state image pickup element rises, defect correction can be performed after storing defective pixel information, and detection can be performed. It is possible to immediately correct the defective pixel thus formed and obtain a good defect correction result. On the contrary, during normal photographing, it is possible to perform defect correction before storing defective pixel information, and to prevent erroneously detected defective pixel information from being immediately reflected, thereby preventing the defect correction result from being impaired. Become.
【0045】請求項20に係る発明は、請求項13に係る電
子カメラにおいて、前記記憶手段は、補正手段により用
いられる欠陥画素情報を記憶した領域とは異なる領域に
検出された欠陥画素情報を記憶するように構成されてい
ることを特徴とするものである。According to a twentieth aspect of the invention, in the electronic camera according to the thirteenth aspect, the storage means stores defective pixel information detected in an area different from an area in which the defective pixel information used by the correction means is stored. It is characterized in that it is configured to.
【0046】このように構成した電子カメラにおいて
は、欠陥画素を検出し、その欠陥画素情報を記憶する動
作と欠陥画素補正動作を並列に実行することが可能とな
り、記録処理時間を短縮することが可能となる。In the electronic camera constructed as described above, it becomes possible to detect the defective pixel and execute the operation of storing the defective pixel information and the defective pixel correction operation in parallel, thereby shortening the recording processing time. It will be possible.
【0047】[0047]
【発明の実施形態】次に、実施の形態について説明す
る。図1は、本発明に係る固体撮像素子の欠陥画素検出
装置及び電子カメラの第1の実施の形態を示すブロック
構成図で、この実施の形態は主として請求項1〜12に係
る発明に対応するものである。図1において、1はレン
ズ、2は絞り、3はCCD等の固体撮像素子、4はA/
D変換器であり、レンズ1及び絞り2を通して固体撮像
素子3が受光した光の強度を、該固体撮像素子3におい
て光電変換して得られた電気信号は、A/D変換器4に
よりディジタル変換され、ディジタル変換された画像デ
ータはメモリ5に記憶されると同時に、ブロック毎に累
積加算部6で累積加算が行われるようになっている。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments will be described. FIG. 1 is a block diagram showing a first embodiment of a defective pixel detection device for a solid-state image sensor and an electronic camera according to the present invention. This embodiment mainly corresponds to the invention according to claims 1 to 12. It is a thing. In FIG. 1, 1 is a lens, 2 is a diaphragm, 3 is a solid-state image sensor such as CCD, and 4 is A /
An electric signal obtained by photoelectrically converting the intensity of the light received by the solid-state image sensor 3 through the lens 1 and the diaphragm 2 in the solid-state image sensor 3 into a digital converter by the A / D converter 4. The digitally converted image data is stored in the memory 5, and at the same time, cumulative addition is performed by the cumulative addition unit 6 for each block.
【0048】また図1において、7はCPUで、各部の
制御と共に、メモリ5に記憶された画像データと累積加
算値を用いて、ブロック選択及び欠陥画素検出を行うよ
うになっており、8は不揮発メモリで、該不揮発メモリ
8には後述の検出された欠陥画素に関する情報がメモリ
5から転送されて恒久的に記憶されるようになってお
り、また工場出荷時に検出した欠陥画素位置情報も恒久
的に記憶されている。そして、これらの検出された欠陥
画素位置情報は、新たな欠陥画素の検出あるいは欠陥画
素の補正処理時に、メモリ5に読み出されて記憶される
ようになっている。なお、図1においては、この実施の
形態では、欠陥画素の検出処理を主に説明するため、電
子カメラとしての記録部等の図示説明は省略している。Further, in FIG. 1, 7 is a CPU, which controls the respective parts and performs block selection and defective pixel detection by using the image data and the cumulative addition value stored in the memory 5, and 8 is In the non-volatile memory, information relating to a detected defective pixel, which will be described later, is transferred from the memory 5 and permanently stored in the non-volatile memory 8, and the defective pixel position information detected at the time of factory shipment is also permanently stored. Are remembered. The detected defective pixel position information is read and stored in the memory 5 when a new defective pixel is detected or a defective pixel is corrected. It should be noted that, in FIG. 1, in this embodiment, since the detection processing of the defective pixel is mainly described, the illustration of the recording unit and the like as the electronic camera is omitted.
【0049】図2は、画像データが複数のブロックに分
割されている様子を示している図である。大きな長方形
領域Fが画像データ全体を表しており、画像データ全体
がN×MのブロックBij(i=1,・・・,M;j=
1,・・・,N)に分割されている態様を示している。
図3は、各ブロックBij内の画素の配列態様を示した図
である。固体撮像素子3が、ベイヤ配列のカラーフィル
ターを備えているとき、ブロックBij内の各画素値は、
図3に示すような配列の色のデータとなる。ブロック毎
の累積加算器4は、ブロックBij内の画素値をR,Gr
,Gb ,Bの各色毎に累積加算する。位置(i,j)
のブロックにおけるR,Gr ,Gb ,Bの累積加算値
を、σRij ,σGrij,σGbij,σBij とする。この累積
加算値σRij ,σGrij,σGbij,σBij は、画像データ
と同様にメモリ5に記憶される。なお、画像データの複
数ブロックへの分割は、ブロック毎の累積加算と同時に
実行される。FIG. 2 is a diagram showing how the image data is divided into a plurality of blocks. A large rectangular area F represents the entire image data, and the entire image data is an N × M block Bij (i = 1, ..., M; j =
1, ..., N).
FIG. 3 is a diagram showing an arrangement mode of pixels in each block Bij. When the solid-state image sensor 3 includes a Bayer array color filter, each pixel value in the block Bij is
The color data has an array as shown in FIG. The cumulative adder 4 for each block calculates the pixel values in the block Bij as R, Gr.
, Gb, B are cumulatively added for each color. Position (i, j)
The cumulative addition values of R, Gr, Gb, and B in the block of are defined as σ Rij , σ Grij , σ Gbij , and σ Bij . The cumulative addition values σ Rij , σ Grij , σ Gbij , σ Bij are stored in the memory 5 similarly to the image data. The division of the image data into a plurality of blocks is executed simultaneously with the cumulative addition for each block.
【0050】なお、ここでは固体撮像素子3がベイヤ配
列のカラーフィルターを備えている場合を示している
が、固体撮像素子が補色モザイク配列のカラーフィルタ
ーを備えている場合は、ブロック内の画素値をMg ,
G,Ye ,Cy の各色毎に累積加算する。Here, the case where the solid-state image pickup device 3 is provided with the color filter of the Bayer array is shown, but when the solid-state image pickup device is provided with the color filter of the complementary color mosaic array, the pixel values in the block are shown. Is Mg,
Cumulative addition is performed for each color of G, Ye, and Cy.
【0051】メモリ5に記憶された画像データと累積加
算値σRij ,σGrij,σGbij,σBi j を用いて、CPU
7がブロック選択及び欠陥画素検出を行う。図4は、C
PU7が行うブロック選択動作を説明するためのフロー
チャートである。ブロック選択とは、N×Mのブロック
Bijのうち、欠陥画素検出を行うブロックを決定する処
理である。まず、CPU7は、ブロックサーチ順テーブ
ルとブロックサーチ順テーブルポインタに従って、累積
加算値σRij ,σGrij,σGbij,σBij に基づいてブロ
ックをサーチする(ステップS1)。ブロックサーチ順
テーブルとは、N×Mのブロックをサーチする順番を記
憶したテーブルであり、ブロックサーチ順テーブルポイ
ンタとは、ブロックサーチ順テーブルの何番目までサー
チしたか記憶するものである。Using the image data stored in the memory 5 and the cumulative addition values σ Rij , σ Grij , σ Gbij and σ Bi j , the CPU
7 performs block selection and defective pixel detection. FIG. 4 shows C
6 is a flowchart for explaining a block selection operation performed by PU7. The block selection is a process of determining a block in which defective pixel detection is to be performed, among N × M blocks Bij. First, the CPU 7 searches for a block based on the cumulative addition values σ Rij , σ Grij , σ Gbij , and σ Bij according to the block search order table and the block search order table pointer (step S1). The block search order table is a table that stores the order in which N × M blocks are searched, and the block search order table pointer is a table that stores up to what number the block search order table is searched.
【0052】ブロックサーチとは、累積加算値σRij ,
σGrij,σGbij,σBij を明ブロック判定閾値ΘHR,Θ
HGr ,ΘHGb ,ΘHB及び暗ブロック判定閾値ΘLR,Θ
LGr ,ΘLGb ,ΘLBと比較し、明ブロック判定閾値
ΘHR,ΘHGr ,ΘHGb ,ΘHBより大である場合は明ブロ
ックと判定し、暗ブロック判定閾値ΘLR,ΘLGr ,Θ
LGb ,ΘLBより小である場合は暗ブロックと判定し、選
択する処理である(ステップS2)。明ブロックあるい
は暗ブロックと判定されたブロックの位置を記憶すると
同時に、該ブロックが選択された回数を更新し記憶する
(ステップS3)。次に、明ブロックあるいは暗ブロッ
クとして判定されたブロックの数が、所定の処理ブロッ
ク数Lに達したか否かの判定が行われ(ステップS
4)、処理ブロック数Lに達するまでブロックサーチ順
テーブルに従ってブロックサーチが続けられる。なお、
所定の処理ブロック数Lは、欠陥画素検出処理時間との
かねあいで適宜決定される。The block search is a cumulative addition value σ Rij ,
σ Grij , σ Gbij , σ Bij are bright block determination thresholds Θ HR , Θ
HGr , Θ HGb , Θ HB and dark block judgment thresholds Θ LR , Θ
Compared with LGr , Θ LGb , Θ LB , if it is larger than the bright block determination thresholds Θ HR , Θ HGr , Θ HGb , Θ HB , it is determined as a bright block, and the dark block determination thresholds Θ LR , Θ LGr , Θ
If it is smaller than LGb and Θ LB , it is a process of determining a dark block and selecting it (step S2). The position of the block determined to be the bright block or the dark block is stored, and at the same time, the number of times the block is selected is updated and stored (step S3). Next, it is determined whether or not the number of blocks determined to be bright blocks or dark blocks has reached a predetermined processing block number L (step S
4) The block search is continued according to the block search order table until the number of processed blocks L is reached. In addition,
The predetermined processing block number L is appropriately determined in consideration of the defective pixel detection processing time.
【0053】すなわち、ステップS4において、選択記
憶されたブロック数が所定の処理ブロック数Lに達して
いないと判定されたときは、ブロックサーチ順テーブル
ポインタを更新し(ステップS5)、次いでブロックサ
ーチ順テーブルの最後までサーチを行った否かの判定が
行われる(ステップS6)。ブロックサーチ順テーブル
の最後までサーチが行われていない場合は、ステップS
1へ戻り次のブロックサーチが行われる。一方、ブロッ
クサーチ順テーブルの最後までサーチが行われている場
合は、ブロックサーチ順テーブルポインタを先頭に戻し
(ステップS7)、次いで全ブロックのサーチが終了し
たか否かの判定が行われ(ステップS8)、全ブロック
のサーチが終了していないときは、ステップS1に戻り
次のブロックサーチが行われる。一方、全ブロックのサ
ーチが終了している場合は、ブロックサーチ処理を終了
する。このようにしてL個未満の全ブロック、又は選択
されたL個のブロックに対して欠陥画素検出処理を行
う。That is, if it is determined in step S4 that the number of selectively stored blocks has not reached the predetermined number L of processed blocks, the block search order table pointer is updated (step S5), and then the block search order is reached. It is determined whether or not the search has been performed to the end of the table (step S6). If the search has not been performed to the end of the block search order table, step S
Returning to 1, the next block search is performed. On the other hand, when the search is performed up to the end of the block search order table, the block search order table pointer is returned to the head (step S7), and then it is determined whether or not the search of all blocks is completed (step S7). S8) If the search for all blocks has not been completed, the process returns to step S1 and the next block search is performed. On the other hand, when the search for all blocks has been completed, the block search process is completed. In this way, the defective pixel detection processing is performed on all the blocks less than L or the selected L blocks.
【0054】図5は、欠陥画素検出処理動作を説明する
ためのフローチャートである。まず、前記ブロック選択
処理により選択され記憶されている選択ブロック位置の
読み出しを行い(ステップS11)、読み出した選択ブロ
ックが明ブロックあるいは暗ブロックのいずれであるか
の判定が行われる(ステップS12)。次に、CPU7
は、明ブロックと判定されたブロックの全画素に対し
て、その画素値と明時欠陥判定閾値θHR,θHGr ,θ
HGb ,θHBの比較を行い(ステップS13)、画素値が明
時欠陥判定閾値θHR,θHGr ,θHGb ,θHBを下回った
画素について欠陥画素と判断し(ステップS14)、既に
記憶されている欠陥画素と比較するステップへ移る。た
だし、明時欠陥判定閾値θHR,θHGr ,θHGb ,θ
HBは、画素の色に対応した閾値を用いる。画素の色がR
の場合はθHR,Gr の場合はθHGr ,Gb の場合はθ
HGb ,Bの場合はθHBを用いる。FIG. 5 is a flow chart for explaining the defective pixel detection processing operation. First, the selected block position selected and stored by the block selection process is read (step S11), and it is determined whether the read selected block is a bright block or a dark block (step S12). Next, CPU7
Is the pixel value and bright defect determination thresholds θ HR , θ HGr , and θ for all pixels in the block determined to be a bright block.
HGb and θ HB are compared (step S13), and a pixel whose pixel value is below the bright defect determination thresholds θ HR , θ HGr , θ HGb , and θ HB is determined to be a defective pixel (step S14) and already stored. Move to the step of comparing the defective pixel. However, the bright defect determination thresholds θ HR , θ HGr , θ HGb , θ
HB uses a threshold value corresponding to the color of the pixel. The pixel color is R
Θ HR for Gr, θ HGr for Gr, θ for Gb
For HGb and B, use θ HB .
【0055】上記ステップS14において、欠陥画素と判
断された画素については、既に欠陥画素として記憶され
ているか否かの判定が行われ(ステップS15)、既に欠
陥画素として記憶されている画素ならば、その画素が欠
陥画素として検出された回数を更新する(ステップS1
6)。新たに検出された欠陥画素ならば、メモリの空き
の有無が判定され(ステップS17)、メモリの空きがあ
る場合には、新たに検出された欠陥画素の画素位置が記
憶されると共に、同時に該画素が欠陥画素として検出さ
れた回数も記憶する(ステップS18)。With respect to the pixel judged to be a defective pixel in the above step S14, it is judged whether or not it is already stored as a defective pixel (step S15). The number of times the pixel is detected as a defective pixel is updated (step S1)
6). If it is a newly detected defective pixel, it is determined whether or not there is a memory space (step S17). If there is a memory space, the pixel position of the newly detected defective pixel is stored and at the same time The number of times the pixel is detected as a defective pixel is also stored (step S18).
【0056】新たに検出された欠陥画素の画素位置を記
憶するメモリ領域がない場合は、記憶されている全欠陥
画素について、参照値R1 (=欠陥画素として検出され
た回数/該欠陥画素が含まれるブロックが選択された回
数)の最小値を算出する(ステップS19)。また同様
に、新たに検出された欠陥画素について、参照値R
2 (=欠陥画素として検出された回数/該欠陥画素が含
まれるブロックが選択された回数)を算出し(ステップ
S20)、参照値R1 の最小値と参照値R2 を比較し(ス
テップS21)、参照値R1 の最小値が参照値R2 より小
さい場合は、参照値R 1 の最小値の欠陥画素の情報をメ
モリ領域から消去し(ステップS22)、消去により空い
た領域に、新たに検出した欠陥画素の位置及び検出され
た回数を記憶する(ステップS18)。ただし、検出した
欠陥画素の参照値R2 が、記憶済みの欠陥画素の参照値
R1 の最小値より小さい場合は、欠陥画素情報のメモリ
からの消去を行わずに、新たに検出した欠陥画素情報を
破棄する。このように欠陥画素情報を記憶することによ
って、誤検出した画素や経時変化により消滅した欠陥画
素が記憶から消され、その結果欠陥画素の誤検出率が低
減するという効果が得られる。The pixel position of the newly detected defective pixel is recorded.
If there is no memory area to remember, all stored defects
Reference value R for a pixel1(= Detected as defective pixel
Number of times / the number of times the block containing the defective pixel is selected
The minimum value of (number) is calculated (step S19). Also the same
, The reference value R for the newly detected defective pixel
2(= Number of times detected as defective pixel /
Calculate the number of times the block
S20), reference value R1Minimum value and reference value R2Compare (
Step S21), reference value R1Is the reference value R2Less than
If yes, reference value R 1The minimum defective pixel information of
Erase from memory area (step S22)
Location of the newly detected defective pixel and
The number of times it has been stored is stored (step S18). However, detected
Reference value R of defective pixel2Is the reference value of the stored defective pixel
R1If it is smaller than the minimum value of, the defective pixel information memory
From the newly detected defective pixel information without erasing
Discard. By storing defective pixel information in this way,
Therefore, defective pixels that are erroneously detected or disappeared due to aging
As a result, the false detection rate of defective pixels is low.
The effect is to reduce.
【0057】次に、以上のようにして同じ画像データに
おける同一ブロック内で検出された欠陥画素数が、所定
数Kを超えたか否かが判定され(ステップS23)、検出
欠陥画素数がKを超えていない場合は、次いで同一ブロ
ック内の全画素について欠陥検出が実施されたか否かの
判定が行われる(ステップS24)。未だ全画素について
欠陥検出が実施されていない場合は、次の画素について
ステップS12より同様の処理を行う。なお、所定数Kは
ブロックを分断する最短の線分の長さ(すなわちブロッ
クの垂直あるいは水平方向のサイズ)に対して十分に小
さく設定すればよい。Next, as described above, it is determined whether or not the number of defective pixels detected in the same block in the same image data exceeds a predetermined number K (step S23), and the number of detected defective pixels is K. If it does not exceed, then it is determined whether or not defect detection has been performed for all pixels in the same block (step S24). If defect detection has not been performed for all pixels, the same process is performed from step S12 on the next pixel. The predetermined number K may be set to be sufficiently smaller than the length of the shortest line segment that divides the block (that is, the vertical or horizontal size of the block).
【0058】また、上記ステップS23の判定において、
同一ブロック内で検出された欠陥画素数がKを超えてい
る場合は、全画素に対して閾値との比較が終了していな
くても、そのブロックに対する欠陥画素検出処理は終了
し、選択された全ブロックで欠陥検出処理が実施された
か否かの判定ステップ(ステップS25)へ移る。またス
テップS24の判定において、ブロック内の全画素につい
て欠陥検出が実施されている場合も、同様に選択された
全ブロックで欠陥検出処理が実施されたか否かの判定ス
テップS25へ移り、該ステップS25の判定で全ブロック
について欠陥検出処理が実施されていない場合は、次の
ブロックについてステップS11から同様の処理を行い、
全ブロックについて欠陥検出処理が実施されている場合
は、欠陥検出処理動作を終了する。Further, in the judgment of step S23,
If the number of defective pixels detected in the same block exceeds K, the defective pixel detection processing for that block is completed and selected even if comparison with the threshold value is not completed for all pixels. The process moves to the determination step (step S25) as to whether or not the defect detection processing has been performed on all blocks. Also, in the determination of step S24, even if the defect detection is performed for all the pixels in the block, the process proceeds to the determination step S25 of whether or not the defect detection processing is performed for all the similarly selected blocks, and the step S25 is performed. If the defect detection processing has not been performed for all blocks in the determination of, the same processing is performed from step S11 on the next block,
If the defect detection processing has been performed for all blocks, the defect detection processing operation ends.
【0059】一方、読み出した選択ブロックが明ブロッ
クあるいは暗ブロックのいずれであるかの判定ステップ
S12において、暗ブロックと判定されたブロックについ
ては、暗ブロックと判定されたブロックの全画素に対し
て、その画素値と暗時欠陥判定閾値θLR,θLGr ,θ
LGb ,θLBの比較を行い(ステップS26)、画素値が暗
時欠陥判定閾値θLR,θLGr ,θLGb ,θLBを上回った
画素について欠陥画素と判断する(ステップS27)。た
だし、暗時欠陥判定閾値θLR,θLGr ,θLGb ,θ
LBは、画素の色に対応した閾値を用いる。画素の色がR
の場合はθLR,Gr の場合はθLGr ,Gb の場合はθ
LGb ,Bの場合はθLBを用いる。欠陥画素と判断された
画素に対する処理は、明ブロックの場合と同様である。On the other hand, in the step S12 of determining whether the read selected block is a bright block or a dark block, with respect to the block determined to be the dark block, all pixels of the block determined to be the dark block are The pixel value and the dark defect determination thresholds θ LR , θ LGr , θ
LGb and θ LB are compared (step S26), and a pixel whose pixel value exceeds the dark defect determination thresholds θ LR , θ LGr , θ LGb , and θ LB is determined to be a defective pixel (step S27). However, the dark defect determination thresholds θ LR , θ LGr , θ LGb , θ
LB uses a threshold value corresponding to the pixel color. The pixel color is R
Θ LR in the case of, θ LGr in the case of Gr, and θ in the case of Gb
In the case of LGb and B, θ LB is used. The process for the pixel determined as the defective pixel is the same as that for the bright block.
【0060】このように、本実施の形態に係る欠陥画素
検出装置は、複雑な演算を必要とせず、閾値とデータの
比較のみで欠陥画素検出を行うため、CPU7の負荷が
極めて軽微である。As described above, the defective pixel detecting device according to the present embodiment does not require complicated calculation and detects defective pixels only by comparing the threshold value and the data. Therefore, the load on the CPU 7 is extremely small.
【0061】図6は、本発明に係る固体撮像素子の欠陥
検出装置及び電子カメラの第2の実施の形態を示すブロ
ック構成図で、この実施の形態は主として請求項13〜20
に係る発明に対応するものである。図6において、11は
レンズ、12は絞り、13は固体撮像素子、14はA/D変換
器であり、レンズ11及び絞り12を通して固体撮像素子13
が受光した光の強度を固体撮像素子13において光電変換
して得られた電気信号は、A/D変換器14によりディジ
タル変換され、ディジタル変換された画像データはメモ
リ16に記憶される。一方、スイッチ21によって画質、A
Eモード、動作モード等を設定することができ、設定さ
れた画質、AEモード、動作モード等に従って、CPU
17はメモリ16に記憶されている画像データを記録する際
の圧縮率、AEのアルゴリズム等を決定し、画像データ
の記録部19への記録、及び記録部19に記録された画像デ
ータの液晶表示装置20への表示等を行うようになってい
る。FIG. 6 is a block diagram showing a second embodiment of a defect detecting device for a solid-state image pickup device and an electronic camera according to the present invention. This embodiment mainly describes claims 13 to 20.
It corresponds to the invention according to. In FIG. 6, 11 is a lens, 12 is a diaphragm, 13 is a solid-state image sensor, and 14 is an A / D converter.
The electric signal obtained by photoelectrically converting the intensity of the light received by the solid-state image sensor 13 is digitally converted by the A / D converter 14, and the digitally converted image data is stored in the memory 16. On the other hand, with the switch 21, the image quality, A
E mode, operation mode, etc. can be set, and the CPU can be set according to the set image quality, AE mode, operation mode, etc.
Reference numeral 17 determines the compression rate, AE algorithm, etc. when recording the image data stored in the memory 16, records the image data in the recording unit 19, and displays the image data recorded in the recording unit 19 on the liquid crystal display. The display on the device 20 is performed.
【0062】記録を行う場合、固体撮像素子13において
光電変換して得られた電気信号は、上記のようにA/D
変換器14によりディジタル変換され、ディジタル変換さ
れた画像データはメモリ16に記憶される。そして、メモ
リ16に記憶された画像データに対して、図1に示した第
1の実施の形態と同様に、ブロック毎の累積加算部15に
よる累積加算値を用いた欠陥画素検出処理が行われ、続
いてメモリ16に記憶された欠陥画素情報を基にして、欠
陥画素補間処理が行われる。以上の処理が終了した画像
データについて、CPU17及びロジック22を用いて、画
像処理及び圧縮処理が行われ、圧縮処理が行われたデー
タは記録部19に記憶される。When recording is performed, the electric signal obtained by photoelectric conversion in the solid-state image pickup device 13 is A / D as described above.
The image data that has been digitally converted by the converter 14 and that has been digitally converted is stored in the memory 16. Then, similar to the first embodiment shown in FIG. 1, the defective pixel detection process using the cumulative addition value by the cumulative addition unit 15 for each block is performed on the image data stored in the memory 16. Then, based on the defective pixel information stored in the memory 16, defective pixel interpolation processing is performed. The CPU 17 and the logic 22 are used to perform image processing and compression processing on the image data on which the above processing is completed, and the data subjected to the compression processing is stored in the recording unit 19.
【0063】この実施の形態における欠陥画素検出は、
次のようにして行われる。すなわち、まず電子カメラの
電源投入時に、CPU17は不揮発メモリ18から、欠陥画
素位置、該位置の画素が欠陥画素として検出された回数
及び各ブロックが欠陥画素検出処理を行うブロックとし
て検出された回数を読み出し、メモリ16に記憶する。更
に、撮影毎に第1の実施の形態に示した手法で欠陥画素
検出を行う。検出した欠陥画素情報、すなわち欠陥画素
位置、該位置の画素が欠陥画素として検出された回数及
び各ブロックが欠陥画素検出処理を行うブロックとして
検出された回数を、電子カメラの電源オフ時にCPU17
がメモリ16から読み出し、不揮発メモリ18へ記憶する。In the defective pixel detection in this embodiment,
This is done as follows. That is, first, when the power of the electronic camera is turned on, the CPU 17 determines, from the nonvolatile memory 18, the defective pixel position, the number of times the pixel at the position is detected as a defective pixel, and the number of times each block is detected as a block for performing defective pixel detection processing. Read and store in memory 16. Further, defective pixel detection is performed by the method described in the first embodiment for each image capturing. The detected defective pixel information, that is, the defective pixel position, the number of times the pixel at that position is detected as a defective pixel, and the number of times each block is detected as a block for performing the defective pixel detection process are stored in the CPU 17 when the electronic camera is powered off.
Is read from the memory 16 and stored in the nonvolatile memory 18.
【0064】この実施の形態における具体的な欠陥画素
検出手法は、概ね第1の実施の形態と同様であるが、ブ
ロックサーチ順テーブルとブロックサーチ順テーブルポ
インタの取扱い、及び処理ブロック数Lの設定が、第1
の実施の形態と異なる。The specific defective pixel detecting method in this embodiment is almost the same as that in the first embodiment, except that the block search order table and the block search order table pointer are handled and the number L of processed blocks is set. But the first
Different from the embodiment.
【0065】電子カメラのAEモードが中央重点測光の
場合、ブロックサーチ順テーブル及びブロックサーチ順
テーブルポインタは、通常と異なるものを用いる。すな
わち、ブロックサーチ順テーブルとしては、画面中央部
から周辺部に向かってブロックをサーチするように設定
されたものを用いる。また、ブロックサーチ順テーブル
ポインタは、通常ブロックサーチ順テーブルの最後まで
サーチしたときに初期化されるが、AEモードが中央重
点測光の場合、撮影毎にブロックサーチ順テーブルポイ
ンタが初期化される。これにより、AEモードが中央重
点測光の場合、常に中央付近すなわち主要被写体付近の
欠陥画素を検出することが可能となる。When the AE mode of the electronic camera is the center-weighted photometry, the block search order table and the block search order table pointer used are different from usual ones. That is, as the block search order table, one set to search for blocks from the center of the screen toward the peripheral is used. The block search order table pointer is normally initialized when the end of the block search order table is searched, but when the AE mode is center-weighted photometry, the block search order table pointer is initialized for each shooting. As a result, when the AE mode is center-weighted photometry, it is possible to always detect defective pixels near the center, that is, near the main subject.
【0066】また、撮影毎の処理ブロック数Lが多くな
るほど、1 画面分の欠陥画素検出を実施するのに要する
撮影回数は少なくなるが、1 回の撮影で要する欠陥画素
検出処理時間は増大する。一方、スイッチ21によって設
定された画質が高画質である場合、記録処理に要する時
間は長くなり、逆に低画質である場合は記録処理に要す
る時間は短くなる。記録処理時間に対する欠陥画素検出
処理時間が十分短ければ、欠陥画素検出処理が行われた
ことによる記録処理時間の増加は目立たない。そこで、
記録処理時間に対する欠陥画素検出処理時間の比が十分
小さく、且つ画質によらず一定であるように処理ブロッ
ク数Lを動的に決定する。これにより、最適な処理ブロ
ック数Lで欠陥画素検出処理を行うことが可能となる。Further, as the number of processing blocks L for each image pickup increases, the number of image pickups required to perform the defective pixel detection for one screen decreases, but the defective pixel detection processing time required for one image pickup increases. . On the other hand, when the image quality set by the switch 21 is high image quality, the time required for the recording process is long, and conversely, when the image quality is low, the time required for the recording process is short. If the defective pixel detection processing time is sufficiently short with respect to the recording processing time, the increase in the recording processing time due to the defective pixel detection processing is not noticeable. Therefore,
The number L of processing blocks is dynamically determined so that the ratio of the defective pixel detection processing time to the recording processing time is sufficiently small and is constant regardless of the image quality. As a result, the defective pixel detection process can be performed with the optimum number of processing blocks L.
【0067】更に、固体撮像素子13の温度が高い場合
は、記録処理時間に対する欠陥画素検出処理時間の比が
多少大きくなることを許容して、処理ブロック数L(パ
ラメータ)を決定する。固体撮像素子13の温度が高い場
合は、欠陥画素が発生しやすい。第2の実施の形態で
は、欠陥画素検出後に欠陥補正処理を行うように構成し
ている。そのため、欠陥画素検出処理で検出した欠陥画
素は、即座に補正される。したがって、固体撮像素子13
の温度が高い場合は欠陥画素が発生しやすいが、処理ブ
ロック数Lを通常より増加させることにより、欠陥画素
検出を実施する範囲を広げることができる。ここで検出
した欠陥画素は即座に補正されるため、電子カメラの利
用者は固体撮像素子13の温度に関わらず、常に良好な画
像を得ることができる。Further, when the temperature of the solid-state image pickup device 13 is high, the number of processing blocks L (parameter) is determined by allowing the ratio of the defective pixel detection processing time to the recording processing time to be somewhat large. If the temperature of the solid-state image sensor 13 is high, defective pixels are likely to occur. In the second embodiment, the defect correction process is performed after the defective pixel is detected. Therefore, the defective pixel detected by the defective pixel detection process is immediately corrected. Therefore, the solid-state image sensor 13
If the temperature is high, defective pixels are likely to occur, but by increasing the number L of processing blocks above the normal level, the range in which defective pixel detection is performed can be expanded. Since the defective pixel detected here is immediately corrected, the user of the electronic camera can always obtain a good image regardless of the temperature of the solid-state image sensor 13.
【0068】なお、第2の実施の形態においては、欠陥
画素検出後に欠陥補正処理を行っているため、欠陥画素
検出で検出した欠陥画素は即座に補正されるが、欠陥画
素検出により検出した欠陥画素情報を、その撮影の欠陥
補正処理には用いず、欠陥補正処理後に新たな欠陥画素
情報としてメモリ16に記憶してもよい。このような構成
にした場合、例えば、データである白点或いは黒点を欠
陥画素として誤検出したとしても、欠陥画素検出結果は
その撮影の欠陥補正処理に反映されないため、画像に悪
影響を及ぼさない。また、次の撮影以降については、誤
検出した位置にデータである白点或いは黒点が位置する
ことは極めて稀なため、画像に悪影響を及ぼさない。し
たがって、検出した画素欠陥情報を、その撮影の欠陥補
正処理後にメモリ16に記憶することにより、誤検出の影
響を最小限に留めることが可能である。In the second embodiment, since the defect correction processing is performed after the defective pixel is detected, the defective pixel detected by the defective pixel detection is immediately corrected, but the defect detected by the defective pixel detection is corrected. The pixel information may be stored in the memory 16 as new defective pixel information after the defect correction processing, instead of being used in the defect correction processing of the photographing. In the case of such a configuration, even if a white spot or a black spot, which is data, is erroneously detected as a defective pixel, the defective pixel detection result is not reflected in the defect correction processing of the photographing, and therefore does not adversely affect the image. Further, after the next photographing, it is extremely rare that a white spot or a black spot, which is data, is located at an erroneously detected position, so that the image is not adversely affected. Therefore, by storing the detected pixel defect information in the memory 16 after the imaging defect correction processing, it is possible to minimize the influence of erroneous detection.
【0069】また、第2の実施の形態において、メモリ
16が欠陥補正処理で用いられる欠陥画素情報を記憶した
領域と、CPU17が検出した欠陥画素情報を記憶する領
域に分けられる場合、欠陥画素検出処理と欠陥補正処理
を並列に動作させることによって、撮影処理時間を短縮
することが可能となる。In the second embodiment, the memory
When 16 is divided into an area in which defective pixel information used in the defect correction processing is stored and an area in which defective pixel information detected by the CPU 17 is stored, the defective pixel detection processing and the defect correction processing are operated in parallel to perform imaging. The processing time can be shortened.
【0070】なお、第2の実施の形態において、固体撮
像素子13とは別に、被写体像を撮像するX−Yアドレス
選択可能なCMOS型撮像素子を設け、このCMOS型
撮像素子の出力を列毎及び行毎の累積加算を行うように
して、ブロック毎累積加算部15とすることも可能であ
る。このように、ブロック毎累積加算部15をCMOS型
撮像素子で構成した場合、A/D変換器14からブロック
毎累積加算部15へのデータフローが必要なくなる。ま
た、ブロック毎累積加算部15を構成するCMOS型撮像
素子は、固体撮像素子13に比べ低い解像度で十分なた
め、短時間でブロック毎累積加算処理を行うことが可能
となり、その結果欠陥画素検出処理に要する時間の短縮
を実現することができる。In the second embodiment, an XY address selectable CMOS type image pickup device for picking up a subject image is provided separately from the solid-state image pickup device 13, and the output of this CMOS type image pickup device is arranged for each column. Alternatively, the cumulative addition for each block may be performed by performing cumulative addition for each row. As described above, when the cumulative addition unit for each block 15 is composed of the CMOS type image pickup device, the data flow from the A / D converter 14 to the cumulative addition unit for each block 15 is unnecessary. Further, since the CMOS type image pickup device forming the cumulative addition unit for each block 15 has a lower resolution than the solid-state image pickup device 13, it is possible to perform the cumulative addition process for each block in a short time, and as a result, the defective pixel detection. The time required for processing can be shortened.
【0071】[0071]
【発明の効果】以上、実施の形態に基づいて説明したよ
うに、請求項1〜12に係る発明によれば、画像データを
任意ブロック毎に累積加算し、該累積加算値を用いて欠
陥画素検出を行うブロックを選択して、該選択ブロック
に対して欠陥画素検出処理を行うように構成しているの
で、比較的簡単な構成で、短時間に精度の高い欠陥画素
検出を行うことが可能な固体撮像素子の欠陥画素検出装
置を実現することができる。また、請求項13〜20に係る
発明によれば、電子カメラの動作モードや固体撮像素子
の温度に応じて、欠陥画素検出処理に用いるパラメータ
を変化させるように構成しているので、効率的な欠陥画
素検出が可能な電子カメラを実現できる。As described above with reference to the embodiments, according to the invention according to claims 1 to 12, image data is cumulatively added for each arbitrary block, and the defective pixel is used by using the cumulative addition value. Since the block to be detected is selected and the defective pixel detection processing is performed on the selected block, it is possible to detect the defective pixel with high accuracy in a short time with a relatively simple structure. It is possible to realize a defective pixel detection device for a solid-state image sensor. Further, according to the invention according to claims 13 to 20, since it is configured to change the parameter used for the defective pixel detection processing according to the operation mode of the electronic camera and the temperature of the solid-state imaging device, it is efficient. An electronic camera capable of detecting defective pixels can be realized.
【図1】本発明に係る固体撮像素子の欠陥画素検出装置
及び電子カメラの第1の実施の形態を示す概略ブロック
図である。FIG. 1 is a schematic block diagram showing a first embodiment of a defective pixel detection device for a solid-state image sensor and an electronic camera according to the present invention.
【図2】画像データをブロックに分割した状態を示す図
である。FIG. 2 is a diagram showing a state in which image data is divided into blocks.
【図3】固体撮像素子がベイヤ配列カラーフィルターを
備えている場合におけるブロック内の各画素と色の関係
を示した図である。FIG. 3 is a diagram showing a relationship between each pixel in a block and a color when the solid-state imaging device includes a Bayer array color filter.
【図4】図1に示した第1の実施の形態における、ブロ
ック選択動作を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining a block selecting operation in the first embodiment shown in FIG.
【図5】図1に示した第1の実施の形態における、欠陥
画素検出処理動作を説明するためのフローチャートであ
る。FIG. 5 is a flowchart for explaining a defective pixel detection processing operation in the first embodiment shown in FIG.
【図6】本発明に係る固体撮像素子の欠陥画素検出装置
及び電子カメラの第2の実施の形態を示す概略ブロック
図である。FIG. 6 is a schematic block diagram showing a second embodiment of a defective pixel detection device for a solid-state image sensor and an electronic camera according to the present invention.
1 レンズ 2 絞り 3 固体撮像素子 4 A/D変換器 5 メモリ 6 ブロック毎累積加算部 7 CPU 8 不揮発性メモリ 11 レンズ 12 絞り 13 固体撮像素子 14 A/D変換器 15 ブロック毎累積加算部 16 メモリ 17 CPU 18 不揮発性メモリ 19 記録部 20 液晶表示装置 21 スイッチ 22 ロジック 1 lens 2 aperture 3 Solid-state image sensor 4 A / D converter 5 memory Cumulative addition unit for every 6 blocks 7 CPU 8 Non-volatile memory 11 lens 12 aperture 13 Solid-state image sensor 14 A / D converter 15-block cumulative addition unit 16 memory 17 CPU 18 Non-volatile memory 19 Recording section 20 Liquid crystal display 21 switch 22 logic
Claims (20)
を任意ブロック毎に累積加算するための累積加算手段
と、該累積加算手段による累積加算値を用いて欠陥画素
検出を行うブロックを選択するブロック選択手段と、選
択されたブロックに含まれる画像データを用いて該ブロ
ック内の欠陥画素検出を行う欠陥検出手段と、検出した
欠陥画素に関する情報を記憶する記憶手段とを有するこ
とを特徴とする固体撮像素子の欠陥画素検出装置。1. A block for selecting a block for defective pixel detection using a cumulative addition means for cumulatively adding image data output from a solid-state image sensor for each arbitrary block, and a cumulative addition value by the cumulative addition means. A solid-state device comprising: a selection unit, a defect detection unit that detects a defective pixel in the block using image data included in the selected block, and a storage unit that stores information about the detected defective pixel. Defective pixel detection device for image sensor.
欠陥画素位置情報を記憶する領域と、工場出荷後に検出
した欠陥画素に関する情報を記憶する領域とに分割され
ており、工場出荷時に検出した欠陥画素位置情報につい
ては情報の更新を行わないように構成されていることを
特徴とする請求項1に係る固体撮像素子の欠陥画素検出
装置。2. The storage means is divided into an area for storing defective pixel position information detected at the time of factory shipment and an area for storing information on defective pixels detected after factory shipment, which are detected at the time of factory shipment. The defective pixel detection device for a solid-state image sensor according to claim 1, wherein the defective pixel position information is configured not to be updated.
がベイヤ配列カラーフィルタを備えている場合、色毎に
累積加算値を計算するように構成されていることを特徴
とする請求項1に係る固体撮像素子の欠陥画素検出装
置。3. The cumulative addition means is configured to calculate a cumulative addition value for each color when the solid-state imaging device includes a Bayer array color filter. A defective pixel detection device for such a solid-state image sensor.
が補色モザイク配列カラーフィルタを備えている場合、
色毎に累積加算値を計算するように構成されていること
を特徴とする請求項1に係る固体撮像素子の欠陥画素検
出装置。4. The cumulative addition means, when the solid-state image sensor includes a complementary color mosaic array color filter,
The defective pixel detection device for a solid-state image pickup device according to claim 1, wherein the cumulative addition value is calculated for each color.
構成し、該CMOS撮像素子出力の列毎及び行毎の累積
加算を行うように構成されていることを特徴とする請求
項1に係る固体撮像素子の欠陥画素検出装置。5. The solid-state device according to claim 1, wherein the cumulative addition means is composed of a CMOS image sensor, and is configured to perform cumulative addition for each column and each row of the CMOS image sensor output. Defective pixel detection device for image sensor.
明ブロック判定閾値及び暗ブロック判定閾値と比較し、
累積加算値が明ブロック判定閾値より大きい場合又は暗
ブロック判定閾値より小さい場合に、欠陥画素検出処理
を行うブロックとして選択するように構成されているこ
とを特徴とする請求項1に係る固体撮像素子の欠陥画素
検出装置。6. The block selection means compares the cumulative addition value with a bright block determination threshold value and a dark block determination threshold value,
The solid-state image pickup device according to claim 1, wherein when the cumulative addition value is larger than the bright block determination threshold or smaller than the dark block determination threshold, the block is selected as a block to be subjected to defective pixel detection processing. Defective pixel detection device.
意のブロック順番で累積加算値と明ブロック判定閾値及
び暗ブロック判定閾値を比較し、累積加算値が明ブロッ
ク判定閾値を超えるか又は暗ブロック判定閾値を下回る
かしたブロックについて検出処理を行うブロックとして
選択するように構成されていることを特徴とする請求項
1に係る固体撮像素子の欠陥画素検出装置。7. The block selection means compares the cumulative addition value with the bright block determination threshold value and the dark block determination threshold value in a defined arbitrary block order, and the cumulative addition value exceeds the bright block determination threshold value or the dark block determination threshold value. The defective pixel detection device for a solid-state image pickup device according to claim 1, wherein a block that has fallen below a determination threshold is configured to be selected as a block for which detection processing is performed.
意の数のブロックを選択するように構成されていること
を特徴とする請求項1に係る固体撮像素子の欠陥画素検
出装置。8. The defective pixel detection device for a solid-state image pickup device according to claim 1, wherein the block selection means is configured to select a designated arbitrary number of blocks.
該欠陥画素が欠陥として検出された回数及び該欠陥画素
が含まれるブロックが選択された回数を記憶し、該記憶
手段に空きがなくなった際には、欠陥画素として検出さ
れた回数と検出された該欠陥画素を含むブロックが選択
された回数の比が最も小さい欠陥画素の情報が記憶され
ている領域を空き領域とすることを特徴とする請求項1
に係る固体撮像素子の欠陥画素検出装置。9. The storage means stores position information of defective pixels,
The number of times that the defective pixel is detected as a defect and the number of times that a block including the defective pixel is selected are stored, and when the storage means is full, it is detected as the number of times that the defective pixel is detected. 2. An area in which information of a defective pixel having the smallest ratio of the number of times a block including the defective pixel is selected is set as an empty area.
Of solid-state image sensor according to claim 1.
クの累積加算値が明ブロック判定閾値より大きい場合
は、該ブロック内の画素において明時欠陥判定閾値を下
回るものを欠陥画素として検出し、選択されたブロック
の累積加算値が暗ブロック判定閾値より小さい場合は、
該ブロック内の画素において暗時欠陥判定閾値を超える
ものを欠陥画素として検出するように構成されているこ
とを特徴とする請求項1に係る固体撮像素子の欠陥画素
検出装置。10. The defect detection means, when the cumulative addition value of the selected block is larger than the bright block determination threshold value, detects pixels in the block that are below the bright defect determination threshold value as defective pixels, If the cumulative addition value of the selected block is smaller than the dark block determination threshold,
The defective pixel detection device for a solid-state image sensor according to claim 1, wherein pixels in the block that exceed a dark defect determination threshold are detected as defective pixels.
陥判定閾値及び暗時欠陥判定閾値は、選択されたブロッ
クの累積加算値に比例して可変であることを特徴とする
請求項10に係る固体撮像素子の欠陥画素検出装置。11. The solid according to claim 10, wherein the bright defect determination threshold and the dark defect determination threshold used in the defect detecting unit are variable in proportion to the cumulative addition value of the selected blocks. Defective pixel detection device for image sensor.
る画素の数に上限を設けていることを特徴とする請求項
1に係る固体撮像素子の欠陥画素検出装置。12. The defective pixel detection device for a solid-state image sensor according to claim 1, wherein the defect detection unit sets an upper limit on the number of pixels detected as a defect.
備えた電子カメラにおいて、前記固体撮像素子から出力
される画像データを任意ブロック毎に累積加算するため
の累積加算手段と、該累積加算手段による累積加算値を
用いて欠陥画素検出を行うブロックを選択するブロック
選択手段と、選択されたブロックに含まれる画像データ
を用いて該ブロック内の欠陥画素検出を行う欠陥検出手
段と、検出した欠陥画素に関する情報を記憶する記憶手
段と、記憶されている欠陥画素に関する情報を元に欠陥
画素を補正する補正手段とを有し、撮影用露光時に得ら
れた画像データから欠陥画素の検出を行うように構成さ
れていることを特徴とする電子カメラ。13. An electronic camera comprising a solid-state image sensor and an AE mode setting means, a cumulative addition means for cumulatively adding image data output from the solid-state image sensor for each arbitrary block, and the cumulative addition means. Block selecting means for selecting a block in which defective pixel detection is performed using the cumulative addition value, defect detecting means for detecting defective pixel in the block using image data included in the selected block, and detected defect A storage unit that stores information about a pixel and a correction unit that corrects the defective pixel based on the stored information about the defective pixel are provided, and the defective pixel is detected from the image data obtained at the exposure for photographing. An electronic camera characterized by being configured in.
定手段によるAEモードが中央重点測光時に、画面中央
付近のブロックを優先的に選択するように構成されてい
ることを特徴とする請求項13に係る電子カメラ。14. The block selection means is configured to preferentially select a block near the center of the screen when the AE mode set by the AE mode setting means is center-weighted photometry. The electronic camera concerned.
わる処理の負荷に応じて選択するブロック数を動的に変
化するように構成されていることを特徴とする請求項13
に係る電子カメラ。15. The block selection unit is configured to dynamically change the number of blocks to be selected according to a processing load related to a shooting process.
Electronic camera according to.
の温度が高い場合、選択するブロック数を増加させるよ
うに構成されていることを特徴とする請求項13に係る電
子カメラ。16. The electronic camera according to claim 13, wherein the block selection unit is configured to increase the number of blocks to be selected when the temperature of the solid-state image sensor is high.
関する情報を補正手段による欠陥補正前に記憶するよう
に構成されていることを特徴とする請求項13に係る電子
カメラ。17. The electronic camera according to claim 13, wherein the storage unit is configured to store information regarding the detected defective pixel before the defect correction by the correction unit.
関する情報を補正手段による欠陥補正後に記憶するよう
に構成されていることを特徴とする請求項13に係る電子
カメラ。18. The electronic camera according to claim 13, wherein the storage unit is configured to store information regarding the detected defective pixel after the defect correction by the correction unit.
関する情報を、撮影モードや電子カメラの状態に応じて
欠陥補正前又は欠陥補正後に記憶するように構成されて
いることを特徴とする請求項13に係る電子カメラ。19. The storage unit is configured to store information regarding a detected defective pixel before or after defect correction according to a shooting mode or a state of an electronic camera. An electronic camera according to item 13.
れる欠陥画素情報を記憶した領域とは異なる領域に、検
出された欠陥画素情報を記憶するように構成されている
ことを特徴とする請求項13に係る電子カメラ。20. The storage means is configured to store the detected defective pixel information in an area different from the area in which the defective pixel information used by the correction means is stored. Electronic camera according to 13.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002045539A JP2003250091A (en) | 2002-02-22 | 2002-02-22 | Apparatus for detecting defective pixel of solid-state imaging element and electronic camera |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002045539A JP2003250091A (en) | 2002-02-22 | 2002-02-22 | Apparatus for detecting defective pixel of solid-state imaging element and electronic camera |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2003250091A true JP2003250091A (en) | 2003-09-05 |
Family
ID=28659332
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002045539A Withdrawn JP2003250091A (en) | 2002-02-22 | 2002-02-22 | Apparatus for detecting defective pixel of solid-state imaging element and electronic camera |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2003250091A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005348189A (en) * | 2004-06-04 | 2005-12-15 | Sony Corp | Defect detection method for solid-state image sensor |
| JP2006157851A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Processing apparatus and processing method |
| JP2006157852A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Processing apparatus and processing method |
| US8149305B2 (en) | 2007-03-27 | 2012-04-03 | Samsung Electronics Co., Ltd. | Method and apparatus to detect a dead pixel of an image sensor and method and apparatus to capture an image from an image sensor |
| JP5877931B2 (en) * | 2013-05-23 | 2016-03-08 | 富士フイルム株式会社 | Pixel interpolation device and operation control method thereof |
| JP5883992B2 (en) * | 2013-05-23 | 2016-03-15 | 富士フイルム株式会社 | Pixel mixing apparatus and operation control method thereof |
-
2002
- 2002-02-22 JP JP2002045539A patent/JP2003250091A/en not_active Withdrawn
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005348189A (en) * | 2004-06-04 | 2005-12-15 | Sony Corp | Defect detection method for solid-state image sensor |
| JP2006157851A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Processing apparatus and processing method |
| JP2006157852A (en) * | 2004-10-29 | 2006-06-15 | Canon Inc | Processing apparatus and processing method |
| US8149305B2 (en) | 2007-03-27 | 2012-04-03 | Samsung Electronics Co., Ltd. | Method and apparatus to detect a dead pixel of an image sensor and method and apparatus to capture an image from an image sensor |
| JP5877931B2 (en) * | 2013-05-23 | 2016-03-08 | 富士フイルム株式会社 | Pixel interpolation device and operation control method thereof |
| JP5883992B2 (en) * | 2013-05-23 | 2016-03-15 | 富士フイルム株式会社 | Pixel mixing apparatus and operation control method thereof |
| US10306196B2 (en) | 2013-05-23 | 2019-05-28 | Fujifilm Corporation | Pixel mixing device and method for controlling operation of same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8290356B2 (en) | Imaging device with image blurring reduction function | |
| JP3984936B2 (en) | Imaging apparatus and imaging method | |
| US7405756B2 (en) | Image pickup apparatus | |
| CN102065219B (en) | Image sensing apparatus and control method therefor | |
| JP2004207896A (en) | Pixel defect detection and correction device and pixel defect detection and correction method | |
| US8497922B2 (en) | Image processing apparatus and image processing method | |
| JP2007019973A (en) | Imaging device and imaging method | |
| EP1856909A1 (en) | Moving image playback device with camera-shake correction function | |
| JP2009109564A (en) | Autofocus control circuit, autofocus control method and imaging apparatus | |
| US10863123B2 (en) | Defect pixel correction apparatus, defect pixel correction method, non-transitory computer-readable medium storing computer program | |
| JP2005328421A (en) | Imaging apparatus and imaging method | |
| JP2010130238A (en) | Defect correcting circuit and imaging device with same | |
| JP2003250091A (en) | Apparatus for detecting defective pixel of solid-state imaging element and electronic camera | |
| JP2000224487A (en) | Image pickup device and image pickup method | |
| JP2011114473A (en) | Pixel defect correction device | |
| JP2004072658A (en) | Imaging device | |
| JP3864021B2 (en) | Video camera | |
| JP5299159B2 (en) | Imaging apparatus and program | |
| JP2000224472A (en) | Image pickup controller and image pickup controlling method | |
| US20060209198A1 (en) | Image capturing apparatus | |
| JP2013074368A (en) | Imaging apparatus and imaging method | |
| JP2001211388A (en) | Image signal processing apparatus | |
| JP2007336107A (en) | Imaging apparatus, control method therefor, and imaging system | |
| JP2002152601A (en) | Solid-state imaging unit and method for correcting defective pixel | |
| JP2004023231A (en) | Imaging device and mobile phone device provided with the imaging device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050510 |