JP2002218485A - Image data correction method and electronic camera - Google Patents

Image data correction method and electronic camera

Info

Publication number
JP2002218485A
JP2002218485A JP2001011310A JP2001011310A JP2002218485A JP 2002218485 A JP2002218485 A JP 2002218485A JP 2001011310 A JP2001011310 A JP 2001011310A JP 2001011310 A JP2001011310 A JP 2001011310A JP 2002218485 A JP2002218485 A JP 2002218485A
Authority
JP
Japan
Prior art keywords
pixel
image data
image
defective pixel
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001011310A
Other languages
Japanese (ja)
Inventor
Kiichi Hayashida
貴一 林田
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2001011310A priority Critical patent/JP2002218485A/en
Publication of JP2002218485A publication Critical patent/JP2002218485A/en
Pending legal-status Critical Current

Links

Landscapes

  • Solid State Image Pick-Up Elements (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image data correction method and an electronic camera that can properly correct image data with respect to a defective pixel whose number is increased/decreased depending on a change in an operating environment and narrows down image data to be corrected to ensure quick processing. SOLUTION: When the humidity around a solid-state image pickup element is low at actual image pickup, quick correction processing is applied to image data by reducing number of pixels that are an object of image data correction. On the other hand, when the humidity around the solid-state image pickup element is high, increasing number of target pixels for image data correction to a degree of necessity can enhance the image quality.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画素欠陥を含んだ
固体撮像素子からの画像データを補正する画像データ補
正方法及びそれを用いた電子カメラに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image data correction method for correcting image data from a solid-state imaging device containing a pixel defect and an electronic camera using the same.

【0002】[0002]

【従来の技術】電子カメラに備えられた固体撮像素子
は、二次元に並んだ多数の画素により、画素上に結像し
た被写体の光学像を、電荷量(電気的信号)に変換して
出力する機能を有している。ところで、かかる画素の中
には、ダストの付着や結晶欠陥等に基づく欠陥(画素欠
陥)を有するために、正常な信号を出力し得ないものも
ありえる。このような画素欠陥には、被写体の輝度に対
応して出力されるはずの出力信号に対し余分な信号成分
を加算した信号を出力してしまい、画像を白っぽくして
しまう白キズと、被写体の輝度に対応して出力されるは
ずの出力信号に対しある信号成分を減算した信号を出力
してしまい、画像を黒っぽくしてしまう黒キズとがあ
る。
2. Description of the Related Art A solid-state imaging device provided in an electronic camera converts an optical image of a subject formed on a pixel into a charge (electric signal) by using a large number of pixels arranged two-dimensionally and outputs the charge. It has the function to do. By the way, some of such pixels may not be able to output a normal signal because they have a defect (pixel defect) based on dust adhesion, crystal defect or the like. For such a pixel defect, a signal that is obtained by adding an extra signal component to an output signal that should be output in accordance with the luminance of the subject is output, resulting in a white flaw that makes an image whitish, There is a black flaw that outputs a signal obtained by subtracting a certain signal component from an output signal that should be output in accordance with the luminance, thereby making an image blackish.

【0003】画素欠陥が多く生じると、かかる固体撮像
素子を用いて撮像した画像を再生する場合、著しく画質
が低下する恐れがある。一方、近年用いられるようにな
った固体撮像素子は、少なくとも数十万以上の画素を有
するので、全く画素欠陥のない固体撮像素子を製造する
ことは、実際には困難といえる。従って、ある程度の画
素欠陥は常に存在するとの前提に立った上で、固体撮像
素子を使用することが要求されている。
[0003] When many pixel defects occur, when an image captured using such a solid-state imaging device is reproduced, the image quality may be significantly reduced. On the other hand, since a solid-state imaging device that has recently been used has at least several hundred thousand pixels, it can be said that it is actually difficult to manufacture a solid-state imaging device having no pixel defect. Therefore, it is required to use a solid-state imaging device on the assumption that a certain degree of pixel defect always exists.

【0004】かかる前提に基づき、画素欠陥のある画素
から出力された電気的信号を、後処理により補正する補
正回路を備え、画質の向上を図るようにした電子カメラ
が既に開発されている。このような電子カメラによれ
ば、工場出荷時に画素欠陥検査装置を用いて固体撮像素
子の画素欠陥のある画素(欠陥画素)を検出し、その位
置を、たとえば電子カメラに付随するROMに情報とし
て記憶させることにより、実施の撮像時に、かかる欠陥
画素からの出力信号を適宜補正するという手法をとって
いる。
[0004] On the basis of such a premise, an electronic camera which has a correction circuit for correcting an electric signal output from a pixel having a pixel defect by post-processing to improve the image quality has already been developed. According to such an electronic camera, a pixel having a pixel defect (defective pixel) of the solid-state imaging device is detected by using a pixel defect inspection device at the time of shipment from a factory, and its position is stored as information in, for example, a ROM attached to the electronic camera. By storing the information, an output signal from the defective pixel is appropriately corrected at the time of actual imaging.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述した欠
陥画素が、固体撮像素子の使用環境に応じて変動する場
合があることが判明した。例えば、固体撮像素子周囲の
湿度が変化すると、欠陥画素が増減することがある。か
かる場合、工場出荷時に一定の条件の下に検出した欠陥
画素の位置と異なる位置に、新たな欠陥画素が生じるこ
ととなるため、十分な補正ができないことも起こりう
る。
By the way, it has been found that the above-mentioned defective pixels may fluctuate depending on the use environment of the solid-state imaging device. For example, when the humidity around the solid-state imaging device changes, the number of defective pixels may increase or decrease. In such a case, since a new defective pixel is generated at a position different from the position of the defective pixel detected under certain conditions at the time of factory shipment, sufficient correction may not be performed.

【0006】更に、工場出荷時に判明している欠陥画素
であっても、実際の撮像時において、ほとんど問題にな
らないものも存在する。例えば実際の撮像時に、特定の
画像処理手法で、撮像素子から得られた画像データに画
像処理を施した場合、かかる画像処理により画素欠陥が
目立たなくなることがある。また、特定の色に関しては
画素欠陥があっても目立たないということもある。その
ような場合にも、全ての欠陥画素の位置までROMに記
憶しなければならないとすると、検出の手間がかかり、
ある程度ROMの容量を確保しなければならなず、実際
の撮像時に画像データを補正する手間がかかるという問
題がある。
Further, there are some defective pixels which are known at the time of shipment from the factory and which cause almost no problem in actual imaging. For example, when image processing is performed on image data obtained from an image sensor by a specific image processing method during actual imaging, pixel defects may not be noticeable due to such image processing. In addition, a specific color may not be noticeable even if there is a pixel defect. Even in such a case, if it is necessary to store in the ROM up to the positions of all the defective pixels, it takes time and effort for detection,
There is a problem in that it is necessary to secure a certain amount of ROM capacity, and it takes time and effort to correct image data at the time of actual imaging.

【0007】本発明は、かかる従来技術の問題点に鑑み
てなされた問題であり、使用環境の変化に応じて増減す
る欠陥画素に関して、画像データを適宜補正することが
でき、又補正すべき画像データを絞り込むことで迅速な
処理を確保することが可能な画像データ補正方法及び電
子カメラを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and it is possible to appropriately correct image data with respect to defective pixels which increase or decrease in accordance with a change in a use environment. It is an object of the present invention to provide an image data correction method and an electronic camera capable of securing quick processing by narrowing down data.

【0008】[0008]

【課題を解決するための手段】上述の目的を達成すべ
く、第1の本発明の画像データ補正方法は、電子カメラ
の撮像素子の周辺の湿度を変化させながら、前記撮像素
子の欠陥画素を求め、湿度と対応づけた欠陥画素の位置
を記憶し、実際の撮像時に前記撮像素子の周辺の湿度を
測定し、測定された湿度と、記憶された欠陥画素の位置
とに基づき、前記撮像素子から出力される画像データを
補正することを特徴とする。
In order to achieve the above object, a first method of correcting image data according to the present invention is to remove defective pixels of the image sensor while changing the humidity around the image sensor of the electronic camera. Calculate and store the position of the defective pixel associated with the humidity, measure the humidity around the image sensor at the time of actual imaging, and based on the measured humidity and the position of the stored defective pixel, the image sensor Wherein the image data output from is corrected.

【0009】第2の本発明の画像データ補正方法は、複
数の色フィルタを備えた、電子カメラの撮像素子の画素
のうち、特定色に対応する画素について欠陥画素を求
め、その位置を記憶し、実際の撮像時に、記憶された欠
陥画素の位置に基づいて、前記撮像素子から出力される
画像データを補正することを特徴とする。
According to a second aspect of the present invention, there is provided an image data correcting method for obtaining a defective pixel for a pixel corresponding to a specific color among pixels of an image pickup device of an electronic camera provided with a plurality of color filters, and storing the position thereof. During actual imaging, the image data output from the image sensor is corrected based on the stored position of the defective pixel.

【0010】第3の本発明の画像データ補正方法は、欠
陥画素を含む撮像素子からの画像データを画像処理した
後に、画素欠陥のレベルが所定範囲を超える場合には、
対応する欠陥画素の位置を記憶し、実際の撮像時に、記
憶された位置に基づき、前記欠陥画素からのデータを補
正することによって画像データを取得することを特徴と
する。
The image data correction method according to a third aspect of the present invention is characterized in that, after image processing of image data from an image sensor including defective pixels, when the level of pixel defects exceeds a predetermined range,
The position of the corresponding defective pixel is stored, and at the time of actual imaging, image data is obtained by correcting data from the defective pixel based on the stored position.

【0011】第4の本発明の画像データ補正方法は、欠
陥画素を含む撮像素子からの画像データを、複数の異な
る画像処理手法により画像処理した後に、画素欠陥のレ
ベルが所定範囲を超える場合には、欠陥画素の位置を、
画像処理に用いた画像処理手法に対応づけて記憶し、実
際の撮像時に、使用する画像処理手法と、記憶された位
置とに基づき、前記欠陥画素からのデータを補正するこ
とによって画像データを取得することを特徴とする。
According to a fourth aspect of the present invention, there is provided a method for correcting image data including a case where the level of a pixel defect exceeds a predetermined range after image processing of image data from an image sensor including a defective pixel by a plurality of different image processing techniques. Indicates the position of the defective pixel,
The image data is stored in association with the image processing method used in the image processing, and the image data is obtained by correcting the data from the defective pixel based on the image processing method to be used and the stored position at the time of actual imaging. It is characterized by doing.

【0012】[0012]

【作用】第1の本発明の画像データ補正方法は、電子カ
メラの撮像素子の周辺の湿度を変化させながら、前記撮
像素子の欠陥画素を求め、湿度と対応づけた欠陥画素の
位置を記憶し、実際の撮像時に前記撮像素子の周辺の湿
度を測定し、測定された湿度と、記憶された欠陥画素の
位置とに基づき、前記撮像素子から出力される画像デー
タを補正するので、たとえば実際の撮像時において、固
体撮像素子の周辺の湿度が低い場合には、画像データを
補正する対象となる画素を少なくすることで、画像デー
タの補正処理を迅速に行うことができる。一方、固体撮
像素子の周辺の湿度が高い場合には、画像データを補正
する対象となる画素を必要な程度に多くすることで、画
質の向上を図ることができる。
According to the first image data correcting method of the present invention, a defective pixel of the image sensor is obtained while changing the humidity around the image sensor of the electronic camera, and the position of the defective pixel associated with the humidity is stored. During actual imaging, the humidity around the image sensor is measured, and based on the measured humidity and the position of the stored defective pixel, the image data output from the image sensor is corrected. If the humidity around the solid-state imaging device is low during imaging, the image data correction process can be performed quickly by reducing the number of pixels for which image data is to be corrected. On the other hand, when the humidity around the solid-state imaging device is high, the image quality can be improved by increasing the number of pixels for which image data is to be corrected to a necessary extent.

【0013】第2の本発明の画像データ補正方法は、複
数の色フィルタを備えた、電子カメラの撮像素子の画素
のうち、特定色に対応する画素について欠陥画素を求
め、その位置を記憶し、実際の撮像時に、記憶された欠
陥画素の位置に基づいて、前記撮像素子から出力される
画像データを補正するので、画像の形成にほとんど影響
のない前記特定色以外の色に対応する画素の画像データ
については、補正しないことで、画像データの処理速度
を高めることができる。又、前記特定色以外の色に対応
する画素については、予め検出する手間が省け、欠陥画
素の位置を記憶する容量も小さくて足りる。
According to a second image data correction method of the present invention, a defective pixel is determined for a pixel corresponding to a specific color among pixels of an image sensor of an electronic camera provided with a plurality of color filters, and the position of the defective pixel is stored. At the time of actual imaging, since the image data output from the image sensor is corrected based on the position of the stored defective pixel, pixels corresponding to colors other than the specific color, which hardly affect image formation, are corrected. By not correcting the image data, the processing speed of the image data can be increased. In addition, for a pixel corresponding to a color other than the specific color, it is not necessary to detect the pixel in advance, and the capacity for storing the position of the defective pixel is small.

【0014】前記特定色は、前記色フィルタとしてRG
Bフィルタを用いた場合には、G色であると好ましい。
尚、Rは赤色、Gは緑色、Bは青色を表すものとする。
The specific color is RG as the color filter.
When a B filter is used, the color is preferably G color.
Note that R represents red, G represents green, and B represents blue.

【0015】第3の本発明の画像データ補正方法は、欠
陥画素を含む撮像素子からの画像データを画像処理した
後に、画素欠陥のレベルが所定範囲を超える場合(超え
ると推定される場合を含む)には、対応する欠陥画素の
位置を記憶し、実際の撮像時に、記憶された位置に基づ
き、前記欠陥画素からのデータを補正することによって
画像データを取得するので、画像処理を施すことによっ
て画素欠陥のレベルが所定範囲内に収まれば、それに対
応する画素の位置を記憶する必要がなく、記憶容量の低
減が図れ、又画像処理時間の短縮を図ることができる。
The image data correction method according to the third aspect of the present invention includes a case where the level of a pixel defect exceeds a predetermined range (including a case where the level is estimated to exceed) after image processing is performed on image data from an image sensor including a defective pixel. ), The position of the corresponding defective pixel is stored, and at the time of actual imaging, image data is obtained by correcting data from the defective pixel based on the stored position, so that image processing is performed. If the level of the pixel defect falls within the predetermined range, it is not necessary to store the position of the corresponding pixel, so that the storage capacity can be reduced and the image processing time can be shortened.

