JP2007150895A - Imaging apparatus, and defect pixel processing method - Google Patents

Imaging apparatus, and defect pixel processing method Download PDF

Info

Publication number
JP2007150895A
JP2007150895A JP2005344440A JP2005344440A JP2007150895A JP 2007150895 A JP2007150895 A JP 2007150895A JP 2005344440 A JP2005344440 A JP 2005344440A JP 2005344440 A JP2005344440 A JP 2005344440A JP 2007150895 A JP2007150895 A JP 2007150895A
Authority
JP
Japan
Prior art keywords
field
imaging
detection
value
pixels
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
JP2005344440A
Other languages
Japanese (ja)
Other versions
JP2007150895A5 (en
JP4789602B2 (en
Inventor
Norihiro Kawahara
範弘 川原
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2005344440A priority Critical patent/JP4789602B2/en
Publication of JP2007150895A publication Critical patent/JP2007150895A/en
Publication of JP2007150895A5 publication Critical patent/JP2007150895A5/ja
Application granted granted Critical
Publication of JP4789602B2 publication Critical patent/JP4789602B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To correct the newly generated flaw of an imaging element by detecting it in real-time during photographing an image from an imaging apparatus by changing a reading pattern by each field. <P>SOLUTION: The imaging apparatus comprises the imaging element (3) composed of a plurality of pixels for outputting an image signal; a timing signal generating circuit (5) for driving the imaging means to perform reading by changing the reading pattern by each field; an optical low-pass filter (2) arranged at the side of a subject from the imaging means; a defect pixel detecting circuit (7) for detecting the defect pixel of the imaging element, based on the image signal; and a defect pixel correcting circuit (9) for correcting the image signal outputted from the detected defect pixel. The defect pixel detecting circuit detects the pixels as the defect pixel, based on the image signal in the field and between the two continuous fields when not less than two pixels, which output the image signal higher than a predetermined first value or lower than a second value, do not continue in the arrangement order of the pixels of the imaging element. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、イメージセンサ等の固体撮像素子を用いた撮像装置及び撮像装置における欠陥画素の処理方法に関するものである。   The present invention relates to an imaging apparatus using a solid-state imaging device such as an image sensor, and a defective pixel processing method in the imaging apparatus.

近年の撮像装置においては、CCDやCMOSセンサ等に代表される固体撮像素子の多画素化が進んでいる。これに伴い、撮像素子上の欠陥画素(キズ)の発生個数も多くなっている。   In recent imaging apparatuses, the number of pixels of a solid-state imaging device represented by a CCD or CMOS sensor is increasing. Along with this, the number of defective pixels (scratches) on the image sensor is also increasing.

欠陥画素の中には撮像素子の製造過程で発生する製造キズや、撮像装置に組み込んだ後に発生する成長キズがある。さらに、成長キズの中には、撮像装置の温度によって使用中に増減する温度特性依存キズがある。   Among defective pixels, there are manufacturing scratches that occur during the manufacturing process of the image sensor and growth scratches that occur after being incorporated into the imaging device. Further, among the growth flaws, there is a temperature characteristic dependent flaw that increases or decreases during use depending on the temperature of the imaging device.

これらの欠陥画素の内、製造キズに対しては、工場出荷時に黒画像を撮影して、あらかじめ欠陥画素の位置を検出して補正する方法がとられている。また、成長キズに対しては、電源投入時に強制的に撮像素子を遮光するなどして黒画像を撮影し、欠陥画素を検出して補正することができる。   Among these defective pixels, a method of correcting a defect by manufacturing a black image at the time of shipment from the factory and detecting the position of the defective pixel in advance is used. Further, for growth flaws, a black image can be taken by forcibly shielding the image sensor when the power is turned on, and defective pixels can be detected and corrected.

例えば、特許文献1には、以下の方法が提案されている。まず、電源投入時に絞りを閉じて撮像素子を遮光した状態で1画面分撮像する。そして、この撮像で得られた画像データと閾値とを比較し、閾値よりも画像データが高い輝度を示す画素を欠陥画素(白キズ)として検出し、その位置情報を記憶する。更に、モードスイッチにより欠陥画素の検出モードを選択した状態で、専用の被写体にカメラを向けて1画面分撮像する。そして、この撮像で得られた画像データと閾値とを比較し、閾値よりも画像データが低い輝度を示す画素を欠陥画素(黒キズ)として検出し、その位置情報を記憶する。   For example, Patent Document 1 proposes the following method. First, when the power is turned on, the diaphragm is closed and the image sensor is shielded from light, and one screen is imaged. Then, the image data obtained by this imaging is compared with a threshold value, a pixel whose luminance is higher than the threshold value is detected as a defective pixel (white defect), and the position information is stored. Further, in a state where the detection mode of the defective pixel is selected by the mode switch, the camera is pointed at a dedicated subject and an image is captured for one screen. Then, the image data obtained by this imaging is compared with a threshold value, and a pixel whose luminance is lower than the threshold value is detected as a defective pixel (black flaw), and the position information is stored.

しかしながら、特許文献1に記載されている方法では、撮像装置の使用中にその温度変化により発生した温度特性依存キズを検出することができない。   However, the method described in Patent Document 1 cannot detect a temperature characteristic-dependent flaw that occurs due to a temperature change during use of the imaging apparatus.

一方、特許文献2には、撮像して得た画像から欠陥画素を検出し、補正する方法について開示している。この特許文献2の方法では、各画素の輝度を周辺画素の輝度と比較することで、一定レベル差以上の輝度を有する画素を白キズとして判定している。   On the other hand, Patent Document 2 discloses a method for detecting and correcting defective pixels from an image obtained by imaging. In the method of Patent Document 2, a pixel having a luminance of a certain level difference or more is determined as a white defect by comparing the luminance of each pixel with the luminance of surrounding pixels.

特開平10−322603号公報JP-A-10-322603 特開2004−015191号公報JP 2004-015191 A 特開平5−344426号公報JP-A-5-344426

しかしながら、特許文献2では、撮像デバイス16全てから得られる画素データを用いて、欠陥画素を検出するが、動画撮影時におけるフィールド読み出し(インターレース読み出し)時の判定方法については、何ら記載がなかった。フィールド読み出し時に特許文献2に記載の方法により欠陥画素の検出を行うと、欠陥画素が読み出し対象行に無い場合には検出を行うことができなかったり、逆に誤検出を起こしてしまうという問題があった。   However, in Patent Document 2, defective pixels are detected using pixel data obtained from all the imaging devices 16, but there is no description about a determination method at the time of field reading (interlace reading) during moving image shooting. When a defective pixel is detected by the method described in Patent Document 2 at the time of field reading, if the defective pixel is not in the read target row, detection cannot be performed, or conversely, erroneous detection occurs. there were.

これに対し、特許文献3では、フィールド読み出し(インターレース読み出し)によりCCDを駆動している最中に、欠陥画素を検出するモードに切り換えられると、強制的にフレーム読み出しに切り換えることが開示されている。このように欠陥画素を検出する際にはフレーム読み出しに強制的に切り換えるため、上記特許文献2の問題を回避することはできる。しかしながら、フィールド読み出しをしながら欠陥画素を検出する方法については何ら開示されておらず、特許文献3に記載の方法で欠陥画素の検出を行うと、滑らかな動画像を撮影することができなかった。特に、リアルタイムで欠陥画素の検出を行うために頻繁に欠陥画素を検出するモードに切り換えると、動画像の時間解像度が落ちてしまうという問題があった。   On the other hand, Patent Document 3 discloses that when the CCD is driven by field reading (interlace reading) and the mode is switched to a mode for detecting a defective pixel, the mode is forcibly switched to frame reading. . In this way, when detecting defective pixels, since switching to frame readout is forcibly performed, the problem described in Patent Document 2 can be avoided. However, there is no disclosure about a method for detecting a defective pixel while performing field readout. When a defective pixel is detected by the method described in Patent Document 3, a smooth moving image cannot be captured. . In particular, when switching to a mode in which defective pixels are frequently detected in order to detect defective pixels in real time, there is a problem in that the temporal resolution of a moving image decreases.

本発明は上記問題点を鑑みてなされたものであり、撮像装置からフィールド毎に読み出しパターンを変えて画像を撮影している最中に、新たに発生した撮像素子のキズをリアルタイムで検出し、補正できるようにすることを目的とする。   The present invention has been made in view of the above problems, and in the middle of taking an image by changing the readout pattern for each field from the imaging device, detects a scratch of the imaging element newly generated in real time, The purpose is to enable correction.

上記目的を達成するために、本発明の撮像装置は、入射する被写体光を光電変換し、画像信号を出力する複数の画素から成る撮像手段と、前記撮像手段から、フィールド毎に読み出しパターンを変えて画像信号を出力するように前記撮像手段を駆動する駆動手段と、前記撮像手段よりも被写体側に配置された光学ローパスフィルタと、前記撮像手段から出力される画像信号に基づいて、前記撮像手段の欠陥画素を検出する検出手段と、前記検出手段により検出された欠陥画素から出力された画像信号を補正する補正手段とを有し、前記検出手段は、フィールド毎に読み出しパターンを変えて前記画像信号が出力された場合、フィールド内及び連続する2フィールド間の画像信号に基づき、予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、前記撮像手段の画素の並び順において2画素以上連続しない場合に、当該画素を前記撮像手段の欠陥画素として検出する。   In order to achieve the above object, an image pickup apparatus of the present invention photoelectrically converts incident subject light and outputs a picture signal, and changes a readout pattern for each field from the image pickup means. The image pickup means based on the drive means for driving the image pickup means so as to output the image signal, the optical low-pass filter disposed on the subject side of the image pickup means, and the image signal output from the image pickup means. Detection means for detecting a defective pixel of the image, and a correction means for correcting an image signal output from the defective pixel detected by the detection means, wherein the detection means changes the readout pattern for each field and changes the image. When the signal is output, based on the image signal in the field and between two consecutive fields, it is higher than the preset first value, or Pixels outputting a low image signal than a second value lower than the value of 1, if the non-contiguous 2 pixels or more in the order of pixels of the image pickup means, for detecting the pixel as a defective pixel of the imaging means.

また、入射する被写体光を光電変換し、画像信号を出力する複数の画素から成る撮像手段と、前記撮像手段よりも被写体側に配置された光学ローパスフィルタとを有する撮像装置における本発明の欠陥画素処理方法は、前記撮像手段から、フィールド毎に読み出しパターンを変えて画像信号を出力する撮像工程と、前記撮像工程で前記撮像手段から出力された前記フィールド内及び連続する2フィールド間の画像信号に基づいて、予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、前記撮像手段の画素の並び順において2画素以上連続しない場合に、当該画素を前記撮像手段の欠陥画素として検出する検出工程と、前記決定工程で決定された欠陥画素から出力された画像信号を補正する補正工程とを有する。   In addition, the defective pixel of the present invention in an imaging device having an imaging unit composed of a plurality of pixels that photoelectrically convert incident subject light and output an image signal, and an optical low-pass filter disposed on the subject side of the imaging unit The processing method includes: an imaging step of outputting an image signal by changing a readout pattern for each field from the imaging unit; and an image signal in the field and between two consecutive fields output from the imaging unit in the imaging step. Based on the pixel arrangement order of the pixels of the image pickup means, pixels that output an image signal that is higher than the preset first value or lower than the second value lower than the first value. A detection step of detecting the pixel as a defective pixel of the imaging means when the pixel is not continuous, and an image signal output from the defective pixel determined in the determination step. Correcting the and a correction step.

本発明によれば、撮像装置からフィールド毎に読み出しパターンを変えて画像を撮影している最中に、新たに発生した撮像素子のキズをリアルタイムで検出し、補正することが可能となる。   According to the present invention, it is possible to detect and correct a newly generated flaw in the image sensor in real time while taking an image while changing the readout pattern for each field from the image pickup apparatus.

以下、添付図面を参照して本発明を実施するための最良の形態を詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the accompanying drawings.

<図1の実施形態>
本発明の第1の実施形態における撮像装置について、図1を参照して説明する。本第1の実施形態では、撮像装置として、動画及び静止画の撮影が可能なデジタルカメラを例に挙げて説明する。
<Embodiment of FIG. 1>
An imaging apparatus according to a first embodiment of the present invention will be described with reference to FIG. In the first embodiment, a digital camera capable of shooting moving images and still images will be described as an example of the imaging device.

図1に示す撮像装置において、レンズ1及び光学低域通過フィルタ(光学LPF)2を透過した被写体像は、電荷結合素子(CCD)やCMOSセンサなどに代表される撮像素子3(ここでは、CCDとする。)で光電変換され、電気信号が出力される。なお、CCD3は、例えば、原色ベイヤー配列などの不図示のカラーフィルタで覆われており、カラー画像を撮影することができる。なお後述するが、CCD3は全画素を順次読み出すフレーム読み出しと、CCD3を所定ラインおきに読み出すフィールド読み出し(インターレース読み出し)による読み出し制御が可能である。次に、アナログフロントエンド(AFE)回路4において、CCD3から出力された電気信号に対してリセットノイズ除去、利得調整、アナログ−デジタル(A/D)変換等が行われ、デジタル画像データが出力される。   In the imaging apparatus shown in FIG. 1, a subject image that has passed through a lens 1 and an optical low-pass filter (optical LPF) 2 is an imaging device 3 (here, a CCD) represented by a charge coupled device (CCD) or a CMOS sensor. In this case, photoelectric conversion is performed and an electric signal is output. Note that the CCD 3 is covered with a color filter (not shown) such as a primary color Bayer array, and can capture a color image. As will be described later, the CCD 3 can perform readout control by frame readout for sequentially reading all pixels and field readout (interlaced readout) for reading out the CCD 3 every predetermined line. Next, the analog front end (AFE) circuit 4 performs reset noise removal, gain adjustment, analog-digital (A / D) conversion, and the like on the electrical signal output from the CCD 3 to output digital image data. The

AFE回路4から出力されるデジタル画像データは、メモリ8及び欠陥画素検出回路7に送られる。メモリ8はデータを1フレーム分格納可能な容量を有し、フィールド読み出しでは、2フィールド分の画像データを格納する。そして、後述する欠陥画素検出回路7には1フィールド前の画像データを出力し、欠陥画素補正回路9には現フィールドの画像データを出力する。欠陥画素検出回路7では、フレーム読み出し時にはAFE回路4から出力される画像データを用いて、また、フィールド読み出し時には更にとメモリ8から出力される画像データとを用いて欠陥画素を検出する。なお、欠陥画素検出回路7で行われる欠陥画素検出処理については、詳細に後述する。   Digital image data output from the AFE circuit 4 is sent to the memory 8 and the defective pixel detection circuit 7. The memory 8 has a capacity capable of storing data for one frame, and stores image data for two fields in field reading. Then, the image data of the previous field is output to the defective pixel detection circuit 7 described later, and the image data of the current field is output to the defective pixel correction circuit 9. The defective pixel detection circuit 7 detects defective pixels using the image data output from the AFE circuit 4 at the time of frame reading, and further using image data output from the memory 8 at the time of field reading. The defective pixel detection process performed by the defective pixel detection circuit 7 will be described later in detail.

欠陥画素補正回路9には、メモリ8から出力される現フィールドまたは現フレームの画像データと、欠陥画素検出回路7の欠陥画素検出結果とが入力される。そして、メモリ8からの画像データにCCD3の欠陥画素に起因する画像データ(以下、「欠陥画素データ」と呼ぶ。)が含まれているときには、欠陥画素データを除去する補正を行う。そして、欠陥画素補正回路9により欠陥画素データの補正を施した画像データに対して、重心ずれ補正回路10は後述の重心ずれ補正を行う。次に、カメラ信号処理回路11は、重心ずれ補正された画像データに対して、アパーチャ補正、ガンマ補正、ホワイトバランス等の撮像系のカメラ信号処理を施す。   The defective pixel correction circuit 9 receives the current field or current frame image data output from the memory 8 and the defective pixel detection result of the defective pixel detection circuit 7. When the image data from the memory 8 includes image data resulting from defective pixels of the CCD 3 (hereinafter referred to as “defective pixel data”), correction for removing the defective pixel data is performed. The center-of-gravity shift correction circuit 10 performs center-of-gravity shift correction, which will be described later, on the image data that has been corrected for defective pixel data by the defective pixel correction circuit 9. Next, the camera signal processing circuit 11 performs image pickup system camera signal processing such as aperture correction, gamma correction, and white balance on the image data that has been corrected for center of gravity deviation.

カメラ信号処理回路11の出力は、ディジタル−アナログ(D/A)変換器12でアナログ信号に変換された後、モニタ13に表示される。これによりユーザは、撮像した画像をモニタリングすることができる。   The output of the camera signal processing circuit 11 is displayed on the monitor 13 after being converted into an analog signal by a digital-analog (D / A) converter 12. Thereby, the user can monitor the captured image.

一方、カメラ信号処理回路11の出力は、符号化回路14へも送られる。入力キー16で画像の記録を指示されると、マイコン17、データバス18を介して符号化回路14を駆動してデータを圧縮し、テープ、カード、ディスク等の記録メディア15に記録する。なお、使用する記録メディア15の種類は特に限るものではなく、撮像装置が適合しているものを適宜使用すればよい。   On the other hand, the output of the camera signal processing circuit 11 is also sent to the encoding circuit 14. When the recording of an image is instructed by the input key 16, the encoding circuit 14 is driven via the microcomputer 17 and the data bus 18 to compress the data and record it on a recording medium 15 such as a tape, a card, or a disk. Note that the type of the recording medium 15 to be used is not particularly limited, and a recording medium suitable for the imaging device may be used as appropriate.

次に、欠陥画素検出回路7で行われる、本第1の実施形態における欠陥画素検出処理について詳細に説明する。   Next, the defective pixel detection process in the first embodiment performed by the defective pixel detection circuit 7 will be described in detail.

被写体に夜空に浮かぶ星のような孤立点がある場合、光学LPF2の影響で光学的に高域が除去されるので、AFE回路4の出力は図2に示すように、少しなだらかになり、複数画素にまたがる孤立領域となる。一方、CCD3上に欠陥画素(白キズ)がある場合には、光学LPF2の影響を受けないので、AFE回路4の出力は図3のように1画素のみ信号レベルが突出した孤立点となる。従って、本第1の実施形態では、欠陥画素検出回路7は、図3に示すような孤立点を検出することで欠陥画素データを検出する。   If the subject has an isolated point such as a star floating in the night sky, the high band is optically removed due to the influence of the optical LPF 2, so that the output of the AFE circuit 4 becomes slightly gentle as shown in FIG. It is an isolated region that spans the pixels. On the other hand, when there is a defective pixel (white flaw) on the CCD 3, it is not affected by the optical LPF 2, so that the output of the AFE circuit 4 becomes an isolated point where the signal level of only one pixel protrudes as shown in FIG. Therefore, in the first embodiment, the defective pixel detection circuit 7 detects defective pixel data by detecting an isolated point as shown in FIG.

図4に原色ベイヤー配列のCCD3の一部を示す。近年、撮像素子の画素数が増大しているが、静止画撮影の際は時間の制約が無いので、CCD3が多画素であっても、任意の時間をかけて全ての画素を読み出すことができる。これに対し、動画を表示あるいは記録する際は、CCD3の動作速度の制約上、決められた時間(例えばNTSC規格では1/60秒)で全画素を読み出すことは困難である。従って、同期信号発生回路(SSG)6からのフィールドインデックス(FI)、垂直同期信号(VD)、水平同期信号(HD)に基づいてタイミング信号発生回路(TG)5で制御信号を発生させて、以下のようにCCD3を駆動する。即ち、図6に示すように、例えばFIがハイレベルのときは、図5(a)に示すように、0、1、4、5、8、9…ラインというように2ラインおきに画素を読み出す。そして、例えばFIがローレベルのときは、図5(b)に示すように、2、3、6、7、10、11…ラインというように、FIがハイレベルの時に読み出さない画素を、2ラインおきに読み出すようにする。このように制御することで、決められた時間(NTSC規格で1/60秒)以内で全体の半分の画素を読み出せばよいので、CCD3の動作速度の制約を満たすことが可能となる。   FIG. 4 shows a part of the primary color Bayer array CCD 3. In recent years, the number of pixels in the image sensor has increased, but since there is no time restriction when shooting a still image, even if the CCD 3 has a large number of pixels, all the pixels can be read out over an arbitrary time. . On the other hand, when displaying or recording a moving image, it is difficult to read out all the pixels in a predetermined time (for example, 1/60 second in the NTSC standard) due to restrictions on the operation speed of the CCD 3. Therefore, the control signal is generated by the timing signal generating circuit (TG) 5 based on the field index (FI), the vertical synchronizing signal (VD), and the horizontal synchronizing signal (HD) from the synchronizing signal generating circuit (SSG) 6, The CCD 3 is driven as follows. That is, as shown in FIG. 6, for example, when FI is at a high level, as shown in FIG. 5 (a), pixels are placed every two lines, such as 0, 1, 4, 5, 8, 9. read out. For example, when the FI is at the low level, as shown in FIG. 5B, the pixels that are not read out when the FI is at the high level, such as 2, 3, 6, 7, 10, 11,. Read every other line. By controlling in this way, it is only necessary to read out half of the pixels within a predetermined time (1/60 seconds in the NTSC standard), so that it is possible to satisfy the restriction on the operation speed of the CCD 3.

つまり、動画記録時、または、静止画記録時のプレビュー画として、リアルタイムに撮像画像をモニタ13に表示する時は、フィールド毎に異なるCCD3の画素を半分ずつ読み出す。なお、入力キー16により、静止画を記録する旨の指示が入力されると、TG5によるCCD3の制御を変更し、図4に示すように全画素を順次読み出して、記録メディア15に静止画を記録する。   That is, when the captured image is displayed on the monitor 13 in real time as a preview image at the time of moving image recording or still image recording, half of the pixels of the CCD 3 that are different for each field are read out. When an instruction to record a still image is input by the input key 16, the control of the CCD 3 by the TG 5 is changed, and all the pixels are sequentially read out as shown in FIG. Record.

静止画撮影の場合には、CCD3の全画素の読み出しを行うため、欠陥画素補正回路7は、得られた画像データから上述した図3に示すような孤立点を検出することで欠陥画素データを検出することができる。これに対し、動画撮影の場合、例えば上述したNTCS規格に準拠した読み出し方式では、各フィールド毎に2ラインおきに画素を読み出すため、静止画と同様の方法で孤立点を検出すると、誤検出を招くことになる。以下にこの点について詳しく説明する。   In the case of still image shooting, since all the pixels of the CCD 3 are read out, the defective pixel correction circuit 7 detects defective pixels data by detecting isolated points as shown in FIG. 3 from the obtained image data. Can be detected. On the other hand, in the case of moving image shooting, for example, in the readout method compliant with the NTCS standard described above, pixels are read every two lines for each field. Will be invited. This point will be described in detail below.

図7はCCD3の一部画素における信号レベルの一例を示す図である。図7において、A〜Hは横方向の画素位置を示し、0〜7は縦方向の画素位置を示している。   FIG. 7 is a diagram illustrating an example of signal levels in some pixels of the CCD 3. In FIG. 7, A to H indicate pixel positions in the horizontal direction, and 0 to 7 indicate pixel positions in the vertical direction.

例えば、夜空の星を撮影した場合、黒地に白いパターンが浮かび上がる。この時に得られる画像データの模式図を図7(a)に示す。画素1−Bが欠陥画素(ここでは白キズとする。)であるとすると、画素1−Bから出力される画像データが上述の理由により孤立点となる。一方、他の白い個所(この例では星とする。)は光学LPF2の影響で、水平、垂直方向の少なくとも一方に広がるので、複数の画素に跨るある程度の領域を有する。このとき、図5に示すようにして1フィールドおきに互いに異なるラインを2ラインおきに読み出した場合、FIがハイレベルのとき(以下、FIがハイレベルの時のフィールドを「偶数フィールド」と呼ぶ。)は、図7(b)に示すようになる。また、FIがローレベルのとき(以下、「奇数フィールド」と呼ぶ。)は、図7(c)に示すようになる。   For example, when shooting a star in the night sky, a white pattern appears on a black background. A schematic diagram of the image data obtained at this time is shown in FIG. Assuming that the pixel 1-B is a defective pixel (here, white scratches), the image data output from the pixel 1-B becomes an isolated point for the reason described above. On the other hand, other white portions (referred to as stars in this example) are spread in at least one of the horizontal and vertical directions due to the influence of the optical LPF 2 and thus have a certain area across a plurality of pixels. At this time, when lines different from each other every other field are read every two lines as shown in FIG. 5, when FI is at a high level (hereinafter, the field when FI is at a high level is referred to as an “even field”). .) Becomes as shown in FIG. Further, when FI is at a low level (hereinafter referred to as “odd field”), it becomes as shown in FIG.

図7(b)では、画素1−Bだけではなく、画素1−Eも孤立点であるように見える。しかしながら、図7(a)で示したように、画素1−Eは実際には孤立点ではなく、欠陥画素ではない。このように、フィールド読み出しの場合、正確に孤立点を検出するためには、連続する2フィールドの画像データを用いて孤立点の検出を行う必要がある。また、図7(c)では、画素1−Bが読み出されないため、孤立点を検出することができない。そのため、以下に説明するようにして孤立領域と孤立点とを識別する。   In FIG. 7B, not only the pixel 1-B but also the pixel 1-E appears to be an isolated point. However, as shown in FIG. 7A, the pixel 1-E is not actually an isolated point and is not a defective pixel. As described above, in the case of field reading, it is necessary to detect an isolated point using image data of two consecutive fields in order to accurately detect an isolated point. In FIG. 7C, the isolated point cannot be detected because the pixel 1-B is not read out. Therefore, isolated regions and isolated points are identified as described below.

図8(a)〜(d)は、垂直方向に2画素連続する白画素(輝度値が予め設定した輝度値よりも高い画素)のパターンを4通り示し、各パターンについて、連続するフィールド間でどのように信号値として現れるかを示す図である。なお、水平方向に白画素が2画素以上連続する場合には、垂直方向の連続性を調べなくても孤立点ではないと判断することができるので、ここでは、垂直方向にのみ白画素が連続しているかどうかを確認する場合について説明する。   FIGS. 8A to 8D show four patterns of white pixels (pixels whose luminance value is higher than a preset luminance value) that are two consecutive pixels in the vertical direction, and for each pattern, between successive fields. It is a figure which shows how it appears as a signal value. Note that when two or more white pixels continue in the horizontal direction, it can be determined that the pixel is not an isolated point without examining the continuity in the vertical direction, so here, the white pixels continue only in the vertical direction. The case where it is confirmed whether it is doing is demonstrated.

まず、白領域が図8(a)のパターンIに示す位置にある場合、フィールド毎に半分ずつの画素を読み出すと、連続する3フィールドにおける信号レベルのパターンは図8(b)のようになる。この時は、まず、偶数フィールド(even)において、白画素が偶数ライン(ここでは第0ライン)に現れるので、フィールド内の1ライン下のラインとの連続する2ライン間で白画素が続いているかどうかを調べる。また、白画素が奇数ライン(ここでは第1ライン)に現れた時には、フィールド内の1ライン上のラインとの連続する2ライン間で白画素が続いているかどうかを調べる。白画素が続いている場合には、ライン0、1にある白画素が孤立点ではなく、欠陥画素で無いことが分かる。ここで、白画素が偶数ライン(例えば第4ライン)に現れたときにフィールド内の1ライン上のライン(ここでは第1ライン)を調べたり、奇数ライン(例えば第1ライン)に現れたときにフィールド内の1ライン下のライン(ここでは第4ライン)を調べることはしない。これは、例えば、第1ラインと第4ラインに欠陥画素がある場合に、欠陥画素でないと誤認識してしまうことを避けるためである。   First, when the white region is located at the position shown in the pattern I in FIG. 8A, when half of the pixels are read for each field, the signal level pattern in three consecutive fields is as shown in FIG. 8B. . At this time, first, in the even field (even), the white pixel appears on the even line (here, the 0th line), so the white pixel continues between two consecutive lines with the line one line below in the field. Find out if it is. When a white pixel appears on an odd line (here, the first line), it is checked whether the white pixel continues between two consecutive lines with a line on one line in the field. If white pixels continue, it can be seen that the white pixels on lines 0 and 1 are not isolated points and not defective pixels. Here, when a white pixel appears on an even line (for example, the fourth line), a line on one line in the field (here, the first line) is examined, or when a white pixel appears on an odd line (for example, the first line). The line below the line in the field (here, the fourth line) is not examined. This is to avoid misrecognizing that it is not a defective pixel when there are defective pixels on the first line and the fourth line, for example.

また、白領域が図8(a)のパターンIIIに示す位置にある場合、フィールド毎に半分ずつの画素を読み出すと、連続する3フィールドにおける信号レベルのパターンは図8(d)のようになる。この時は、まず、奇数フィールド(even)において、白画素が偶数ライン(ここでは第2ライン)に現れるので、フィールド内の1ライン下のラインとの連続する2ライン間で白画素が続いているかどうかを調べる。また、白画素が奇数ライン(ここでは第3ライン)に現れた時には、フィールド内の1ライン上のラインとの連続する2ライン間で白画素が続いているかどうかを調べる。白画素が続いている場合には、ライン2、3にある白画素が孤立点ではなく、欠陥画素で無いことが分かる。ここで、白画素が偶数ライン(例えば第6ライン)に現れたときにフィールド内の1ライン上のライン(ここでは第3ライン)を調べたり、奇数ライン(例えば第3ライン)に現れたときにフィールド内の1ライン下のライン(ここでは第6ライン)を調べることはしない。これは、例えば、第3ラインと第6ラインに欠陥画素がある場合に、欠陥画素でないと誤認識してしまうことを避けるためである。   Further, when the white region is at the position shown in the pattern III of FIG. 8A, when half of the pixels are read for each field, the signal level pattern in the three consecutive fields is as shown in FIG. 8D. . At this time, first, in the odd field (even), the white pixel appears on the even line (here, the second line), so the white pixel continues between two consecutive lines with the line below the first line in the field. Find out if it is. When a white pixel appears on an odd line (here, the third line), it is checked whether the white pixel continues between two consecutive lines with a line on one line in the field. If white pixels continue, it can be seen that the white pixels on lines 2 and 3 are not isolated points and not defective pixels. Here, when a white pixel appears on an even line (for example, the sixth line), when a line on one line in the field (here, the third line) is examined, or when a white pixel appears on an odd line (for example, the third line) The line below the line in the field (here, the sixth line) is not examined. This is to avoid misrecognizing that it is not a defective pixel when there are defective pixels on the third line and the sixth line, for example.

上記パターンI及びパターンIIIの場合には、フィールド内で白画素の連続性を調べることで、白画素が孤立点かどうかを判断することができる。この検索方法を、以下、「フィールド内検索」と呼ぶ。   In the case of the pattern I and the pattern III, it is possible to determine whether the white pixel is an isolated point by examining the continuity of the white pixel in the field. Hereinafter, this search method is referred to as “in-field search”.

次に、白領域が図8(a)のパターンIIに示す位置にある場合、フィールド毎に半分ずつの画素を読み出すと、連続する3フィールドにおける信号レベルのパターンは図8(c)のようになる。この時は、まず、偶数フィールド(even)において、白画素が奇数ラインに現れ、次に奇数フィールドにおいて偶数ラインに現れる。この時に、図8(b)及び図8(d)で説明した用にフィールド内検索により白画素の連続性を確認するだけでは、孤立点の誤認識を引き起こしてしまう。つまり、偶数ライン(例えば、第0、第2ライン)とフィールド内の1ライン下(ここでは第1、第3ライン)との連続する2ライン間だけで白画素を調べた場合、ライン1、2にある連続した白領域がそれぞれ孤立点であると誤認識してしまう。同様に、奇数ライン(例えば第1、第3ライン)とフィールド内の1ライン上(ここでは第0、第2ライン)との連続する2ライン間だけで白画素を調べた場合、ライン1、2にある連続した白領域がそれぞれ孤立点であると誤検出されてしまう。そこで、パターンIIの場合には、直前のフィールドにおいて、白画素が検出された偶数ライン(例えば第2ライン)の1ライン上のライン(ここでは第1ライン)のデータを調べることで、ライン1、2にある白画素が2ライン連続していると判別することができる。または白画素が検出された奇数ライン(例えば第1ライン)の1ライン下のライン(第2ライン)のデータを調べることで、ライン1、2にある白画素が2ライン連続していると判別することができる。   Next, when the white region is at the position shown in the pattern II of FIG. 8A, when half of the pixels are read for each field, the signal level pattern in three consecutive fields is as shown in FIG. 8C. Become. At this time, first, white pixels appear on the odd lines in the even field (even), and then appear on the even lines in the odd field. At this time, if the continuity of the white pixels is merely confirmed by the intra-field search as described with reference to FIGS. 8B and 8D, an isolated point is erroneously recognized. That is, when white pixels are examined only between two consecutive lines of even lines (for example, the 0th and 2nd lines) and one line below (in this case, the 1st and 3rd lines) in the field, 2 are mistakenly recognized as being isolated points. Similarly, when a white pixel is examined only between two consecutive lines of an odd line (for example, the first and third lines) and one line in the field (here, the zeroth and second lines), the line 1, 2 are mistakenly detected as being isolated points. Therefore, in the case of the pattern II, the data of the line 1 (here, the first line) on one line of the even line (for example, the second line) in which the white pixel is detected in the immediately preceding field is checked. 2, it can be determined that two lines of white pixels are continuous. Alternatively, by examining data of a line (second line) one line below an odd line (for example, the first line) in which white pixels are detected, it is determined that two lines of white pixels in lines 1 and 2 are continuous. can do.

また、白領域が図8(a)のパターンIVに示す位置にある場合、フィールド毎に半分ずつの画素を読み出すと、連続する3フィールドにおける信号レベルのパターンは図8(e)のようになる。従って、パターンIIの場合と同様に、この場合もフィールド内検索だけでは、孤立点の誤認識を引き起こしてしまう。そのため、パターンIIと同様に、パターンIVにおいても、直前のフィールドにおいて、直前のフィールドにおいて、白画素が検出された偶数ライン(例えば第4ライン)の1ライン上のライン(ここでは第3ライン)のデータを調べることで、ライン1、2にある白画素が2ライン連続していると判別することができる。または白画素が検出された奇数ライン(例えば第3ライン)の1ライン下のライン(第4ライン)のデータを調べることで、ライン3、4にある白画素が2ライン連続していると判別することができる。   Further, when the white region is at the position shown in the pattern IV of FIG. 8A, when half of the pixels are read for each field, the signal level pattern in three consecutive fields becomes as shown in FIG. . Therefore, as in the case of pattern II, in this case as well, the in-field search alone causes erroneous recognition of isolated points. Therefore, similarly to the pattern II, also in the pattern IV, in the immediately preceding field, a line (here, the third line) one line above the even line (for example, the fourth line) in which the white pixel is detected in the immediately preceding field. By examining the data, it can be determined that two lines of white pixels on lines 1 and 2 are continuous. Alternatively, by examining data of a line (fourth line) one line below an odd line (for example, the third line) in which a white pixel is detected, it is determined that two white pixels in lines 3 and 4 are continuous. can do.

上記パターンII及びパターンIVの場合には、フィールド間で白画素の連続性を調べることで、白画素が孤立点かどうかを判断することができる。この検索方法を、以下、「フィールド間検索」と呼ぶ。   In the case of the pattern II and the pattern IV, it is possible to determine whether the white pixel is an isolated point by examining the continuity of the white pixel between the fields. This search method is hereinafter referred to as “inter-field search”.

つまり、白画素が現れたラインが偶数ラインの場合、
(1) 1ライン下のラインのデータとフィールド内検索。
(2) 1フィールド前の1ライン上のデータとフィールド間検索。
In other words, if the line where the white pixel appears is an even line,
(1) Search data in the field and field below one line.
(2) Search between the data on one line before one field and the field.

を行う必要がある。
また、白画素が現れたラインが奇数ラインの場合、
(1) 1ライン上のラインのデータとフィールド内検索。
(2) 1フィールド前の1ライン下のデータとフィールド間検索。
Need to do.
If the line where the white pixel appears is an odd line,
(1) Line data on one line and field search.
(2) Search between the data one field before one field and between fields.

を行う必要がある。
このように、各ケースにおいて、それぞれ(1)、(2)の検索結果、共に2画素続いていないと判断されれば、その点が「孤立点」、即ち、欠陥画素であると判断することができる。
Need to do.
Thus, in each case, if it is determined that the search results of (1) and (2) do not continue for two pixels, it is determined that the point is an “isolated point”, that is, a defective pixel. Can do.

以上の孤立点検出動作を実現可能な欠陥画素補正回路7の動作を図9に、また、その構成を図10に示す。まず、動作について説明する。   FIG. 9 shows the operation of the defective pixel correction circuit 7 capable of realizing the above isolated point detection operation, and FIG. 10 shows the configuration thereof. First, the operation will be described.

ステップS11において、欠陥画素検出回路7は、AFE4から撮影した画像データを入力すると共に、メモリ8から1フィールド前の画像データを入力する。ステップS11で入力した画像データを用いて、ステップS12〜S14で所定の輝度を超える画像データ(白画素)のライン内検索、フィールド内検索、フィールド間検索を行う。ステップS12のライン内検索では、白画素が検出された場合に、水平方向に2画素以上続いているかどうかを判断する。ステップS13では、白画素が検出された場合に、同じフィールド内において、検出されたラインが偶数ラインであれば1ライン下、奇数ラインであれば1ライン上の画素が白画素かどうかを調べる。また、ステップS14では、白画素が検出された場合に、検出されたラインが偶数ラインであれば、1フィールド前の1ライン上、奇数ラインであれば、1フィールド前の1ライン下の画素が白画素かどうかを調べる。   In step S <b> 11, the defective pixel detection circuit 7 inputs the image data taken from the AFE 4 and the image data of the previous field from the memory 8. Using the image data input in step S11, in-line search, in-field search, and inter-field search for image data (white pixels) exceeding a predetermined luminance is performed in steps S12 to S14. In the in-line search in step S12, when a white pixel is detected, it is determined whether or not two or more pixels continue in the horizontal direction. In step S13, when a white pixel is detected, in the same field, if the detected line is an even line, it is checked whether the pixel on the lower line is one line, and if it is an odd line, the pixel on the first line is a white pixel. In step S14, when a white pixel is detected, if the detected line is an even line, the pixel one line before the previous field is one line, and if it is an odd line, the pixel one line before the one field is Check if it is a white pixel.

次に、ステップS15において、ライン内で白連続が連続しているかどうかを判断する。連続していればステップS19に進み、調べた白画素が孤立点ではないと決定する。ステップS15でライン内で連続していないと判断された場合、ステップS16に進み、フィールド内で白画素が連続しているかどうかを判断する。連続していればステップS19に進み、調べた白画素が孤立点ではないと決定する。ステップS16でフィールド内で連続していないと判断された場合、ステップS17に進み、フィールド間で白画素が連続しているかどうかを判断する。連続していればステップS19に進んで、調べた白画素が孤立点ではないと決定する。ステップS17でフィールド間でも連続していないと判断された場合、ステップS18に進んで、当該白画素が孤立点であると判断する。即ち、ステップS12〜S14で画像データを調べた結果、ステップS15〜S17の全ての判断において連続していないと判断された場合に、その白画素が孤立点であると判断する。なお、ステップS15〜S17の判断は上述した順番に限るものではなく、また、全てまたはその一部を同時に行っても良い。   Next, in step S15, it is determined whether white continuation is continuous in the line. If it is continuous, the process proceeds to step S19 to determine that the examined white pixel is not an isolated point. If it is determined in step S15 that the lines are not continuous in the line, the process proceeds to step S16 to determine whether white pixels are continuous in the field. If it is continuous, the process proceeds to step S19 to determine that the examined white pixel is not an isolated point. If it is determined in step S16 that the field is not continuous, the process proceeds to step S17 to determine whether white pixels are continuous between the fields. If it is continuous, the process proceeds to step S19 to determine that the examined white pixel is not an isolated point. If it is determined in step S17 that the fields are not continuous, the process proceeds to step S18 to determine that the white pixel is an isolated point. That is, as a result of examining the image data in steps S12 to S14, if it is determined that all the determinations in steps S15 to S17 are not continuous, it is determined that the white pixel is an isolated point. Note that the determinations in steps S15 to S17 are not limited to the order described above, and all or some of them may be performed simultaneously.

ステップS18またはS19で白画素が孤立点であるかどうかを判定後、ステップS20で検索すべき画像データがあるかどうかを判断し、あればステップS11に戻って画像データの読み出しを行い、無ければ孤立点の検索処理を終了する。   After determining whether or not the white pixel is an isolated point in step S18 or S19, it is determined whether or not there is image data to be searched in step S20. If there is, the process returns to step S11 to read the image data. The isolated point search process is terminated.

図10は、上記処理を実現するための欠陥画素検出回路7の詳細な構成例を示すブロック図である。図10に示す構成では、ステップS15〜S17の判断を同時に行うことが可能な構成を示している。   FIG. 10 is a block diagram illustrating a detailed configuration example of the defective pixel detection circuit 7 for realizing the above processing. The configuration shown in FIG. 10 shows a configuration in which the determinations in steps S15 to S17 can be performed simultaneously.

図10において、701〜704は1水平ライン分、画像データを遅延するためのラインメモリである。ラインメモリ701、703は、AFE4及びメモリ8から出力される画像データが1水平ライン期間遅延して出力する。ラインメモリ702、704は、ラインメモリ701、703から出力された画像データを更に1水平ライン期間遅延して出力する。その結果、ラインメモリ702、704からは2水平ライン期間遅延された画像データが出力される。705はセレクタであり、2水平ライン期間遅延された画像データまたはAFE4から出力される遅延されていない画像データのいずれかを選択する。706もセレクタであり、メモリ8から読み出された信号または、2水平ライン期間遅延された画像データのいずれかを選択する。   In FIG. 10, reference numerals 701 to 704 denote line memories for delaying image data by one horizontal line. The line memories 701 and 703 output the image data output from the AFE 4 and the memory 8 with a delay of one horizontal line period. The line memories 702 and 704 output the image data output from the line memories 701 and 703 with a delay of one horizontal line period. As a result, the line memories 702 and 704 output image data delayed by two horizontal line periods. A selector 705 selects either image data delayed by two horizontal line periods or non-delayed image data output from the AFE 4. Reference numeral 706 denotes a selector that selects either a signal read from the memory 8 or image data delayed by two horizontal line periods.

セレクタ705、706は、制御信号生成回路707により制御される。制御信号生成回路707はSSG6から、FI、VD、HD信号を入力し、セレクタ705でAFE4の出力とラインメモリ702の何れの出力を選択するかを1水平ライン毎に切り換える制御信号を生成する。具体的には、AFE4から奇数ラインの信号が出力されている時には、セレクタ705が0側(AFE4)を選択し、AFE4から偶数ラインの信号が出力されているときには、1側(ラインメモリ702)を選択するように制御される。また、制御信号生成回路707はセレクタ706がメモリ8とラインメモリ704の何れを出力を選択するかを1フィールド毎に切り換える制御信号も生成する。具体的には、AFE4から偶数フィールドの信号が出力されている時には、セレクタ706が0側を選択し、AFE4から奇数フィールドの信号が出力されているときには、セレクタ706が1側を選択するように制御される。   The selectors 705 and 706 are controlled by a control signal generation circuit 707. The control signal generation circuit 707 receives the FI, VD, and HD signals from the SSG 6 and generates a control signal for switching the output of the AFE 4 and the output of the line memory 702 for each horizontal line by the selector 705. Specifically, when an odd line signal is output from the AFE 4, the selector 705 selects the 0 side (AFE 4), and when an even line signal is output from the AFE 4, the 1 side (line memory 702). Is controlled to select. The control signal generation circuit 707 also generates a control signal for switching which one of the memory 8 and the line memory 704 the output is selected by the selector 706 for each field. Specifically, the selector 706 selects the 0 side when the even field signal is output from the AFE 4, and the selector 706 selects the 1 side when the odd field signal is output from the AFE 4. Be controlled.

上記制御により、AFE4、ラインメモリ701〜704、及びセレクタ706及び706から出力される画像データの概念を、ライン単位で図11のタイムチャートに示す。図11のチャート内の数字は、ライン番号を示す。図11(a)は偶数フィールドの時を、また、図11(b)は奇数フィールドの時を示している。   The concept of image data output from the AFE 4, the line memories 701 to 704, and the selectors 706 and 706 by the above control is shown in the time chart of FIG. 11 in units of lines. The numbers in the chart of FIG. 11 indicate line numbers. FIG. 11A shows the case of an even field, and FIG. 11B shows the case of an odd field.

708はライン内孤立パターン検出回路であり、ラインメモリ701により1水平ライン期間遅延された画像データから白画素を検出し、同じラインの前後の画素に白画素が連続していないかどうかを判断する。連続していない場合に限り、論理「ハイ」を出力する(ステップS12に対応)。   Reference numeral 708 denotes an in-line isolated pattern detection circuit that detects white pixels from image data delayed by one horizontal line period by the line memory 701 and determines whether white pixels are not continuous with pixels before and after the same line. . Only when it is not continuous, a logic “high” is output (corresponding to step S12).

709はフィールド内孤立パターン検出回路であり、以下の通り動作する。まず、ラインメモリ701から出力された1水平ライン期間遅延された画像データから白画素を検出する。白画素が検出されると、セレクタ705により選択された画像データが白画素かどうかを判断する。判断の結果、白画素が連続していない場合に限り、論理「ハイ」を出力する(ステップS13に対応)。   An intra-field isolated pattern detection circuit 709 operates as follows. First, white pixels are detected from image data delayed from one horizontal line period output from the line memory 701. When a white pixel is detected, it is determined whether the image data selected by the selector 705 is a white pixel. As a result of the determination, the logic “high” is output only when the white pixels are not continuous (corresponding to step S13).

具体的には、例えば、図11(a)に示すように、偶数フィールドにおいてAFE4から第4ライン目が出力されているとき、セレクタ705は1側を選択する。従って、フィールド内孤立パターン検出回路709には、ラインメモリ701の出力である第1ラインと、ラインメモリ702の出力である第0ラインが入力される。これにより、第1ラインと第0ライン間で白画素が孤立点であるかどうかを判断することができる。また、例えば、図11(b)に示すように、奇数フィールドにおいてAFE4から第7ラインが出力されているとき、セレクタ705は0側を選択する。従って、フィールド内孤立パターン検出回路709には、ラインメモリ701の出力である第6ラインと、AFE4の出力である第7ラインが入力される。これにより、第6ラインと第7ライン間で白画素が孤立点であるかどうかを判断することができる。   Specifically, for example, as shown in FIG. 11A, when the fourth line is output from the AFE 4 in the even field, the selector 705 selects one side. Therefore, the first line that is the output of the line memory 701 and the 0th line that is the output of the line memory 702 are input to the isolated field detection circuit 709. Thereby, it can be determined whether the white pixel is an isolated point between the first line and the 0th line. For example, as shown in FIG. 11B, when the seventh line is output from the AFE 4 in the odd field, the selector 705 selects the 0 side. Accordingly, the sixth line which is the output of the line memory 701 and the seventh line which is the output of the AFE 4 are input to the intra-field isolated pattern detection circuit 709. Thereby, it can be determined whether the white pixel is an isolated point between the sixth line and the seventh line.

710はフィールド間孤立パターン検出回路であり、以下の通り動作する。まず、ラインメモリ701から出力された1水平ライン期間遅延された画像データから白画素を検出する。白画素が検出されると、セレクタ706により選択された画像データが白画素かどうかを判断する。判断の結果、白画素が連続していない場合に限り、論理「ハイ」を出力する(ステップS14に対応)。   Reference numeral 710 denotes an inter-field isolated pattern detection circuit which operates as follows. First, white pixels are detected from image data delayed from one horizontal line period output from the line memory 701. When a white pixel is detected, it is determined whether the image data selected by the selector 706 is a white pixel. As a result of the determination, the logic “high” is output only when the white pixels are not continuous (corresponding to step S14).

具体的には、例えば、図11(a)に示すように、AFE4から偶数フィールドの画像データが出力されているとき、セレクタ706は0側を選択する。従って、例えば、AFE4から第4ラインの画像データが出力されている場合には、フィールド間孤立パターン検出回路710には、ラインメモリ701の出力である第1ラインと、ラインメモリ704の出力である1フィールド前の第2ラインが入力される。これにより、第1ラインと第2ライン間で白画素が孤立点であるかどうかを判断することができる。また、例えば、図11(b)に示すように、AFE4から奇数フィールドの画像データが出力されているとき、セレクタ706は1側を選択する。従って、例えば、AFE4から第7ラインの画像データが出力されている場合には、フィールド間孤立パターン検出回路710には、ラインメモリ701の出力である第6ラインと、メモリ8の出力である1フィールド前の第5ラインが入力される。これにより、第5ラインと第6ライン間で白画素が孤立点であるかどうかを判断することができる。   Specifically, for example, as shown in FIG. 11A, when even-field image data is output from the AFE 4, the selector 706 selects the 0 side. Therefore, for example, when the image data of the fourth line is output from the AFE 4, the inter-field isolated pattern detection circuit 710 outputs the first line as the output of the line memory 701 and the output of the line memory 704. The second line one field before is input. Thereby, it can be determined whether the white pixel is an isolated point between the first line and the second line. For example, as shown in FIG. 11B, when the image data of the odd field is output from the AFE 4, the selector 706 selects one side. Therefore, for example, when the image data of the seventh line is output from the AFE 4, the sixth line as the output of the line memory 701 and the output of the memory 8 as 1 are sent to the inter-field isolated pattern detection circuit 710. The fifth line before the field is input. Thereby, it can be determined whether the white pixel is an isolated point between the fifth line and the sixth line.

なお、フィールド内孤立パターン検出回路709及びフィールド間孤立パターン検出回路710は、検出結果を1画素分遅延してから出力する。これは、ライン内孤立パターン検出回路708において1画素後の画像データの判断が必要になるため、検出結果の出力タイミングが他の検出結果と比較して1画素分遅れるためである。   The intra-field isolated pattern detection circuit 709 and the inter-field isolated pattern detection circuit 710 output the detection result after being delayed by one pixel. This is because the in-line isolated pattern detection circuit 708 needs to determine the image data after one pixel, and the output timing of the detection result is delayed by one pixel compared with the other detection results.

711はANDゲートであり、ライン内孤立パターン検出回路708、フィールド内孤立パターン検出回路709及びフィールド間孤立パターン検出回路710からの出力が全て論理「ハイ」の場合に、論理「ハイ」を出力する(ステップS15〜S18に対応)。これにより、検出した白画素が孤立点である場合に、その旨を示す信号が出力され、欠陥画素補正回路9に出力される。   An AND gate 711 outputs a logic “high” when all the outputs from the intra-line isolated pattern detection circuit 708, the intra-field isolated pattern detection circuit 709, and the inter-field isolated pattern detection circuit 710 are logic “high”. (Corresponding to steps S15 to S18). Thus, when the detected white pixel is an isolated point, a signal indicating that fact is output and output to the defective pixel correction circuit 9.

欠陥画素補正回路9では、メモリ8と欠陥画素検出回路7からそれぞれ信号を入力し、欠陥画素検出回路7出力がハイレベルのとき、周辺画素で置換するといった公知の手法を用いて、メモリ8から読み出した現フィールドの画像データに欠陥画素補正を施す。なお、必要に応じて、メモリ8の出力と欠陥画素検出回路7の出力の位相を合わせる。   The defective pixel correction circuit 9 inputs signals from the memory 8 and the defective pixel detection circuit 7 respectively, and uses a known technique such as replacement with peripheral pixels when the output of the defective pixel detection circuit 7 is at a high level. Defective pixel correction is performed on the read image data of the current field. If necessary, the phase of the output of the memory 8 and the output of the defective pixel detection circuit 7 are matched.

次に、重心ずれ補正回路10で行う重心ずれ補正の動作について説明する。図5で示した通り、フィールド読み出しでは、フィールド毎に2ラインおきに2ラインずつCCD3から画像信号を読み出す。そのため、読み出した画像信号をモニタ13にインターレース表示した場合、図12の左半分に示すように、各フィールドで隙間が生じ、解像度ムラ等を引き起こす。そこで、図12に示すように、読み出しフィールド、ラインにより、同じ色フィルタの配列を持つラインを1:3で足し合わせて補間処理を行うか、読み出したデータをそのまま使うかを切り換えて、各フィールドに対応する信号を1ラインおきに並べる。このことにより、解像度ムラを低減する。   Next, the operation of correcting the center of gravity deviation performed by the center of gravity deviation correction circuit 10 will be described. As shown in FIG. 5, in the field reading, the image signal is read from the CCD 3 every two lines every field. For this reason, when the read image signal is displayed on the monitor 13 in an interlaced manner, as shown in the left half of FIG. Therefore, as shown in FIG. 12, by switching the interpolation field by adding the lines having the same color filter array by 1: 3 or using the read data as it is depending on the readout field and line, each field is switched. Are arranged every other line. This reduces the resolution unevenness.

以上説明したCCD3の画素の読み出し、欠陥画素検出回路7、及び、重心ずれ補正回路10の動作は連動して制御される。   The operations of the pixel readout of the CCD 3, the defective pixel detection circuit 7, and the gravity center shift correction circuit 10 described above are controlled in conjunction with each other.

上記の通り本第1の実施形態によれば、動画記録時、または、静止画記録時のプレビュー画として、フィールド読み出しを行った場合でも、フィールド内及びフィールド間で孤立点の判断を行うことで、リアルタイムで欠陥画素を検出することが可能となる。従って、撮像装置の使用中に内部温度の変化によって増えた欠陥画素を検出することができる。   As described above, according to the first embodiment, even when field reading is performed as a preview image during moving image recording or still image recording, an isolated point is determined within and between fields. It becomes possible to detect defective pixels in real time. Therefore, it is possible to detect defective pixels that increase due to a change in internal temperature during use of the imaging apparatus.

なお、孤立点を検出する動作の説明で、図7乃至図12では、黒地の画像から白い孤立点を検出する例を挙げたが、本発明はこれに限るものではなく、逆に、白地の画像から黒い孤立点を検出する場合に適用することもできる。その場合には、予め設定された輝度値以下の画素を検出し、白画素の代わりに黒画素の連続性を調べる。また、白画素と黒画素を例に挙げているが、孤立点検出は2値化されたデータに限定されるものではなく、多値データを閾値で2値化してから孤立点検索してもよい。あるいは多値データのデータ間の差分をとり、その絶対値を用いて孤立点検索をしてもよい。   In the description of the operation for detecting an isolated point, in FIGS. 7 to 12, an example in which a white isolated point is detected from a black background image is described. However, the present invention is not limited to this. It can also be applied when detecting a black isolated point from an image. In that case, pixels below a preset luminance value are detected, and the continuity of black pixels is examined instead of white pixels. In addition, although white pixels and black pixels are given as examples, isolated point detection is not limited to binarized data. Even if isolated points are searched after binarizing multi-value data with a threshold value. Good. Alternatively, a difference between multi-value data may be taken and an isolated point search may be performed using the absolute value.

また、上記第1の実施形態では、CCDの色フィルタの例として原色フィルタを示したが、本発明はこれに限るものではなく、補色フィルタ等であってもよい。   In the first embodiment, the primary color filter is shown as an example of the color filter of the CCD. However, the present invention is not limited to this, and a complementary color filter or the like may be used.

また、上記第1の実施形態では、撮像装置として、動画及び静止画の撮影が可能なデジタルカメラを例に挙げて説明した。しかしながら、本発明はこれに限るものではなく、動画または静止画のみを撮影可能なデジタルカメラに適用することも可能である。また、入射する光学像をエリアセンサなどの2次元配列された固体撮像素子を用いて光電変換により電気的な画像として取得するものであって、フィールド読み出しするものであれば、本発明を適用することができる。   In the first embodiment, the digital camera capable of shooting moving images and still images has been described as an example of the imaging device. However, the present invention is not limited to this, and can be applied to a digital camera capable of shooting only moving images or still images. In addition, the present invention is applied to the case where an incident optical image is acquired as an electrical image by photoelectric conversion using a two-dimensionally arranged solid-state imaging device such as an area sensor and is read out in a field. be able to.

<第2の実施形態>
次に、本発明の第2の実施形態について説明する。
<Second Embodiment>
Next, a second embodiment of the present invention will be described.

図14は、本第2の実施形態における撮像装置の構成を示すブロック図である。上記第1の実施形態で図1を参照して説明した撮像装置の構成とは、動きベクトル検出回路19を設けた点が異なる。なお、図1と同様の機能を有する構成には同じ参照番号を付し、説明を省略する。   FIG. 14 is a block diagram illustrating a configuration of the imaging apparatus according to the second embodiment. The configuration of the imaging apparatus described with reference to FIG. 1 in the first embodiment is different in that a motion vector detection circuit 19 is provided. In addition, the same reference number is attached | subjected to the structure which has the function similar to FIG. 1, and description is abbreviate | omitted.

動きベクトル検出回路19でAFE回路4の出力データからフィールド間、もしくはフレーム間の動きベクトルを求め、求めた動きベクトル値を、データバス18を介してマイコン17に送る。   The motion vector detection circuit 19 obtains a motion vector between fields or frames from the output data of the AFE circuit 4, and sends the obtained motion vector value to the microcomputer 17 via the data bus 18.

次に、図14のフローチャートを参照して、本第2の実施形態における欠陥画素の検出及び補正処理の制御動作について説明する。動作を開始すると、マイコン17は動きベクトル検出回路19から動きベクトル値を取得して(ステップS21)、予め設定した所定値と比較する(ステップS22)。動きベクトル値が所定値以下であれば、欠陥画素検出回路7を作動させて、上記第1の実施形態で図9を参照して説明した欠陥画素検出動作、即ち、孤立点の検出を行う(ステップS23)。次に、ステップS23における孤立点検出結果に基づき、欠陥画素補正回路9で孤立点の除去を行い、欠陥画素データの補正を行う(ステップS24)。   Next, the control operation of the defective pixel detection and correction processing in the second embodiment will be described with reference to the flowchart of FIG. When the operation is started, the microcomputer 17 acquires a motion vector value from the motion vector detection circuit 19 (step S21) and compares it with a predetermined value set in advance (step S22). If the motion vector value is equal to or smaller than the predetermined value, the defective pixel detection circuit 7 is operated to perform the defective pixel detection operation described with reference to FIG. 9 in the first embodiment, that is, detection of an isolated point ( Step S23). Next, based on the isolated point detection result in step S23, the isolated pixel is removed by the defective pixel correction circuit 9, and the defective pixel data is corrected (step S24).

一方、動きベクトル値が所定量以上であれば(ステップS22でNO)、欠陥画素検出回路7の動作を止め、孤立点検出動作を行わないようにする。   On the other hand, if the motion vector value is greater than or equal to the predetermined amount (NO in step S22), the operation of the defective pixel detection circuit 7 is stopped and the isolated point detection operation is not performed.

次に、ステップS25で制御動作を終了するかどうか判断し、継続するならばステップS21に戻って次の動きベクトルを取得し、継続しないならば、当該処理を終了する。   Next, in step S25, it is determined whether or not to end the control operation. If the control operation is to be continued, the process returns to step S21 to acquire the next motion vector.

上記の通り本第2の実施形態によれば、画像データのフィールド間の動きが小さい時にのみ、欠陥画素検出を行う。これにより、第1の実施形態で説明したフィールド間孤立点判定を行う際に、画像データが動いたことにより生ずるパターンの変化を、孤立点として誤判別することを防ぐことができる。その結果、欠陥画素補正の精度を向上させることができる。   As described above, according to the second embodiment, defective pixel detection is performed only when the motion between fields of image data is small. Thereby, when performing the inter-field isolated point determination described in the first embodiment, it is possible to prevent a change in pattern caused by the movement of image data from being erroneously determined as an isolated point. As a result, it is possible to improve the accuracy of defective pixel correction.

<第3の実施形態>
次に、本発明の第3の実施形態について説明する。
<Third Embodiment>
Next, a third embodiment of the present invention will be described.

図15は、本第3の実施形態における撮像装置の構成を示すブロック図である。図15に示す構成は、図13の動きベクトル検出回路19の代わりにジャイロセンサ20を設けた点が第2の実施形態と異なる。上記第2の実施形態では、撮像して得られた画像に基づいて動きベクトル検出回路19で被写体の動きを検出し、その大小で欠陥画素検出回路7を制御した。これに対し、本第3の実施形態では、ジャイロセンサ20で図15の撮像装置全体の動き量を検出する。そして、ジャイロセンサ20で取得した動き量のデータを、データバス18を介してマイコン15に送出する。他の動作は、第2の実施形態と同様に図14のフローチャートに基づいて行われるが、本第3の実施形態ではステップS22において動きベクトル値の代わりに、動き量を所定値と比較する。   FIG. 15 is a block diagram illustrating a configuration of the imaging apparatus according to the third embodiment. The configuration shown in FIG. 15 differs from the second embodiment in that a gyro sensor 20 is provided instead of the motion vector detection circuit 19 of FIG. In the second embodiment, the movement of the subject is detected by the motion vector detection circuit 19 based on the image obtained by imaging, and the defective pixel detection circuit 7 is controlled based on the detected magnitude. On the other hand, in the third embodiment, the gyro sensor 20 detects the movement amount of the entire imaging apparatus shown in FIG. Then, the motion amount data acquired by the gyro sensor 20 is sent to the microcomputer 15 via the data bus 18. Other operations are performed based on the flowchart of FIG. 14 as in the second embodiment, but in the third embodiment, the amount of motion is compared with a predetermined value instead of the motion vector value in step S22.

上記の通り本第3の実施形態によれば、撮像装置の動きが小さい時にのみ、欠陥画素検出を行う。これにより、第1の実施形態で説明したフィールド間孤立点判定を行う際に、撮像装置が動いたことにより生ずるパターンの変化を、孤立点と誤判別することを防ぐことができる。その結果、欠陥画素補正の精度を向上させることができる。   As described above, according to the third embodiment, defective pixel detection is performed only when the movement of the imaging apparatus is small. Thereby, when the inter-field isolated point determination described in the first embodiment is performed, it is possible to prevent a change in pattern caused by the movement of the imaging apparatus from being erroneously determined as an isolated point. As a result, it is possible to improve the accuracy of defective pixel correction.

<第4の実施形態>
次に、本発明の第4の実施形態について説明する。
<Fourth Embodiment>
Next, a fourth embodiment of the present invention will be described.

図16は、本第4の実施形態における撮像装置の構成を示すブロック図である。図16に示す構成は、図13の動きベクトル検出回路19や図15のジャイロセンサ20の代わりに三脚取り付け端子21を設けた点が異なる。本第4の実施形態では、三脚取り付け端子21の状態を、例えばインピーダンスの状態から検知して、データバス18を介してマイコン15に送出する。そして、三脚取り付け端子21に不図示の三脚が装着されているときにのみ、マイコン15の指示で孤立点の検出を行う。   FIG. 16 is a block diagram illustrating a configuration of an imaging apparatus according to the fourth embodiment. The configuration shown in FIG. 16 is different in that a tripod attachment terminal 21 is provided instead of the motion vector detection circuit 19 of FIG. 13 and the gyro sensor 20 of FIG. In the fourth embodiment, the state of the tripod mounting terminal 21 is detected from, for example, the state of impedance, and is sent to the microcomputer 15 via the data bus 18. Only when a tripod (not shown) is attached to the tripod mounting terminal 21, an isolated point is detected by an instruction from the microcomputer 15.

図17は、本第4の実施形態の撮像装置における欠陥画素の検出及び補正処理の制御動作を示すフローチャートである。図14のフローチャートに示す動作とは、ステップS21及びS22において動きベクトル値を求めて所定値とを比較する代わりに、ステップS31において三脚取り付け端子の状態を取得するところが異なる。他の動作は、図14に示す動作と同様であるため、同じ参照番号を付して説明を省略する。   FIG. 17 is a flowchart illustrating a control operation of defective pixel detection and correction processing in the imaging apparatus according to the fourth embodiment. 14 differs from the operation shown in the flowchart of FIG. 14 in that instead of obtaining a motion vector value in steps S21 and S22 and comparing it with a predetermined value, the state of the tripod mounting terminal is acquired in step S31. Other operations are the same as the operations shown in FIG. 14, and thus the same reference numerals are given and description thereof is omitted.

上記の通り本第4の実施形態によれば、三脚を装着すると手ブレの影響がなくなるので、撮像装置が動いたことにより生ずる画像パターンの変化を、孤立点と誤判別することを防ぐことができる。その結果、欠陥画素補正の精度を向上させることができる。   As described above, according to the fourth embodiment, when a tripod is attached, the influence of camera shake is eliminated, so that it is possible to prevent the image pattern change caused by the movement of the imaging apparatus from being misidentified as an isolated point. it can. As a result, it is possible to improve the accuracy of defective pixel correction.

なお、上記第1〜第4の実施形態においては、フィールド読み出し時に2フィールドでCCD3の全画素を読み出す場合について説明したが、本発明はこれに限るものではない。例えば、2ライン読み出して4ライン飛ばすようにして、3フィールドかけて全画素を読み出したり、2ライン読み出して6ライン飛ばすようにして、4フィールドかけて全画素を読み出す等、3フィールド以上かけて全画素を読み出す場合にも適用可能である。   In the first to fourth embodiments, the case where all the pixels of the CCD 3 are read in two fields at the time of field reading has been described. However, the present invention is not limited to this. For example, read out 2 lines and skip 4 lines, read all pixels over 3 fields, read 2 lines and skip 6 lines, read out all pixels over 4 fields, etc. The present invention is also applicable when reading out pixels.

<他の実施形態>
なお、上記実施の形態では、欠陥画素の検出をハードウエアにより実現する場合について説明したが、その全部またはその一部をソフトウェアにより実現することも可能である。
<Other embodiments>
In the above embodiment, the case where the detection of the defective pixel is realized by hardware has been described. However, all or part of the detection can be realized by software.

その場合、まず、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In that case, first, a storage medium (or recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、以下のようにして達成することも可能である。即ち、読み出したプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合である。ここでプログラムコードを記憶する記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、ROM、RAM、磁気テープ、不揮発性のメモリカード、CD−ROM、CD−R、DVD、光ディスク、光磁気ディスク、MOなどが考えられる。また、LAN(ローカル・エリア・ネットワーク)やWAN(ワイド・エリア・ネットワーク)などのコンピュータネットワークを、プログラムコードを供給するために用いることができる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following can be achieved. That is, when the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the read program code, the functions of the above-described embodiments are realized by the processing. It is. Examples of the storage medium for storing the program code include a flexible disk, hard disk, ROM, RAM, magnetic tape, nonvolatile memory card, CD-ROM, CD-R, DVD, optical disk, magneto-optical disk, MO, and the like. Can be considered. Also, a computer network such as a LAN (Local Area Network) or a WAN (Wide Area Network) can be used to supply the program code.

本発明の第1の実施形態における撮像装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an imaging apparatus according to a first embodiment of the present invention. 被写体に孤立点がある場合の画素位置に対する信号レベルの概念を示す図である。It is a figure which shows the concept of the signal level with respect to the pixel position when there exists an isolated point in a to-be-photographed object. 撮像素子に欠陥画素がある場合の画素位置に対する信号レベルの概念を示す図である。It is a figure which shows the concept of the signal level with respect to a pixel position when there exists a defective pixel in an image pick-up element. CCDの全画素読み出しの概念を表す図である。It is a figure showing the concept of CCD all pixel readout. CCDのフィールド読み出しの概念を表す図である。It is a figure showing the concept of the field reading of CCD. CCDのフィールド読み出しのタイミングを表すタイミングチャートである。It is a timing chart showing the timing of field reading of CCD. 孤立領域及び孤立点、及び間引き読み出しされた孤立領域及び孤立点の一例を表す図である。It is a figure showing an example of an isolated area | region and an isolated point, and the isolated area | region and isolated point which were thinned-out read. 垂直方向に連続する孤立領域の形状及び間引き読み出しされた連続する3フィールドにおける孤立領域の一例を示す図である。It is a figure which shows an example of the shape of the isolated area | region continuous in the orthogonal | vertical direction, and the isolated area | region in the continuous 3 field by which thinning-out reading was carried out. 本発明の実施の形態における孤立点判定動作を示すフローチャートである。It is a flowchart which shows the isolated point determination operation | movement in embodiment of this invention. 本発明の実施の形態における欠陥画素検出回路の内部構成の一例を表すブロック図である。It is a block diagram showing an example of the internal configuration of the defective pixel detection circuit in the embodiment of the present invention. 本発明の実施の形態における欠陥画素検出回路の各構成の出力を表すタイムチャートである。It is a time chart showing the output of each structure of the defective pixel detection circuit in embodiment of this invention. 本発明の実施の形態における重心ずれ補正の原理を表す図である。It is a figure showing the principle of gravity center deviation correction in an embodiment of the invention. 本発明の第2の実施形態における撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device in the 2nd Embodiment of this invention. 本発明の第2及び第3の実施形態における欠陥画素の検出及び補正処理の制御動作を示すフローチャートである。It is a flowchart which shows the control operation | movement of the detection and correction process of a defective pixel in the 2nd and 3rd embodiment of this invention. 本発明の第3の実施形態における撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device in the 3rd Embodiment of this invention. 本発明の第4の実施形態における撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device in the 4th Embodiment of this invention. 本発明の第4の実施形態における欠陥画素の検出及び補正処理の制御動作を示すフローチャートである。It is a flowchart which shows the control operation | movement of the detection and correction process of a defective pixel in the 4th Embodiment of this invention.

符号の説明Explanation of symbols

1 レンズ
2 光学LPF
3 撮像素子
4 アナログフロントエンド
5 タイミング信号発生回路
6 同期信号発生回路
7 欠陥画素検出回路
8 メモリ
9 欠陥画素補正回路
10 重心ずれ補正回路
11 カメラ信号処理回路
12 D/A変換器
13 モニタ
14 符号化回路
15 記録メディア
16 入力キー
17 マイコン
18 データバス
701〜704 ラインメモリ
705、706 セレクタ
708 ライン内孤立パターン検出回路
709 フィールド内孤立パターン検出回路
710 フィールド間孤立パターン検出回路
711 ANDゲート
1 Lens 2 Optical LPF
DESCRIPTION OF SYMBOLS 3 Image pick-up element 4 Analog front end 5 Timing signal generation circuit 6 Synchronization signal generation circuit 7 Defective pixel detection circuit 8 Memory 9 Defective pixel correction circuit 10 Center-of-gravity shift correction circuit 11 Camera signal processing circuit 12 D / A converter 13 Monitor 14 Encoding Circuit 15 Recording medium 16 Input key 17 Microcomputer 18 Data bus 701 to 704 Line memory 705, 706 Selector 708 In-line isolated pattern detection circuit 709 In-field isolated pattern detection circuit 710 Inter-field isolated pattern detection circuit 711 AND gate

Claims (10)

入射する被写体光を光電変換し、画像信号を出力する複数の画素から成る撮像手段と、
前記撮像手段から、フィールド毎に読み出しパターンを変えて画像信号を出力するように前記撮像手段を駆動する駆動手段と、
前記撮像手段よりも被写体側に配置された光学ローパスフィルタと、
前記撮像手段から出力される画像信号に基づいて、前記撮像手段の欠陥画素を検出する検出手段と、
前記検出手段により検出された欠陥画素から出力された画像信号を補正する補正手段とを有し、
前記検出手段は、フィールド毎に読み出しパターンを変えて前記画像信号が出力された場合、フィールド内及び連続する2フィールド間の画像信号に基づき、予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、前記撮像手段の画素の並び順において2画素以上連続しない場合に、当該画素を前記撮像手段の欠陥画素として検出することを特徴とする撮像装置。
Imaging means comprising a plurality of pixels for photoelectrically converting incident subject light and outputting an image signal;
Driving means for driving the imaging means so as to output an image signal by changing a readout pattern for each field from the imaging means;
An optical low-pass filter disposed closer to the subject than the imaging means;
Detection means for detecting defective pixels of the imaging means based on an image signal output from the imaging means;
Correction means for correcting the image signal output from the defective pixel detected by the detection means,
When the image signal is output by changing the readout pattern for each field, the detection means is higher than a first preset value based on the image signal in the field and between two consecutive fields, or When a pixel that outputs an image signal lower than the second value lower than the first value is not continuous in two or more pixels in the order of the pixels of the imaging unit, the pixel is regarded as a defective pixel of the imaging unit. An imaging apparatus characterized by detecting.
前記検出手段は、
前記予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、フィールド内の水平方向で連続しているかどうかを判断するライン内検出手段と、
前記予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、フィールド内の垂直方向で連続しているかどうかを判断するフィールド内検出手段と、
前記予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、フィールド間の垂直方向で連続しているかどうかを判断するフィールド間検出手段と、
前記ライン内検出手段と、前記フィールド内検出手段と、前記フィールド間検出手段の何れにおいても連続していないと判断された場合に、当該画素を欠陥画素として決定する決定手段と
を有することを特徴とする請求項1に記載の撮像装置。
The detection means includes
Whether pixels that output an image signal higher than the preset first value or lower than the second value lower than the first value are continuous in the horizontal direction within the field. An in-line detection means for judging;
Whether pixels that output an image signal higher than the preset first value or lower than the second value lower than the first value are continuous in the vertical direction within the field. In-field detection means to judge,
Whether pixels that output image signals that are higher than the preset first value or lower than the second value lower than the first value are continuous in the vertical direction between fields. An inter-field detection means for judging;
And determining means for determining the pixel as a defective pixel when it is determined that none of the in-line detection means, the in-field detection means, and the inter-field detection means is continuous. The imaging apparatus according to claim 1.
前記撮像手段からフィールド毎に読み出しパターンを変えて得られた最新フィールドの画像信号と、次に新しいフィールドの画像信号とに基づいて、被写体の動き量を検出する動き検出手段と、
前記検出された動き量が予め設定された動き量よりも小さい場合に前記検出手段を駆動し、大きい場合に前記検出手段を制止する制御手段と
を更に有することを特徴とする請求項1または2に記載の撮像装置。
Motion detection means for detecting the amount of movement of the subject based on the image signal of the latest field obtained by changing the readout pattern for each field from the imaging means, and then the image signal of the new field;
3. A control means for driving the detection means when the detected motion amount is smaller than a preset motion amount and stopping the detection means when the detected motion amount is larger. The imaging device described in 1.
前記撮像装置の揺れを検出する揺れ検出手段と、
前記検出された前記撮像装置の揺れが予め設定された揺れよりも小さい場合に前記検出手段を駆動し、大きい場合に前記検出手段を制止する制御手段と
を更に有することを特徴とする請求項1乃至3のいずれかに記載の撮像装置。
Shake detecting means for detecting the shake of the imaging device;
2. The apparatus according to claim 1, further comprising: a control unit that drives the detection unit when the detected shaking of the imaging apparatus is smaller than a preset shaking, and stops the detection unit when the shaking is large. The imaging device according to any one of 1 to 3.
前記撮像装置に三脚を取り付けるための三脚取り付け手段と、
三脚が前記三脚取り付け手段に取り付けられているかどうかを検知する三脚検知手段と、
前記三脚検知手段が三脚が取り付けられている状態を検知した場合に前記検出手段を駆動し、検知していない場合に前記検出手段を制止する制御手段と
を更に有することを特徴とする請求項1乃至4のいずれかに記載の撮像装置。
Tripod attachment means for attaching a tripod to the imaging device;
Tripod detection means for detecting whether a tripod is attached to the tripod attachment means;
2. The control unit according to claim 1, further comprising a control unit that drives the detection unit when the tripod detection unit detects a state where the tripod is attached and stops the detection unit when the tripod detection unit does not detect the tripod. The imaging device according to any one of 1 to 4.
入射する被写体光を光電変換し、画像信号を出力する複数の画素から成る撮像手段と、前記撮像手段よりも被写体側に配置された光学ローパスフィルタとを有する撮像装置における欠陥画素処理方法であって、
前記撮像手段から、フィールド毎に読み出しパターンを変えて画像信号を出力する撮像工程と、
前記撮像工程で前記撮像手段から出力された前記フィールド内及び連続する2フィールド間の画像信号に基づいて、予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、前記撮像手段の画素の並び順において2画素以上連続しない場合に、当該画素を前記撮像手段の欠陥画素として検出する検出工程と、
前記決定工程で決定された欠陥画素から出力された画像信号を補正する補正工程と
を有することを特徴とする欠陥画素処理方法。
A defective pixel processing method in an imaging apparatus, comprising: an imaging unit comprising a plurality of pixels for photoelectrically converting incident subject light and outputting an image signal; and an optical low-pass filter disposed on the subject side of the imaging unit. ,
An imaging step of changing the readout pattern for each field and outputting an image signal from the imaging unit;
Based on image signals output from the imaging means in the imaging step and between two consecutive fields, a first value that is higher than a preset first value or lower than the first value. A detection step of detecting a pixel that outputs an image signal lower than a value of 2 as a defective pixel of the imaging unit when two or more pixels are not consecutive in the pixel arrangement order of the imaging unit;
And a correction step of correcting an image signal output from the defective pixel determined in the determination step.
前記検出工程では、
前記予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、フィールド内の水平方向で連続しているかどうかを判断するライン内検出工程と、
前記予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、フィールド内の垂直方向で連続しているかどうかを判断するフィールド内検出工程と、
前記予め設定された第1の値よりも高いか、または、前記第1の値より低い第2の値よりも低い画像信号を出力した画素が、フィールド間の垂直方向で連続しているかどうかを判断するフィールド間検出工程と、
前記ライン内検出工程と、前記フィールド内検出工程と、前記フィールド間検出工程の何れにおいても連続していないと判断された場合に、当該画素を欠陥画素として決定する決定工程と
を有することを特徴とする請求項6に記載の欠陥画素処理方法。
In the detection step,
Whether pixels that output an image signal higher than the preset first value or lower than the second value lower than the first value are continuous in the horizontal direction within the field. In-line detection process to judge,
Whether pixels that output an image signal higher than the preset first value or lower than the second value lower than the first value are continuous in the vertical direction within the field. In-field detection process to judge,
Whether pixels that output image signals that are higher than the preset first value or lower than the second value lower than the first value are continuous in the vertical direction between fields. A field-to-field detection process to determine;
A determination step of determining the pixel as a defective pixel when it is determined that the detection is not continuous in any of the in-line detection step, the in-field detection step, and the inter-field detection step. The defective pixel processing method according to claim 6.
前記撮像工程で前記撮像手段から出力された最新フィールドの画像信号と、次に新しいフィールドの画像信号とに基づいて、被写体の動き量を検出する動き検出工程と、
前記検出された動き量が予め設定された動き量よりも小さい場合に前記検出工程を実行し、大きい場合に前記検出工程の実行を制止する制御工程と
を更に有することを特徴とする請求項6または7に記載の欠陥画素処理方法。
A motion detection step of detecting the amount of motion of the subject based on the image signal of the latest field output from the imaging means in the imaging step and the image signal of the next new field;
And a control step of executing the detection step when the detected amount of motion is smaller than a preset amount of motion, and stopping execution of the detection step when the amount of motion is large. Or the defective pixel processing method according to 7;
前記撮像装置の揺れを検出する揺れ検出工程と、
前記検出された前記撮像装置の揺れが予め設定された揺れよりも小さい場合に前記検出工程を実行し、大きい場合に前記検出工程の実行を制止する制御工程と
を更に有することを特徴とする請求項6乃至8のいずれかに記載の欠陥画素処理方法。
A shaking detection step of detecting shaking of the imaging device;
And a control step for executing the detection step when the detected shaking of the imaging device is smaller than a preset shaking, and for stopping the detection step when the shaking is large. Item 9. The defective pixel processing method according to any one of Items 6 to 8.
前記撮像装置は、前記撮像装置に三脚を取り付けるための三脚取り付け手段を有し、
三脚が前記三脚取り付け手段に取り付けられているかどうかを検知する三脚検知工程と、
前記三脚検知工程で三脚が取り付けられている状態を検知した場合に、前記検出工程を実行し、検知していない場合に前記検出工程の実行を制止する制御工程と
を更に有することを特徴とする請求項6乃至9のいずれかに記載の欠陥画素処理方法。
The imaging device has a tripod attachment means for attaching a tripod to the imaging device,
A tripod detection step for detecting whether a tripod is attached to the tripod attachment means;
A control step of executing the detection step when the tripod detection state is detected in the tripod detection step, and stopping the execution of the detection step when the tripod is not detected. The defective pixel processing method according to claim 6.
JP2005344440A 2005-11-29 2005-11-29 Imaging apparatus and defective pixel processing method Expired - Fee Related JP4789602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005344440A JP4789602B2 (en) 2005-11-29 2005-11-29 Imaging apparatus and defective pixel processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005344440A JP4789602B2 (en) 2005-11-29 2005-11-29 Imaging apparatus and defective pixel processing method

Publications (3)

Publication Number Publication Date
JP2007150895A true JP2007150895A (en) 2007-06-14
JP2007150895A5 JP2007150895A5 (en) 2009-01-22
JP4789602B2 JP4789602B2 (en) 2011-10-12

Family

ID=38211735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005344440A Expired - Fee Related JP4789602B2 (en) 2005-11-29 2005-11-29 Imaging apparatus and defective pixel processing method

Country Status (1)

Country Link
JP (1) JP4789602B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010081115A (en) * 2008-09-24 2010-04-08 Canon Inc Image processing apparatus, image processing method and program
WO2019194106A1 (en) * 2018-04-06 2019-10-10 オリンパス株式会社 Image processing device, image processing method, and image processing program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209505A (en) * 1999-01-12 2000-07-28 Toshiba Corp Device for suppressing white flaw signal level for solid- state image pickup device
JP2003111088A (en) * 2001-09-28 2003-04-11 Matsushita Electric Ind Co Ltd Solid-state imaging apparatus
JP2003348456A (en) * 2002-03-20 2003-12-05 Ricoh Co Ltd Digital still camera
JP2006060550A (en) * 2004-08-20 2006-03-02 Canon Inc White flaw detection circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209505A (en) * 1999-01-12 2000-07-28 Toshiba Corp Device for suppressing white flaw signal level for solid- state image pickup device
JP2003111088A (en) * 2001-09-28 2003-04-11 Matsushita Electric Ind Co Ltd Solid-state imaging apparatus
JP2003348456A (en) * 2002-03-20 2003-12-05 Ricoh Co Ltd Digital still camera
JP2006060550A (en) * 2004-08-20 2006-03-02 Canon Inc White flaw detection circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010081115A (en) * 2008-09-24 2010-04-08 Canon Inc Image processing apparatus, image processing method and program
WO2019194106A1 (en) * 2018-04-06 2019-10-10 オリンパス株式会社 Image processing device, image processing method, and image processing program
US11503982B2 (en) 2018-04-06 2022-11-22 Olympus Corporation Image processing apparatus, image processing method, and computer-readable recording medium for detecting a defective pixel in an image frame

Also Published As

Publication number Publication date
JP4789602B2 (en) 2011-10-12

Similar Documents

Publication Publication Date Title
US8477231B2 (en) Image sensing apparatus
US7509039B2 (en) Image sensing apparatus with camera shake correction function
US7454131B2 (en) Image sensing apparatus with camera shake correction function
JP5105843B2 (en) Imaging apparatus and determination method
JP2005123946A (en) Defective pixel detection method, detector and imaging apparatus
JP2007281555A (en) Imaging apparatus
JP4861636B2 (en) Image processing apparatus and image processing program
JP2011030207A (en) Imaging device, and flash determining method and program
JP6037224B2 (en) Image processing apparatus, imaging apparatus, and program
JP2010130238A (en) Defect correcting circuit and imaging device with same
JP4789602B2 (en) Imaging apparatus and defective pixel processing method
JP5522078B2 (en) Imaging apparatus and image distortion correction method for imaging apparatus
JP2005176115A (en) Image pickup device
JP2003078808A (en) Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
US10536621B2 (en) Image capturing apparatus, storage medium and controlling method for correcting a second image by correcting a pixel value of the second image corresponding to a detected defective pixel
US20030222989A1 (en) Image pickup apparatus and image pickup display system
JP4130275B2 (en) Video signal processing device
JP2010273147A (en) Imaging signal specific state detector, imaging apparatus, detection method for imaging signal specific state, program and integrated circuit
JP2009194469A (en) Imaging apparatus
JP4088869B2 (en) Defective pixel detection device for solid-state imaging device and solid-state imaging device
JP2010011124A (en) Image pickup apparatus
JP2008103928A (en) Imaging apparatus
JP2005159976A (en) Image pickup apparatus
JP3053681B2 (en) Image stabilization device
JP6572074B2 (en) Imaging device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081126

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110516

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110613

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: 20110715

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: 20110719

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

Free format text: PAYMENT UNTIL: 20140729

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees