JP2002330353A - Imaging unit and method for correcting defective pixel - Google Patents

Imaging unit and method for correcting defective pixel

Info

Publication number
JP2002330353A
JP2002330353A JP2001133438A JP2001133438A JP2002330353A JP 2002330353 A JP2002330353 A JP 2002330353A JP 2001133438 A JP2001133438 A JP 2001133438A JP 2001133438 A JP2001133438 A JP 2001133438A JP 2002330353 A JP2002330353 A JP 2002330353A
Authority
JP
Japan
Prior art keywords
defect
data
defective pixel
image pickup
defective
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.)
Granted
Application number
JP2001133438A
Other languages
Japanese (ja)
Other versions
JP4546664B2 (en
Inventor
Keiichi Mori
圭一 森
Hideaki Yoshida
英明 吉田
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP2001133438A priority Critical patent/JP4546664B2/en
Publication of JP2002330353A publication Critical patent/JP2002330353A/en
Application granted granted Critical
Publication of JP4546664B2 publication Critical patent/JP4546664B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Solid State Image Pick-Up Elements (AREA)
  • Image Input (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce deterioration in the image quality in the case of occurrence of a plurality of adjacent defective pixels without the need for employing a status adaptive interpolation method (employing different processing according to circumstances). SOLUTION: First, defective data are read from an EEPROM and compensation processing with respect to defective pixels is carried out in the order of memory addresses registered in the EEPROM 118 (steps S11, S12). The defective data are read in the order of memory addresses and the 'defect compensation processing by four adjacent pixels' is applied to a defective pixel in the order of read defective pixel addresses. In this case, since the EEPROM stores defective data of the defective pixels sequentially in the order of addresses of defective pixels with a greater defective level, when defective pixels exist adjacently to each other, that is, when a plurality of defects, where defective pixel addressed of compensation objects are adjacent to each other, exist, the defect compensation processing is carried out for defective pixels having a greater defect level with priority.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は撮像装置および画素
欠陥補正方法に関し、特に画素欠陥補償機能を有する撮
像装置および同撮像装置に適用される画素欠陥補正方法
に関する。
The present invention relates to an image pickup apparatus and a pixel defect correction method, and more particularly to an image pickup apparatus having a pixel defect compensation function and a pixel defect correction method applied to the image pickup apparatus.

【0002】に関する。[0002]

【0003】[0003]

【従来の技術】ビデオカメラなどの撮像装置は従来より
広く利用されている。近年主として静止画を撮像記録す
る電子スチルカメラも特にディジタルカメラとして普及
するに至り、主として動画記録用であったビデオムービ
ーにおいても静止画撮影記録機能を有するようになって
きた。そして主に静止画撮影に際して使用される長時間
露光は撮像素子における電荷蓄積時間を長くすることに
よって露光時間を長くし、これによって低照度下でもス
トロボなどの補助照明を使用することなく撮影できるよ
うにする技術として知られている。
2. Description of the Related Art Imaging devices such as video cameras have been widely used. In recent years, electronic still cameras that mainly capture and record still images have also come into widespread use especially as digital cameras, and video movies mainly for recording moving images also have a still image capturing and recording function. Long-time exposure, which is mainly used for shooting still images, increases the exposure time by increasing the charge accumulation time in the image sensor, thereby enabling shooting without using auxiliary lighting such as a strobe even under low illumination. It is known as a technology.

【0004】一方CCD等の撮像素子においてはいわゆ
る暗電流の存在などによる暗出力が存在し、これが画像
信号に重畳されるため、画質劣化を来す。この暗出力レ
ベルが大きい画素が存在する場合は画素欠陥と称され、
その画素の出力情報は用いず近隣の画素の出力情報を用
いて情報を補完することが広く実用されている。本明細
書においてはこのような補完処理を画素欠陥の補償と称
する。
On the other hand, in an image pickup device such as a CCD, there is a dark output due to the presence of a so-called dark current, which is superimposed on an image signal, thereby deteriorating the image quality. If there is a pixel with a large dark output level, it is called a pixel defect,
It is widely practiced to supplement information using output information of neighboring pixels without using output information of the pixel. In the present specification, such a complementing process is referred to as pixel defect compensation.

【0005】そしてさらに、画素欠陥は温度依存や経時
変化を伴うから欠陥画素の評価を工場出荷前に行なうだ
けでは不十分であるという点について改善をはかった技
術も特開平06−038113号公報に公知である。す
なわちこの公開公報には、電源オン直後にアイリスを閉
じることで受光面を遮光し、カメラの使用に先立ってC
CD暗出力を評価することで欠陥画素を検出して、欠陥
補償を行なう技術が記載されている。
Further, Japanese Patent Application Laid-Open No. 06-038113 discloses a technique for improving that the pixel defect is dependent on temperature and changes with time, so that it is not sufficient to evaluate the defective pixel before shipment from the factory. It is known. That is, in this publication, the light receiving surface is shielded by closing the iris immediately after the power is turned on, and the C
A technique for detecting a defective pixel by evaluating a CD dark output and performing defect compensation is described.

【0006】すなわち、上記経時変化によって新たに生
じる欠陥を後発性欠陥と呼ぶならば、カメラにおいて欠
陥画素の検出を行うというこの技術は、後発性欠陥に対
して極めて有効な対策となりうる優れたものである。
That is, if a defect newly generated due to the above-mentioned aging is called a late defect, this technique of detecting a defective pixel in a camera is an excellent measure that can be an extremely effective measure against the late defect. It is.

【0007】ここで、以下詳述する本発明に関する理解
を深める意味での補足的な説明として、本発明者らの最
近の検討によって新たに見出された「点滅性欠陥」につ
いて触れておく。これは温度や露光(蓄積)時間なども
含めて全く同じ撮影条件下において撮像(電荷蓄積と読
み出し)を繰り返した場合に、例えば同一の画素が、或
る時は白欠陥(暗電荷過大)となったり、また或る時は
正常信号を出力したりというように、あたかも白欠陥
(過大暗電荷)が点滅しているかの如き振る舞いを示す
ものである。
[0007] Here, as a supplementary explanation in order to deepen the understanding of the present invention, which will be described in detail below, a "flashing defect" newly found by recent studies by the present inventors will be mentioned. This is because, when image pickup (charge accumulation and readout) is repeated under exactly the same photographing conditions including temperature and exposure (accumulation) time, for example, the same pixel sometimes becomes white defect (excessive dark charge). In other words, the behavior is as if a white defect (excessive dark charge) is blinking, for example, or a normal signal is output once.

【0008】点滅性欠陥の原因については未だ確たる理
論を見出すに至っていないが、少なくとも現象論的には
以下のような知見が得られている。
Although no clear theory has yet been found for the cause of the blinking defect, at least the following findings have been obtained phenomenologically.

【0009】すなわち、この点滅はある種確率的な要素
を含むらしく、特に定まった周期性や読み出し回数依存
性を有しないこと、また比較的短い期間における繰り返
し撮像において点滅するもの(短周期性:上記のように
この現象に周期性は見出されていないが、比喩的に「周
期」という語を用いている。以下同じ)もあれば比較的
長周期性のものもあることが判っている。ここに至っ
て、従来自然放射能や飛来宇宙線の影響による破壊的
(非復帰的)現象と考えられていた後発性欠陥の中に
も、極めて長周期性の点滅性欠陥が含まれていた可能性
が指摘される一方、後発的に生じる短周期性点滅欠陥が
多く存在することも明らかになっている。
That is, this blinking seems to include a certain stochastic element, has no fixed periodicity or dependency on the number of readouts, and blinks in repeated imaging in a relatively short period (short periodicity: As mentioned above, no periodicity has been found in this phenomenon, but it has been found that some metaphorically use the term "period"; . Up to this point, it is possible that extremely long-period flickering defects were also included in the late defects that were conventionally considered to be destructive (non-returning) phenomena due to the effects of natural radioactivity and incoming cosmic rays. On the other hand, it has been pointed out that many short-period flickering defects occur lately.

【0010】いずれにせよこのような点滅性欠陥である
か否かを問わず、後発性欠陥というものが現に存在する
からには、工場出荷前の検査のみならず、カメラ自体に
も欠陥データ検出機能を持たせて欠陥画素の検出を行う
ことは極めて重要である。
In any case, regardless of whether the defect is a flickering defect or not, since a late defect actually exists, not only the inspection before factory shipment but also the camera itself has a defect data detecting function. It is extremely important to detect a defective pixel by holding it.

【0011】[0011]

【発明が解決しようとする課題】しかし、温度上昇や長
時間の露光による欠陥の増大あるいは後発性欠陥等の新
規発生を考えた場合には、欠陥画素が隣接して生じるこ
とをそれ自体防ぎ得ない。つまり、工場出荷前の検査で
は欠陥画素が隣接して生じるような場合にはそのCCD
自体が不良として扱われるので、少なくとも工場出荷直
後はそのような不具合は生じえないが、後発性欠陥をも
考慮すると温度上昇や長時間の露光による欠陥の増大と
あいまって、出荷後には欠陥画素が隣接して発生する場
合がある。この場合、欠陥補償のために用いる補完対象
である隣接画素もまた欠陥画素であるという状況が発生
する。
However, in view of an increase in defects due to a rise in temperature or exposure for a long time, or the occurrence of a new defect such as a late defect, the occurrence of adjacent defective pixels can be prevented. Absent. In other words, in the inspection before shipment from the factory, if defective pixels occur adjacent to each other,
Such a defect cannot occur at least immediately after shipment from the factory because it is treated as a defect itself.However, considering late defects, coupled with the increase in defects due to temperature rise and long-time exposure, defective pixels May occur adjacent to each other. In this case, a situation occurs in which the adjacent pixel to be complemented used for defect compensation is also a defective pixel.

【0012】このような状況下で近隣画素による欠陥補
償処理をそのまま適用した場合は、欠陥画素の補償にま
た欠陥画素を用いることになるので、画質を維持できな
いばかりか、欠陥補償処理によって却って画質を低下さ
せる恐れも生じる。例えば隣接するA,B2つの画素の
白欠陥のレベルが、Aは許容限界を僅かに超える程度で
あるのに対し、Bが飽和に達する完全欠陥である場合、
もしAに対してBのデータを用いて補償するならば、非
補償の場合よりも却って画質が悪くなる。
In such a situation, if the defect compensation processing by the neighboring pixels is applied as it is, the defective pixel will be used again for the compensation of the defective pixel, so that not only the image quality cannot be maintained, but also the image quality cannot be maintained by the defect compensation processing. May also be reduced. For example, when the level of the white defect of two adjacent pixels A and B is such that A is slightly over the allowable limit and B is a complete defect reaching saturation,
If A is compensated for using the data of B, the image quality will be worse than in the case of no compensation.

【0013】この回避策として採り得る一つの方法は、
通常は複数存在する隣接画素のうち、このような欠陥画
素を除いたものだけを対象として補完処理を行なうこと
であるが、これは (1)各欠陥画素毎に、状況適応的な(場合によって処
理が異なる)補完方法を用いることを必須的に要求する
ことになるから、補償アルゴリズムが複雑化し、処理手
段(例えばソフトウェアのコード規模)が肥大化した
り、演算時間の増加を招く。(2)全ての隣接画素が欠
陥画素になってしまった場合は、結局補完することがで
きないから、補償不能に起因するシステム破綻が生じた
り、あるいは或るエリア全体にわたって欠陥画素が発生
しているような場合には、そのエリア内全てが相関の低
い遠方の画素値で埋め尽くされてしまうという塗りつぶ
し現象が生じる懸念がある。いという問題があった。
One possible workaround is to:
Normally, the complementing process is performed only on a plurality of adjacent pixels excluding such a defective pixel. However, (1) For each defective pixel, a situation-adaptive (in some cases, Since it is essential to use a complementing method (different processing), the compensation algorithm is complicated, the processing means (for example, the code size of software) is enlarged, and the calculation time is increased. (2) If all adjacent pixels become defective pixels, they cannot be complemented after all. Therefore, a system failure due to incompensation has occurred, or defective pixels have occurred over a certain area. In such a case, there is a concern that a fill phenomenon may occur in which the entire area is filled with distant pixel values having low correlation. There was a problem.

【0014】なお、(2)のような状況に対しては、こ
のような状況を「画質破綻状態」と判定して例えば撮像
を禁止する技術を本出願人自身が既に提案している(特
願平11−207016号)が、このような技術を単純
に採用した場合は、これによって例えばある程度以上の
長時間露光を実現することが完全に不可能となってしま
うなど、撮影条件が制限されてしまう問題があった。
In the case of the situation (2), the present applicant has already proposed a technique for judging such a situation as an "image quality failure state" and prohibiting, for example, imaging. However, when such a technique is simply adopted, the photographing conditions are limited, for example, such that it is completely impossible to realize a long exposure of a certain degree or more. There was a problem.

【0015】本発明は上記事情を考慮してなされたもの
で、その目的とするところは、複数の欠陥が隣接して発
生した場合の画質劣化を低減することが可能な撮像装置
および画素欠陥補正方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in consideration of the above circumstances, and has as its object to provide an image pickup apparatus and a pixel defect correction method capable of reducing image quality deterioration when a plurality of defects occur adjacent to each other. The aim is to provide a method.

【0016】[0016]

【課題を解決するための手段】上述の課題を解決するた
め、本発明の撮像装置は、撮像素子と、前記撮像素子の
出力に対して前記撮像素子の欠陥画素アドレスデータに
基づいて近隣画素データによる補償処理を行なう欠陥補
償手段とを具備し、前記欠陥補償手段は、少なくとも補
償対象の欠陥画素アドレスが互いに隣接する複数の欠陥
に関しては、その欠陥レベルが相対的に大きい欠陥に関
する補償処理を先行して行なうように構成されたもので
あることを特徴とする。
In order to solve the above-mentioned problems, an image pickup apparatus according to the present invention comprises: an image pickup device; and, based on defective pixel address data of the image pickup device, an output of the image pickup device. And a defect compensating means for performing a compensating process by the defect compensating means, wherein the defect compensating means precedes a compensating process for a defect having a relatively large defect level at least for a plurality of defects whose defective pixel addresses are adjacent to each other. It is characterized in that it is configured to perform it.

【0017】また、本発明の撮像装置は、撮像素子と、
前記撮像素子に被写体像を入力する撮像光学系と、前記
撮像素子の欠陥画素アドレスを、その欠陥画素の欠陥の
度合いに対応させて欠陥データとして記憶する記憶手段
と、前記撮像素子の出力に対して前記記憶手段に記憶さ
れた欠陥データに基づいて近隣画素データによる補償処
理を行なう欠陥補償手段とを具備し、前記欠陥補償手段
は欠陥画素に関する補償処理を前記欠陥の度合いに基づ
いた順序で実行するように構成されたものであることを
特徴とする。
Further, the image pickup apparatus of the present invention comprises an image pickup device,
An image pickup optical system that inputs a subject image to the image pickup element, a storage unit that stores a defective pixel address of the image pickup element as defect data corresponding to the degree of defect of the defective pixel, and an output of the image pickup element. Defect compensation means for performing compensation processing using neighboring pixel data based on the defect data stored in the storage means, wherein the defect compensation means executes compensation processing on the defective pixels in an order based on the degree of the defect. It is characterized in that it is configured to

【0018】このように、欠陥補償の処理順序に関して
欠陥画素間に序列を設けることにより、欠陥のレベル
(度合い)の大きいものから先に補償処理を適用するこ
とが可能となる。この場合、例えば補償対象の欠陥画素
に隣接する同色4画素によって欠陥画素を補正するとい
った単純な補償処理を欠陥レベル(度合い)の大きいも
のから優先して適用するだけで、欠陥レベルの大きい画
素から順にそれよりも欠陥レベルの小さい隣接画素に基
づく補償を行なうことができるので、欠陥画素が隣接し
て発生している場合であっても、状況適応的に補償に使
用する画素を変えるという複雑な補償方法を用いること
なく、欠陥レベルの小さい画素がそれよりも欠陥レベル
の大きい画素によって補償されてしまうという不具合を
なくすことが出来る。
As described above, by providing an order between defective pixels with respect to the order of processing for defect compensation, it is possible to apply the compensation processing first to the defect having a higher level (degree). In this case, for example, a simple compensation process of correcting a defective pixel by four pixels of the same color adjacent to a defective pixel to be compensated is applied preferentially in descending order of the defect level (degree). Compensation can be performed based on adjacent pixels having sequentially lower defect levels. Therefore, even when defective pixels occur adjacent to each other, the pixel used for compensation is changed in a situation-adaptive manner. Without using a compensation method, it is possible to eliminate a problem that a pixel having a lower defect level is compensated by a pixel having a higher defect level.

【0019】この際特に、各欠陥に関する補償処理後の
データで撮像素子の出力を補正しながら次に処理すべき
欠陥に関する補償処理を実行することが好適であり、ま
たこれは、直接的には、隣接する複数の欠陥のなかで欠
陥レベルが相対的に小さい欠陥に関してはその補償処理
をそれに先行する補償処理で得られた補償後データを用
いて行うこと、を意味するものである。
In this case, it is particularly preferable to execute the compensation process for the next defect to be processed while correcting the output of the image sensor with the data after the compensation process for each defect. This means that, for a defect having a relatively low defect level among a plurality of adjacent defects, the compensation process is performed using post-compensation data obtained in the preceding compensation process.

【0020】また、撮像素子の欠陥画素アドレスをその
欠陥画素それぞれの欠陥の度合いに対応させて欠陥デー
タとして記憶しておくことにより、上記欠陥レベル順の
補償処理を容易に実現することが出来る。この場合の欠
陥データの記憶態様としては、 (1)当該欠陥レベルが相対的に大きい欠陥画素アドレ
スが補償処理実行時における記憶手段からの読み出し順
序に関して先行する記憶領域に位置するように欠陥デー
タを記憶手段に記憶する (2)欠陥画素それぞれの欠陥画素アドレスと当該欠陥
レベルの大きさに関する序列情報とを併せて欠陥データ
として記憶する (3)欠陥画素それぞれの欠陥画素アドレスと当該欠陥
画素の個別欠陥値とを併せて欠陥データとして記憶する という態様を利用することが好ましい。
Further, by storing the defective pixel address of the image pickup device as defective data corresponding to the degree of defect of each defective pixel, the above-described compensation processing in the order of the defect level can be easily realized. In this case, the defect data is stored in the following manner. (1) The defect data is stored such that the defective pixel address having a relatively high defect level is located in the preceding storage area with respect to the reading order from the storage unit when the compensation processing is executed. (2) The defective pixel address of each defective pixel and the rank information related to the size of the defective level are stored together as defective data. (3) The defective pixel address of each defective pixel and the individual defective pixel are stored. It is preferable to use a mode of storing as defect data together with the defect value.

【0021】(1)においては、欠陥画素アドレスの読
み出し順に欠陥補償処理を行なうだけで、補償処理に特
段の処理を採用しなくても欠陥レベル順の補償処理を容
易に行なうことが可能となる。
In the method (1), the defect compensation processing is performed only in the reading order of the defective pixel addresses, and the compensation processing in the order of the defect level can be easily performed without employing any special processing for the compensation processing. .

【0022】また、(2)(3)を使用した場合には、
欠陥データ検出手段により新たに検出された欠陥データ
を記憶手段に記憶する際に、既に記憶されたアドレスを
書き直すことなく新たなデータを序列情報または個別欠
陥値と併せて追記するだけで欠陥レベル順の補償処理が
行なえる。
When (2) and (3) are used,
When storing the defect data newly detected by the defect data detecting means in the storage means, the new data can be added together with the order information or the individual defect value without rewriting the already stored addresses, and the defect levels can be ordered. Can be performed.

【0023】さらに、(3)の場合には、これと併せ
て、欠陥データ検出手段により新たに検出された欠陥デ
ータに基づいて記憶手段に記憶された欠陥データを更新
する際に、当該欠陥画素アドレスに対応する個別欠陥値
として、既に記憶されている個別欠陥値または検出され
た欠陥レベル値のうち最大のものを適用するという構成
を用いることにより、上述の点滅性欠陥をも含めて欠陥
レベル順の補償処理を行なうことが可能となる。
Further, in the case (3), when updating the defect data stored in the storage means based on the defect data newly detected by the defect data detection means, By using a configuration in which the largest one of an already stored individual defect value or a detected defect level value is applied as the individual defect value corresponding to the address, the defect level including the blinking defect described above is used. It is possible to perform the order compensation processing.

【0024】また、撮像光学系から撮像素子への入射光
を遮断する遮光手段をさらに設け、その遮光手段により
撮像光学系による撮像素子への入射光を遮断しつつこの
状態で得られる撮像素子の出力に基づいて欠陥データを
検出することにより、黒欠陥よりも比較的目立ちやすい
白欠陥に関する欠陥データを撮像装置内で精度良く検出
することが出来る。
Further, light shielding means for blocking incident light from the image pickup optical system to the image pickup device is further provided. The light shield means blocks light incident on the image pickup device by the image pickup optical system, and the image pickup device obtained in this state is obtained. By detecting the defect data based on the output, it is possible to accurately detect the defect data relating to the white defect which is relatively more noticeable than the black defect in the imaging device.

【0025】[0025]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図1には、本発明の一実施形態に係
わる撮像装置の構成が示されている。ここでは、デジタ
ルカメラとして実現した場合を例示して説明することに
する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of an imaging device according to an embodiment of the present invention. Here, a case where the present invention is implemented as a digital camera will be described as an example.

【0026】図中101は撮像レンズ系、102はレン
ズ系101を駆動するためのレンズ駆動機構、103は
レンズ系101の絞り及びシャッタ装置を制御するため
の露出制御機構、104はローパス及び赤外カット用の
フィルタ、105は被写体像を光電変換するためのCC
Dカラー撮像素子、106は撮像素子105を駆動する
ためのCCDドライバ、107はA/D変換器等を含む
プリプロセス回路、108は色信号生成処理,マトリッ
クス変換処理,その他各種のディジタル処理を行なうた
めのディジタルプロセス回路、109はカードインター
フェース、110はメモリカード、111はLCD画像
表示系を示している。
In the drawing, reference numeral 101 denotes an imaging lens system, 102 denotes a lens driving mechanism for driving the lens system 101, 103 denotes an exposure control mechanism for controlling the aperture and shutter device of the lens system 101, and 104 denotes low-pass and infrared light. A cut filter 105 is a CC for photoelectrically converting a subject image.
D color image sensor, 106 a CCD driver for driving the image sensor 105, 107 a pre-processing circuit including an A / D converter, and 108 a color signal generation process, a matrix conversion process, and various other digital processes. A digital process circuit, 109 is a card interface, 110 is a memory card, and 111 is an LCD image display system.

【0027】また、図中の112は各部を統括的に制御
するためのシステムコントローラ(CPU)、113は
各種SWからなる操作スイッチ系、114は操作状態及
びモード状態等を表示するための操作表示系、115は
レンズ駆動機構102を制御するためのレンズドライ
バ、116は発光手段としてのストロボ、117は露出
制御機構103及びストロボ116を制御するための露
出制御ドライバ、118は各種設定情報等を記憶するた
めの不揮発性メモリ(EEPROM)を示している。
In the figure, reference numeral 112 denotes a system controller (CPU) for comprehensively controlling each unit, 113 denotes an operation switch system composed of various SWs, and 114 denotes an operation display for displaying an operation state, a mode state, and the like. System, 115 is a lens driver for controlling the lens driving mechanism 102, 116 is a strobe as a light emitting means, 117 is an exposure control driver for controlling the exposure control mechanism 103 and the strobe 116, and 118 is various kinds of setting information and the like. 1 shows a non-volatile memory (EEPROM) for performing the operation.

【0028】本実施形態のカメラにおいては、システム
コントローラ112が全ての制御を統括的に行ってお
り、露出制御機構103とCCDドライバ106による
CCD撮像素子105の駆動を制御して露光(電荷蓄
積)及び信号の読み出しを行ない、それをプリプロセス
回路107を介してA/D変換してディジタルプロセス
回路108に取込んで、ディジタルプロセス回路108
内で各種信号処理を施した後にカードインターフェース
109を介してメモリカード110に記録するようにな
っている。
In the camera of this embodiment, the system controller 112 performs overall control, and controls the exposure control mechanism 103 and the driving of the CCD image pickup device 105 by the CCD driver 106 to perform exposure (charge accumulation). And read out the signal, A / D convert the signal via the pre-processing circuit 107 and take it into the digital process circuit 108, and
After various signal processings are performed in the memory card 110, the signals are recorded on the memory card 110 via the card interface 109.

【0029】また、システムコントローラ112には、
図示のように、EEPROM118に記憶されている欠
陥データに基づいてCCD105から得られる撮像信号
に対して画素欠陥補償処理を施すための欠陥補償制御部
112aと、画素欠陥データの検出を行なうための欠陥
データ検出部112bと、欠陥データ検出部112bに
より新たに検出された欠陥データに基づいてEEPRO
M118に記憶されている欠陥データの更新・管理を行
なうための欠陥データ管理部112cとが設けられてい
る。
The system controller 112 includes:
As shown, a defect compensation control unit 112a for performing a pixel defect compensation process on an image pickup signal obtained from the CCD 105 based on defect data stored in the EEPROM 118, and a defect for detecting pixel defect data. EEPRO based on the data detection unit 112b and the defect data newly detected by the defect data detection unit 112b.
A defect data management unit 112c for updating and managing the defect data stored in M118 is provided.

【0030】画素欠陥補償処理は、欠陥補償制御部11
2aからの指令に基づいて、EEPROM118に格納
された既存の(その時点における最新の)欠陥(以下登
録欠陥と称する)に関する欠陥画素のアドレスデータに
基づいてディジタルプロセス回路108において実行さ
れる。なお、初期(カメラの工場出荷時)においては登
録欠陥は製造調整工程において取得された欠陥データが
登録されている。
The pixel defect compensation processing is performed by the defect compensation control unit 11.
Based on the command from 2a, the process is executed in the digital process circuit 108 based on the address data of the defective pixel regarding the existing (latest) defect (hereinafter referred to as a registered defect) stored in the EEPROM 118. In the initial stage (when the camera is shipped from the factory), defect data acquired in the manufacturing adjustment process is registered as a registered defect.

【0031】本実施形態では、複数の欠陥が隣接した場
合の画質劣化を低減するために、欠陥補償の処理順序に
関して欠陥画素間に序列が設けられており、少なくとも
補償対象の欠陥画素アドレスが互いに隣接する複数の欠
陥に関しては欠陥レベルの大きいものから先に補償処理
が適用される。
In this embodiment, in order to reduce the image quality degradation when a plurality of defects are adjacent to each other, an order is provided between the defective pixels in the processing order of the defect compensation. Compensation processing is applied to a plurality of adjacent defects in descending order of defect level.

【0032】欠陥データ検出部112bによる欠陥検出
は、例えば24時間に1回といった割合で電源投入時な
どにテスト撮像を行ない、その時の撮像画像を解析する
ことによって行われる。
The defect detection by the defect data detection unit 112b is performed by performing test imaging at a power-on rate, for example, once every 24 hours, and analyzing the captured image at that time.

【0033】以下、本発明の画素欠陥の補償処理の手順
とEEPROM118に対する欠陥データの登録に直接
関わる処理を中心にシステムコントローラ112による
カメラ制御の説明を行なう。ただし、本カメラにおいて
CCD105から得られる信号レベルのディジタル処理
は8ビット(0〜255)で行われるものとする。
Hereinafter, the camera control by the system controller 112 will be described focusing on the procedure of the pixel defect compensation processing of the present invention and the processing directly related to the registration of the defect data in the EEPROM 118. However, in this camera, the digital processing of the signal level obtained from the CCD 105 is performed with 8 bits (0 to 255).

【0034】また、以下では白欠陥のみを対象に説明す
ることにする。欠陥の「レベル」としては、ある基準温
度、基準露光時間の場合のレベルに規格化したものを考
える。本実施形態では簡単のため、温度については考慮
せず(従って特記無い限り常温での使用のみを仮定)、
基準露光時間は下記で説明するようにテスト撮像の露出
時間(=本カメラの最長露出時間Tmax:例示値5s)
を採用することとする。
In the following, description will be made only for white defects. As the "level" of a defect, a defect which is standardized to a level at a certain reference temperature and a reference exposure time is considered. In the present embodiment, for simplicity, the temperature is not taken into account (therefore, unless otherwise specified, only use at room temperature is assumed).
The reference exposure time is the exposure time of the test imaging as described below (= the longest exposure time Tmax of this camera: an example value of 5 s)
Shall be adopted.

【0035】さらに、欠陥補償の処理順序の管理は必須
的には隣接した欠陥画素同志のみを対象に行なえば良い
が、却って処理が複雑化することを避けて、以下では全
欠陥に関してレベルの大きなものから順に欠陥補償を行
なうこととする。
Further, the management of the processing order of the defect compensation is essentially required to be performed only on adjacent defective pixels. However, in order to avoid the processing from being complicated, the level of all defects is large. Defect compensation is performed in order from the first one.

【0036】まず、図2を参照して、EEPROM11
8における欠陥データの記憶態様について説明する。
First, referring to FIG.
8 will be described.

【0037】欠陥レベルの程度に応じた処理順での欠陥
補償処理を実現するために、本実施形態では、欠陥画素
アドレスはその欠陥画素それぞれの欠陥の度合いに対応
させた状態でEEPROM118に欠陥データとして記
憶される。これは新規検出欠陥のみならず、工場出荷時
の初期登録欠陥についても同様である。欠陥データの具
体的な記憶態様は以下の通りである。
In order to realize the defect compensation processing in the processing order according to the degree of the defect level, in this embodiment, the defective pixel address is stored in the EEPROM 118 in a state corresponding to the degree of the defect of each defective pixel. Is stored as This applies not only to newly detected defects but also to initial registration defects at the time of factory shipment. The specific storage mode of the defect data is as follows.

【0038】<記憶態様1: 欠陥画素アドレスをメモ
リアドレス順に記憶する場合>図2(a)は、欠陥画素
アドレスのみをその欠陥レベルSの大きいものからメモ
リアドレス順(欠陥補償処理時における欠陥画素アドレ
スの読み出し順)に記憶した場合の例である。
<Storage Mode 1: Case of Storing Defective Pixel Addresses in Memory Address Order> FIG. 2A shows only defective pixel addresses in order of memory address in descending order of the defect level S (defect pixel in defect compensation processing). This is an example in the case of storing in the order of reading addresses).

【0039】すなわち、EEPROM118内の所定の
欠陥記憶領域のメモリアドレスの先頭のデータビットに
は欠陥の個数Nが記憶されており、これに続くN個のメ
モリアドレスのデータビットには欠陥画素アドレスAd
r(1)、Adr(2)、Adr(3)、…Adr
(N)のみが欠陥レベルSが大きい順番に記憶されてい
る。この場合、メモリアドレス1にAdr(1)として
記憶される欠陥画素アドレスの欠陥レベルが最も大き
く、続くメモリアドレス2、3、…NにAdr(2)、
Adr(3)、…Adr(N)として記憶される欠陥画
素アドレスの順にその欠陥レベルが小さくなる。もちろ
ん連続して記憶されている2以上の欠陥画素アドレスそ
れぞれの欠陥レベルSが等しい場合もある。つまり、欠
陥画素アドレスAdr(1)、Adr(2)、…Adr
(N)として記憶される欠陥画素それぞれの欠陥レベル
をS(1)、S(2)、…S(N)とすると、S(1)
≧S(2)≧…,≧S(N)となる。
That is, the number N of defects is stored in the first data bit of the memory address of the predetermined defective storage area in the EEPROM 118, and the defective pixel address Ad is stored in the data bits of the next N memory addresses.
r (1), Adr (2), Adr (3),... Adr
Only (N) is stored in descending order of the defect level S. In this case, the defective level of the defective pixel address stored as Adr (1) in memory address 1 is the highest, and Adr (2),
The defect level becomes smaller in the order of defective pixel addresses stored as Adr (3),... Adr (N). Of course, the defect levels S of two or more defective pixel addresses stored successively may be equal. That is, defective pixel addresses Adr (1), Adr (2),... Adr
If the defect level of each defective pixel stored as (N) is S (1), S (2),... S (N), S (1)
≧ S (2) ≧, ≧ S (N).

【0040】この記憶態様1を用いることにより、欠陥
補償制御部112aによる欠陥補償処理をEEPROM
118からそのメモリアドレス順に欠陥画素アドレスを
読み出しながら行なうだけで、補償処理に特段の処理を
採用しなくても欠陥レベル順の補償処理が行なうことが
可能となる。
By using the storage mode 1, the defect compensation processing by the defect compensation control unit 112a can be performed by the EEPROM.
Only by performing reading while reading the defective pixel address in the order of the memory address from 118, the compensation processing in the order of the defect level can be performed without employing any special processing for the compensation processing.

【0041】<記憶態様2: 欠陥画素アドレスと序列
数を併せて記憶する場合>図2(b)は、欠陥画素アド
レスとその欠陥レベルの大きさに関する序列数(レベル
Sが大きいものから順に1、2…、N)とを併せて記憶
した場合の例である。すなわち、EEPROM118内
の所定の欠陥記憶領域のメモリアドレスの先頭のデータ
ビットには欠陥の個数Nが記憶されており、これに続く
N個のメモリアドレスのデータビットには、欠陥画素ア
ドレスAdr(1)、Adr(2)、Adr(3)、…
Adr(N)とそれに対応する序列数Odr(1)、O
dr(2)、Odr(3)、…Odr(N)とが併せて
記憶されている。この場合、例えばメモリアドレス3に
Adr(3)として記憶されている欠陥画素アドレスが
最も欠陥レベルが大きく、メモリアドレス1にAdr
(1)として記憶されている欠陥画素アドレスの欠陥レ
ベルが2番目に大きく、メモリアドレスNにAdr
(N)として記憶されている欠陥画素アドレスの欠陥レ
ベルが3番目に大きい場合には、メモリアドレス3にO
dr(3)として記憶されている序列数は“1”で、メ
モリアドレス1にOdr(1)として記憶されている序
列数が“2”で、そしてメモリアドレスNにOdr
(N)として記憶されている序列数が“3”となる。
<Storage Mode 2: Case of Storing Defective Pixel Address and Order Number Together> FIG. 2B shows the order of the defective pixel address and the size of the defect level (1 from the highest level S). , 2... N) are stored together. That is, the number N of defects is stored in the first data bit of the memory address of the predetermined defective storage area in the EEPROM 118, and the defective pixel address Adr (1) is stored in the data bits of the N subsequent memory addresses. ), Adr (2), Adr (3), ...
Adr (N) and its corresponding ordinal numbers Odr (1), O
dr (2), Odr (3),... Odr (N) are also stored. In this case, for example, the defective pixel address stored as Adr (3) in the memory address 3 has the highest defect level, and the memory address 1 has Adr (3).
The defect level of the defective pixel address stored as (1) is the second highest, and Adr is added to the memory address N.
If the defect level of the defective pixel address stored as (N) is the third highest, O
The number of sequences stored as dr (3) is “1”, the number of sequences stored as Odr (1) at memory address 1 is “2”, and Odr is stored at memory address N.
The number of sequences stored as (N) is “3”.

【0042】<記憶態様3: 欠陥画素アドレスと個別
欠陥値を併せて記憶する場合>図2(c)は、欠陥画素
アドレスとその個別欠陥値(欠陥レベルS)とを併せて
記憶する場合の例である。すなわち、EEPROM11
8内の所定の欠陥記憶領域のメモリアドレスの先頭のデ
ータビットには欠陥の個数Nが記憶されており、これに
続くN個のメモリアドレスのデータビットには欠陥画素
アドレスAdr(1)、Adr(2)、Adr(3)、
…Adr(N)とそれに対応する欠陥レベルS(1)、
S(2)、S(3)、…S(N)とが併せて記憶されて
いる。
<Storage Mode 3: When Defective Pixel Address and Individual Defect Value are Stored Together> FIG. 2C shows a case where a defective pixel address and its individual defect value (defect level S) are stored together. It is an example. That is, the EEPROM 11
8, the number N of defects is stored in the first data bit of the memory address of a predetermined defective storage area, and the data bits of the next N memory addresses are defective pixel addresses Adr (1) and Adr. (2), Adr (3),
.. Adr (N) and the corresponding defect level S (1),
S (2), S (3),... S (N) are also stored.

【0043】次に、欠陥補償制御部112aによって実
行される画素欠陥補償処理について説明する。
Next, the pixel defect compensation processing executed by the defect compensation control section 112a will be described.

【0044】まず、撮影に先立ってマニュアル設定また
は測光結果に基づいて撮影に必要な露光時間が設定され
る。次に本撮像の撮影トリガー指令を待機し、指令を受
けたら所定の露出制御値に基いた露光を行ない、撮像信
号を読み出して所定の信号処理を施した後にメモリカー
ド110に記録する。その際、EEPROM118に記
憶されている登録欠陥画素については画素欠陥補償を伴
なう。欠陥補償後において記録に至るまでの映像信号処
理は、その必要に応じて適宜使用されるそれ自体は公知
の、例えば色バランス処理、マトリクス演算による輝度
−色差信号への変換あるいはその逆変換処理、帯域制限
等による偽色除去あるいは低減処理、γ変換に代表され
る各種非線型処理、各種情報圧縮処理、等々である。
First, prior to photographing, an exposure time required for photographing is set based on a manual setting or a photometric result. Next, the camera waits for a shooting trigger command for the main imaging, and upon receiving the command, performs exposure based on a predetermined exposure control value, reads out an imaging signal, performs predetermined signal processing, and records the signal on the memory card 110. At this time, pixel defect compensation is performed for registered defective pixels stored in the EEPROM 118. After the defect compensation, the video signal processing up to the recording is appropriately used according to its necessity. It is known per se, for example, color balance processing, conversion into a luminance-color difference signal by matrix operation or its inverse conversion processing, Examples include false color removal or reduction processing by band limitation, various nonlinear processing represented by γ conversion, various information compression processing, and the like.

【0045】本実施形態のカメラにおいて欠陥補償は、
公知の「欠陥アドレスが登録された画素に関しての近隣
画素による補完」が採用されており、具体的補完方法は
「最近接同色画素(同色の画素のうち、当該欠陥画素に
最も近い4画素:RGBベイヤ配列の場合を例示すれば
Gに関しては斜め4方に隣接する4つのG画素、R(ま
たはB)に関しては上下左右の4方向で直接隣接でなく
間に1つのGを挟んで次に位置する各4つのR(または
B)画素)たる4画素情報の平均値を代替適用する」も
のが採用されている。この補間処理の方法を以下では
「近隣4画素による欠陥補償処理」と称することにす
る。この「近隣4画素による欠陥補償処理」は上述した
ように欠陥レベルの大きいものから順に行われ、各欠陥
画素に関する補償処理を行う度にその補償後のデータで
撮像信号を補正しながら、次に処理すべき欠陥に関する
補償処理が行われる。以下、上記記憶態様1〜3それぞ
れに対応する欠陥補償処理の手順を説明する。
In the camera of this embodiment, the defect compensation is as follows.
A well-known “complementation of a pixel in which a defective address is registered by a neighboring pixel” is employed. A specific complementing method is “the closest closest color pixel (4 pixels closest to the defective pixel among the same color pixels: RGB) For example, in the case of the Bayer arrangement, G is four G pixels adjacent to each other diagonally in four directions, and R (or B) is not directly adjacent in four directions of up, down, left, and right, but is located next to one G in between The average value of the four pixel information corresponding to each of four R (or B) pixels) is applied instead. Hereinafter, this interpolation processing method is referred to as “defect compensation processing using four neighboring pixels”. The “defect compensation process using the four neighboring pixels” is performed in order from the one having the highest defect level as described above. Each time the compensation process for each defective pixel is performed, the imaging signal is corrected with the compensated data. Compensation processing for a defect to be processed is performed. Hereinafter, the procedure of the defect compensation processing corresponding to each of the storage modes 1 to 3 will be described.

