JP2009017057A - Image processing unit, imaging apparatus, image processing method, and program - Google Patents

Image processing unit, imaging apparatus, image processing method, and program Download PDF

Info

Publication number
JP2009017057A
JP2009017057A JP2007174574A JP2007174574A JP2009017057A JP 2009017057 A JP2009017057 A JP 2009017057A JP 2007174574 A JP2007174574 A JP 2007174574A JP 2007174574 A JP2007174574 A JP 2007174574A JP 2009017057 A JP2009017057 A JP 2009017057A
Authority
JP
Japan
Prior art keywords
foreign matter
pixel
defective pixel
foreign
information storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2007174574A
Other languages
Japanese (ja)
Inventor
Yasuyuki Tozawa
泰之 渡澤
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 JP2007174574A priority Critical patent/JP2009017057A/en
Publication of JP2009017057A publication Critical patent/JP2009017057A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To suppress degradation in precision of correcting a defective pixel and a pixel with a foreign matter. <P>SOLUTION: An image processing device removes an influence of the shade of a foreign matter adhering to the surface of an optical element arranged in front of an image pickup device from an image captured by the image pickup device. The image processing device comprises: a defective pixel information storage section for storing information on the position of a defective pixel in the image pickup device; a foreign matter adhesion detection section for detecting information on the position of a foreign matter, based on an image signal outputted from the image pickup device; a foreign matter information storage section for storing information on a foreign matter detected by the foreign matter adhesion detection section; a foreign matter correction section for correcting an image signal from a foreign matter pixel that is a pixel of the shade of a foreign matter by an image signal from a pixel around the foreign matter pixel, based on information stored in the foreign matter information storage section; and a control section for storing information on the defective pixel in the foreign matter information storage section by regarding the defective pixel stored in the defective pixel information storage section as a foreign matter pixel. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、デジタルカメラ等の撮像装置における撮像素子の前方に配置された光学部材の表面に付着した塵埃等の異物が写り込んだ画像を補正する技術に関するものである。   The present invention relates to a technique for correcting an image in which foreign matter such as dust attached to the surface of an optical member arranged in front of an imaging element in an imaging apparatus such as a digital camera is reflected.

固体メモリ素子を有するメモリカードを記録媒体として、CCD、CMOSセンサ等の固体撮像素子(以下撮像素子)で撮像した静止画像や動画像を記録及び再生するデジタルカメラ等の撮像装置が知られている。   2. Description of the Related Art An imaging device such as a digital camera that records and reproduces still images and moving images captured by a solid-state imaging device (hereinafter referred to as an imaging device) such as a CCD or CMOS sensor using a memory card having a solid-state memory element as a recording medium .

上記撮像装置においては、光学レンズを通して入射した外光は、多数の受光素子(以下、画素と記載)を平面内に二次元配列して形成された撮像素子で受光される。各画素は夫々、撮像対象からの反射光を受光し、受光量に応じた大きさのアナログ電気信号を出力する。撮像素子の各画素の出力は走査されて一つずつ順次A/D変換器でデジタル信号に変換された後に信号処理回路へ供給される。信号処理回路は、デジタル信号を表示信号に変換し表示器や記録媒体へ供給する。その結果、表示器の画面には、二次元配列された画素に対応する画像が表示されることになる。   In the imaging apparatus, external light incident through the optical lens is received by an imaging element formed by two-dimensionally arranging a large number of light receiving elements (hereinafter referred to as pixels) in a plane. Each pixel receives reflected light from the object to be imaged and outputs an analog electric signal having a magnitude corresponding to the amount of light received. The output of each pixel of the image sensor is scanned and sequentially converted into a digital signal by an A / D converter, and then supplied to a signal processing circuit. The signal processing circuit converts a digital signal into a display signal and supplies it to a display device or a recording medium. As a result, an image corresponding to the two-dimensionally arranged pixels is displayed on the screen of the display device.

撮像素子は二次元に配列された画素の内の幾つかに、その製造過程もしくは製造後において半導体の局部的な感度不良が発生する場合があることが知られている。この現象が発生すると、入射した光量に応じた電荷出力が得られなくなるため、取得した画像には被写体とは無関係に白点や黒点が見て取れる、いわゆる欠陥画素となって現れる問題が発生する。   It is known that in some of the pixels arranged in two dimensions in the image pickup device, local sensitivity failure of the semiconductor may occur during or after the manufacturing process. When this phenomenon occurs, a charge output corresponding to the amount of incident light cannot be obtained, so that there is a problem that the acquired image appears as a so-called defective pixel in which white spots and black spots can be seen regardless of the subject.

こうした欠陥画素に起因する画質劣化を信号処理によって補正するために、従来、次のような方法が提案されている。まず、撮像素子の工場出荷時に、所定の環境下での所定の蓄積時間における出力を評価し、欠陥と判定された画素については、この欠陥の種別(黒点、白点)及び画素のアドレス(欠陥画素の位置情報(x,y))、さらには欠陥の度合い(レベル)の情報を得る。得られた情報を撮像装置に備えられた不揮発性メモリに記憶し、撮像された画像を取得する時にはこの情報を元に欠陥画素を補正する(特許文献1)。   In order to correct the image quality degradation caused by such defective pixels by signal processing, the following methods have been proposed conventionally. First, when the image pickup device is shipped from the factory, the output during a predetermined accumulation time in a predetermined environment is evaluated. For a pixel determined to be defective, the defect type (black point, white point) and the pixel address (defect) Pixel position information (x, y)) and information on the degree of defect (level) are obtained. The obtained information is stored in a non-volatile memory provided in the imaging device, and when a captured image is acquired, defective pixels are corrected based on this information (Patent Document 1).

また欠陥画素は時間の経過と共に増加する傾向があるため、新たに発生した欠陥画素を検出し、その欠陥画素の情報を追加記憶し、欠陥画素を補正するよう構成された撮像装置もある(特許文献2)。   In addition, since defective pixels tend to increase over time, there is also an imaging device configured to detect a newly generated defective pixel, additionally store information on the defective pixel, and correct the defective pixel (patent). Reference 2).

また欠陥画素の補正には、補正対象画素の周辺にある同色画素の平均値や補間値を画素欠陥部の画像に置きかえる手法が知られている。   For correcting defective pixels, a technique is known in which an average value or an interpolation value of pixels of the same color around the correction target pixel is replaced with an image of a pixel defect portion.