【0016】第4の本発明の画像データ補正方法は、欠
陥画素を含む撮像素子からの画像データを、複数の異な
る画像処理手法により画像処理した後に、画素欠陥のレ
ベルが所定範囲を超える場合(超えると推定される場合
を含む)には、欠陥画素の位置を、画像処理に用いた画
像処理手法に対応づけて記憶し、実際の撮像時に、使用
する画像処理手法と、記憶された位置とに基づき、前記
欠陥画素からのデータを補正することによって画像デー
タを取得するので、いずれかの画像処理手法を用いて画
像処理を施すことにより画素欠陥のレベルが所定範囲内
に収まれば、それに対応する画素の位置を記憶する必要
がなく、記憶容量の低減が図れ、又画像処理時間の短縮
を図ることができる。又、複数のの画像処理手法を用い
る場合には、有効である。
The image data correction method according to the fourth aspect of the present invention provides a method for processing image data from an image pickup device including a defective pixel using a plurality of different image processing techniques, and thereafter, when the level of pixel defects exceeds a predetermined range ( (Including the case where it is estimated to exceed), the position of the defective pixel is stored in association with the image processing method used for image processing, and the image processing method to be used at the time of actual imaging and the stored position The image data is obtained by correcting the data from the defective pixel based on the above.If the level of the pixel defect falls within a predetermined range by performing the image processing using any of the image processing methods, It is not necessary to store the positions of the pixels to be processed, the storage capacity can be reduced, and the image processing time can be shortened. It is effective when a plurality of image processing methods are used.

【0017】更に、前記画素欠陥のレベルが所定範囲を
超えたかどうか判断するために、前記レベルと比較され
る閾値は、前記撮像素子の色フィルタの各色に対応する
画素毎に異なっていると好ましい。
Further, in order to determine whether or not the level of the pixel defect exceeds a predetermined range, it is preferable that a threshold value to be compared with the level is different for each pixel corresponding to each color of the color filter of the image sensor. .

【0018】[0018]

【発明の実施の形態】以下、本発明による実施の形態
を、図面を参照して説明する。図1は、本実施の形態に
かかる電子カメラとしてのデジタルスチルカメラの構成
を示す図である。図1において、固体撮像素子としての
CCD(Charge CoupledDevice)
イメージセンサ1は、その画素上に結像された被写体の
光学像を電気的信号に変換する(電荷を生成する)、い
わゆる光電変換を行うものであり、駆動回路2は、転送
パルスを生成して、CCD1に供給する回路である。C
CD1は、駆動回路2によって生成された転送パルスに
基づいて、アナログ電気信号を出力する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a configuration of a digital still camera as an electronic camera according to the present embodiment. In FIG. 1, a CCD (Charge Coupled Device) as a solid-state imaging device is used.
The image sensor 1 performs a so-called photoelectric conversion, which converts an optical image of a subject formed on the pixel into an electric signal (generates an electric charge), and the drive circuit 2 generates a transfer pulse. And a circuit for supplying to the CCD1. C
The CD 1 outputs an analog electric signal based on the transfer pulse generated by the drive circuit 2.

【0019】CDS(相関二重サンプリング)回路3は
ノイズを低減するための回路であり、駆動回路2から出
力された駆動パルスに基づいて駆動される。A/D変換
回路4は、入力されたアナログ信号をディジタル信号に
変換して出力するものである。尚、本実施の形態にかか
るA/D変換回路4においては、CCD1上の画素に入
射した光の強度が高いほど、大きな値のディジタル信号
に変換されるものとする。かかるA/D変換回路4を介
して得られたCCD1の画素毎の画像データは、一旦、
画像用メモリ5に記憶される。
A CDS (correlated double sampling) circuit 3 is a circuit for reducing noise, and is driven based on a driving pulse output from the driving circuit 2. The A / D conversion circuit 4 converts an input analog signal into a digital signal and outputs the digital signal. In the A / D conversion circuit 4 according to the present embodiment, it is assumed that the higher the intensity of the light incident on the pixels on the CCD 1, the larger the value of the light is converted to a digital signal. Image data for each pixel of the CCD 1 obtained through the A / D conversion circuit 4 is temporarily
It is stored in the image memory 5.

【0020】画像用メモリ5に記憶された画像データ
は、CPU6によって各種の画像処理が施され、最終的
には、メモリカード、光磁気ディスク等の記録媒体から
なる記録部7に記憶される。
The image data stored in the image memory 5 is subjected to various types of image processing by the CPU 6 and is finally stored in a recording unit 7 composed of a recording medium such as a memory card or a magneto-optical disk.

【0021】ここで、各種の画像処理には、CCD1の
欠陥画素の画像データを補正する処理が含まれる。後述
するように、CPU6は欠陥画素の検出を行って、欠陥
画素の位置情報(座標)を、制御回路8に備えられたメ
モリ9に記憶させるようになっており、欠陥画素の画像
データの補正処理においては、メモリ9から、かかる位
置情報を読み出して補正を行うようになっている。尚、
欠陥画素の検出に用いる各種のデータも、メモリ9に記
憶されている。
Here, various types of image processing include processing for correcting image data of defective pixels of the CCD 1. As described later, the CPU 6 detects a defective pixel, and stores the position information (coordinates) of the defective pixel in a memory 9 provided in the control circuit 8, and corrects the image data of the defective pixel. In the processing, such position information is read out from the memory 9 to perform correction. still,
Various data used for detecting a defective pixel are also stored in the memory 9.

【0022】液晶表示装置10は、撮像された画像や必
要な操作情報等を表示するものである。CCD1の前面
には、被写体からの光を画素上に結像させるためのレン
ズ11と、入射光の光量を調節する絞り12と、CCD
1の温度を検出する温度センサ13とが備えられてお
り、温度センサ13の検出信号は制御回路8に入力され
るようになっている。
The liquid crystal display device 10 displays a captured image, necessary operation information, and the like. On the front surface of the CCD 1, a lens 11 for imaging light from a subject on a pixel, an aperture 12 for adjusting the amount of incident light, and a CCD
And a temperature sensor 13 for detecting the temperature of the temperature sensor 1. The detection signal of the temperature sensor 13 is input to the control circuit 8.

【0023】更に、被写体までの測距手段(不図示)が
備えられ、かかる測距手段からの信号により、制御回路
8は、レンズ駆動回路14を駆動し、合焦位置にレンズ
11を移動させるようになっている。また、電源スイッ
チ15及び、画素欠陥の検出を行わせる検出モードを選
択するためのモードスイッチ16(モード選択手段)が
備えられ、かかるスイッチの動作に基づく信号が制御回
路8に入力されるようになっている。一方、湿度計17
が制御回路8に接続されている。湿度計17は、CCD
1周辺の撮像時における湿度を検出して、対応する信号
を制御回路8に出力するようになっている。尚、拡散板
21は、黒キズと呼ばれる画素欠陥の検出時に用いられ
るものであり、白キズと呼ばれる画素欠陥の検出時には
用いられない。
Further, a distance measuring means (not shown) to the subject is provided, and the control circuit 8 drives the lens driving circuit 14 to move the lens 11 to a focus position by a signal from the distance measuring means. It has become. Further, a power switch 15 and a mode switch 16 (mode selection means) for selecting a detection mode for detecting a pixel defect are provided, and a signal based on the operation of the switch is input to the control circuit 8. Has become. Meanwhile, the hygrometer 17
Are connected to the control circuit 8. The hygrometer 17 is a CCD
The humidity at the time of imaging of one area is detected, and a corresponding signal is output to the control circuit 8. The diffusion plate 21 is used for detecting a pixel defect called a black defect, and is not used for detecting a pixel defect called a white defect.

【0024】次に、欠陥画素の検出について説明する。
デジタルスチルカメラが組み立てられた状態で、電源ス
イッチ15が投入されると、かかるスイッチ信号が制御
回路8に入力され、制御回路8によって絞り12(光量
調節手段)を全閉に制御し、この状態でCCD1により
入射光を制限した状態で、湿度を変えながら複数画面分
撮像を行う。かかる撮像によるCCD1からの出力は、
画像用メモリ5に蓄積され、CPU6は予めメモり9に
記憶されている画素欠陥判定用の閾値(基準データ)と
各画素毎の画像データすなわち出力信号とをそれぞれ比
較する。尚、この基準データは、撮像した画像データを
用い、検出する画素の周辺データから平均等により求め
るようにしても良い。
Next, detection of a defective pixel will be described.
When the power switch 15 is turned on in a state where the digital still camera is assembled, the switch signal is input to the control circuit 8, and the control circuit 8 controls the aperture 12 (light amount adjusting means) to be fully closed. In the state where incident light is restricted by the CCD 1, imaging is performed for a plurality of screens while changing humidity. The output from the CCD 1 by this imaging is
The CPU 6 compares the threshold value (reference data) for pixel defect determination stored in the memory 9 in advance with the image data for each pixel, that is, the output signal. Note that the reference data may be obtained by averaging the peripheral data of the pixel to be detected, using captured image data.

【0025】基準データの求め方を、図面を参照して以
下に説明する。まず、図2に示すような3色(仮にA
色、B色、C色とする)の色フィルタが画素毎に配置さ
れている場合を考える。図3(a)〜(c)は、一例と
してA色のフィルタが2次元的に並べられた状態を示し
ており、説明を簡略化するために、それ以外の色のフィ
ルタについては省略している。
The method of obtaining the reference data will be described below with reference to the drawings. First, three colors as shown in FIG.
Consider a case in which color filters of colors B, C, and C) are arranged for each pixel. 3A to 3C show a state in which filters of the color A are two-dimensionally arranged as an example. For simplicity of description, filters of other colors are omitted. I have.