【0046】図3には、上記記憶態様1を採用した場合
における欠陥補償処理の手順が示されている。
FIG. 3 shows a procedure of a defect compensation process when the above-mentioned storage mode 1 is employed.

【0047】まず、EEPROM118からの欠陥デー
タの読み込みが行われ、EEPROM118に登録され
ているメモリアドレス順に欠陥画素に関する補償処理が
実行される(ステップS11,S12)。欠陥データの
読み込みはメモリアドレス順に行われ、その読み込んだ
欠陥画素アドレスから順に「近隣4画素による欠陥補償
処理」が行われることになる。この場合、上記記憶態様
1では欠陥レベルの大きい欠陥画素画素アドレスから順
に記憶されているので、欠陥画素が互いに近接して存在
する場合、つまり補償対象の欠陥画素アドレスが互いに
隣接する複数の欠陥に関しては、欠陥レベルの大きい欠
陥画素に関する欠陥補償処理が優先して実行されること
になる。
First, defective data is read from the EEPROM 118, and compensation processing for defective pixels is executed in the order of memory addresses registered in the EEPROM 118 (steps S11 and S12). The reading of the defective data is performed in the order of the memory addresses, and the “defect compensation processing by four neighboring pixels” is performed sequentially from the read defective pixel address. In this case, in the storage mode 1, since the defective pixel pixel address is stored in order from the defective pixel having the highest defect level, when the defective pixels exist close to each other, that is, when the defective pixel addresses to be compensated Means that the defect compensation process for the defective pixel having a high defect level is preferentially executed.

【0048】欠陥画素アドレスが互いに隣接する複数の
欠陥のうち、最初に処理される欠陥画素(隣接する複数
の欠陥のうち最も欠陥レベルが相対的に大きい欠陥画
素)については、それに近接する他の欠陥画素に関する
欠陥補償処理はまだ行なわれていないので、欠陥補償前
の生の近隣4画素をそのまま用いた欠陥補償処理が実行
されることになる。一方、欠陥画素アドレスが互いに隣
接する複数の欠陥のうち、2番目以降に処理される欠陥
画素(隣接する複数の欠陥のうち欠陥レベルの大きさが
2番目以降の欠陥画素)については、それよりも欠陥レ
ベルが相対的に大きい画素に関する欠陥補償処理が既に
行われておりその欠陥補償後のデータが撮像信号に反映
されているので、欠陥補償後のデータを用いた近隣4画
素による欠陥補償処理が実行されることになる。この様
子を図4に示す。
Of a plurality of defects whose defective pixel addresses are adjacent to each other, a defective pixel to be processed first (a defective pixel having a relatively high defect level among a plurality of adjacent defects) is another adjacent pixel. Since the defect compensation process for the defective pixel has not been performed yet, the defect compensation process using the raw neighboring four pixels before the defect compensation is performed as it is. On the other hand, among a plurality of defects whose defective pixel addresses are adjacent to each other, a defective pixel to be processed after the second (a defective pixel having a defect level of the second or subsequent defect among the plurality of adjacent defects) is less than that. Also, since the defect compensation process for the pixel having a relatively high defect level has already been performed and the data after the defect compensation is reflected in the image pickup signal, the defect compensation process using the four pixels in the vicinity using the data after the defect compensation is performed. Will be executed. This is shown in FIG.

【0049】図4は、A,B2つの欠陥画素が互いに近
接して存在しており、且つ欠陥画素Aの欠陥レベルが欠
陥画素Bの欠陥レベルよりも大きい場合を想定してい
る。この場合、欠陥画素Aについては、図4(a)に矢
印で示すように欠陥補償前の欠陥画素Bを含む近隣4画
素の平均によって欠陥補償され、これにより欠陥画素A
の画素値は欠陥補償後の画素値(A’)に更新される。
欠陥画素Bについては、欠陥画素Aの画素値はその欠陥
補償処理で既に補償後の画素値(A’)に更新されてい
るので、図4(b)に矢印で示すように欠陥画素Aの欠
陥補償後の画素値(A’)を含む近隣4画素の平均によ
って欠陥補償が行われる。
FIG. 4 assumes that two defective pixels A and B exist close to each other, and that the defective level of defective pixel A is higher than the defective level of defective pixel B. In this case, the defective pixel A is defect-compensated by the average of four neighboring pixels including the defective pixel B before the defect compensation as indicated by an arrow in FIG.
Is updated to the pixel value (A ′) after the defect compensation.
As for the defective pixel B, since the pixel value of the defective pixel A has already been updated to the pixel value (A ′) after the compensation in the defect compensation processing, as shown by the arrow in FIG. Defect compensation is performed by averaging four neighboring pixels including the pixel value (A ') after defect compensation.

【0050】よって、各欠陥画素毎に常にそれに最も隣
接する同色4画素によって補償を行なうといった単純な
欠陥補償アルゴリズムが既に採用されているカメラにお
いても、EEPROM118からの欠陥アドレスの読み
出し順(=補償処理順)に、欠陥レベルの大きいものか
ら順に記憶しておくだけで、欠陥補償アルゴリズムの変
更を行なうことなく欠陥レベルの小さい画素がそれより
も欠陥レベルの大きい画素によって補償されるという不
具合をなくすことが出来る。
Therefore, even in a camera which has already adopted a simple defect compensation algorithm for always compensating for each defective pixel with the four pixels of the same color closest to the defective pixel, the order of reading defect addresses from the EEPROM 118 (= compensation processing) (Order), eliminating the problem that pixels having a lower defect level are compensated for by pixels having a higher defect level without changing the defect compensation algorithm by merely storing the defect level in descending order. Can be done.

【0051】登録されているメモリアドレス順に欠陥補
償処理を実行するというステップS12の処理は、未処
理の欠陥画素が無くなるまで繰り返し実行される(ステ
ップS13)。なお、ステップS11でEEPROM1
18から欠陥画素アドレスを一つ読み出す度に、その都
度ステップS12の処理を行なう場合には、図3に破線
で示すように、未処理の欠陥画素が無くなるまでステッ
プS11とステップS12の処理が繰り返されることに
なる。
The process of step S12 of executing the defect compensation process in the order of the registered memory addresses is repeatedly executed until there is no unprocessed defective pixel (step S13). In step S11, the EEPROM 1
If the processing of step S12 is performed each time one defective pixel address is read from the memory cell 18, the processing of steps S11 and S12 is repeated until there is no unprocessed defective pixel as shown by the broken line in FIG. Will be.

【0052】図5には、上記記憶態様2を採用した場合
における欠陥補償処理の手順が示されている。
FIG. 5 shows a procedure of the defect compensation processing when the above-mentioned storage mode 2 is adopted.

【0053】まず、EEPROM118からの欠陥デー
タの読み込みにより、EEPROM118に登録されて
いる欠陥画素アドレスと序列数との組が全て読み込まれ
(ステップS21)、そして欠陥画素アドレスそれぞれ
に関する序列数の順序関係を認識することにより、欠陥
補償処理の処理順が決定される(ステップS22)。こ
の後、決定された処理順、すなわち序列数順に、欠陥画
素それぞれに関する補償処理が実行される(ステップS
23)。上記記憶態様2では欠陥レベルの大きい欠陥画
素画素アドレスから順に1,2,3,…Nという序列数
が付随しているので、欠陥画素が互いに近接して存在す
る場合、つまり補償対象の欠陥画素アドレスが互いに隣
接する複数の欠陥に関しては、欠陥レベルの大きい欠陥
画素に関する欠陥補償処理が優先して実行されることに
なる。
First, by reading the defective data from the EEPROM 118, all the sets of the defective pixel address and the order number registered in the EEPROM 118 are read (step S21), and the order relation of the order number for each defective pixel address is determined. By performing the recognition, the processing order of the defect compensation processing is determined (step S22). Thereafter, compensation processing is performed on each defective pixel in the determined processing order, that is, in the order of the number of ranks (step S).
23). In the storage mode 2, since the defective pixel addresses having the order of 1, 2, 3,... N are added in order from the defective pixel address having the highest defect level, when the defective pixels exist close to each other, that is, the defective pixel to be compensated for With respect to a plurality of defects whose addresses are adjacent to each other, the defect compensation processing for a defective pixel having a high defect level is preferentially executed.

【0054】欠陥画素アドレスが互いに隣接する複数の
欠陥のうち、最初に処理される欠陥画素(隣接する複数
の欠陥のうち最も欠陥レベルが相対的に大きい欠陥画
素)については、それに近接する他の欠陥画素に関する
欠陥補償処理はまだ行なわれていないので、欠陥補償前
の生の近隣4画素をそのまま用いた欠陥補償処理が実行
されることになる。一方、欠陥画素アドレスが互いに隣
接する複数の欠陥のうち、2番目以降に処理される欠陥
画素(隣接する複数の欠陥のうち欠陥レベルの大きさが
2番目以降の欠陥画素)については、それよりも欠陥レ
ベルが相対的に大きい画素に関する欠陥補償処理が既に
行われているので、その欠陥補償後のデータを用いた近
隣4画素による欠陥補償処理が実行されることになる。
Of a plurality of defects whose defective pixel addresses are adjacent to each other, a defective pixel to be processed first (a defective pixel having a relatively high defect level among a plurality of adjacent defects) is another adjacent pixel. Since the defect compensation process for the defective pixel has not been performed yet, the defect compensation process using the raw neighboring four pixels before the defect compensation is performed as it is. On the other hand, among a plurality of defects whose defective pixel addresses are adjacent to each other, a defective pixel to be processed after the second (a defective pixel having a defect level of the second or subsequent defect among the plurality of adjacent defects) is less than that. Since the defect compensation processing has already been performed on the pixel having a relatively high defect level, the defect compensation processing is performed on the four neighboring pixels using the data after the defect compensation.

【0055】序列数順に欠陥補償処理を実行するという
ステップS23の処理は、未処理の欠陥画素が無くなる
まで繰り返し実行される(ステップS24)。
The process of step S23 of executing the defect compensation process in the order of the number of steps is repeatedly executed until there is no unprocessed defective pixel (step S24).

【0056】図6には、上記記憶態様3を採用した場合
における欠陥補償処理の手順が示されている。
FIG. 6 shows a procedure of a defect compensation process when the above-mentioned storage mode 3 is employed.

【0057】まず、EEPROM118からの欠陥デー
タの読み込みにより、EEPROM118に登録されて
いる欠陥画素アドレスと欠陥レベルとの組が全て読み込
まれ(ステップS31)、そして欠陥画素アドレスそれ
ぞれに対応する欠陥レベル同士を比較してそのレベルの
大小関係を認識することにより、欠陥補償処理の処理順
が決定される(ステップS32)。この後、決定された
処理順、すなわち欠陥レベルの大きい順に、欠陥画素そ
れぞれに関する補償処理が実行される(ステップS3
3)。欠陥画素アドレスが互いに隣接する複数の欠陥の
うち、最初に処理される欠陥画素(隣接する複数の欠陥
のうち最も欠陥レベルが相対的に大きい欠陥画素)につ
いては、それに近接する他の欠陥画素に関する欠陥補償
処理はまだ行なわれていないので、欠陥補償前の生の近
隣4画素をそのまま用いた欠陥補償処理が実行されるこ
とになる。一方、欠陥画素アドレスが互いに隣接する複
数の欠陥のうち、2番目以降に処理される欠陥画素(隣
接する複数の欠陥のうち欠陥レベルの大きさが2番目以
降の欠陥画素)については、それよりも欠陥レベルが相
対的に大きい画素に関する欠陥補償処理が既に行われて
いるので、その欠陥補償後のデータを用いた近隣4画素
による欠陥補償処理が実行されることになる。
First, by reading defect data from the EEPROM 118, all sets of defective pixel addresses and defect levels registered in the EEPROM 118 are read (step S31). By comparing and recognizing the magnitude relation of the level, the processing order of the defect compensation processing is determined (step S32). Thereafter, compensation processing is performed on each defective pixel in the determined processing order, that is, in the order of the highest defect level (step S3).
3). Of a plurality of defects whose defective pixel addresses are adjacent to each other, a defective pixel to be processed first (a defective pixel having the highest defect level among a plurality of adjacent defects) relates to another defective pixel adjacent thereto. Since the defect compensation processing has not been performed yet, the defect compensation processing using the raw neighboring four pixels before the defect compensation is performed as it is. On the other hand, among a plurality of defects whose defective pixel addresses are adjacent to each other, a defective pixel to be processed after the second (a defective pixel having a defect level of the second or subsequent defect among the plurality of adjacent defects) is less than that. Since the defect compensation processing has already been performed on the pixel having a relatively high defect level, the defect compensation processing is performed on the four neighboring pixels using the data after the defect compensation.

【0058】欠陥レベルの大きいもの順に欠陥補償処理
を実行するというステップS33の処理は、未処理の欠
陥画素が無くなるまで繰り返し実行される(ステップS
34)。
The processing of step S33 of executing the defect compensation processing in the order of the defect levels is repeated until there is no unprocessed defective pixel (step S33).
34).

【0059】次に、欠陥データ検出部112bによって
実行される欠陥検出処理と、欠陥データ管理部112c
によって実行される登録欠陥の追加・更新処理について
説明する。
Next, the defect detection processing executed by the defect data detection unit 112b and the defect data management unit 112c
The registration defect adding / updating process executed by the above will be described.

【0060】本実施形態のカメラにおいては必要時に欠
陥検出を行ない、その結果に基づき上記登録欠陥を追加
更新する。欠陥検出は次のように行なわれる。すなわち
露出制御機構103に含まれるメカシャッタ装置でCC
D105の受光面を遮光してから、その遮光状態でテス
ト撮像を行なう。すなわち暗黒下でCCDドライバ10
6により本カメラの最長露出時間Tmax(設定は任意:
ここでの例示値5s)の電荷蓄積動作を行なってテスト
撮像信号(暗出力信号)を読み出し、ディジタルプロセ
ス回路108に格納する。格納された有効出力画素の全
データに関して各出力レベルを調べて基準レベルとディ
ジタル比較を行なうことで欠陥か否かの判定を行なう。
In the camera of the present embodiment, a defect is detected when necessary, and the registered defect is additionally updated based on the result. The defect detection is performed as follows. That is, the mechanical shutter device included in the exposure control mechanism 103
After the light receiving surface of D105 is shielded from light, test imaging is performed in the shielded state. That is, the CCD driver 10 in the dark
6, the longest exposure time Tmax of this camera (setting is optional:
The test image pickup signal (dark output signal) is read out by performing the charge accumulation operation of the exemplary value 5s here, and stored in the digital process circuit 108. Each output level is checked for all the data of the stored effective output pixels, and a digital comparison with a reference level is performed to determine whether or not there is a defect.

【0061】判定基準は以下のようなものである。すな
わち着目画素の出力レベルがSであったとして S >5 の場合に欠陥、それ以外(S ≦ 5)の時には非欠陥と
するものである。この意味は本撮像時の暗出力レベルを
最大フルレンジ255の約2%までは許容するとしたも
のである。ここで出力レベル約2%という判定基準レベ
ルはもとよりあくまでも一例であり、設計時に事情に合
わせて任意に設定し得るものであるが、上記程度の適当
な値(他に例えば約5%や約1%なども有効)を選んで
おけば画像に重畳される暗出力の影響の顕在化可能性は
充分低くなる。またこれを0%に選べば暗出力が重畳さ
れた画素を完全に排除することが可能でありこの点では
これも一つの好適実施例として挙げ得るが、これは逆に
見れば僅かな暗信号の重畳のためにその画素情報を完全
に廃棄することを意味するから、却って総合画質を低下
させることにもなる場合もある。現実にはこれらのトレ
ードオフ要素を勘案して基準レベルを設定する。
The criteria are as follows. That is, if the output level of the target pixel is S, the defect is determined when S> 5, and the defect is determined to be non-defect when S> 5 (S ≦ 5). This means that the dark output level at the time of main imaging is allowed up to about 2% of the maximum full range 255. Here, the judgment reference level of about 2% is merely an example, and can be arbitrarily set according to the circumstances at the time of design. However, an appropriate value (about 5% or about 1 % Is also effective), the possibility that the effect of the dark output superimposed on the image becomes obvious becomes sufficiently low. If this is selected to be 0%, it is possible to completely eliminate the pixel on which the dark output is superimposed. In this respect, this can also be cited as one preferred embodiment. This means that the pixel information is completely discarded due to the superposition of, so that the overall image quality may be reduced. In reality, the reference level is set in consideration of these trade-off factors.

【0062】このようなカメラの欠陥検出によって得ら
れた画素欠陥を検出欠陥と称する。次に、上記のように
求められた検出欠陥に基づいてEEPROM118の登
録欠陥を追加・更新するためのデータ更新処理について
説明する。
A pixel defect obtained by such a camera defect detection is called a detected defect. Next, a data update process for adding / updating a registered defect of the EEPROM 118 based on the detected defect obtained as described above will be described.

【0063】<データ更新処理1>図7のフローチャー
トは、上記記憶態様1に対応するデータ更新処理の手順
を示すものである。まず、検出欠陥のデータを全て(登
録欠陥との重複に関わらず)をレベル比較し、検出され
た欠陥画素それぞれの大小関係を認識する(ステップS
111)。次いで、欠陥レベルの大きい順に欠陥画素ア
ドレスを上記記憶態様1で記憶する。すなわちデータは
上書きされることになる(S112)。
<Data Update Processing 1> The flowchart of FIG. 7 shows the procedure of the data update processing corresponding to the above-mentioned storage mode 1. First, all the data of the detected defect (regardless of the overlap with the registered defect) are compared in level, and the magnitude relation of each of the detected defective pixels is recognized (step S).
111). Next, defective pixel addresses are stored in the storage mode 1 in the descending order of the defect level. That is, the data is overwritten (S112).

【0064】・既登録にもかかわらず検出されなかった
欠陥があった場合は、例えばこれを廃棄しても良いし、
全ての検出欠陥データよりも高順位または低順位にて併
せ記憶しても良い。または既登録欠陥における順位にほ
ぼ相当する順位に割り込ませても良い。この時の順位は
相対的順位(全数に対する順位比率)を用いることが好
適である。すなわち、既登録全欠陥数N1における順位
がM1位であれば、検出+非重複の新全欠陥数がN2に
おいて対応する順位M2は、M2=M1×N2/N1
(ただし計算値が非整数の場合には四捨五入等により整
数化したもの)となる。ただし、これに限るものではな
く、煩雑を避ける観点から絶対的順位(単なる順位)を
用いても良い。どちらを用いても、全数の相違が小さい
場合は両者の差異は小さいから実用上の問題はない。
If there is a defect that has not been detected despite being registered, for example, it may be discarded,
All the detected defect data may be stored in a higher order or a lower order than all the detected defect data. Alternatively, it may be interrupted to a rank substantially corresponding to the rank of the registered defect. At this time, it is preferable to use a relative ranking (rank ratio to the total number). That is, if the order in the registered total defect number N1 is M1, the corresponding order M2 in the detected + non-overlapping new total defect number in N2 is M2 = M1 × N2 / N1.
(However, when the calculated value is a non-integer, it is converted to an integer by rounding or the like). However, the present invention is not limited to this, and an absolute ranking (mere ranking) may be used from the viewpoint of avoiding complication. Regardless of which method is used, if the difference between the total numbers is small, there is no practical problem since the difference between them is small.

【0065】・記憶領域の浪費を問題にしない場合は、
上書きに変えて、全く別の領域を次回補償時に使用する
領域として規定しこれに記憶しても良い。
When the waste of the storage area is not a problem,
Instead of overwriting, a completely different area may be defined as an area to be used at the next compensation and stored in this area.

【0066】<データ更新処理2>図8のフローチャー
トは、上記記憶態様2に対応するデータ更新処理の手順
を示すものである。ここでは、新規検出欠陥(登録欠陥
と重複するものを除去したもの)を、EEPROM11
8の引き続くメモリアドレスのデータビットに上記記憶
態様2で追加登録する処理が行われる。その際上記デー
タ更新処理1と同様の処理で全体の順位を決定し序列数
データの更新が行われる。以下、具体的な手順の例につ
いて説明する。
<Data Update Process 2> The flowchart of FIG. 8 shows the procedure of the data update process corresponding to the above-mentioned storage mode 2. Here, a newly detected defect (a defect obtained by removing a duplicate of a registered defect) is stored in the EEPROM 11.
A process of additionally registering the data bits of the subsequent eight memory addresses in the storage mode 2 is performed. At this time, the overall rank is determined by the same processing as the data update processing 1, and the rank number data is updated. Hereinafter, a specific example of the procedure will be described.

【0067】まず、検出欠陥のデータから登録欠陥と重
複する画素を認識し(ステップS121)、登録欠陥と
重複するものを除去したものを新規検出欠陥とする。次
いで、検出欠陥のデータを全て(新規検出欠陥、および
登録欠陥と重複する検出欠陥のすべて)をレベル比較
し、検出された欠陥画素それぞれの大小関係を認識する
(ステップS122)。このとき、既登録にもかかわら
ず検出されなかった欠陥があった場合には、これはレベ
ル情報を有していないから単純に比較することは不可能
であるが、上記データ更新処理1におけるのと同様の
(例えば対応する相対順位に位置付ける)処理を適用す
れば良い。そして、その大小関係の認識結果に基づき、
新規検出欠陥の欠陥画素アドレスと序列数とを対応付け
てEEPROM118に追加登録する処理(ステップS
123)、並びに登録欠陥と重複する検出欠陥に関する
序列数を更新する処理(ステップS124)、が実行さ
れる。
First, a pixel overlapping a registered defect is recognized from the detected defect data (step S121), and a pixel overlapping the registered defect is removed to be a new detected defect. Next, the level of all the data of the detected defects (new detected defects and all of the detected defects overlapping the registered defects) is compared, and the magnitude relation of the detected defective pixels is recognized (step S122). At this time, if there is a defect that has not been detected despite being already registered, it cannot be compared simply because it does not have level information. A process similar to that described above (for example, positioning at a corresponding relative rank) may be applied. And, based on the recognition result of the magnitude relationship,
Processing for additionally registering the defective pixel address of a newly detected defect and the number of ranks in the EEPROM 118 in association with each other (step S
123), and a process of updating the rank number of the detected defect overlapping the registered defect (step S124).

【0068】<データ更新処理3>図9のフローチャー
トは、上記記憶態様3に対応するデータ更新処理の手順
を示すものである。ここでは、新規検出欠陥(登録欠陥
と重複するものを除去したもの)を、EEPROM11
8の引き続くメモリアドレスのデータビットに上記記憶
態様3で追加登録する処理が行われる。この際、記憶態
様3では欠陥度合いに関する情報として欠陥レベルその
ものが用いられているので、登録欠陥に関する欠陥レベ
ルの更新は基本的には不要となる。以下、具体的な手順
の例について説明する。
<Data Update Process 3> The flowchart of FIG. 9 shows the procedure of the data update process corresponding to the above-mentioned storage mode 3. Here, a newly detected defect (a defect obtained by removing a duplicate of a registered defect) is stored in the EEPROM 11.
A process of additionally registering the data bits of the subsequent eight memory addresses in the storage mode 3 is performed. At this time, in the storage mode 3, since the defect level itself is used as the information on the defect degree, the update of the defect level on the registered defect is basically unnecessary. Hereinafter, a specific example of the procedure will be described.

【0069】まず、検出欠陥のデータから登録欠陥と重
複する画素を認識し(ステップS131)、登録欠陥と
重複するものを除去したものを新規検出欠陥とする。次
いで、新規検出欠陥の画素アドレスと欠陥レベルとを対
応付けてEEPROM118に追加登録する(ステップ
S132)。さらに、点滅性欠陥にも対応できるように
するため、本例では、検出欠陥として重複検出された登
録欠陥に関する欠陥レベルの登録値を更新する処理も行
われる(ステップS133)。この際、登録されている
レベルと検出されたレベルのうち、最大のものを登録デ
ータとして適用する処理が行われる。つまり、登録欠陥
と重複する検出欠陥に関してそのレベルを登録欠陥レベ
ルと比較し、検出欠陥の方が大きい場合には欠陥レベル
の値が検出データで更新される。なお、この場合には1
回のデータ更新に関して欠陥検出を複数回行なって、そ
の最大のものを適用することも点滅性欠陥に対して極め
て好適である。
First, a pixel overlapping a registered defect is recognized from the data of the detected defect (step S131), and a pixel overlapping the registered defect is removed to be a new detected defect. Next, the pixel address of the newly detected defect and the defect level are additionally registered in the EEPROM 118 in association with each other (step S132). Further, in order to cope with a blinking defect, in the present example, a process of updating the registered value of the defect level related to the registered defect that has been duplicated as a detected defect is also performed (step S133). At this time, a process of applying the largest one of the registered levels and the detected levels as registration data is performed. That is, the level of the detected defect overlapping the registered defect is compared with the registered defect level, and if the detected defect is larger, the value of the defect level is updated with the detected data. In this case, 1
It is also very suitable for a blinking defect to perform defect detection a plurality of times for the data update and apply the largest one.