この手法の一例を図5Aを参照して説明する。図5Aは、撮像素子の画素の一部を模式的に表した図であり、R、G、Bの三色の画素が規則的な組合せで配列されている。今、中央部に位置するG21が欠陥画素とすると、隣接する同色画素であるG16、G17、G25、G26の画像信号の平均値を求め、G21の画像信号をその平均値に置き換えることで欠陥画素を補正する。   An example of this technique will be described with reference to FIG. 5A. FIG. 5A is a diagram schematically showing a part of pixels of the image sensor, in which pixels of three colors R, G, and B are arranged in a regular combination. Now, assuming that G21 located in the center is a defective pixel, the average value of the image signals of G16, G17, G25, and G26 that are adjacent pixels of the same color is obtained, and the defective pixel is obtained by replacing the G21 image signal with the average value. Correct.

このような補正方法では、撮像素子のパッケージ受光面であるカバーガラス表面や、このカバーガラス上面に貼り付けられる光学フィルタ表面に、図5Bに示すように塵などの異物が付着すると、次のような問題が発生する。即ち、この付着した異物の影が補正に使用する画素にかかると、その画素の出力信号が低下し、この出力が低下した信号を用いて欠陥画素を補正することになるので、補正精度が低下してしまう。   In such a correction method, when a foreign substance such as dust adheres to the cover glass surface, which is the package light receiving surface of the image sensor, or the optical filter surface attached to the upper surface of the cover glass, as shown in FIG. Problems occur. That is, when the shadow of the attached foreign matter is applied to a pixel used for correction, the output signal of the pixel is lowered, and the defective pixel is corrected using the signal with the reduced output, so that the correction accuracy is lowered. Resulting in.

そこで撮像素子パッケージのカバーガラスや光学フィルタの表面に付着した異物を、自動的に除去する装置を備えたカメラが提案されている(特許文献3)。これは前述の欠陥画素の補正時に異物によって補正精度が低下してしまう問題に対しても非常に有効である。   In view of this, there has been proposed a camera equipped with a device that automatically removes foreign matter adhering to the cover glass of the image sensor package or the surface of the optical filter (Patent Document 3). This is also very effective for the problem that the correction accuracy is deteriorated due to the foreign matter when the defective pixel is corrected.

しかしながら、上記異物除去機能を用いても付着した異物の中には除去しきれないものが存在する。そのため、除去しきれない異物の影を補正するために次のような方法も提案されている。まず、レンズの絞りを絞った状態で白い壁などを撮像し、その撮像画像から異物の画面上の位置情報を算出し、得られた異物位置情報をデータベース化する(以下、ゴミプロファイルと記載)。そして、このゴミプロファイルを用いて、前述した欠陥画素と同様の手法により、異物の影になった画素の信号を補正する。従って、欠陥画素の補正を行った後に、異物付着画素の補正を行うことで、高画質の画像を得ることが出来る。
特開2000−23051号公報 特開2005−123873号公報 特開2003−018440号公報
However, even if the foreign matter removing function is used, there are some foreign matters that cannot be removed. For this reason, the following method has also been proposed for correcting shadows of foreign matters that cannot be removed. First, a white wall or the like is imaged with the lens aperture closed, the position information of the foreign matter on the screen is calculated from the captured image, and the obtained foreign matter position information is made into a database (hereinafter referred to as a dust profile). . Then, using this dust profile, the signal of the pixel that has become the shadow of the foreign object is corrected by the same method as that for the defective pixel described above. Therefore, a high-quality image can be obtained by correcting the foreign matter adhered pixels after correcting the defective pixels.
JP 2000-23051 A JP 2005-123873 A JP 2003-018440 A

しかしながら、欠陥画素の補正と異物付着画素の補正を個別に行う、即ち欠陥画素の補正をまず行ない、次に異物付着画素の補正を行なうと、次のような問題が発生する。即ち、欠陥画素の補正に使用する補正対象画素の周辺の同色画素に異物が付着していると、前述したように、異物の影により信号が低下している画素を欠陥画素の補正に使用することになる。そのため、欠陥画素の補正精度が低下する。さらに、このように補正精度が低下する状態で補正された欠陥画素の信号が、次にその近くの異物付着画素の補正に使用される場合が発生し、異物付着画素の補正精度も低下してしまう。   However, if the correction of the defective pixel and the correction of the foreign matter adhesion pixel are performed separately, that is, if the defective pixel is corrected first and then the foreign matter adhesion pixel is corrected, the following problem occurs. In other words, if a foreign object adheres to the same color pixel around the correction target pixel used for correcting the defective pixel, as described above, the pixel whose signal is lowered due to the shadow of the foreign object is used for correcting the defective pixel. It will be. For this reason, the correction accuracy of defective pixels is lowered. Furthermore, the signal of the defective pixel corrected in a state where the correction accuracy is reduced in this way may be used next for correcting a nearby foreign object adhesion pixel, and the correction accuracy of the foreign object adhesion pixel also decreases. End up.

また、欠陥画素上に異物の影がかかっている場合には、その欠陥画素に対して、欠陥画素補正と異物付着画素補正の二重の補正をしてしまう場合があり、やはり補正精度が低下する。   In addition, when a foreign object is shadowed on the defective pixel, the defective pixel correction and the foreign object adhesion pixel correction may be double-corrected for the defective pixel, which also reduces the correction accuracy. To do.

従って、本発明は上述した課題に鑑みてなされたものであり、その目的は、欠陥画素と異物付着画素の補正精度の低下を抑制できるようにすることである。   Therefore, the present invention has been made in view of the above-described problems, and an object of the present invention is to be able to suppress a decrease in correction accuracy of defective pixels and foreign matter-attached pixels.

上述した課題を解決し、目的を達成するために、本発明に係わる画像処理装置は、二次元的に画素が配列された撮像素子で撮像された画像から、前記撮像素子の前方に配置された光学素子の表面に付着した異物の影の影響を除去するための画像処理装置であって、前記撮像素子における欠陥画素の少なくとも位置に関する情報を記憶する欠陥画素情報記憶手段と、前記撮像素子から出力される画像信号に基づいて、前記異物の少なくとも位置に関する情報を検出する異物付着検出手段と、前記異物付着検出手段により検出された前記異物に関する情報を記憶する異物情報記憶手段と、前記異物情報記憶手段に記憶されている情報に基づいて、前記異物の影になっている画素である異物画素からの画像信号を、当該異物画素の周囲の画素からの画像信号を用いて補正する異物補正手段と、前記欠陥画素情報記憶手段に記憶されている欠陥画素を前記異物画素と見なして、当該欠陥画素に関する情報を前記異物情報記憶手段に記憶させる制御手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an image processing apparatus according to the present invention is disposed in front of an image pickup device from an image picked up by an image pickup device in which pixels are two-dimensionally arranged. An image processing apparatus for removing the influence of a shadow of a foreign substance attached to the surface of an optical element, the defective pixel information storing means for storing information on at least the position of the defective pixel in the image sensor, and output from the image sensor A foreign matter adhesion detecting means for detecting information on at least the position of the foreign matter, a foreign matter information storage means for storing information on the foreign matter detected by the foreign matter adhesion detecting means, and the foreign matter information storage Based on the information stored in the means, the image signal from the foreign pixel, which is a pixel that is a shadow of the foreign matter, is obtained from the surrounding pixels of the foreign pixel. A foreign matter correcting means for correcting using an image signal, a control means for regarding the defective pixel stored in the defective pixel information storage means as the foreign pixel, and storing information on the defective pixel in the foreign matter information storage means; It is characterized by providing.

また、本発明に係わる撮像装置は、二次元的に画素が配列された撮像素子と、前記撮像素子の前方に配置された光学素子と、上記の画像処理装置と、を備えることを特徴とする。   An image pickup apparatus according to the present invention includes an image pickup element in which pixels are two-dimensionally arranged, an optical element arranged in front of the image pickup element, and the image processing apparatus. .

また、本発明に係わる画像処理方法は、二次元的に画素が配列された撮像素子で撮像された画像から、前記撮像素子の前方に配置された光学素子の表面に付着した異物の影の影響を除去するための画像処理方法であって、前記撮像素子における欠陥画素の少なくとも位置に関する情報を欠陥画素情報記憶手段に記憶する欠陥画素情報記憶工程と、前記撮像素子から出力される画像信号に基づいて、前記異物の少なくとも位置に関する情報を検出する異物付着検出工程と、前記異物付着検出工程において検出された前記異物に関する情報を異物情報記憶手段に記憶する異物情報記憶工程と、前記異物情報記憶手段に記憶されている情報に基づいて、前記異物の影になっている画素である異物画素からの画像信号を、当該異物画素の周囲の画素からの画像信号を用いて補正する異物補正工程と、前記欠陥画素情報記憶手段に記憶されている欠陥画素を前記異物画素と見なして、当該欠陥画素に関する情報を前記異物情報記憶手段に記憶させる制御工程と、を備えることを特徴とする。   In addition, the image processing method according to the present invention is based on the influence of the shadow of the foreign matter attached to the surface of the optical element arranged in front of the image pickup element from the image picked up by the image pickup element in which the pixels are two-dimensionally arranged. And a defective pixel information storage step of storing in the defective pixel information storage means information regarding at least the position of the defective pixel in the image sensor, and an image signal output from the image sensor. A foreign matter adhesion detection step for detecting information on at least the position of the foreign matter, a foreign matter information storage step for storing information on the foreign matter detected in the foreign matter adhesion detection step in foreign matter information storage means, and the foreign matter information storage means. Based on the information stored in the image, the image signal from the foreign object pixel that is a pixel that is a shadow of the foreign object is converted to a pixel around the foreign object pixel. A foreign substance correcting step of correcting using the image signal, and a control step of regarding the defective pixel stored in the defective pixel information storage means as the foreign pixel and storing information on the defective pixel in the foreign information storage means And.

本発明によれば、欠陥画素と異物付着画素の補正精度の低下を抑制することが可能となる。   According to the present invention, it is possible to suppress a decrease in the correction accuracy of defective pixels and foreign matter adhered pixels.

以下、本発明の好適な一実施形態について、図面を参照して詳細に説明する。   Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本発明の撮像装置の一実施形態であるデジタルカメラのブロック構成を示す図である。   FIG. 1 is a diagram showing a block configuration of a digital camera which is an embodiment of an imaging apparatus of the present invention.

図1において、複数の光電変換部(画素)が二次元的に配列された、CCD、CMOSセンサ等からなる撮像素子1の出力には、CDS/AGC回路2でノイズリダクションとゲイン調整が実施される。CDS/AGC回路2から出力された信号は、A/D変換器3でアナログ信号からデジタル信号に変換され、デジタル信号処理ICであるエンジン4に入力される。エンジン4は、画像処理装置として機能する。   In FIG. 1, noise reduction and gain adjustment are performed by the CDS / AGC circuit 2 on the output of the imaging device 1 including a CCD, a CMOS sensor, etc. in which a plurality of photoelectric conversion units (pixels) are two-dimensionally arranged. The The signal output from the CDS / AGC circuit 2 is converted from an analog signal to a digital signal by the A / D converter 3 and input to the engine 4 which is a digital signal processing IC. The engine 4 functions as an image processing device.

エンジン4は、異物画素影響判定部5、欠陥画素情報記憶部6、異物付着検出部7、異物情報記憶部8、画素補正部10、現像処理部11及び、スイッチ9を含む。なお、本実施形態では、画素補正部10は、実際上は異物画素の補正を行なう異物補正部として機能する。   The engine 4 includes a foreign matter pixel influence determination unit 5, a defective pixel information storage unit 6, a foreign matter adhesion detection unit 7, a foreign matter information storage unit 8, a pixel correction unit 10, a development processing unit 11, and a switch 9. In the present embodiment, the pixel correction unit 10 actually functions as a foreign matter correction unit that corrects foreign matter pixels.

エンジン4に入力されたデジタル画像信号は、画素補正部10で処理され、欠陥画素及び異物付着による影響を受ける画素(異物画素又は異物付着画素と呼ぶ)が補正される。これらの補正が行なわれた画像信号は、現像処理部11で色補間処理などの現像処理が施され、メモリ20に保存される。   The digital image signal input to the engine 4 is processed by the pixel correction unit 10 to correct defective pixels and pixels that are affected by foreign matter adhesion (referred to as foreign matter pixels or foreign matter attached pixels). The image signal subjected to these corrections is subjected to development processing such as color interpolation processing in the development processing section 11 and stored in the memory 20.

上記の異物画素影響判定部5では、欠陥画素情報記憶部6内の情報、異物情報記憶部8内のゴミプロファイルから得られる、欠陥画素の位置データと異物画素の位置データとから、欠陥画素部の補正に使用する画像信号に異物の影響があるか否かを判定する。   In the foreign pixel effect determination unit 5 described above, the defective pixel unit is obtained from the position data of the defective pixel and the position data of the foreign pixel obtained from the information in the defective pixel information storage unit 6 and the dust profile in the foreign matter information storage unit 8. It is determined whether or not the image signal used for the correction is affected by foreign matter.

なお、本実施形態では、欠陥画素部を欠陥画素部として補正するのではなく、異物付着画素部として補正するのであるが、上記の欠陥画素部の補正に使用する画像信号とは、一般的に行われる欠陥画素の補正方法において使用される画素の画像信号を意味する。   In the present embodiment, the defective pixel portion is not corrected as a defective pixel portion, but is corrected as a foreign matter adhesion pixel portion. However, the image signal used for correcting the defective pixel portion is generally It means an image signal of a pixel used in a defective pixel correction method performed.

ここで、一般的に行われる欠陥画素部の補正方法について説明する。   Here, a correction method for a defective pixel portion that is generally performed will be described.

例えば図2Aは、撮像素子の画素の一部を模式的に表した図であり、R、G、Bの三色の画素が規則的な組合せで配列されている。今、中央部のG21が欠陥画素の場合、隣接する同色画素であるG16、G17、G25、G26(欠陥画素の周囲の画素)の画像信号の平均値を求め、G21の画像信号をその平均値に置き換えることで欠陥画素部からの画像信号を補正する。これが一般的に行われる欠陥画素部の補正方法である。本実施形態においては、異物画素影響判定部5において、このように一般的な方法で欠陥画素部の補正が行なわれると仮定した場合に、補正に使用すると想定される画素が異物の影響を受けているか否かを判定する。   For example, FIG. 2A is a diagram schematically showing a part of the pixels of the image sensor, in which pixels of three colors R, G, and B are arranged in a regular combination. If G21 in the center is a defective pixel, the average value of the image signals of G16, G17, G25, and G26 (pixels around the defective pixel) that are adjacent pixels of the same color is obtained, and the G21 image signal is the average value. The image signal from the defective pixel portion is corrected by replacing with. This is a general correction method for defective pixel portions. In the present embodiment, when it is assumed that the defect pixel influence determination unit 5 corrects the defective pixel portion by a general method in this way, pixels assumed to be used for correction are affected by the foreign substance. It is determined whether or not.

また、上記の欠陥画素情報記憶部6には、例えば撮像素子1の工場出荷時に取得した欠陥画素の位置データ、欠陥のレベル、欠陥の種類などの情報が記憶されている。また、撮像素子1のカバーガラスの表面または撮像素子1のカバーガラス表面に貼り付けられた光学フィルタ21の表面の異物の位置、大きさ等の情報は、異物付着検出部7により検出される。検出された異物の位置、大きさ等の情報は、異物情報記憶部8に記憶される。ここで、上記の撮像素子1のカバーガラス表面または撮像素子1のカバーガラス表面に貼り付けられた光学フィルタ21の表面を、簡単のため「撮像素子表面」と記述する。   The defective pixel information storage unit 6 stores information such as position data of defective pixels, a defect level, and a defect type acquired when the image pickup device 1 is shipped from the factory. In addition, information such as the position and size of foreign matter on the surface of the cover glass of the image sensor 1 or the surface of the optical filter 21 attached to the cover glass surface of the image sensor 1 is detected by the foreign matter adhesion detection unit 7. Information such as the position and size of the detected foreign matter is stored in the foreign matter information storage unit 8. Here, the surface of the cover glass of the image sensor 1 or the surface of the optical filter 21 attached to the cover glass surface of the image sensor 1 is described as “image sensor surface” for simplicity.

現像処理部11で現像処理された画像は、例えばTFT液晶表示器等の表示器(LCD)12に表示されたり、あるいは、ビデオ端子(VIDEO)13等から外部モニターなどに出力されたりする。   An image developed by the development processing unit 11 is displayed on a display (LCD) 12 such as a TFT liquid crystal display, or is output from a video terminal (VIDEO) 13 or the like to an external monitor.

また、現像処理された画像は、外部メモリ14、例えばCFカード(フラッシュメモリカード)などに保存することもできる。またエンジン4にはシリアル通信装置であるUSBインターフェース等のインターフェース15が接続されており、これを通して外部のコンピュータなどに画像データなどを出力できる。さらに、エンジン4はタイミングジェネレータ(TG/VDR)16を駆動して、これによって撮像素子1に供給すべきクロック信号等を発生させる。   The developed image can be stored in an external memory 14, for example, a CF card (flash memory card). The engine 4 is connected to an interface 15 such as a USB interface, which is a serial communication device, through which image data can be output to an external computer or the like. Further, the engine 4 drives a timing generator (TG / VDR) 16 to generate a clock signal and the like to be supplied to the image sensor 1.

また、エンジン4には、マイクロプロセッサ(CPU)19が接続されており、CPU19からの命令に応じて種々の設定が行われ、CPU19によって動作が管理される。メモリ20は、CPU19に提供すべきプログラムを格納したり、撮影画像を一時的に格納したりするため、及び、作業領域として使用される。レンズ17は、撮影のための光学系であり、その絞りや焦点を調節するためのアクチュエータを有する。アクチュエータは、CPU19からの指示にしたがって制御される。また異物除去部18は撮像素子1に貼り付けられた光学フィルタ(光学素子)21表面の異物を除去するためのアクチュエータ(例えば光学フィルタ21を振動させる圧電素子)を有し、例えば電源起動時にCPU19により駆動制御される。   Further, a microprocessor (CPU) 19 is connected to the engine 4, and various settings are performed according to instructions from the CPU 19, and the operation is managed by the CPU 19. The memory 20 is used as a work area for storing a program to be provided to the CPU 19 or temporarily storing a photographed image. The lens 17 is an optical system for photographing, and has an actuator for adjusting its aperture and focus. The actuator is controlled in accordance with an instruction from the CPU 19. Further, the foreign matter removing unit 18 has an actuator (for example, a piezoelectric element that vibrates the optical filter 21) for removing foreign matter on the surface of the optical filter (optical element) 21 attached to the image pickup device 1, and for example, the CPU 19 at the time of power activation The drive is controlled by.

また光学フィルタ21は撮像素子1のカバーガラスの表面上及び光学フィルタ21の表面上の異物を充分除去した状態で高密閉状態で貼り合わせしたり、組みつけられたりしている。   The optical filter 21 is bonded or assembled in a highly sealed state in a state where foreign matters on the surface of the cover glass of the image sensor 1 and the surface of the optical filter 21 are sufficiently removed.

次にエンジン4内部に備えられた異物付着検出部7の動作について図3のフローチャートを参照して説明する。   Next, the operation of the foreign matter adhesion detection unit 7 provided in the engine 4 will be described with reference to the flowchart of FIG.