【0026】例えば図3(a)において、注目画素AA
に対して、周囲9画素四方のエリア内の注目画素におけ
る24個の同じ色(A色)の画素のデータを用いて、基
準データを計算するものとする。まず、24個の画素の
データ平均値を求める。この平均値をこの画素に対する
第1の基準データとする。注目画素のデータと、この第
1の基準データとを比較し、差を求め、この差をキズレ
ベルとする。実際の撮像時に行う画像処理を行うとキズ
レベルが閾値を超えると推定される場合、画素欠陥が所
定の許容範囲を超えたと認識し、その位置情報をメモリ
に記憶する。尚、実際の撮像時に行う画像処理を画像デ
ータに施した後、注目画素のデータと、この第1の基準
データとを比較し、その差をキズレベルとして閾値と比
較することで、画素欠陥を求めることも考えられる。こ
こで、かかるA色は、本実施の形態では緑(G)色であ
る。
For example, in FIG. 3A, the target pixel AA
On the other hand, reference data is calculated using data of 24 pixels of the same color (color A) in a pixel of interest in an area around nine pixels around. First, a data average value of 24 pixels is obtained. This average value is used as first reference data for this pixel. The data of the pixel of interest is compared with the first reference data to determine a difference, and the difference is set as a flaw level. If it is estimated that the flaw level exceeds the threshold value when image processing performed during actual imaging is performed, it is recognized that the pixel defect has exceeded a predetermined allowable range, and the position information is stored in the memory. Note that after performing image processing performed at the time of actual imaging on the image data, the data of the target pixel is compared with the first reference data, and the difference is compared with a threshold as a defect level, thereby obtaining a pixel defect. It is also possible. Here, the color A is green (G) in the present embodiment.