【0070】以上説明したように、本実施形態によれ
ば、少なくとも互いに隣接する欠陥に関しては欠陥レベ
ルの大きいものから先に補償処理を適用することによ
り、状況適応的に補償に使用する画素を変えずとも、欠
陥の隣接に起因する画質劣化や補償不能による不具合を
防止することができる。
As described above, according to the present embodiment, at least for defects adjacent to each other, the pixels used for compensation are changed adaptively by applying the compensation processing first from the defect having the highest defect level. At least, it is possible to prevent image quality deterioration due to the proximity of a defect and a defect due to incompensibility.

【0071】なお、上記実施形態では白欠陥についての
み説明したが、例えば黒欠陥についても、そののうち
「感度不足」タイプはその感度に応じて欠陥レベルが規
定できる(感度が低いものが欠陥の度合いが大きい)の
で、上述の白欠陥の場合と同様の処理手順および記憶態
様を黒欠陥にも適用することが出来る。また例えば、C
CD105内の電荷移送ゲート異常などにより全く出力
が出ない黒欠陥画素に関しては、感度不足タイプの黒欠
陥よりも欠陥の度合いが大きく、全ての白欠陥は黒欠陥
よりも欠陥の度合いが大きいと規定すれば、白欠陥およ
び黒欠陥を含む各種欠陥の混在に関しても適用できる。
Although only white defects are described in the above embodiment, for example, with respect to black defects, the defect level can be defined according to the sensitivity of the “insufficient sensitivity” type (a defect having a low sensitivity is a defect having a low sensitivity). Therefore, the same processing procedure and storage mode as in the case of the above-described white defect can be applied to the black defect. Also, for example, C
For a black defect pixel in which no output is generated due to an abnormality in the charge transfer gate in the CD 105, the degree of the defect is larger than that of the insensitive type black defect, and all the white defects are larger than the black defect. Then, the present invention can be applied to a mixture of various types of defects including a white defect and a black defect.

【0072】また、上記説明では欠陥データを記憶する
ための「記憶手段」の明示的な例はEEPROMである
がこれに限られず、揮発性(一時的)記憶手段である例
えばDRAMを含む任意の記憶手段も適用対象である。
DRAMは一般的には実行用メモリとして使用される
が、特に上記記憶態様のうち、記憶態様1に関してはそ
の効果は主として欠陥補償の実行時に発揮されるから、
このような実行用メモリ上におけるアドレス配置が直接
的な意味を有している(もちろん非実行用メモリであっ
ても、これから実行用メモリへのデータロード時にアド
レスを並べ替えることなく効果を発揮できるという点で
有意であることは自明である)。
In the above description, an explicit example of the "storage means" for storing the defect data is an EEPROM, but the present invention is not limited to this. An arbitrary example including a volatile (temporary) storage means such as a DRAM is used. The storage means is also applicable.
The DRAM is generally used as an execution memory, but among the above storage modes, the effect of the storage mode 1 is mainly exhibited when the defect compensation is executed.
Such an address arrangement on the execution memory has a direct meaning (of course, even for a non-execution memory, the effect can be exerted without rearranging addresses when data is loaded into the execution memory from now on). It is self-evident in that respect).

【0073】更に、上記実施形態には種々の段階の発明
が含まれており、開示される複数の構成要件における適
宜な組み合わせにより種々の発明が抽出され得る。例え
ば、実施形態に示される全構成要件から幾つかの構成要
件が削除されても、発明が解決しようとする課題の欄で
述べた課題が解決でき、発明の効果の欄で述べられてい
る効果が得られる場合には、この構成要件が削除された
構成が発明として抽出され得る。
Furthermore, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent features. For example, even if some components are deleted from all the components shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effects described in the column of the effect of the invention can be solved. Is obtained, a configuration from which this configuration requirement is deleted can be extracted as an invention.

【0074】[0074]

【発明の効果】以上説明したように、本発明によれば、
複数の欠陥が隣接して発生した場合の画質劣化を低減す
ることが可能となる。
As described above, according to the present invention,
It is possible to reduce image quality degradation when a plurality of defects occur adjacent to each other.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態に係わるディジタルカメラ
の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a digital camera according to an embodiment of the present invention.

【図2】同実施形態で用いられる欠陥データの記憶態様
を説明するための図。
FIG. 2 is an exemplary view for explaining a storage mode of defect data used in the embodiment;

【図3】同実施形態で用いられる欠陥補償処理の第1の
手順を示すフローチャート。
FIG. 3 is an exemplary flowchart showing a first procedure of a defect compensation process used in the embodiment.

【図4】同実施形態において欠陥画素が隣接して発生し
た場合における欠陥補償処理の原理を説明するための
図。
FIG. 4 is an exemplary view for explaining the principle of defect compensation processing when defective pixels occur adjacent to each other in the embodiment.

【図5】同実施形態で用いられる欠陥補償処理の第2の
手順を示すフローチャート。
FIG. 5 is a flowchart showing a second procedure of the defect compensation processing used in the embodiment.

【図6】同実施形態で用いられる欠陥補償処理の第3の
手順を示すフローチャート。
FIG. 6 is an exemplary flowchart showing a third procedure of the defect compensation processing used in the embodiment.

【図7】同実施形態で用いられる欠陥データ更新処理の
第1の手順を示すフローチャート。
FIG. 7 is an exemplary flowchart showing a first procedure of a defect data updating process used in the embodiment;

【図8】同実施形態で用いられる欠陥データ更新処理の
第2の手順を示すフローチャート。
FIG. 8 is an exemplary flowchart showing a second procedure of a defect data updating process used in the embodiment.

【図9】同実施形態で用いられる欠陥データ更新処理の
第2の手順を示すフローチャート。
FIG. 9 is an exemplary flowchart showing a second procedure of the defect data updating process used in the embodiment.

【符号の説明】[Explanation of symbols]

101…レンズ系 102…レンズ駆動機構 103…露出制御機構 104…フィルタ系 105…CCDカラー撮像素子 106…CCDドライバ 107…プリプロセス回路 108…ディジタルプロセス回路 109…カードインターフェース 110…メモリカード 111…LCD画像表示系 112…システムコントローラ(CPU) 112a…欠陥補償制御部 112b…欠陥データ検出部 112c…欠陥データ管理部 118…EEPROM DESCRIPTION OF SYMBOLS 101 ... Lens system 102 ... Lens drive mechanism 103 ... Exposure control mechanism 104 ... Filter system 105 ... CCD color image sensor 106 ... CCD driver 107 ... Preprocess circuit 108 ... Digital process circuit 109 ... Card interface 110 ... Memory card 111 ... LCD image Display system 112: System controller (CPU) 112a: Defect compensation control unit 112b: Defect data detection unit 112c: Defect data management unit 118: EEPROM

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成13年10月3日(2001.10.
3)
[Submission date] October 3, 2001 (2001.10.
3)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0002[Correction target item name] 0002

【補正方法】削除[Correction method] Deleted