図3において、カメラの主電源(不図示)が起動されると、CPU19は異物除去部18を制御し、撮像素子1のカバーガラスに貼り付けられた光学フィルタ21表面の異物除去を所定時間だけ自動実行する(ステップS201)。この動作について本実施形態ではカメラの主電源起動時に実行するようにしたが、動作時期はこれに限らず定期的に自動実行してもよいし、または使用者が任意に実行させるようにしてもかまわない。異物除去動作の詳細については例えば特開2003−018440号公報に記載された内容のものでもよいし、その他撮像素子表面の異物を効果的に除去できる構成であれば特に限定はない。   In FIG. 3, when the main power supply (not shown) of the camera is activated, the CPU 19 controls the foreign matter removing unit 18 to remove foreign matter on the surface of the optical filter 21 attached to the cover glass of the image sensor 1 for a predetermined time. Automatically executed (step S201). In this embodiment, this operation is executed when the main power supply of the camera is started. However, the operation timing is not limited to this, and may be automatically executed periodically, or may be arbitrarily executed by the user. It doesn't matter. The details of the foreign matter removing operation may be those described in, for example, Japanese Patent Application Laid-Open No. 2003-018440, or any other configuration that can effectively remove foreign matter on the surface of the image sensor.

上記の異物除去動作の目的は、撮像素子1のカバーガラスに貼り付けられた光学フィルタ21表面に付着した異物を除去することにある。しかしながらこの除去能力には限界があり、付着したほとんどの異物は確実に除去可能であるが、撮像素子の数画素分程度の非常に細かい一部の異物には除去しきれないものが存在する。よってステップS202以降で撮像素子1の表面にどの程度異物が残っているかを検出する。   The purpose of the foreign matter removing operation is to remove the foreign matter attached to the surface of the optical filter 21 attached to the cover glass of the image sensor 1. However, there is a limit to this removal capability, and most of the attached foreign matter can be reliably removed, but there are some very fine foreign matters of several pixels of the image sensor that cannot be removed. Therefore, it is detected how much foreign matter remains on the surface of the image sensor 1 after step S202.

異物除去動作が完了すると、CPU19はエンジン4に異物情報記憶部8のゴミプロファイル内容を初期化させ(ステップS202)、スイッチ9をONにしてA/D変換器3からの画像信号が異物付着検出部7に入力される状態にする(ステップS203)。そして異物検出用の画像の撮影を行う(ステップS204)。撮像素子表面に異物が付着した個所では撮影された画像に影ができる(異物画素)ため、ステップS204では異物を検出しやすい比較的明るい均一光を撮影して、異物検出用の画像を生成する。光の入射方法は、特開2002−300442号公報のようにカメラ内部に専用光源を備えてもよいし、カメラ外部からの光を利用しても構わない。   When the foreign matter removal operation is completed, the CPU 19 initializes the contents of the dust profile in the foreign matter information storage unit 8 in the engine 4 (step S202), and the switch 9 is turned on to detect the foreign matter adhesion from the image signal from the A / D converter 3. The state is input to the unit 7 (step S203). Then, a foreign object detection image is taken (step S204). Since a shadow is formed on the photographed image (foreign pixel) at a position where foreign matter has adhered to the surface of the image sensor, in step S204, a relatively bright uniform light that easily detects the foreign matter is photographed to generate a foreign matter detection image. . As a light incident method, a dedicated light source may be provided inside the camera as in JP-A-2002-300442, or light from the outside of the camera may be used.

均一光撮影による撮像素子1の出力は、CDS/AGC回路2、A/D変換器3を経てエンジン4へ入力される。エンジン4に入力された画像信号は異物付着検出部7へ1画素相当の画像信号毎に順次入力される(ステップS205)。この異物付着検出部7に入力された画像信号に対して、欠陥画素情報記憶部6の情報をもとに欠陥画素判定を行い(ステップS206)、欠陥画素である画像信号については異物付着判定は行なわず(ステップS206:Yes)、ステップS209へ移行する。欠陥画素でない画像信号(ステップS206:No)については規定値(画像信号の規定の輝度値)と比較し(ステップS207)、比較した画像信号が規定値より小さい(暗い)ときは撮像素子表面に異物が付着しているものと判断する。そして、異物情報記憶部8にゴミプロファイルとして位置データ、大きさ、画像信号のレベルなどの情報を書き込む(ステップS208)。一方比較した画像信号が規定値以上のときは、異物が付着していないと判断出来るため、異物情報記憶部8への書き込みは行わない。1画素分の検出動作が終了する度に全画素の検出動作が終了したかを確認し(ステップS209)、終了するまでステップS205〜S209を繰り返す。   The output of the image sensor 1 by uniform light imaging is input to the engine 4 through the CDS / AGC circuit 2 and the A / D converter 3. The image signals input to the engine 4 are sequentially input to the foreign matter adhesion detection unit 7 for each image signal corresponding to one pixel (step S205). A defective pixel determination is performed on the image signal input to the foreign matter adhesion detection unit 7 based on information in the defective pixel information storage unit 6 (step S206). It does not carry out (step S206: Yes) and transfers to step S209. An image signal that is not a defective pixel (Step S206: No) is compared with a specified value (a specified luminance value of the image signal) (Step S207). Judge that foreign matter is attached. Then, information such as position data, size, and image signal level is written as a dust profile in the foreign matter information storage unit 8 (step S208). On the other hand, when the compared image signal is equal to or greater than the specified value, it can be determined that no foreign matter is attached, and therefore writing to the foreign matter information storage unit 8 is not performed. Every time the detection operation for one pixel is completed, it is confirmed whether the detection operation for all pixels is completed (step S209), and steps S205 to S209 are repeated until the detection operation is completed.

次に、欠陥画素情報記憶部6に記録されている欠陥画素の情報を順次異物画素影響判定部5に読み出す(ステップS210)。読み出された欠陥画素の情報に基づいて、異物画素影響判定部5は、各欠陥画素を補正するために使用すると想定される画素と上記のステップS201〜S209によって作成されたゴミプロファイルとを比較する(ステップS211)。そして、欠陥画素の補正に使用すると想定される画素がゴミプロファイルと一致している場合(ステップS211:Yes)、欠陥画素部を包含する領域をゴミプロファイルに追記する(ステップS212)。   Next, information on defective pixels recorded in the defective pixel information storage unit 6 is sequentially read out to the foreign object pixel influence determination unit 5 (step S210). Based on the read information of the defective pixel, the foreign object pixel influence determination unit 5 compares the pixel assumed to be used for correcting each defective pixel with the dust profile created in steps S201 to S209 described above. (Step S211). When the pixel assumed to be used for correcting the defective pixel matches the dust profile (step S211: Yes), an area including the defective pixel portion is added to the dust profile (step S212).

例えば図2Bのように欠陥画素G21と隣接する同色画素のひとつであるG17の画像信号が異物付着による影響を受けているような場合では、G21を包含する領域をゴミプロファイルに追記する。より具体的には、欠陥画素G21を包含する様に異物付着領域を拡大してゴミプロファイルを作成する。即ち、欠陥画素G21を、欠陥画素ではなく異物付着画素として扱う。また、それに加えて、図2Cのように、異物付着領域をさらに拡大してR8、B11も異物付着領域としてゴミプロファイルを作成してもよい。   For example, as shown in FIG. 2B, when the image signal of G17, which is one of the same color pixels adjacent to the defective pixel G21, is affected by the adhesion of foreign matter, an area including G21 is added to the dust profile. More specifically, a dust profile is created by enlarging the foreign matter adhesion region so as to include the defective pixel G21. In other words, the defective pixel G21 is treated as a foreign matter adhesion pixel, not a defective pixel. In addition to this, as shown in FIG. 2C, the foreign matter adhesion region may be further enlarged to create a dust profile with R8 and B11 as the foreign matter adhesion region.

また、欠陥画素の補正に使用すると想定される画素がゴミプロファイルと一致しなかった場合(ステップS211:No)、ステップS213へ移行する。ステップS213では、対象となっている欠陥画素を、その欠陥画素単体でゴミプロファイルに追記する。即ち、対象となっている画素を欠陥画素としてではなく、異物付着画素として扱う。   If the pixel assumed to be used for correcting the defective pixel does not match the dust profile (No at Step S211), the process proceeds to Step S213. In step S213, the target defective pixel is added to the dust profile as a single defective pixel. In other words, the target pixel is not treated as a defective pixel, but as a foreign object adhesion pixel.

そして、全欠陥画素の判定が終了したかを確認し(ステップS214)、終了するまでステップS210〜S214を繰り返す。   Then, it is confirmed whether the determination of all defective pixels is completed (step S214), and steps S210 to S214 are repeated until the determination is completed.

以上の図3のフローチャートの動作により、対象となるデジタルカメラについての最新の異物付着画素情報(ゴミプロファイル)が作成される。   The latest foreign substance adhesion pixel information (dust profile) for the target digital camera is created by the operation of the flowchart of FIG.

次に、上記のようにして作成された異物付着画素情報(ゴミプロファイル)を用いて、エンジン4の内部に備えられた画素補正部10で撮影画像を補正する動作について図4のフローチャートを参照して説明する。   Next, referring to the flowchart of FIG. 4 for the operation of correcting the photographed image by the pixel correction unit 10 provided in the engine 4 using the foreign substance adhesion pixel information (dust profile) created as described above. I will explain.

図4において、使用者によりゴミ検出用の撮影ではない通常の撮影が行われると、撮影対象からの反射光を受けた撮像素子1の出力が、CDS/AGC回路2、A/D変換器3を経てエンジン4へ入力される(ステップS301)。   In FIG. 4, when the user performs normal shooting that is not dust detection shooting, the output of the imaging device 1 that receives the reflected light from the shooting target is the CDS / AGC circuit 2 and the A / D converter 3. And input to the engine 4 (step S301).

ステップS302では、異物付着の影響を受けている画素の補正を撮像装置で行うか否かを判定し、撮像装置で行わない場合(ステップS302:No)には、補正処理を行わず現像処理部11へ画像信号を送信し終了する。また、異物付着の影響を受けている画素の補正を撮像装置で行なう場合(ステップS302:Yes)には、ステップS303に移行する。   In step S302, it is determined whether or not correction of pixels affected by the adhesion of foreign matter is performed by the imaging device. When the correction is not performed by the imaging device (step S302: No), the correction processing is not performed and the development processing unit. The image signal is transmitted to 11, and the process ends. In addition, when correction of the pixel affected by the foreign matter adhesion is performed by the imaging apparatus (step S302: Yes), the process proceeds to step S303.

エンジン4に入力された画像信号は画素補正部10へ1画素相当の画像信号毎に順次入力される(ステップS303)。   The image signal input to the engine 4 is sequentially input to the pixel correction unit 10 for each image signal corresponding to one pixel (step S303).

この画素補正部10に入力された画像信号について、異物情報記憶部8の情報であるゴミプロファイルをもとに異物付着画素判定が行われる(ステップS304)。そして、この画像信号が異物付着画素のものでない場合(ステップS304:No)には、画像信号を補正せずにステップS307へ移行する。この画像信号が異物付着画素のものである場合(ステップS304:Yes)には、異物付着画素周辺の所定の画素からの画像信号を使って補正値を求め(ステップS305)、求められた補正値を異物付着画素の画像信号と置き換える(ステップS306)。   The image signal input to the pixel correction unit 10 is subjected to foreign object adhesion pixel determination based on a dust profile that is information in the foreign object information storage unit 8 (step S304). If the image signal is not for a foreign object adhesion pixel (step S304: No), the process proceeds to step S307 without correcting the image signal. If this image signal is for a foreign substance adhesion pixel (step S304: Yes), a correction value is obtained using an image signal from a predetermined pixel around the foreign substance adhesion pixel (step S305), and the obtained correction value is obtained. Is replaced with the image signal of the foreign substance adhesion pixel (step S306).

この手法は、例えば図2Aのように欠陥画素G21に隣接した同色画素G16、G17、G25、G26の画像信号の平均値を求め、この平均値をG21の画像信号と置換えることで欠陥画素の補正を行う方法と同様である。   In this method, for example, as shown in FIG. 2A, an average value of image signals of the same color pixels G16, G17, G25, and G26 adjacent to the defective pixel G21 is obtained, and the average value is replaced with the image signal of G21. This is the same as the method of performing correction.

その後、1画素分の補正動作が終了する度に全画素分の異物付着画素の判定及び画像信号の補正動作が終了したかを確認し(ステップS307)、これが終了するまでステップS303〜S307を繰り返す。   After that, every time the correction operation for one pixel is completed, it is confirmed whether the foreign matter adhesion pixel determination and the image signal correction operation for all pixels are completed (step S307), and steps S303 to S307 are repeated until this is completed. .

以上述べたように本実施形態では、撮像素子の欠陥画素及び異物付着画素を全て異物付着画素として扱い、ゴミプロファイルを作成する。そして、撮像素子の欠陥画素の補正及び異物付着画素の補正を個別に行うのではなく、すべてを異物付着画素と見なして同時に一括して行う。これにより、精度の低い画像信号を用いた補正や同一画素に二重の補正を行うこと無く、補正精度の高い画像を提供することが可能となる。   As described above, in the present embodiment, a defective profile and a foreign object adhesion pixel are all handled as a foreign object adhesion pixel and a dust profile is created. Then, the correction of the defective pixels of the image sensor and the correction of the foreign matter adhesion pixels are not performed individually, but all are regarded as foreign matter adhesion pixels and are performed simultaneously. This makes it possible to provide an image with high correction accuracy without performing correction using an image signal with low accuracy or performing double correction on the same pixel.

また、本実施形態においては、異物付着画素の補正方法は同色の周辺画素を用いた補正としたが本発明はこの補正方法に限るものではない。異物付着部の位置情報取得方法、ゴミプロファイルの作成方法、欠陥画素のゴミプロファイルへの追加方法及び補正方法についても同様に本実施形態に限るものでは無い。   Further, in the present embodiment, the correction method for the foreign substance adhered pixels is correction using peripheral pixels of the same color, but the present invention is not limited to this correction method. Similarly, the position information acquisition method of the foreign matter adhesion part, the dust profile creation method, the addition method of the defective pixel to the dust profile, and the correction method are not limited to the present embodiment.

更に、本実施形態においては、デジタルカメラ本体で、欠陥画素の補正と異物付着部の補正を行ったが、これらの補正はパーソナルコンピュータなどの外部装置で行っても良い。その場合には、外部装置が図1に示したエンジン4に相当する構成を供えることとなる。   Further, in the present embodiment, the correction of defective pixels and the correction of foreign matter adhesion portions are performed by the digital camera body, but these corrections may be performed by an external device such as a personal computer. In that case, the external device provides a configuration corresponding to the engine 4 shown in FIG.

(他の実施形態)
また、各実施形態の目的は、次のような方法によっても達成される。すなわち、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、本発明には次のような場合も含まれる。すなわち、プログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。
(Other embodiments)
The object of each embodiment is also achieved by the following method. That is, a storage medium (or recording medium) in which a program code of software that realizes 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. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but the present invention includes the following cases. That is, based on the instruction of the program code, an operating system (OS) or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

さらに、次のような場合も本発明に含まれる。すなわち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。   Furthermore, the following cases are also included in the present invention. That is, the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion card or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した手順に対応するプログラムコードが格納されることになる。   When the present invention is applied to the above-mentioned storage medium, the storage medium stores program codes corresponding to the procedure described above.

本発明の撮像装置の一実施形態であるデジタルカメラのブロック構成を示す図である。It is a figure which shows the block configuration of the digital camera which is one Embodiment of the imaging device of this invention. 一般的な欠陥画素部からの画像信号を補正する動作を説明するための撮像素子の画素の一部を抜き出して模式的に表した図である。It is the figure which extracted and extracted typically a part of pixel of the image sensor for demonstrating the operation | movement which correct | amends the image signal from a general defective pixel part. 欠陥画素部からの画像信号を補正する動作を説明するための撮像素子の画素の一部を抜き出して模式的に表した図である。It is the figure which extracted and extracted typically a part of pixel of the image sensor for demonstrating the operation | movement which correct | amends the image signal from a defective pixel part. 本発明の一実施形態における、欠陥画素部を異物付着画素として扱う動作を説明するための撮像素子の画素の一部を抜き出して模式的に表した図である。It is the figure which extracted and extracted typically a part of pixel of the image sensor for demonstrating the operation | movement which handles a defective pixel part as a foreign material adhesion pixel in one Embodiment of this invention. 異物付着画素の情報の作成手法を説明するフローチャートである。It is a flowchart explaining the preparation method of the information of a foreign material adhesion pixel. 欠陥画素及び異物付着画素の補正動作を説明するフローチャートである。It is a flowchart explaining the correction | amendment operation | movement of a defective pixel and a foreign material adhesion pixel. 従来の欠陥画素部からの画像信号を補正する動作を説明するための撮像素子の画素の一部を抜き出して模式的に表した図である。It is the figure which extracted and extracted typically a part of pixel of the image pick-up element for demonstrating the operation | movement which correct | amends the image signal from the conventional defective pixel part. 従来の欠陥画素部からの画像信号を補正する動作を説明するための撮像素子の画素の一部を抜き出して模式的に表した図である。It is the figure which extracted and extracted typically a part of pixel of the image pick-up element for demonstrating the operation | movement which correct | amends the image signal from the conventional defective pixel part.

符号の説明Explanation of symbols

1 撮像素子
2 CDS/AGC回路
3 A/D変換器
4 エンジン
5 異物画素影響判定部
6 欠陥画素情報記憶部
7 異物付着検出部
8 異物情報記憶部
9 スイッチ
10 画素補正部
11 現像処理部
12 表示器
13 ビデオ端子
14 外部メモリ
15 インターフェース
16 タイミングジェネレータ
17 レンズ
18 異物除去部
19 マイクロプロセッサ
20 メモリ
21 光学フィルタ
DESCRIPTION OF SYMBOLS 1 Image pick-up element 2 CDS / AGC circuit 3 A / D converter 4 Engine 5 Foreign object pixel influence determination part 6 Defective pixel information storage part 7 Foreign object adhesion detection part 8 Foreign object information storage part 9 Switch 10 Pixel correction part 11 Development processing part 12 Display 13 Video terminal
14 External memory 15 Interface 16 Timing generator 17 Lens 18 Foreign matter removing unit 19 Microprocessor 20 Memory 21 Optical filter

Claims (5)

二次元的に画素が配列された撮像素子で撮像された画像から、前記撮像素子の前方に配置された光学素子の表面に付着した異物の影の影響を除去するための画像処理装置であって、
前記撮像素子における欠陥画素の少なくとも位置に関する情報を記憶する欠陥画素情報記憶手段と、
前記撮像素子から出力される画像信号に基づいて、前記異物の少なくとも位置に関する情報を検出する異物付着検出手段と、
前記異物付着検出手段により検出された前記異物に関する情報を記憶する異物情報記憶手段と、
前記異物情報記憶手段に記憶されている情報に基づいて、前記異物の影になっている画素である異物画素からの画像信号を、当該異物画素の周囲の画素からの画像信号を用いて補正する異物補正手段と、
前記欠陥画素情報記憶手段に記憶されている欠陥画素を前記異物画素と見なして、当該欠陥画素に関する情報を前記異物情報記憶手段に記憶させる制御手段と、
を備えることを特徴とする画像処理装置。
An image processing apparatus for removing the influence of a shadow of a foreign substance attached to the surface of an optical element arranged in front of the imaging element from an image captured by an imaging element in which pixels are two-dimensionally arranged. ,
Defective pixel information storage means for storing information on at least the position of the defective pixel in the image sensor;
Foreign matter adhesion detection means for detecting information on at least the position of the foreign matter based on an image signal output from the image sensor;
Foreign matter information storage means for storing information on the foreign matter detected by the foreign matter adhesion detection means;
Based on the information stored in the foreign matter information storage means, the image signal from the foreign pixel which is a pixel shadowed by the foreign matter is corrected using the image signal from the pixels around the foreign matter pixel. Foreign matter correcting means;
Control means for regarding the defective pixel stored in the defective pixel information storage means as the foreign pixel, and storing information on the defective pixel in the foreign information storage means;
An image processing apparatus comprising:
前記制御手段は、前記欠陥画素の補正に用いられると想定される当該欠陥画素の周囲の画素が前記異物の影の影響を受けている領域に含まれる場合に、前記異物の影の影響を受けている領域を拡大して前記欠陥画素を包含する領域を前記異物情報記憶手段に記憶させることを特徴とする請求項1に記載の画像処理装置。   The control means is affected by the shadow of the foreign object when a pixel around the defective pixel assumed to be used for correcting the defective pixel is included in an area affected by the shadow of the foreign object. The image processing apparatus according to claim 1, wherein a region including the defective pixel is expanded and stored in the foreign matter information storage unit. 二次元的に画素が配列された撮像素子と、
前記撮像素子の前方に配置された光学素子と、
請求項1又は2に記載の画像処理装置と、
を備えることを特徴とする撮像装置。
An image sensor in which pixels are two-dimensionally arranged;
An optical element disposed in front of the imaging element;
The image processing apparatus according to claim 1 or 2,
An imaging apparatus comprising:
二次元的に画素が配列された撮像素子で撮像された画像から、前記撮像素子の前方に配置された光学素子の表面に付着した異物の影の影響を除去するための画像処理方法であって、
前記撮像素子における欠陥画素の少なくとも位置に関する情報を欠陥画素情報記憶手段に記憶する欠陥画素情報記憶工程と、
前記撮像素子から出力される画像信号に基づいて、前記異物の少なくとも位置に関する情報を検出する異物付着検出工程と、
前記異物付着検出工程において検出された前記異物に関する情報を異物情報記憶手段に記憶する異物情報記憶工程と、
前記異物情報記憶手段に記憶されている情報に基づいて、前記異物の影になっている画素である異物画素からの画像信号を、当該異物画素の周囲の画素からの画像信号を用いて補正する異物補正工程と、
前記欠陥画素情報記憶手段に記憶されている欠陥画素を前記異物画素と見なして、当該欠陥画素に関する情報を前記異物情報記憶手段に記憶させる制御工程と、
を備えることを特徴とする画像処理方法。
An image processing method for removing the influence of a shadow of a foreign substance attached to the surface of an optical element arranged in front of the image sensor from an image captured by an image sensor in which pixels are two-dimensionally arranged. ,
A defective pixel information storage step of storing information on at least the position of the defective pixel in the image sensor in the defective pixel information storage means;
A foreign matter adhesion detection step for detecting information on at least the position of the foreign matter based on an image signal output from the imaging element;
A foreign matter information storage step of storing information on the foreign matter detected in the foreign matter adhesion detection step in a foreign matter information storage means;
Based on the information stored in the foreign matter information storage means, the image signal from the foreign pixel which is a pixel shadowed by the foreign matter is corrected using the image signal from the pixels around the foreign matter pixel. Foreign matter correction process;
A control step in which the defective pixel stored in the defective pixel information storage means is regarded as the foreign pixel, and information regarding the defective pixel is stored in the foreign information storage means;
An image processing method comprising:
請求項4に記載の画像処理方法をコンピュータに実行させることを特徴とするプログラム。   A program causing a computer to execute the image processing method according to claim 4.
JP2007174574A 2007-07-02 2007-07-02 Image processing unit, imaging apparatus, image processing method, and program Withdrawn JP2009017057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007174574A JP2009017057A (en) 2007-07-02 2007-07-02 Image processing unit, imaging apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007174574A JP2009017057A (en) 2007-07-02 2007-07-02 Image processing unit, imaging apparatus, image processing method, and program

Publications (1)

Publication Number Publication Date
JP2009017057A true JP2009017057A (en) 2009-01-22

Family

ID=40357432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007174574A Withdrawn JP2009017057A (en) 2007-07-02 2007-07-02 Image processing unit, imaging apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP2009017057A (en)

Similar Documents

Publication Publication Date Title
JP4956009B2 (en) Imaging apparatus and control method thereof
JP5379601B2 (en) Defective pixel data correction device, imaging device, and defective pixel data correction method
JP5013812B2 (en) Imaging apparatus and correction method
JP4926467B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5084366B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP6731626B2 (en) Imaging device, camera, and imaging method
JP2009065642A (en) Imaging apparatus
JP2007306506A (en) Imaging apparatus
JP2009017058A (en) Image processing unit, imaging apparatus, image processing method, and storage medium
JP2009017057A (en) Image processing unit, imaging apparatus, image processing method, and program
JP2008131607A (en) Imaging apparatus, its control method and program, and storage medium
JP2004064512A (en) Method and device for detecting defective pixel, and image pickup device
KR101646673B1 (en) An apparatus and a method for processing image, and a computer-readable medium storing a computer program for performing the method
JP5147652B2 (en) Imaging apparatus, control method thereof, and program
JP2007028338A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2007028496A (en) Image processing apparatus, image processing method, program and storage medium
JP2007243558A (en) Solid-state image pickup device
JP4750511B2 (en) Imaging apparatus and control method thereof
JP2008048191A (en) Fixed pattern noise removing device and imaging apparatus
JP6218408B2 (en) Image processing apparatus, image processing method, and program
JP2006217418A (en) Image processing apparatus and method
JP2001230976A (en) Device and method for picking up image, and computer- readable recording medium with recorded program for computer for executing the same
JP5404217B2 (en) Imaging apparatus and control method thereof
JP2008244868A (en) Imaging apparatus, and control method, program and storage medium thereof
JP2002152601A (en) Solid-state imaging unit and method for correcting defective pixel

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100907