【0027】同様に、図3(a)、(b)において、注
目画素BB又はCCに対して、周囲9画素四方のエリア
内の注目画素における24個の同じ色(B色又はC色)
の画素のデータを用いて、基準データを計算するものと
する。まず、24個の画素のデータ平均値を求める。こ
の平均値をこの画素に対する第1の基準データとする。
注目画素のデータと、この第1の基準データとを比較
し、差を求め、この差をキズレベルとする。キズレベル
が閾値を超える場合、画素欠陥が所定の許容範囲を超え
たと認識し、その位置情報をメモリに記憶する。尚、実
際の撮像時に行う画像処理を画像データに施した後、注
目画素のデータと、この第1の基準データとを比較し、
その差をキズレベルとして閾値と比較することで、画素
欠陥を求めることも考えられる。
Similarly, in FIGS. 3 (a) and 3 (b), with respect to the target pixel BB or CC, 24 same colors (B color or C color) in the target pixel in the area of 9 surrounding pixels are squared.
It is assumed that reference data is calculated using the pixel data of. First, a data average value of 24 pixels is obtained. This average value is used as first reference data for this pixel.
The data of the pixel of interest is compared with the first reference data to determine a difference, and the difference is set as a flaw level. If the flaw level exceeds the threshold value, it is recognized that the pixel defect has exceeded a predetermined allowable range, and the position information is stored in the memory. After performing image processing performed at the time of actual imaging on the image data, the data of the pixel of interest is compared with the first reference data,
It is also conceivable to obtain a pixel defect by comparing the difference with a threshold value as a flaw level.

【0028】このとき検出するキズレベルについて、画
像データ全てに対して同じ範囲とするのではなく、ある
エリアを区切って、そのエリア毎に異なる基準で検出し
ても良い。たとえば、画面中央部と周辺部とに分けて、
中央部は5%以下、周辺部は10%以下というように、
キズ検出の条件を変えることができる。このときのパー
センテージは、注目画素の周辺24画素のデータ平均値
に対するキズレベルの比である。
The flaw level to be detected at this time may not be set to the same range for all the image data. Instead, a certain area may be divided and detected by a different reference for each area. For example, dividing the screen into a central part and a peripheral part,
The central part is less than 5%, the peripheral part is less than 10%,
The conditions for flaw detection can be changed. The percentage at this time is the ratio of the defect level to the data average value of the 24 pixels around the target pixel.

【0029】尚、A以外の色(B、C色)については、
画素欠陥を検出しないこともできる。緑色以外の赤色、
青色にかかる画素欠陥は、所定の画像処理の手法により
画像処理を施した場合においては、実際に人間の目で見
て、ほとんど無視できるものだからである。
For colors other than A (B and C colors),
Pixel defects may not be detected. Red other than green,
This is because, when image processing is performed by a predetermined image processing method, the pixel defect related to blue is almost negligible to the human eye.

【0030】上述した撮像によればCCD1の画素上に
は、入射光が到達しないのであるから、画素が正常であ
る限り、かかる画素からの出力信号は閾値未満となる。
従って、その出力信号が閾値以上である場合、白キズに
相当する欠陥があると判断する。かかる比較により白キ
ズが検出されることとなる。白キズが検出されれば、そ
れに対応する欠陥画素の位置情報(二次元座標)が、湿
度と対応づけた状態(例えばLUTの形で)制御回路8
のメモリ9に記憶されることとなる。尚、黒キズについ
ても同様に記憶することができる。
According to the above-described imaging, since the incident light does not reach the pixel of the CCD 1, the output signal from the pixel is less than the threshold as long as the pixel is normal.
Therefore, when the output signal is equal to or larger than the threshold, it is determined that there is a defect corresponding to a white defect. The white defect is detected by such a comparison. When a white defect is detected, the position information (two-dimensional coordinates) of the defective pixel corresponding to the white defect is associated with the humidity (for example, in the form of an LUT).
Will be stored in the memory 9. Note that black flaws can be similarly stored.

【0031】上述したようにして検出され、メモリ9に
記憶された欠陥画素の位置は、実際の被写体撮像時に読
み出され、画像にかかる出力信号の補正処理に用いられ
る。以下に、その態様を説明する。
The position of the defective pixel detected as described above and stored in the memory 9 is read out at the time of actual imaging of the subject, and is used for a process of correcting an output signal relating to the image. Hereinafter, the embodiment will be described.

【0032】図4は、本実施の形態にかかる電子カメラ
を用いて、実際に被写体を撮像する場合の処理を示すフ
ローチャートである。まず、図4のステップS101に
おいて、ユーザーが電源スイッチ15を投入(パワーO
N)することにより、フローが開始する。なお、ユーザ
ーが不図示のシャッタボタンを半押しすることにより、
スイッチSW1が投入(オン)され、全押しすることに
よりスイッチSW2が投入(オン)されるものとする。
FIG. 4 is a flowchart showing a process for actually photographing a subject using the electronic camera according to the present embodiment. First, in step S101 in FIG. 4, the user turns on the power switch 15 (power O
N) starts the flow. Note that when the user half-presses a shutter button (not shown),
It is assumed that the switch SW1 is turned on (ON), and the switch SW2 is turned on (ON) by fully pressing the switch.

【0033】ステップS102において、スイッチSW
1が投入されない場合には、電子カメラは待機状態に維
持されるが、スイッチSW1が投入されたとき、続くス
テップS103において、制御回路8による露出制御が
行われ、必要な絞り値とシャッタ速度から、露光時間が
決定される。
In step S102, the switch SW
When the switch 1 is not turned on, the electronic camera is maintained in a standby state. However, when the switch SW1 is turned on, in the next step S103, the exposure control by the control circuit 8 is performed, and the necessary aperture value and shutter speed are determined. , The exposure time is determined.

【0034】更に、ステップS104において、湿度計
17を用いて、CCD1の周囲の湿度が測定され、更
に、ステップS105で出力信号を補正すべき画素が決
定される。より具体的には、制御回路8は、湿度計17
により測定された湿度に基づき、メモリ9に記憶されて
いるLUTに当てはめて、かかる湿度において問題とな
る欠陥画素を求める。
Further, in step S104, the humidity around the CCD 1 is measured using the hygrometer 17, and in step S105, a pixel whose output signal is to be corrected is determined. More specifically, the control circuit 8 includes a hygrometer 17
Is applied to the LUT stored in the memory 9 on the basis of the humidity measured by the above to obtain a defective pixel which causes a problem at the humidity.

【0035】続くステップS106において、制御回路
8は、不図示の測距回路により被写体までの距離を求め
て、レンズ駆動回路14によりレンズ11を合焦位置へ
と駆動する。
In the following step S106, the control circuit 8 obtains the distance to the object by a distance measuring circuit (not shown), and drives the lens 11 to the in-focus position by the lens driving circuit 14.

【0036】更にステップS107において、スイッチ
SW2が投入されない(すなわち、シャッタボタンが全
押しされない)場合には、電子カメラは待機状態に維持
されるが、スイッチSW2が投入されたとき、続くステ
ップS108において、制御回路8によりシャッタが駆
動され、露光時間Tで露出が行われる。
In step S107, if the switch SW2 is not turned on (that is, the shutter button is not fully depressed), the electronic camera is kept in a standby state. However, when the switch SW2 is turned on, the process proceeds to step S108. The shutter is driven by the control circuit 8, and the exposure is performed for the exposure time T.

【0037】かかる露出によりCCD1に電荷が蓄積さ
れた後、ステップS109において、電荷の転送が行わ
れる。このように転送された電荷は、A/D変換後画像
用メモリ5に画素毎に、画像データとして記憶される。
After the electric charges are accumulated in the CCD 1 by the exposure, the electric charges are transferred in step S109. The charges transferred in this manner are stored as image data for each pixel in the A / D converted image memory 5.

【0038】ステップS110において、制御回路8
は、メモリ9に記憶された補正すべき画素の情報に基づ
き、画像用メモリ5に記憶された電荷に対して、白キズ
の補正を行う。尚、この補正の態様については、後述す
る。かかる補正の後、制御回路8は、ステップS111
においてCPU6により他の信号処理を行い、ステップ
S112においてかかる信号を圧縮する。制御回路8
は、最終的にステップS113において記録部7に画像
を記録し、その後フローをステップS102へと戻すよ
うになっている。
In step S110, the control circuit 8
Performs white flaw correction on the electric charge stored in the image memory 5 based on the information of the pixel to be corrected stored in the memory 9. The mode of this correction will be described later. After such correction, the control circuit 8 proceeds to step S111.
Then, the CPU 6 performs other signal processing, and compresses the signal in step S112. Control circuit 8
Finally, an image is recorded in the recording unit 7 in step S113, and thereafter, the flow returns to step S102.

【0039】次に、上述したステップS110における
白キズの補正の態様について述べる。まず、制御回路8
は、露光時間Tに基づき選択された補正すべき画素を、
メモリ9から読み出し、画像用メモリ5に記憶された画
像データにおける、かかる画素に対応する電荷量に補正
処理を加える。
Next, the manner of correcting white spots in step S110 will be described. First, the control circuit 8
Represents the pixel to be corrected selected based on the exposure time T,
The correction processing is performed on the charge amount corresponding to the pixel in the image data read from the memory 9 and stored in the image memory 5.

【0040】尚、本実施の形態における画像データの補
正においては、欠陥を有する画素に隣接する画素の電荷
量を平均することによって、かかる欠陥を有する画素の
電荷量を新たに求めるようにしている。しかしながら、
欠陥を有する画素からの電荷量に対して補正値を加減乗
除したり、補正項の乗除を行うことによっても、画像デ
ータの補正を行うことは可能である。
In the correction of the image data in the present embodiment, the charge amount of the defective pixel is newly obtained by averaging the charge amounts of the pixels adjacent to the defective pixel. . However,
It is also possible to correct image data by adding, subtracting, multiplying, and multiplying a correction value with respect to a charge amount from a defective pixel, or by multiplying and multiplying a correction term.

【0041】図2に示すように、カラーモザイクフィル
タがR、G、Bの3色のフィルタであり、フィルタ色A
(ここでは緑色)にかかる画素が欠陥画素であった場
合、以下のいずれかの計算式に基づき計算を行うことが
できる。
As shown in FIG. 2, the color mosaic filter is a filter of three colors of R, G and B, and a filter color A
When the pixel related to (here, green) is a defective pixel, the calculation can be performed based on any of the following formulas.

【0042】 (i)第1の計算式An、n=(An−1、n−1+An−1、n+1+An+ 1、n−1 +An+1、n+1)/4 (1) (ii)第2の計算式An、n=(An−2、n−2+An−2、n+An−2、 n+2 +An−1、n−1 +An−1、n+1+An、n−2+An、n+2 +An+1、n−1 +An+1、n+1+An+2、n−2+An+2、n+ An+2、n+2)/12 (2)(I) First calculation formula An, n = ( An-1, n-1 + An-1, n + 1 + An + 1, n-1 + An + 1, n + 1 ) / 4 (1) (ii) ) Second calculation formula An, n = ( An-2, n-2 + An-2, n + An-2, n + 2 + An-1, n-1 + An-1, n + 1 + An, n) −2 + An, n + 2 + An + 1, n−1 + An + 1, n + 1 + An + 2, n−2 + An + 2, n + An + 2, n + 2 ) / 12 (2)

【0043】上記(1)式の平均によれば、欠陥画素を
中心とする3×3画素領域内で、欠陥画素と同じA色の
カラーフィルタが設けられた4隅の4画素の電荷量の平
均値を、欠陥画素の電荷量に置き換えており、画質の向
上と処理速度の向上との調和を図ることができる。
According to the average of the above equation (1), within the 3 × 3 pixel area centered on the defective pixel, the charge amount of the four pixels at the four corners provided with the same A color filter as the defective pixel is calculated. Since the average value is replaced by the charge amount of the defective pixel, it is possible to achieve harmony between improvement in image quality and improvement in processing speed.

【0044】一方、上記(2)式の平均によれば、欠陥
画素を中心とする5×5画素領域内で、欠陥画素と同じ
A色のカラーフィルタが設けられた12画素の平均値
を、欠陥画素の電荷量に置き換えており、画質の向上を
図ることができる。
On the other hand, according to the average of the above equation (2), within a 5 × 5 pixel area centered on the defective pixel, the average value of 12 pixels provided with the same A color filter as the defective pixel is calculated as The charge amount of the defective pixel is replaced, and the image quality can be improved.

【0045】更に、カラーモザイクフィルタがR、G、
Bの3色のフィルタであり、フィルタ色B(ここでは青
色)にかかる画素が欠陥画素であった場合、以下のいず
れかの計算式に基づき計算を行うことができる。
Further, the color mosaic filters are R, G,
B is a filter of three colors, and when a pixel related to the filter color B (here, blue) is a defective pixel, the calculation can be performed based on any of the following formulas.

【0046】 (i)第1の計算式Bn、n=(Bn−1、n−1+Bn−1、n+1+Bn+ 1、n−1 +Bn+1、n+1)/4 (3) (ii)第2の計算式Bn、n=(Bn−2、n−2+Bn−2、n+Bn−2、 n+2 +Bn−1、n−1 +Bn−1、n+1+Bn、n−2+Bn、n+2 +Bn+1、n−1 +Bn+1、n+1+Bn+2、n−2+Bn+2、n+ Bn+2、n+2)/12 (4)(I) First calculation formula B n, n = (B n−1, n−1 + B n−1, n + 1 + B n + 1, n−1 + B n + 1, n + 1 ) / 4 (3) (ii) ) Second calculation formula Bn, n = ( Bn-2, n-2 + Bn-2, n + Bn-2, n + 2 + Bn-1, n-1 + Bn-1, n + 1 + Bn, n −2 + Bn, n + 2 + Bn + 1, n−1 + Bn + 1, n + 1 + Bn + 2, n−2 + Bn + 2, n + Bn + 2, n + 2 ) / 12 (4)

【0047】上記(3)式の平均によれば、欠陥画素を
中心とする3×3画素領域内で、欠陥画素と同じB色の
カラーフィルタが設けられた4隅の4画素の電荷量の平
均値を、欠陥画素の電荷量に置き換えており、画質の向
上と処理速度の向上との調和を図ることができる。
According to the average of the above equation (3), within the 3 × 3 pixel area centered on the defective pixel, the charge amount of the four pixels at the four corners provided with the same B color filter as the defective pixel is calculated. Since the average value is replaced by the charge amount of the defective pixel, it is possible to achieve harmony between improvement in image quality and improvement in processing speed.

【0048】一方、上記(4)式の平均によれば、欠陥
画素を中心とする5×5画素領域内で、欠陥画素と同じ
B色のカラーフィルタが設けられた12画素の平均値
を、欠陥画素の電荷量に置き換えており、画質の向上を
図ることができる。
On the other hand, according to the average of the above equation (4), the average value of 12 pixels provided with the same B color filter as the defective pixel in a 5 × 5 pixel area centered on the defective pixel is calculated as follows: The charge amount of the defective pixel is replaced, and the image quality can be improved.

【0049】更に、カラーモザイクフィルタがR、G、
Bの3色のフィルタであり、フィルタ色C(ここではR
色)にかかる画素が欠陥画素であった場合、以下のいず
れかの計算式に基づき計算を行うことができる。
Further, the color mosaic filters are R, G,
B is a filter of three colors, and a filter color C (here, R
When the pixel related to (color) is a defective pixel, the calculation can be performed based on any of the following formulas.

【0050】 (i)第1の計算式Cn、n=(Cn−1、n−1+Cn−1、n+1+Cn+ 1、n−1 +Cn+1、n+1)/4 (5) (ii)第2の計算式Cn、n=(Cn−2、n−2+Cn−2、n+Cn−2、 n+2 +Cn−1、n−1 +Cn−1、n+1+Cn、n−2+Cn、n+2 +Cn+1、n−1 +Cn+1、n+1+Cn+2、n−2+Cn+2、n+ Cn+2、n+2)/12 (6)(I) First calculation formula C n, n = (C n−1, n−1 + C n−1, n + 1 + C n + 1, n−1 + C n + 1, n + 1 ) / 4 (5) (ii) ) Second calculation formula Cn , n = (Cn -2, n-2 + Cn -2, n + Cn -2, n + 2 + Cn -1, n-1 + Cn -1, n + 1 + Cn , n −2 + Cn , n + 2 + Cn + 1, n−1 + Cn + 1, n + 1 + Cn + 2, n−2 + Cn + 2, n + Cn + 2, n + 2 ) / 12 (6)

【0051】上記(5)式の平均によれば、欠陥画素を
中心とする3×3画素領域内で、欠陥画素と同じC色の
カラーフィルタが設けられた4隅の4画素の電荷量の平
均値を、欠陥画素の電荷量に置き換えており、画質の向
上と処理速度の向上との調和を図ることができる。
According to the average of the above equation (5), within the 3 × 3 pixel area centered on the defective pixel, the charge amount of the four pixels at the four corners provided with the same C color filter as the defective pixel is calculated. Since the average value is replaced by the charge amount of the defective pixel, it is possible to achieve harmony between improvement in image quality and improvement in processing speed.

【0052】一方、上記(6)式の平均によれば、欠陥
画素を中心とする5×5画素領域内で、欠陥画素と同じ
C色のカラーフィルタが設けられた12画素の平均値
を、欠陥画素の電荷量に置き換えており、画質の向上を
図ることができる。
On the other hand, according to the average of the above equation (6), within the 5 × 5 pixel area centered on the defective pixel, the average value of 12 pixels provided with the same C color filter as the defective pixel is calculated as: The charge amount of the defective pixel is replaced, and the image quality can be improved.

【0053】以上述べたように本実施の形態によれば、
湿度を考慮して、補正すべき欠陥画素の数を決定するよ
うにしているので、環境の変化に応じた補正が可能とな
り、それにより画質の向上を図ることができる。
As described above, according to the present embodiment,
Since the number of defective pixels to be corrected is determined in consideration of humidity, it is possible to perform correction according to changes in the environment, thereby improving image quality.

【0054】また、RGB色フィルタを用いたようなと
きに、画像処理を施すことによって、R(赤)、B
(青)色に関して欠陥画素が目立たなくなるような場
合、欠陥画素をG(緑)色のフィルタに対応する画素の
みに限定し、G色に対応する画素のみに補正を絞ること
で、画像データの補正処理を迅速に行うことができる。
Further, when an RGB color filter is used, by performing image processing, R (red), B
In the case where the defective pixel becomes inconspicuous with respect to the (blue) color, the defective pixel is limited to only the pixel corresponding to the G (green) color filter, and the correction is narrowed down to only the pixel corresponding to the G color to thereby reduce the image data. Correction processing can be performed quickly.

【0055】更に、本実施の形態の変形例として、図4
のステップ111で行う画像処理に用いる画像処理手法
(例えば通常の画像処理手法の他、セピア調などコント
ラストや色調が異なる画像を得るための画像処理手法
や、白黒画像を得るための画像処理手法など)が複数考
えられるような場合には、画素欠陥を求めるための画像
データに、全ての画像処理手法を用いて画像処理を施
し、画素欠陥用の閾値と比較して超えた画像データにつ
いてのみ、対応する画素の位置を、用いた画像処理手法
に対応づけてROM(メモリ)9に記憶することも考え
られる。それによれば、画像処理手法の種類によって変
わりうる画素欠陥に応じて適切な補正を行うことができ
るので、より高画質な画像を得ることができる。
Further, as a modification of the present embodiment, FIG.
Image processing method used for the image processing performed in step 111 (for example, other than the normal image processing method, an image processing method for obtaining an image having a different contrast or color tone such as a sepia tone, an image processing method for obtaining a black and white image, etc. ), The image data for obtaining the pixel defect is subjected to image processing using all image processing methods, and only the image data exceeding the threshold value for the pixel defect is obtained. It is also conceivable to store the position of the corresponding pixel in the ROM (memory) 9 in association with the used image processing method. According to this, appropriate correction can be performed in accordance with a pixel defect that can change depending on the type of the image processing method, so that a higher quality image can be obtained.

【0056】[0056]

【発明の効果】本発明の電子カメラによれば、使用環境
の変化に応じて増減する欠陥画素に関して、画像データ
を適宜補正することができ、又補正すべき画像データを
絞り込むことで迅速な処理を確保することが可能な画像
データ補正方法及び電子カメラを提供することができ
る。
According to the electronic camera of the present invention, image data can be appropriately corrected with respect to defective pixels which increase or decrease in accordance with a change in the use environment, and rapid processing can be performed by narrowing down image data to be corrected. Image data correction method and an electronic camera that can ensure the image quality.

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

【図1】電子カメラとしてのデジタルスチルカメラの構
成を示す図である。
FIG. 1 is a diagram showing a configuration of a digital still camera as an electronic camera.

【図2】3色の色フィルタが画素毎に配置されている状
態を示す図である。
FIG. 2 is a diagram showing a state in which three color filters are arranged for each pixel.

【図3】それぞれA、B、C色のフィルタが2次元的に
並べられた状態を示す図である。
FIG. 3 is a diagram illustrating a state where filters of A, B, and C colors are two-dimensionally arranged;

【図4】本実施の形態にかかる電子カメラを用いて、実
際に被写体を撮像する場合の処理を示すフローチャート
である。
FIG. 4 is a flowchart illustrating a process when actually capturing an image of a subject using the electronic camera according to the embodiment;

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

1 CCD 2 駆動回路 3 CDS回路 4 A/D変換回路 5 画像用メモリ 6 CPU 7 記憶部 8 制御回路 9 メモリ 10 液晶表示装置 11 レンズ 12 絞り 13 温度センサ 14 レンズ駆動回路 15 電源スイッチ 16 モードスイッチ 17 湿度計 21 拡散板 Reference Signs List 1 CCD 2 drive circuit 3 CDS circuit 4 A / D converter circuit 5 image memory 6 CPU 7 storage unit 8 control circuit 9 memory 10 liquid crystal display device 11 lens 12 aperture 13 temperature sensor 14 lens drive circuit 15 power switch 16 mode switch 17 Hygrometer 21 Diffuser

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 電子カメラの撮像素子の周辺の湿度を変
化させながら、前記撮像素子の欠陥画素を求め、湿度と
対応づけた欠陥画素の位置を記憶し、 実際の撮像時に前記撮像素子の周辺の湿度を測定し、測
定された湿度と、記憶された欠陥画素の位置とに基づ
き、前記撮像素子から出力される画像データを補正する
ことを特徴とする画像データ補正方法。
1. A method for determining a defective pixel of an image sensor while changing the humidity around the image sensor of an electronic camera, storing a position of the defective pixel associated with the humidity, and storing a position of the defective pixel at the time of actual imaging. And correcting the image data output from the image sensor based on the measured humidity and the stored position of the defective pixel.
【請求項2】 複数の色フィルタを備えた、電子カメラ
の撮像素子の画素のうち、特定色に対応する画素につい
て欠陥画素を求め、その位置を記憶し、 実際の撮像時に、記憶された欠陥画素の位置に基づい
て、前記撮像素子から出力される画像データを補正する
ことを特徴とする画像データ補正方法。
2. A defective pixel is obtained for a pixel corresponding to a specific color among pixels of an image sensor of an electronic camera provided with a plurality of color filters, and the position is stored. An image data correction method, wherein image data output from the image sensor is corrected based on a position of a pixel.
【請求項3】 前記特定色は、前記色フィルタとしてR
GBフィルタを用いた場合には、G色であることを特徴
とする請求項2に記載の画像データ補正方法。
3. The method according to claim 1, wherein the specific color is R.
3. The image data correction method according to claim 2, wherein the color is a G color when a GB filter is used.
【請求項4】 欠陥画素を含む撮像素子からの画像デー
タを画像処理した後に、画素欠陥のレベルが所定範囲を
超える場合には、対応する欠陥画素の位置を記憶し、 実際の撮像時に、記憶された位置に基づき、前記欠陥画
素からのデータを補正することによって画像データを取
得することを特徴とする画像データ補正方法。
4. After image processing of image data from an image sensor including a defective pixel, if the level of a pixel defect exceeds a predetermined range, the position of the corresponding defective pixel is stored. An image data correction method, wherein image data is obtained by correcting data from the defective pixel based on the determined position.
【請求項5】 欠陥画素を含む撮像素子からの画像デー
タを、複数の異なる画像処理手法により画像処理した後
に、画素欠陥のレベルが所定範囲を超える場合には、欠
陥画素の位置を、画像処理に用いた画像処理手法に対応
づけて記憶し、 実際の撮像時に、使用する画像処理手法と、記憶された
位置とに基づき、前記欠陥画素からのデータを補正する
ことによって画像データを取得することを特徴とする画
像データ補正方法。
5. After performing image processing on image data from an image sensor including a defective pixel by a plurality of different image processing methods, if the level of a pixel defect exceeds a predetermined range, the position of the defective pixel is determined by image processing. And storing the image data by correcting the data from the defective pixel based on the image processing method to be used and the stored position at the time of actual image capturing. An image data correction method characterized by the following.
【請求項6】 前記画素欠陥のレベルが所定範囲を超え
たかどうか判断するために、前記レベルと比較される閾
値は、前記撮像素子の色フィルタの各色に対応する画素
毎に異なっていることを特徴とする請求項4又は5に記
載の画像データ補正方法。
6. A threshold value to be compared with the level to determine whether the level of the pixel defect exceeds a predetermined range is different for each pixel corresponding to each color of the color filter of the image sensor. The image data correction method according to claim 4 or 5, wherein
【請求項7】 請求項1乃至5のいずれかに記載の画像
データ補正方法を用いた電子カメラ。
7. An electronic camera using the image data correction method according to claim 1.
JP2001011310A 2001-01-19 2001-01-19 Image data correction method and electronic camera Pending JP2002218485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001011310A JP2002218485A (en) 2001-01-19 2001-01-19 Image data correction method and electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001011310A JP2002218485A (en) 2001-01-19 2001-01-19 Image data correction method and electronic camera

Publications (1)

Publication Number Publication Date
JP2002218485A true JP2002218485A (en) 2002-08-02

Family

ID=18878459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001011310A Pending JP2002218485A (en) 2001-01-19 2001-01-19 Image data correction method and electronic camera

Country Status (1)

Country Link
JP (1) JP2002218485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7777791B2 (en) 2003-04-11 2010-08-17 Mega Chips Corporation Defective pixel correction device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7777791B2 (en) 2003-04-11 2010-08-17 Mega Chips Corporation Defective pixel correction device
US7812866B2 (en) 2003-04-11 2010-10-12 Mega Chips Corporation Defective pixel correction device
US7911514B2 (en) 2003-04-11 2011-03-22 Mega Chips Corporation Defective pixel correction device
US8023010B2 (en) 2003-04-11 2011-09-20 Mega Chips Corporation Defective pixel correction device

Similar Documents

Publication Publication Date Title
JP3785520B2 (en) Electronic camera
JP3934506B2 (en) Imaging system and image processing program
US8634002B2 (en) Image processing device and method for image correction
US20070009245A1 (en) Imaging apparatus and imaging method
JP5642433B2 (en) Imaging apparatus and image processing method
JP2000092397A (en) Pixel defect detecting device for solid-state image pickup device
WO2003105467A1 (en) Digital still camera apparatus, video camera apparatus, and information terminal apparatus
JP3912404B2 (en) Imaging device
JPH11239298A (en) Electronic camera, pixel signal correction method and recording medium
JP2006157600A (en) Digital camera
JP2005229144A (en) Imaging apparatus, white balance control method and white balance control program
JP3630149B2 (en) Imaging apparatus, white balance control method, and white balance control program
JP3767188B2 (en) Electronic camera and signal correction method
JP5299159B2 (en) Imaging apparatus and program
JP2002218485A (en) Image data correction method and electronic camera
JP4586431B2 (en) Imaging apparatus and imaging method
KR20100027943A (en) Imaging apparatus and imaging method
JP2001211388A (en) Image signal processing apparatus
JP2004343177A (en) Imaging apparatus
JP4298219B2 (en) Imaging apparatus and imaging method
JP2002176653A (en) Pixel defect detecting method and electronic camera
JP4146186B2 (en) Solid-state imaging device and defect correction method thereof
JP2002281391A (en) Imaging system
JP5028467B2 (en) Image processing device
JP2006109046A (en) Imaging device