フロントページの続き Fターム(参考) 4M118 AA07 AA09 AB01 BA10 FA06 GC08 GC11 GC14 5B047 AA05 AB02 BA03 BB04 CB25 DA06 5C024 CX23 GY01 HX57 5C077 LL04 MM03 MP01 PP06 PP10 PP46 PQ12 PQ18 PQ23 SS01Continued on front page F-term (reference) 4M118 AA07 AA09 AB01 BA10 FA06 GC08 GC11 GC14 5B047 AA05 AB02 BA03 BB04 CB25 DA06 5C024 CX23 GY01 HX57 5C077 LL04 MM03 MP01 PP06 PP10 PP46 PQ12 PQ18 PQ23 SS01

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】撮像素子と、 前記撮像素子の出力に対して前記撮像素子の欠陥画素ア
ドレスデータに基づいて近隣画素データによる補償処理
を行なう欠陥補償手段とを具備し、 前記欠陥補償手段は、少なくとも補償対象の欠陥画素ア
ドレスが互いに隣接する複数の欠陥に関しては、その欠
陥レベルが相対的に大きい欠陥に関する補償処理を先行
して行なうように構成されたものであることを特徴とす
る撮像装置。
1. An image pickup device, comprising: an image pickup device; and a defect compensation unit that performs compensation processing on output of the image pickup device with neighboring pixel data based on defective pixel address data of the image pickup device. An image pickup apparatus characterized in that at least a plurality of defects whose defect pixel addresses to be compensated are adjacent to each other are subjected to compensation processing for a defect having a relatively high defect level in advance.
【請求項2】前記欠陥補償手段は、各欠陥に関する補償
処理後のデータで前記撮像素子の出力を補正しながら次
に処理すべき欠陥に関する補償処理を実行するものであ
ることを特徴とする請求項1記載の撮像装置。
2. The method according to claim 1, wherein said defect compensating means executes a compensation process for a defect to be processed next while correcting an output of said image sensor with data after a compensation process for each defect. Item 2. The imaging device according to Item 1.
【請求項3】前記欠陥補償手段は、前記隣接する複数の
欠陥のなかで欠陥レベルが相対的に小さい欠陥に関して
は、その補償処理をそれに先行する補償処理で得られた
補償後データを用いて行うものであることを特徴とする
請求項1記載の撮像装置。
3. The defect compensating means, for a defect having a relatively low defect level among the plurality of adjacent defects, uses the compensated data obtained by a preceding compensation process to perform the compensation process. The imaging apparatus according to claim 1, wherein the imaging is performed.
【請求項4】撮像素子と、 前記撮像素子に被写体像を入力する撮像光学系と、 前記撮像素子の欠陥画素アドレスを、その欠陥画素の欠
陥の度合いに対応させて欠陥データとして記憶する記憶
手段と、 前記撮像素子の出力に対して前記記憶手段に記憶された
欠陥データに基づいて近隣画素データによる補償処理を
行なう欠陥補償手段とを具備し、 前記欠陥補償手段は欠陥画素に関する補償処理を前記欠
陥の度合いに基づいた順序で実行するように構成された
ものであることを特徴とする撮像装置。
4. An image pickup device, an image pickup optical system for inputting a subject image to the image pickup device, and storage means for storing a defective pixel address of the image pickup device as defect data in accordance with the degree of defect of the defective pixel. And a defect compensating means for performing compensation processing based on defect data stored in the storage means with respect to an output of the image sensor, wherein the defect compensating means performs compensation processing on the defective pixel. An imaging apparatus characterized by being configured to execute in the order based on the degree of a defect.
【請求項5】前記欠陥データの検出を実行する欠陥デー
タ検出手段と、 前記欠陥データ検出手段により新たに検出された欠陥デ
ータに基づいて前記記憶手段に記憶された欠陥データを
更新する欠陥データ管理手段とをさらに具備することを
特徴とする請求項4記載の撮像装置。
5. A defect data detecting means for detecting the defect data, and a defect data management for updating the defect data stored in the storage means based on the defect data newly detected by the defect data detecting means. 5. The imaging apparatus according to claim 4, further comprising: means.
【請求項6】前記欠陥データは、当該欠陥レベルが相対
的に大きい欠陥画素アドレスが前記補償処理実行時にお
ける前記記憶手段からの読み出し順序に関して先行する
記憶領域に位置するように前記記憶手段に記憶されてい
ることを特徴とする請求項4記載の撮像装置。
6. The defect data is stored in the storage means such that a defective pixel address having a relatively high defect level is located in a preceding storage area with respect to an order of reading from the storage means at the time of executing the compensation processing. The imaging device according to claim 4, wherein:
【請求項7】前記記憶手段には、欠陥画素それぞれの欠
陥画素アドレスと当該欠陥レベルの大きさに関する序列
情報とが前記欠陥データとして記憶されていることを特
徴とする請求項4記載の撮像装置。
7. The image pickup apparatus according to claim 4, wherein said storage means stores, as said defect data, a defective pixel address of each defective pixel and rank information relating to the magnitude of said defect level. .
【請求項8】前記記憶手段には、欠陥画素それぞれの欠
陥画素アドレスと当該欠陥画素の個別欠陥値とが前記欠
陥データとして記憶されていることを特徴とする請求項
4記載の撮像装置。
8. An imaging apparatus according to claim 4, wherein said storage means stores a defective pixel address of each defective pixel and an individual defect value of said defective pixel as said defect data.
【請求項9】前記記憶手段には、欠陥画素それぞれの欠
陥画素アドレスと当該欠陥画素の個別欠陥値とが前記欠
陥データとして記憶されており、 前記欠陥データ管理手段は、前記欠陥データ検出手段に
より新たに検出された欠陥データに基づいて前記記憶手
段に記憶された欠陥データを更新する場合、当該欠陥画
素アドレスに対応する個別欠陥値として、既に記憶され
ている個別欠陥値および検出された欠陥レベル値のうち
最大のものを適用するように構成されたものであること
を特徴とする請求項5記載の撮像装置。
9. The storage means stores a defective pixel address of each defective pixel and an individual defect value of the defective pixel as the defective data. When updating the defect data stored in the storage means based on the newly detected defect data, the individual defect value already stored and the detected defect level are used as the individual defect value corresponding to the defective pixel address. The imaging apparatus according to claim 5, wherein the apparatus is configured to apply a maximum value among the values.
【請求項10】前記撮像光学系から前記撮像素子への入
射光を遮断する遮光手段をさらに有し、前記欠陥データ
検出手段は、前記遮光手段により前記撮像光学系による
前記撮像素子への入射光を遮断しつつこの状態で得られ
る前記撮像素子の出力に基づいて前記欠陥データを検出
する白欠陥データ検出手段であることを特徴とする請求
項4記載の撮像装置。
10. An image pickup device according to claim 1, further comprising: a light blocking unit for blocking incident light from said image pickup optical system to said image pickup device, wherein said defect data detection unit receives said light incident on said image pickup device by said image pickup optical system by said light shield unit. The image pickup apparatus according to claim 4, wherein the image pickup device is a white defect data detection unit that detects the defect data based on an output of the image pickup element obtained in this state while shutting off.
【請求項11】撮像装置における画素欠陥を補正するた
めの画素欠陥補正方法であって、 前記撮像装置が有する撮像素子の欠陥画素アドレスデー
タに基づいて前記撮像素子の出力に対して近隣画素デー
タによる補償処理を行なうに際し、少なくとも補償対象
の欠陥画素アドレスが互いに隣接する複数の欠陥に関し
ては、その欠陥レベルが相対的に大きい欠陥に関する補
償処理を先行して行なうようにしたことを特徴とする画
素欠陥補正方法。
11. A pixel defect correction method for correcting a pixel defect in an image pickup apparatus, wherein an output of the image pickup element is determined by neighboring pixel data based on defective pixel address data of the image pickup element of the image pickup apparatus. In performing the compensation process, at least with respect to a plurality of defects whose defect pixel addresses to be compensated are adjacent to each other, the compensation process for a defect having a relatively large defect level is performed first. Correction method.
【請求項12】前記画素欠陥の補正は、各欠陥に関する
補償処理後のデータで前記撮像素子の出力を補正しなが
ら次に処理すべき欠陥に関する補償処理を実行すること
によって行われることを特徴とする請求項11記載の画
素欠陥補正方法。
12. The method according to claim 1, wherein the correction of the pixel defect is performed by executing a compensation process for a defect to be processed next while correcting an output of the image sensor with data after a compensation process for each defect. The pixel defect correction method according to claim 11, wherein
【請求項13】前記隣接する複数の欠陥のなかで欠陥レ
ベルが相対的に小さい欠陥に関しては、その補償処理を
それに先行する補償処理で得られた補償後データを用い
て行うことを特徴とする請求項11記載の画素欠陥補正
方法。
13. A method according to claim 1, wherein a defect having a relatively low defect level among the plurality of adjacent defects is compensated by using post-compensation data obtained by a preceding compensation process. The pixel defect correction method according to claim 11.
【請求項14】前記撮像装置が有する記憶手段に前記欠
陥画素アドレスを欠陥データとして記憶するに際して、
少なくとも補償対象の欠陥画素アドレスが互いに隣接す
る複数の欠陥に関しては、その欠陥レベルが相対的に大
きい欠陥のアドレスを、前記補償処理実行時における前
記記憶手段からの読み出し順序に関して先行する記憶領
域に記憶するようにしたことを特徴とする請求項11記
載の画素欠陥補正方法。
14. When storing said defective pixel address as defective data in storage means of said imaging device,
At least with respect to a plurality of defects whose defective pixel addresses to be compensated are adjacent to each other, the address of the defect having a relatively large defect level is stored in a storage area preceding in the order of reading from the storage means at the time of executing the compensation processing. 12. The pixel defect correction method according to claim 11, wherein the correction is performed.
JP2001133438A 2001-04-27 2001-04-27 Imaging apparatus and pixel defect correction method Expired - Fee Related JP4546664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001133438A JP4546664B2 (en) 2001-04-27 2001-04-27 Imaging apparatus and pixel defect correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001133438A JP4546664B2 (en) 2001-04-27 2001-04-27 Imaging apparatus and pixel defect correction method

Publications (2)

Publication Number Publication Date
JP2002330353A true JP2002330353A (en) 2002-11-15
JP4546664B2 JP4546664B2 (en) 2010-09-15

Family

ID=18981300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001133438A Expired - Fee Related JP4546664B2 (en) 2001-04-27 2001-04-27 Imaging apparatus and pixel defect correction method

Country Status (1)

Country Link
JP (1) JP4546664B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136970A (en) * 2003-10-08 2005-05-26 Canon Inc Image processor and image processing method
JP2010050656A (en) * 2008-08-21 2010-03-04 Panasonic Corp Defective pixel detector and defective pixel correction device
US7876369B2 (en) 2006-11-20 2011-01-25 Sony Corporation Image processing apparatus, image processing method, and program
WO2013099917A1 (en) 2011-12-28 2013-07-04 富士フイルム株式会社 Imaging device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059690A (en) * 1998-08-11 2000-02-25 Konica Corp Electronic camera and signal correcting method
JP2000059689A (en) * 1998-08-06 2000-02-25 Sharp Corp Defect pixel detection.correction device for solid-state age pickup element
JP2000184289A (en) * 1998-12-18 2000-06-30 Fuji Photo Film Co Ltd Defective pixel correction device for image pickup device and its method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3153949B2 (en) * 1993-08-11 2001-04-09 ソニー株式会社 Device for automatically detecting defective pixels in solid-state image sensor, method for automatically detecting defective pixels in solid-state image sensor, automatic defect correction device, and camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059689A (en) * 1998-08-06 2000-02-25 Sharp Corp Defect pixel detection.correction device for solid-state age pickup element
JP2000059690A (en) * 1998-08-11 2000-02-25 Konica Corp Electronic camera and signal correcting method
JP2000184289A (en) * 1998-12-18 2000-06-30 Fuji Photo Film Co Ltd Defective pixel correction device for image pickup device and its method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136970A (en) * 2003-10-08 2005-05-26 Canon Inc Image processor and image processing method
US7876369B2 (en) 2006-11-20 2011-01-25 Sony Corporation Image processing apparatus, image processing method, and program
JP2010050656A (en) * 2008-08-21 2010-03-04 Panasonic Corp Defective pixel detector and defective pixel correction device
WO2013099917A1 (en) 2011-12-28 2013-07-04 富士フイルム株式会社 Imaging device
US8970747B2 (en) 2011-12-28 2015-03-03 Fujifilm Corporation Imaging device

Also Published As

Publication number Publication date
JP4546664B2 (en) 2010-09-15

Similar Documents

Publication Publication Date Title
US7557841B2 (en) Imaging apparatus that detects pixel defect of an imaging element and imaging method
JP5266957B2 (en) Defective pixel detection device, imaging device, and defective pixel detection method
US7852383B2 (en) Image pickup apparatus
EP1250000A2 (en) Defective pixel correction method and system
JP4546664B2 (en) Imaging apparatus and pixel defect correction method
JP5057618B2 (en) Imaging device
JP2003046871A (en) Image pickup device
JP2001177768A (en) Image pickup device
JP2004064512A (en) Method and device for detecting defective pixel, and image pickup device
JP2002281395A (en) Imaging system
JP2002281388A (en) Imaging system
JP4311833B2 (en) Imaging device
JP2002281394A (en) Imaging system
JP4454771B2 (en) Imaging device
JP2002281389A (en) Imaging system
JP4515627B2 (en) Imaging device
JP2003143488A (en) Image pickup device
JP2002281391A (en) Imaging system
JP2002152601A (en) Solid-state imaging unit and method for correcting defective pixel
JP2002281392A (en) Imaging system
JP4499946B2 (en) Imaging device
JP2001292377A (en) Imaging apparatus
JP4266445B2 (en) Imaging device
JP4394470B2 (en) Imaging device
JP2002281393A (en) Imaging system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100303

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100629

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100702

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees