JP4654876B2 - Foreign object detection system - Google Patents

Foreign object detection system Download PDF

Info

Publication number
JP4654876B2
JP4654876B2 JP2005304715A JP2005304715A JP4654876B2 JP 4654876 B2 JP4654876 B2 JP 4654876B2 JP 2005304715 A JP2005304715 A JP 2005304715A JP 2005304715 A JP2005304715 A JP 2005304715A JP 4654876 B2 JP4654876 B2 JP 4654876B2
Authority
JP
Japan
Prior art keywords
image
foreign object
foreign
foreign matter
image sensor
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.)
Expired - Fee Related
Application number
JP2005304715A
Other languages
Japanese (ja)
Other versions
JP2007116366A (en
Inventor
泰 荻野
一磨 細井
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2005304715A priority Critical patent/JP4654876B2/en
Publication of JP2007116366A publication Critical patent/JP2007116366A/en
Application granted granted Critical
Publication of JP4654876B2 publication Critical patent/JP4654876B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、撮像素子の異物検出を行う異物検出システムに関する。   The present invention relates to a foreign object detection system that performs foreign object detection of an image sensor.

カメラに内蔵された撮像素子の前面にゴミなどの異物が付着していると、その異物の影が撮影画像に写り込んでしまい、良好な撮影を行うことができない。異物の除去をカメラの使用者に促すため、次のような方法で、撮像素子の異物検出が行われている。つまり、撮像素子をほぼ均一に照明して画像を取り込み、この画像の各画素の輝度値を予め定めた閾値と比較する。そして、閾値よりも低輝度の部分を異物の付着箇所としている(例えば特許文献1を参照)。また、低輝度の部分の大きさに関する閾値も予め定めておき、この閾値より大きい部分のみを異物の付着箇所とする提案も成されている。
特開2002−300455号公報
If foreign matter such as dust adheres to the front surface of the image sensor incorporated in the camera, the shadow of the foreign matter is reflected in the photographed image, and good photographing cannot be performed. In order to prompt the user of the camera to remove foreign matter, foreign matter detection of the image sensor is performed by the following method. That is, an image is captured by illuminating the imaging device substantially uniformly, and the luminance value of each pixel of the image is compared with a predetermined threshold value. And the part of brightness | luminance lower than a threshold value is made into the adhesion location of a foreign material (for example, refer patent document 1). Further, a proposal has been made that a threshold value relating to the size of the low-luminance portion is determined in advance, and only a portion larger than the threshold value is set as a foreign matter adhesion portion.
JP 2002-300455 A

しかし、上記の異物検出システムでは、異物の付着箇所か否かの判断基準である閾値の設定を変更しない(つまり常に一定レベルの閾値を用いる)ため、撮影画像にとって適切な異物検出を行えるとは限らなかった。例えば画像の解像度が高いものであれば極微細な異物も目立ってしまうため、このような場合に合わせて閾値を設定すると、低解像度の画像の場合にも極微細な異物を無駄に検出してしまうことになる。   However, in the foreign matter detection system described above, the threshold setting, which is a criterion for determining whether or not a foreign matter is attached, is not changed (that is, a constant threshold value is always used). It was not limited. For example, if the resolution of the image is high, extremely fine foreign matter will be conspicuous. Therefore, if a threshold value is set according to such a case, even in the case of a low-resolution image, extremely fine foreign matter is detected wastefully. It will end up.

本発明の目的は、撮像素子の異物検出を撮影画像の画像処理に応じて適切に行える異物検出システムを提供することにある。   An object of the present invention is to provide a foreign matter detection system that can appropriately detect foreign matter of an image sensor in accordance with image processing of a captured image.

本発明の異物検出システムはカメラ撮像素子の異物検出を行うシステムであって、
前記撮像素子から出力された出力信号に対応する画像を記録用の撮影画像に変換する画像処理の種類を判断する判断部と、前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出と、前記判断部により判断された前記画像処理の種類に応じて、前記検出が前記異物を検出する際の感度を設定する設定とを備えたものである。
Foreign object detection system of the present invention is a system that performs foreign object detection of the image pickup device of the camera,
A determination unit that determines the type of image processing for converting an image corresponding to the output signal output from the image sensor into a captured image for recording, and the image sensor attached to the front surface of the image sensor based on the output of the image sensor A detection unit that detects a foreign object, and a setting unit that sets sensitivity when the detection unit detects the foreign object according to the type of the image processing determined by the determination unit .

また、前記画像処理は、画像縮小処理、情報圧縮処理、ノイズリダクション処理、ゲインアップ処理、輪郭強調処理、階調補正処理から選択される何れか1つを含むことが好ましい。
また、前記画像処理は、撮影モードに応じて選択される画像処理であることが好ましい。
また、前記設定は、前記画像処理が前記撮影画像に対する前記異物の影響を軽減するものである場合、前記感度を予め定めた基準より低く設定することが好ましい。
また、前記設定は、前記画像処理が前記撮影画像に対する前記異物の影響を強調するものである場合、前記感度を予め定めた基準より高く設定することが好ましい
The image processing preferably includes any one selected from image reduction processing, information compression processing, noise reduction processing, gain-up processing, contour enhancement processing, and gradation correction processing.
The image processing is preferably image processing selected according to a shooting mode.
Further, the setting unit, when the image processing is intended to reduce the impact of the foreign object with respect to the captured image, it is preferable to set lower than the predetermined reference the sensitivity.
The setting unit preferably sets the sensitivity higher than a predetermined reference when the image processing emphasizes the influence of the foreign matter on the captured image .

本発明の異物検出システムは、撮像素子の出力に所定の画像処理を施して撮影画像を生成するカメラの前記撮像素子の異物検出を行うシステムであって、前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出部と、前記画像処理の種類に応じて、前記検出部が前記異物を検出する際の感度を設定する設定部とを備え、前記設定部は、前記撮影画像の生成に関わる前記撮像素子の一回の出力に複数の種類の前記画像処理が施される場合、各画像処理の種類に応じた前記感度を合成して設定するものである。
本発明の異物検出システムは、撮像素子の出力に基づいて撮影画像を生成するカメラの前記撮像素子の異物検出を行うシステムであって、前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出と、前記撮影画像の生成に用いる前記撮像素子の出力の画素数に応じて、前記検出部が前記異物を検出する際の感度を設定する設定とを備えたものである。
The foreign object detection system of the present invention is a system that performs foreign object detection of the image sensor of a camera that performs predetermined image processing on the output of the image sensor to generate a captured image, and based on the output of the image sensor, A detection unit that detects foreign matter attached to the front surface of the imaging element; and a setting unit that sets sensitivity when the detection unit detects the foreign matter according to the type of image processing. When a plurality of types of image processing are performed on a single output of the image sensor related to the generation of the captured image, the sensitivity corresponding to the type of each image processing is combined and set.
The foreign matter detection system of the present invention is a system that detects foreign matter of the image sensor of a camera that generates a captured image based on the output of the image sensor, and is installed on the front surface of the image sensor based on the output of the image sensor. A detection unit that detects attached foreign matter, and a setting unit that sets sensitivity when the detection unit detects the foreign matter according to the number of pixels of the output of the imaging device used for generating the captured image. Is.

本発明の異物検出システムは、撮像素子の出力に所定の画像処理を施して撮影画像を生成するカメラの前記撮像素子の異物検出を行うシステムであって、前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出と、前記撮影画像の生成に用いる前記撮像素子の出力の画素数、および、前記画像処理の種類に応じて、前記検出部が前記異物を検出する際の感度を設定する設定とを備えたものである。 The foreign object detection system of the present invention is a system that performs foreign object detection of the image sensor of a camera that performs predetermined image processing on the output of the image sensor to generate a captured image, and based on the output of the image sensor, The detection unit detects the foreign matter according to the detection unit that detects the foreign matter attached to the front surface of the imaging device, the number of output pixels of the imaging device used to generate the captured image, and the type of the image processing. And a setting unit for setting the sensitivity at the time of performing.

また、前記検出は、前記撮像素子の出力から、前記設定によって設定される感度より高い感度で前記異物の候補を検出した後、該異物の候補から、前記設定によって設定される感度で前記異物を検出することが好ましい。
また、前記設定によって設定される感度で検出された前記異物を表示すると共に、該異物とは異なる形態で前記異物の候補を表示する表示をさらに備えることが好ましい。
In addition, the detection unit detects the foreign object candidate with higher sensitivity than the sensitivity set by the setting unit from the output of the imaging element, and then detects the foreign object candidate with the sensitivity set by the setting unit . It is preferable to detect the foreign matter.
In addition, it is preferable to further include a display unit that displays the foreign object detected with the sensitivity set by the setting unit and displays the candidate for the foreign object in a form different from the foreign object.

また、前記検出は、前記撮像素子の出力から、前記設定によって設定される感度より高い感度で前記異物の候補を検出した後、該異物の候補から、前記設定によって設定される複数の異なる感度の各々で前記異物を検出することが好ましい。
また、前記設定によって設定される感度で検出された前記異物を各感度ごとに異なる形態で表示すると共に、該異物とは異なる形態で前記異物の候補を表示する表示をさらに備えることが好ましい。
Further, the detection unit detects, from the output of the image sensor, the foreign object candidate with a sensitivity higher than the sensitivity set by the setting unit, and then , based on the foreign object candidates, a plurality of settings set by the setting unit It is preferable to detect the foreign matter with each of different sensitivities.
In addition, it is preferable to further include a display unit that displays the foreign matter detected at the sensitivity set by the setting unit in a different form for each sensitivity and displays the candidate for the foreign matter in a form different from the foreign matter. .

また、前記撮像素子を照明する照明をさらに備え、前記検出は、前記照明によって照明されたときの前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出することが好ましい。 The image sensor further includes an illumination unit that illuminates the image sensor, and the detection unit detects foreign matter attached to the front surface of the image sensor based on an output of the image sensor when illuminated by the illumination unit . Is preferred.

本発明の異物検出システムによれば、撮像素子の異物検出を画像に応じて適切に行うことができる。   According to the foreign matter detection system of the present invention, foreign matter detection of the image sensor can be appropriately performed according to the image.

以下、本発明の実施形態について図面を用いて詳細に説明する。
ここでは、図1(a),(b)に示すカメラシステム(10〜30)を例に説明する。
カメラシステム(10〜30)は、カメラ本体10と、このカメラ本体10に着脱可能な交換レンズ20および異物検出アダプタ30とで構成される。図1(a)は交換レンズ20をカメラ本体10に装着した撮影時の状態を示す。図1(b)は交換レンズ20の代わりに異物検出アダプタ30をカメラ本体10に装着した状態を示す。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Here, the camera system (10 to 30) shown in FIGS. 1A and 1B will be described as an example.
The camera system (10 to 30) includes a camera body 10, an interchangeable lens 20 that can be attached to and detached from the camera body 10, and a foreign object detection adapter 30. FIG. 1A shows a state at the time of photographing with the interchangeable lens 20 attached to the camera body 10. FIG. 1B shows a state where a foreign object detection adapter 30 is attached to the camera body 10 instead of the interchangeable lens 20.

カメラシステム(10〜30)の全体的な制御は、カメラ本体10の制御回路18が行う。また、カメラ本体10に交換レンズ20が装着されると(図1(a))、カメラ本体10の制御回路18は、通信接点1A,2Aを介して交換レンズ20の制御回路22と通信を行い、連動して撮影動作を行う。さらに、カメラ本体10に異物検出アダプタ30が装着されると(図1(b))、カメラ本体10の制御回路18は、通信接点1A,3Aを介して異物検出アダプタ30の制御回路33と通信を行い、連動して異物検出動作を行う。   The overall control of the camera system (10-30) is performed by the control circuit 18 of the camera body 10. When the interchangeable lens 20 is attached to the camera body 10 (FIG. 1 (a)), the control circuit 18 of the camera body 10 communicates with the control circuit 22 of the interchangeable lens 20 via the communication contacts 1A and 2A. , Shooting operation is performed in conjunction. Further, when the foreign object detection adapter 30 is attached to the camera body 10 (FIG. 1B), the control circuit 18 of the camera body 10 communicates with the control circuit 33 of the foreign object detection adapter 30 via the communication contacts 1A and 3A. The foreign object detection operation is performed in conjunction.

また、カメラシステム(10〜30)では、図1(a)のように、交換レンズ20をカメラ本体10に装着したとき、被写体からの光が、交換レンズ20の光学系21を通過した後、カメラ本体10の内部に導かれる。カメラ本体10への交換レンズ20の装着は、マウント2Bによって行われる。
カメラ本体10の内部に導かれた光は、撮影前、クイックリターンミラー11で反射した後、スクリーン12に入射する。このとき、スクリーン12には、交換レンズ20の光学系21による被写体像が形成される。そして、スクリーン12を透過した光は、ペンタプリズム13で反射され、接眼レンズ14を介した後、撮影者の眼に導かれる。
In the camera system (10 to 30), when the interchangeable lens 20 is attached to the camera body 10 as shown in FIG. 1A, after the light from the subject passes through the optical system 21 of the interchangeable lens 20, It is guided into the camera body 10. The interchangeable lens 20 is attached to the camera body 10 by the mount 2B.
The light guided into the camera body 10 is incident on the screen 12 after being reflected by the quick return mirror 11 before photographing. At this time, a subject image is formed on the screen 12 by the optical system 21 of the interchangeable lens 20. The light transmitted through the screen 12 is reflected by the pentaprism 13 and is guided to the photographer's eye after passing through the eyepiece 14.

一方、撮影時には、カメラ本体10のクイックリターンミラー11がスクリーン12の方へ跳ね上げられ、所定の露光タイミングでシャッタ15が開かれる。このとき、カメラ本体10の内部に導かれた光は、そのまま直進して光学ローパスフィルタ16を通過し、撮像素子17に入射する。光学ローパスフィルタ16は、モアレ防止のために設けた部材である。撮像素子17は、CCD撮像素子やCMOS撮像素子などである。   On the other hand, at the time of shooting, the quick return mirror 11 of the camera body 10 is flipped up toward the screen 12, and the shutter 15 is opened at a predetermined exposure timing. At this time, the light guided into the camera body 10 goes straight as it is, passes through the optical low-pass filter 16, and enters the image sensor 17. The optical low-pass filter 16 is a member provided for preventing moire. The image sensor 17 is a CCD image sensor, a CMOS image sensor, or the like.

このように、撮影時には被写体からの光が撮像素子17に導かれ、撮像素子17の撮像面に交換レンズ20の光学系21による被写体像が形成される。そして、撮像素子17の出力は、カメラ本体10の制御回路18にて処理される。制御回路18は、予め設定された撮影モードに応じて、撮像素子17の出力に所定の画像処理を施し、撮影画像を生成する。この撮影画像は、不図示の画像メモリに記録され、表示素子19に表示される。表示素子19には、撮影モードなどの各種機能の設定に関わる表示も成される。   Thus, at the time of shooting, light from the subject is guided to the image sensor 17, and a subject image is formed on the imaging surface of the image sensor 17 by the optical system 21 of the interchangeable lens 20. The output of the image sensor 17 is processed by the control circuit 18 of the camera body 10. The control circuit 18 performs predetermined image processing on the output of the image sensor 17 according to a preset shooting mode, and generates a shot image. This captured image is recorded in an image memory (not shown) and displayed on the display element 19. The display element 19 also displays information related to setting of various functions such as a shooting mode.

ここで、撮像素子17の前面(光学ローパスフィルタ16の表面)にゴミなどの異物が付着していると、その異物の影が撮影画像に写り込んでしまうこともある。この写り込みの程度(つまり撮影画像に対する異物の影響度)は一律ではなく、撮影画像の生成に関わる画像処理の種類に依存して異なると考えられる。また、撮像素子17の出力の読み出し画素数にも依存すると考えられる。   Here, if foreign matter such as dust adheres to the front surface of the image sensor 17 (the surface of the optical low-pass filter 16), the shadow of the foreign matter may appear in the captured image. The degree of reflection (that is, the degree of influence of a foreign object on a captured image) is not uniform, and is considered to vary depending on the type of image processing related to generation of the captured image. Further, it is considered to depend on the number of readout pixels of the output of the image sensor 17.

例えば図2(a)に示すような異物40は、撮像素子17の各画素7R,7G,7Bの一部に重なるように付着している。この場合、異物40の影によって一部の画素に入射する光が遮られるため、撮像素子17の全画素を読み出して撮影画像を生成すると、撮影画像に異物40の影が写り込んでしまう。交換レンズ20の光学系21の特性にもよるが、異物40のサイズが画素サイズ(一般に□10μm以下)よりも大きければ、異物40の影が写り込むと考えられる。図2(a)には撮像素子17の各画素7R,7G,7BのRGB配列がベイヤー配列である場合を例示した。   For example, the foreign substance 40 as shown in FIG. 2A is attached so as to overlap a part of each pixel 7R, 7G, 7B of the image sensor 17. In this case, since the light incident on some pixels is blocked by the shadow of the foreign object 40, when the captured image is generated by reading all the pixels of the image sensor 17, the shadow of the foreign object 40 appears in the captured image. Although depending on the characteristics of the optical system 21 of the interchangeable lens 20, it is considered that the shadow of the foreign matter 40 appears if the size of the foreign matter 40 is larger than the pixel size (generally □ 10 μm or less). FIG. 2A illustrates a case where the RGB array of the pixels 7R, 7G, and 7B of the image sensor 17 is a Bayer array.

これに対し、撮像素子17の全画素を読み出した後、隣接する複数の画素どうしを合成して特定の画素数の撮影画像を生成する(つまり画像縮小の変換処理を行う)場合には、撮影画像の1画素のサイズが相対的に大きくなり、その1画素に対する異物40の影響は少なくなる。例えば、ベイヤー配列の16画素分を合成して1画素とし、縦横共に1/4の画素数とした撮影画像は、図2(b)に示すようになる。この場合、異物40の付着した画素でも、合成前の16画素のうち12画素には異物が付着していない。このため、異物40の影響は大幅に軽減され、撮影画像への写り込みも無視できる程度と考えられる。   On the other hand, after all the pixels of the image sensor 17 are read out, a plurality of adjacent pixels are combined to generate a photographic image with a specific number of pixels (that is, image reduction conversion processing is performed). The size of one pixel of the image becomes relatively large, and the influence of the foreign matter 40 on the one pixel is reduced. For example, a photographed image in which 16 pixels of the Bayer array are combined to form one pixel and the number of pixels is ¼ both vertically and horizontally is as shown in FIG. In this case, even in the pixel to which the foreign matter 40 is attached, no foreign matter is attached to 12 out of the 16 pixels before synthesis. For this reason, it is considered that the influence of the foreign matter 40 is greatly reduced and the reflection on the photographed image can be ignored.

さらに、撮像素子17の全画素を読み出すのではなく、一部の画素のみを選択的に読み出す(つまり間引き読み出しを行う)場合にも、異物40の影響が大幅に軽減され、撮影画像への写り込みも無視できると考えられる。例えば図2(c)は、縦横共に2列分の画素を飛び越して残りの画素を読み出す場合を示している。このような場合、撮影画像に使用される画素数が減少するため、異物40が画素上に存在する確率は大幅に低減され、撮影画像への写り込みも無視できると考えられる。間引き読み出しは高速化のために行われる撮像素子17の駆動方式の1つである。   Furthermore, when not all pixels of the image sensor 17 are read but only some of the pixels are selectively read (that is, thinning-out reading is performed), the influence of the foreign matter 40 is greatly reduced, and the captured image is reflected. Can be ignored. For example, FIG. 2C shows a case where the remaining pixels are read out by skipping pixels for two columns both vertically and horizontally. In such a case, since the number of pixels used in the captured image decreases, the probability that the foreign object 40 exists on the pixel is greatly reduced, and it is considered that the reflection in the captured image can be ignored. Thinning readout is one of the driving methods of the image sensor 17 that is performed for speeding up.

また、間引き読み出しの他、撮像素子17の内部で複数の画素の電荷をアナログ加算して読み出す方式もある。このような画素加算による読み出しは、入射光の強度が弱いときにS/Nを向上させるために行われる。この場合も、撮影画像の1画素に対する異物40の影響が少なくなるため、撮影画像への異物の写り込みも無視できる程度と考えられる。なお、撮像素子17の駆動方式(全画素,間引き,画素加算の何れか)は、例えば撮影モードに応じて選択される。   In addition to thinning-out reading, there is also a method of reading out by adding analog charges of a plurality of pixels inside the image sensor 17. Such readout by pixel addition is performed in order to improve the S / N when the intensity of incident light is weak. Also in this case, since the influence of the foreign object 40 on one pixel of the captured image is reduced, it is considered that the reflection of the foreign object on the captured image can be ignored. Note that the driving method (any pixel, thinning, or pixel addition) of the image sensor 17 is selected according to, for example, the shooting mode.

さらに、撮像素子17の出力に施される画像処理としては、上記した画像縮小処理の他、JPEG圧縮などの情報圧縮処理、画像の平滑化によるノイズリダクション処理、ゲインアップ処理、輪郭強調処理、階調補正処理など、様々な画像処理がある。これらの画像処理は、例えば撮影モードに応じて少なくとも1つが選択され、不図示の画像メモリに撮影画像を記録するまでの間に実行される。   Further, as image processing performed on the output of the image sensor 17, in addition to the above-described image reduction processing, information compression processing such as JPEG compression, noise reduction processing by image smoothing, gain-up processing, contour enhancement processing, floor There are various image processing such as tone correction processing. These image processes are executed until at least one is selected according to the shooting mode, for example, and a shot image is recorded in an image memory (not shown).

そして、撮影画像の生成に関わる画像処理の種類に依存して、撮影画像に対する異物の影響度が異なる。画像縮小処理と同様、撮影画像に対する異物の影響を軽減する画像処理は、上記例のうち情報圧縮処理,ノイズリダクション処理,ゲインアップ処理である。逆に、撮影画像に対する異物の影響を強調する画像処理も存在し、上記例のうち輪郭強調処理,階調補正処理がこれに相当する。   Depending on the type of image processing involved in the generation of the captured image, the degree of influence of foreign matter on the captured image differs. Similar to the image reduction processing, the image processing for reducing the influence of the foreign matter on the captured image is information compression processing, noise reduction processing, and gain-up processing among the above examples. Conversely, there is also image processing that emphasizes the influence of foreign matter on a captured image, and the contour enhancement processing and gradation correction processing in the above example correspond to this.

また、これらの画像処理は、画像情報の劣化を伴い、その劣化の度合いに比例して異物の影響を軽減(または強調)するような演算処理を含んでいる。画像情報の劣化の度合いは、撮像素子17の出力(RAWデータ)と画像処理後の最終的な撮影画像(記録用)との相関によって表すことができる。
画像処理によって異物の影響が軽減される様子を図3(a)〜(c)に、異物の影響が強調される様子を図4(a),(b)に示す。図3,図4の横軸は画素位置、縦軸は明度を表している。図3(a),図4(a)は、共に、撮像素子17からの読み出し波形(つまり画像処理前の波形)である。この読み出し波形には、異物の影による明度の低い部分が存在する。この部分のサイズSと濃度Dによって、撮影画像に対する異物の影響度を特徴づけることができる。
In addition, these image processes include a calculation process that reduces (or emphasizes) the influence of a foreign substance in proportion to the degree of the deterioration accompanying image information deterioration. The degree of degradation of image information can be represented by the correlation between the output (RAW data) of the image sensor 17 and the final captured image (for recording) after image processing.
FIGS. 3A to 3C show how the influence of foreign matter is reduced by image processing, and FIGS. 4A and 4B show how the influence of foreign matter is emphasized. 3 and 4, the horizontal axis represents the pixel position, and the vertical axis represents the brightness. FIGS. 3A and 4A are both readout waveforms from the image sensor 17 (that is, waveforms before image processing). This read waveform includes a portion with low brightness due to the shadow of the foreign matter. The size S and density D of this part can characterize the degree of influence of foreign matter on the captured image.

読み出し波形(図3(a))にノイズリダクション処理を施すと、図3(b)のような波形となる。ノイズリダクション処理は、突出した画素値を抑制する処理である。このため、ノイズと共に異物の影(濃度D)も抑制され、異物の影響が軽減される。ノイズリダクション処理の適用量が増大するほど、異物の影響も大きく軽減される。その結果、ある程度の小さな異物の影は目立たなくなると考えられる。   When noise reduction processing is performed on the readout waveform (FIG. 3A), a waveform as shown in FIG. 3B is obtained. The noise reduction process is a process for suppressing the protruding pixel value. For this reason, the shadow (density D) of the foreign matter is suppressed together with the noise, and the influence of the foreign matter is reduced. As the application amount of the noise reduction process increases, the influence of foreign matter is greatly reduced. As a result, it is considered that the shadow of a certain amount of foreign matter is not noticeable.

さらに、ノイズリダクション処理後の波形(図3(b))に対し、2画素を1画素へ合成するような画像縮小処理を施すと、図3(c)のような波形が得られる。異物の影は、周辺画素との合成によってさらに薄まり、周囲の画像情報との差(濃度D)がさらに減少する。その結果、読み出し波形の小さな異物の影は殆ど消え、中程度の大きさの異物の影も目立たなくなると考えられる。   Further, when an image reduction process is performed such that two pixels are combined into one pixel on the waveform after the noise reduction process (FIG. 3B), a waveform as shown in FIG. 3C is obtained. The shadow of the foreign object is further thinned by combining with the surrounding pixels, and the difference (density D) from the surrounding image information is further reduced. As a result, it is considered that the shadow of the foreign substance having a small readout waveform almost disappears and the shadow of the medium-sized foreign substance becomes inconspicuous.

一方、読み出し波形(図4(a))に輪郭強調処理を施すと、図4(b)のような波形となる。異物の影のサイズSは変化しないが、見た目の濃度Dはより拡大され、異物の影響は強調される。
このように、撮像素子17の前面に異物が付着していると、撮像素子17の出力の読み出し画素数(全画素,間引き,画素加算の何れか)や、撮影画像の生成に関わる画像処理の種類(画像縮小処理,情報圧縮処理,ノイズリダクション処理,ゲインアップ処理,輪郭強調処理,階調補正処理などの何れか)に依存して、撮影画像に対する異物の影響が軽減(または強調)され、場合によっては撮影画像に異物の影が写り込んでしまう。
On the other hand, when a contour emphasis process is performed on the read waveform (FIG. 4A), a waveform as shown in FIG. 4B is obtained. Although the size S of the foreign object shadow does not change, the apparent density D is further enlarged, and the influence of the foreign object is emphasized.
As described above, when a foreign object adheres to the front surface of the image sensor 17, the number of read pixels of the output of the image sensor 17 (all pixels, thinning, or pixel addition) and image processing related to the generation of the captured image Depending on the type (any of image reduction processing, information compression processing, noise reduction processing, gain increase processing, contour enhancement processing, gradation correction processing, etc.), the influence of foreign matter on the captured image is reduced (or enhanced) In some cases, the shadow of a foreign object appears in the captured image.

本実施形態のカメラシステム(10〜30)では、最終的な撮影画像(記録用)に異物の影が写り込んでしまう場合のみ、その異物の除去をカメラの使用者に促し、良好な撮影を行うため、次のような方法で、撮像素子17の異物検出を行う。
撮像素子17の異物検出の際には、図1(b)のように、異物検出アダプタ30がカメラ本体10に装着される。カメラ本体10への異物検出アダプタ30の装着は、交換レンズ20のマウント2Bと同様のマウント3Bによって行われる。異物検出アダプタ30には、上記の制御回路33の他、LED31と、LEDドライバ32とが設けられる。
In the camera system (10 to 30) of this embodiment, only when a shadow of a foreign object appears in the final photographed image (for recording), the camera user is prompted to remove the foreign object, and good shooting is performed. For this purpose, foreign matter detection of the image sensor 17 is performed by the following method.
When foreign matter is detected by the image sensor 17, a foreign matter detection adapter 30 is attached to the camera body 10 as shown in FIG. Attachment of the foreign object detection adapter 30 to the camera body 10 is performed by a mount 3B similar to the mount 2B of the interchangeable lens 20. In addition to the control circuit 33 described above, the foreign object detection adapter 30 is provided with an LED 31 and an LED driver 32.

異物検出アダプタ30が装着された時点で、カメラ本体10の制御回路18は、通信によって異物検出アダプタ30を認識し、異物検出動作の準備を行う。つまり、図5のステップS1において、カメラ本体10のクイックリターンミラー11をスクリーン12の方へ跳ね上げ(ミラーアップ)、露光可能状態とする。
そして、交換レンズ20の制御回路33に対し、LED31の点灯指示を出す(ステップS2)。制御回路33は、カメラ本体10の制御回路18の指示にしたがって、LEDドライバ32を駆動し、LED31の点灯制御を行う。LED31の発光量は所定の駆動条件では略一定となる。異物検出の際には、常に所定の露光値とすればよく、異物検出用の撮影ごとに露光条件を設定する動作は省略可能である。このため、LED31は所定の駆動条件(電流値)で点灯制御される。
When the foreign object detection adapter 30 is mounted, the control circuit 18 of the camera body 10 recognizes the foreign object detection adapter 30 through communication and prepares for the foreign object detection operation. That is, in step S1 of FIG. 5, the quick return mirror 11 of the camera body 10 is flipped up toward the screen 12 (mirror up) to be in an exposure enabled state.
Then, a lighting instruction for the LED 31 is issued to the control circuit 33 of the interchangeable lens 20 (step S2). The control circuit 33 drives the LED driver 32 in accordance with an instruction from the control circuit 18 of the camera body 10 and controls the lighting of the LED 31. The light emission amount of the LED 31 is substantially constant under a predetermined driving condition. When detecting foreign matter, the exposure value may always be set to a predetermined value, and the operation for setting the exposure condition for each photographing for detecting foreign matter can be omitted. For this reason, lighting control of the LED 31 is performed under a predetermined driving condition (current value).

カメラ本体10の制御回路18は、次に(ステップS3)、シャッタ15の先幕をスタートさせ、撮像素子17への露光を開始する。異物検出アダプタ30の装着によって外光が遮断されているため、LED31からの光のみを撮像素子17に導くことができる。このとき、撮像素子17には光学ローパスフィルタ16を通過した後の照明光が入射して、ほぼ均一に照明される。   Next, the control circuit 18 of the camera body 10 starts the front curtain of the shutter 15 (step S3), and starts exposure to the image sensor 17. Since the external light is blocked by the attachment of the foreign object detection adapter 30, only the light from the LED 31 can be guided to the image sensor 17. At this time, the illumination light after passing through the optical low-pass filter 16 enters the image sensor 17 and is illuminated almost uniformly.

この状態で、撮像素子17の蓄積動作を行い(ステップS4)、所定の露光時間が経過した時点でシャッタ15の後幕をスタートさせ(ステップS5)、撮像素子17への露光を終了する。その後(ステップS6)、制御回路18は、交換レンズ20の制御回路33に対し、LED31の消灯指示を出す。これを受けて、制御回路33はLED31の消灯制御を行う。   In this state, the accumulation operation of the image sensor 17 is performed (step S4). When a predetermined exposure time has elapsed, the rear curtain of the shutter 15 is started (step S5), and the exposure to the image sensor 17 is terminated. Thereafter (step S6), the control circuit 18 issues an instruction to turn off the LED 31 to the control circuit 33 of the interchangeable lens 20. In response to this, the control circuit 33 controls the LED 31 to be turned off.

次に(ステップS7)、カメラ本体10の制御回路18は、撮像素子17から全画素を読み出す。撮像素子17の出力には、撮像素子17の前面(光学ローパスフィルタ16の表面)に異物が付着している場合、この異物の影による明度の低い部分が現れる。なお、異物検出用の撮影に関わる一連の処理(蓄積から電荷の掃き出し→AD変換→ゲイン調整など)は、異物検出に適したものを予め用意しておけばよい。例えば最もノイズの少ない感度であることが好ましい。   Next (step S <b> 7), the control circuit 18 of the camera body 10 reads all pixels from the image sensor 17. In the output of the image sensor 17, when a foreign object adheres to the front surface of the image sensor 17 (the surface of the optical low-pass filter 16), a portion with low brightness due to the shadow of the foreign object appears. Note that a series of processes related to imaging for foreign object detection (sweep of charges from accumulation → AD conversion → gain adjustment, etc.) may be prepared in advance. For example, the sensitivity with the least noise is preferable.

制御回路18は、撮像素子17の出力に基づいて異物検出用の画像(均一輝度面の画像に異物の影による低輝度の部分を含むもの)を生成すると、次のステップS8,S9の処理によって異物検出の際の感度を設定した後、この検出感度にしたがって上記の異物検出用の画像を処理し(ステップS10)、撮像素子17の前面に付着した異物を検出する。そして、異物情報を生成して記録し、異物の画像を表示する(ステップS11)。異物検出の画像処理のアルゴリズムは、画像の2値化などの一般的な手法でよい。   When the control circuit 18 generates an image for detecting a foreign object (an image of a uniform luminance surface including a low-luminance portion due to the shadow of the foreign object) based on the output of the image sensor 17, the control circuit 18 performs the following steps S8 and S9. After setting the sensitivity for detecting foreign matter, the image for detecting foreign matter is processed according to the detection sensitivity (step S10), and the foreign matter attached to the front surface of the image sensor 17 is detected. Then, foreign matter information is generated and recorded, and an image of the foreign matter is displayed (step S11). The image processing algorithm for foreign object detection may be a general method such as binarization of an image.

ステップS8,S9の処理について説明する。
ステップS8では、カメラ本体10に設定された撮影モードを読み出す。撮影モードとは、異物検出アダプタ30の代わりに交換レンズ20をカメラ本体10に装着して(図1(a))撮影を行う際のモードである。撮影時には、撮影モードに応じて、撮像素子17の出力の読み出し画素数(全画素,間引き,画素加算の何れか)や、撮影画像の生成に関わる画像処理の種類(画像縮小処理,情報圧縮処理,ノイズリダクション処理,ゲインアップ処理,輪郭強調処理,階調補正処理などの何れか)が特定される。
The processes in steps S8 and S9 will be described.
In step S8, the shooting mode set in the camera body 10 is read. The photographing mode is a mode when photographing is performed with the interchangeable lens 20 attached to the camera body 10 instead of the foreign object detection adapter 30 (FIG. 1A). At the time of shooting, depending on the shooting mode, the number of read pixels of the output of the image sensor 17 (all pixels, thinning, or pixel addition) and the type of image processing (image reduction processing, information compression processing) related to generation of the shot image , Any one of noise reduction processing, gain-up processing, contour enhancement processing, gradation correction processing, etc.) is specified.

そして、撮像素子17の異物検出の際には、この撮影モードに応じて(つまり撮像素子17の出力の読み出し画素数や画像処理の種類に応じて)、検出感度の設定を行う(ステップS9)。例えば、高精細な撮影画像を生成するような撮影モードであれば、目視での確認が困難な極微細な異物40(図2(a))も逃さず検出できるような感度に設定し、図2(b),(c)のような粗い撮影画像を生成する撮影モードの場合には、極微細な異物40を無視して大型の異物のみ検出できるような感度に設定することが望まれる。   When detecting the foreign matter of the image sensor 17, the detection sensitivity is set according to the photographing mode (that is, according to the number of read pixels of the image sensor 17 and the type of image processing) (step S9). . For example, in the case of a shooting mode that generates a high-definition shot image, the sensitivity is set so that an extremely fine foreign object 40 (FIG. 2 (a)) that is difficult to visually confirm can be detected without missing. In the case of a shooting mode that generates a coarse shot image as in 2 (b) and (c), it is desirable to set the sensitivity so that only a large foreign object can be detected while ignoring the extremely fine foreign object 40.

検出感度の設定とは、異物検出用の画像を2値化する際の閾値の設定に相当する。この閾値を明レベルからの下がり分として定義する場合、閾値を予め定めた基準よりも小さく設定すれば、検出感度を予め定めた基準より高く設定したことになる。逆に、閾値を予め定めた基準よりも大きく設定すれば、検出感度を予め定めた基準より低く設定したことになる。閾値の基準は、例えば、異物検出用の画像の各画素の平均輝度である。   The setting of detection sensitivity corresponds to the setting of a threshold value when binarizing a foreign object detection image. When this threshold is defined as a decrease from the bright level, if the threshold is set smaller than a predetermined reference, the detection sensitivity is set higher than the predetermined reference. On the contrary, if the threshold value is set larger than a predetermined standard, the detection sensitivity is set lower than the predetermined standard. The threshold reference is, for example, the average luminance of each pixel of the foreign object detection image.

また、検出感度を設定する際には、上記のような輝度値に関する閾値の設定に加えて、異物検出用の画像に含まれる低輝度の部分の大きさに関する閾値の設定も行われる。この場合にも、閾値を予め定めた基準よりも小さく設定すれば、検出感度を予め定めた基準より高く設定したことになる。逆に、閾値を予め定めた基準よりも大きく設定すれば、検出感度を予め定めた基準より低く設定したことになる。   Further, when setting the detection sensitivity, in addition to the above-described threshold setting regarding the luminance value, the threshold setting regarding the size of the low-luminance portion included in the foreign object detection image is also performed. Also in this case, if the threshold is set smaller than a predetermined reference, the detection sensitivity is set higher than the predetermined reference. On the contrary, if the threshold value is set larger than a predetermined standard, the detection sensitivity is set lower than the predetermined standard.

ステップS8で読み出した撮影モードのうち読み出し画素数に関して言えば、全画素で読み出すモードの場合(図2(a))、検出感度を基準より高く設定することが好ましい。また、間引きや画素加算によって読み出すモードの場合には(図2(b),(c))、検出感度を基準より低く設定することが好ましい。定性的には、間引き読み出しの場合、間引き率が高いほど(読み出し画素数が少ないほど)検出感度を下げることが好ましい。画素加算の場合には、加算する画素数を増やすほど(読み出し画素数が少ないほど)検出感度を下げることが好ましい。   Regarding the number of readout pixels among the imaging modes read out in step S8, it is preferable to set the detection sensitivity higher than the reference in the case of the readout mode with all pixels (FIG. 2A). In the mode of reading by thinning or pixel addition (FIGS. 2B and 2C), it is preferable to set the detection sensitivity lower than the reference. Qualitatively, in the case of thinning readout, it is preferable to lower the detection sensitivity as the thinning rate is higher (the smaller the number of readout pixels). In the case of pixel addition, it is preferable to lower the detection sensitivity as the number of pixels to be added is increased (the number of readout pixels is smaller).

さらに、ステップS8で読み出した撮影モードのうち画像処理の種類に関して言えば、撮影画像に対する異物の影響を軽減する画像処理(図3のノイズリダクション処理や画像縮小処理など)の場合、検出感度を基準より低く設定することが好ましい。その他、情報圧縮処理やゲインアップ処理の場合にも、同様に、検出感度を基準より低く設定することが好ましい。   Further, regarding the type of image processing in the shooting mode read out in step S8, in the case of image processing (such as noise reduction processing or image reduction processing in FIG. 3) that reduces the influence of foreign matter on the captured image, the detection sensitivity is used as a reference. It is preferable to set it lower. In addition, in the case of information compression processing and gain-up processing, it is preferable that the detection sensitivity is similarly set lower than the reference.

定性的には、画像縮小処理の場合、処理後の画素数が少ない(画像サイズが小さい)ほど検出感度を下げることが好ましい。情報圧縮処理の場合には、圧縮率が大きいほど検出感度を下げることが好ましい。ノイズリダクション処理の場合には、ノイズ除去で生じる画像情報の劣化が大きいほど検出感度を下げることが好ましい。ゲインアップ処理の場合には、ゲインアップによってノイズが増大するほど検出感度を下げることが好ましい。   Qualitatively, in the case of image reduction processing, it is preferable to lower the detection sensitivity as the number of pixels after processing is smaller (image size is smaller). In the case of information compression processing, it is preferable to lower the detection sensitivity as the compression rate increases. In the case of noise reduction processing, it is preferable to lower the detection sensitivity as image information deterioration caused by noise removal increases. In the case of gain-up processing, it is preferable to lower the detection sensitivity as noise increases due to gain-up.

また、撮影画像に対する異物の影響を強調する画像処理(図4の輪郭強調処理など)の場合には、検出感度を基準より高く設定することが好ましい。その他、階調補正処理の場合にも、同様に、検出感度を基準より高く設定することが好ましい。定性的には、輪郭強調処理の場合、異物の輪郭が鮮鋭化されるほど検出感度を上げることが好ましい。階調補正処理の場合には、階調補正によって高コントラスト化するほど検出感度を上げることが好ましい。   In the case of image processing that emphasizes the influence of foreign matter on a captured image (such as the contour enhancement processing in FIG. 4), it is preferable to set the detection sensitivity higher than the reference. In addition, in the case of gradation correction processing, it is also preferable to set the detection sensitivity higher than the reference. Qualitatively, in the case of the contour enhancement process, it is preferable to increase the detection sensitivity as the contour of the foreign object is sharpened. In the case of gradation correction processing, it is preferable to increase the detection sensitivity as the contrast is increased by gradation correction.

さらに、撮影画像の生成に関わる撮像素子17の一回の出力(つまり1枚の撮影画像の生成に関わる撮像素子17の出力)に対して複数の種類の画像処理が施される場合(図3(c)参照)は、各画像処理の種類に適した検出感度を合成して設定することが好ましい。検出感度の合成とは、例えば、各画像処理の種類に適した検出感度と予め定めた基準との差分を数値的に加算する処理である。   Furthermore, when a plurality of types of image processing are performed on one output of the image sensor 17 related to generation of a captured image (that is, output of the image sensor 17 related to generation of one captured image) (FIG. 3). (see (c)) is preferably set by combining detection sensitivity suitable for each type of image processing. The detection sensitivity synthesis is, for example, a process of numerically adding a difference between a detection sensitivity suitable for each type of image processing and a predetermined reference.

異物の影響を軽減する複数の画像処理の組み合わせでは、検出感度の合成の結果、より低い検出感度が設定される。異物の影響を強調する複数の画像処理の組み合わせでは、検出感度の合成の結果、より高い検出感度が設定される。異物の影響を軽減する画像処理と強調する画像処理との組み合わせでは、検出感度の合成の結果、予め定めた基準との差分どうしが相殺される可能性もある。   In a combination of a plurality of image processings that reduce the influence of foreign matter, a lower detection sensitivity is set as a result of combining the detection sensitivities. In a combination of a plurality of image processings that emphasizes the influence of foreign matter, higher detection sensitivity is set as a result of combining detection sensitivity. In the combination of the image processing for reducing the influence of foreign matter and the image processing for emphasizing, the difference between the predetermined reference and the predetermined reference may be offset as a result of the synthesis of the detection sensitivity.

このように、本実施形態の異物検出システムでは、撮影時の撮像素子17の出力の読み出し画素数や画像処理の種類に応じて検出感度の設定を行うため、撮影画像ごとに、撮像素子17の異物検出を適切に行うことができる。そして、この検出結果に基づいてカメラの使用者に異物の除去を促すことで、必要以上に小さい異物(撮影画像に写り込まない異物)に対して警告を発する可能性もなく、最適なゴミ警告を行える。   As described above, in the foreign object detection system of the present embodiment, since the detection sensitivity is set according to the number of read pixels of the image sensor 17 at the time of shooting and the type of image processing, the image sensor 17 of each image is captured. Foreign object detection can be performed appropriately. Then, by prompting the camera user to remove foreign objects based on the detection results, there is no possibility of issuing warnings for foreign objects that are smaller than necessary (foreign objects that do not appear in the photographed image), and an optimal dust warning Can be done.

検出感度の設定は、撮影時の撮像素子17の出力の読み出し画素数のみに応じて行ってもよいし、画像処理の種類のみに応じて行ってもよい。また、読み出し画素数と画像処理の種類との双方に応じて検出感度を設定してもよく、この場合には、より適切に異物検出を行うことができる。
さらに、本実施形態では、異物検出アダプタ30に内蔵されたLED31によって撮像素子17を照明し、このときの撮像素子17の出力に基づいて異物検出を行うため、その異物検出を効率よく行うことができる。
The detection sensitivity may be set according to only the number of readout pixels of the output of the image sensor 17 at the time of shooting, or may be set according to only the type of image processing. Further, the detection sensitivity may be set according to both the number of readout pixels and the type of image processing. In this case, foreign matter detection can be performed more appropriately.
Furthermore, in this embodiment, the imaging element 17 is illuminated by the LED 31 built in the foreign object detection adapter 30, and the foreign object is detected based on the output of the imaging element 17 at this time. Therefore, the foreign object can be detected efficiently. it can.

(変形例)
なお、上記した実施形態では、撮影時の撮像素子17の出力の読み出し画素数および/または画像処理の種類に応じて検出感度を設定し、この検出感度に応じて撮像素子17の前面の異物を検出したが、本発明は、このような1段階の検出処理に限定されない。撮像素子17の出力から、読み出し画素数および/または画像処理の種類に応じて設定される検出感度より高い感度で異物の候補を検出した後、その異物の候補から、読み出し画素数および/または画像処理の種類に応じて設定される検出感度で異物を検出してもよい。このような2段階の検出処理を行うことで、異物検出用の画像に現れた低輝度の部分を異物の候補と異物とに分類できる。異物として検出されなかった低輝度の部分(異物の候補)は、撮影画像に写り込む可能性の低い極微細な部分である。1段階目の検出処理に用いる感度としては、撮像素子17における光電変換のムラやLED31による照明のムラなどに起因するノイズ成分に左右されない感度を用いることが好ましい。
(Modification)
In the above-described embodiment, the detection sensitivity is set according to the number of readout pixels of the output of the image sensor 17 and / or the type of image processing at the time of shooting, and the foreign matter on the front surface of the image sensor 17 is set according to the detection sensitivity. Although detected, the present invention is not limited to such a one-step detection process. After detecting a foreign substance candidate with a higher sensitivity than the detection sensitivity set according to the number of read pixels and / or the type of image processing from the output of the image sensor 17, the number of read pixels and / or an image is detected from the foreign substance candidate. You may detect a foreign material with the detection sensitivity set according to the kind of process. By performing such a two-stage detection process, the low-luminance portion appearing in the foreign object detection image can be classified as a foreign object candidate and a foreign object. A low-luminance portion (foreign matter candidate) that has not been detected as a foreign matter is an extremely fine portion that is unlikely to appear in a captured image. As the sensitivity used in the first-stage detection process, it is preferable to use a sensitivity that is not affected by noise components caused by uneven photoelectric conversion in the image sensor 17 or uneven illumination by the LEDs 31.

さらに、上記のような2段階の検出処理を行う場合、異物の画像の表示は、次のように行うことが好ましい。表示例を図6(a)に示す。画面50は、撮像素子17の全体に相当する。図6(a)に示す通り、読み出し画素数および/または画像処理の種類に応じて設定される感度で検出された異物51を画面50に表示すると共に、この異物51とは異なる形態(マーカー)で画面50の中に異物の候補52も同時に表示する。画面50における異物51と候補52の位置は、撮像素子17の前面における付着位置に対応する。また、位置情報の他、異物51と候補52の大きさ情報を併せて表示してもよい。   Furthermore, when performing the two-stage detection process as described above, it is preferable to display a foreign object image as follows. A display example is shown in FIG. The screen 50 corresponds to the entire image sensor 17. As shown in FIG. 6A, the foreign object 51 detected with the sensitivity set according to the number of read pixels and / or the type of image processing is displayed on the screen 50, and a form (marker) different from the foreign object 51 is displayed. Thus, a foreign object candidate 52 is also displayed on the screen 50 at the same time. The positions of the foreign object 51 and the candidate 52 on the screen 50 correspond to the adhesion position on the front surface of the image sensor 17. In addition to the position information, the size information of the foreign object 51 and the candidate 52 may be displayed together.

異物51と候補52を異なる形態で表示することにより次の効果を奏する。現在の設定値では問題がなくても、より異物に厳しい画像モードを併用する可能性もあるため(RAW−JPEGなど)、異物51と併せて候補52の情報も表示することには意味がある。異物51が存在しない場合でも、候補52が多い場合には、撮像素子17の前面(光学ローパスフィルタ16の表面)の清掃時期であると判断することもできる。   Displaying the foreign object 51 and the candidate 52 in different forms provides the following effects. Even if there is no problem with the current setting value, there is a possibility that a stricter image mode may be used together with a foreign object (such as RAW-JPEG), so it is meaningful to display information on the candidate 52 together with the foreign object 51. . Even when the foreign object 51 is not present, if there are many candidates 52, it can be determined that it is time to clean the front surface of the image sensor 17 (the surface of the optical low-pass filter 16).

ちなみに、異物51と候補52を同じ形態で表示すると、図6(b)のようになる。異物51のみを表示すると図6(c)のようになる。図6(b)のような表示例では、異物51と候補52とを区別できず、適切なゴミ警告を行うことができない。図6(c)のような表示例では、候補52を非表示とするため、最も重要な情報(異物51の情報)のみ選択して表示することができ、異物に関して必要以上に過敏になることがない。また、図6(c)のような表示例は、上記した1段階の検出処理にも適用可能である。   Incidentally, when the foreign object 51 and the candidate 52 are displayed in the same form, the result is as shown in FIG. When only the foreign object 51 is displayed, it is as shown in FIG. In the display example as shown in FIG. 6B, the foreign object 51 and the candidate 52 cannot be distinguished, and an appropriate dust warning cannot be performed. In the display example as shown in FIG. 6C, since the candidate 52 is not displayed, only the most important information (information of the foreign object 51) can be selected and displayed, and the foreign object becomes more sensitive than necessary. There is no. The display example as shown in FIG. 6C is also applicable to the above-described one-stage detection process.

さらに、撮像素子17の出力から異物の候補を検出した後、その異物の候補から、読み出し画素数および/または画像処理の種類に応じて設定される複数の異なる感度の各々で異物を検出してもよい。このような多段階の検出処理を行うことで、異物検出用の画像に現れた低輝度の部分を異物の候補と異物とに分類でき、かつ、異物を大きさなどのレベルに応じて分類することもできる。このため、撮像素子17の前面の異物に関する情報量を増やすことができる。   Further, after detecting a foreign substance candidate from the output of the image sensor 17, the foreign substance is detected from each of the plurality of different sensitivities set according to the number of read pixels and / or the type of image processing. Also good. By performing such multi-stage detection processing, the low-intensity part appearing in the foreign object detection image can be classified as a foreign object candidate and a foreign object, and the foreign object is classified according to the size and other levels. You can also For this reason, the information amount regarding the foreign material on the front surface of the image sensor 17 can be increased.

また、多段階の検出処理を行う場合、異物の画像の表示は、例えば図6(d)に示す通り、高い感度で検出された異物53と、低い感度で検出された異物54と、異物の候補55とを異なる形態で表示することが好ましい。このように、読み出し画素数および/または画像処理の種類に応じて設定される各感度ごとに、異なる形態で異物53,54を表示することで、異物53,54の分類の視認性を向上させることができる。   In addition, when performing multi-stage detection processing, the display of the image of the foreign matter is, for example, as shown in FIG. 6D, the foreign matter 53 detected with high sensitivity, the foreign matter 54 detected with low sensitivity, It is preferable to display the candidate 55 in a different form. Thus, the visibility of the classification of the foreign matter 53, 54 is improved by displaying the foreign matter 53, 54 in a different form for each sensitivity set according to the number of read pixels and / or the type of image processing. be able to.

さらに、上記した実施形態では、カメラ本体10と交換レンズ20と異物検出アダプタ30とで構成されたカメラシステム(10〜30)を例に説明したが、本発明はこれに限定されない。異物検出アダプタ30を省略して、交換レンズ20またはカメラ本体10の中にLEDとそのドライバを設けてもよい。この場合、異物検出の際には、交換レンズ20の絞り(不図示)を小さくして、被写体光の強度よりLED31による照明光の強度の方が大きくなるように設定することが好ましい。   Furthermore, in the above-described embodiment, the camera system (10 to 30) configured by the camera body 10, the interchangeable lens 20, and the foreign object detection adapter 30 has been described as an example, but the present invention is not limited to this. The foreign object detection adapter 30 may be omitted, and the LED and its driver may be provided in the interchangeable lens 20 or the camera body 10. In this case, when detecting the foreign matter, it is preferable to set the aperture (not shown) of the interchangeable lens 20 to be small so that the intensity of the illumination light from the LED 31 is larger than the intensity of the subject light.

また、交換レンズ式のカメラシステムに限らず、撮影時に被写体像を形成する光学系と異物検出用のLEDとそのドライバを、撮像素子と一体に設けたカメラシステムにも、本発明を適用できる。この場合にも、撮影光学系の絞りを小さくして、被写体光の強度よりLEDによる照明光の強度の方が大きくなるように設定することが好ましい。さらに、異物検出用のLEDとそのドライバを省略した場合にも、本発明を適用できる。   In addition, the present invention can be applied not only to an interchangeable lens type camera system but also to a camera system in which an optical system that forms a subject image at the time of shooting, a foreign matter detection LED, and a driver thereof are provided integrally with an imaging device. Also in this case, it is preferable to set the photographing optical system to have a small aperture so that the intensity of the illumination light from the LED is larger than the intensity of the subject light. Furthermore, the present invention can also be applied when the foreign object detection LED and its driver are omitted.

カメラシステム(10〜30)の構成を示す図である。It is a figure which shows the structure of a camera system (10-30). 撮影画像に対する異物の影響と画像処理との関係を示す概念図である。It is a conceptual diagram which shows the relationship between the influence of the foreign material with respect to a picked-up image, and image processing. 異物の影響が画像処理によって軽減される様子を示す図である。It is a figure which shows a mode that the influence of a foreign material is reduced by image processing. 異物の影響が画像処理によって強調される様子を示す図である。It is a figure which shows a mode that the influence of a foreign material is emphasized by image processing. 本実施形態の異物検出動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of the foreign material detection operation | movement of this embodiment. 異物の表示例を説明する図である。It is a figure explaining the example of a display of a foreign material.

符号の説明Explanation of symbols

10 カメラ本体 ; 16 光学ローパスフィルタ ; 17 撮像素子
18,22,33 制御回路 ; 19 表示素子 ; 20 交換レンズ
30 異物検出アダプタ ; 31 LED ; 32 LEDドライバ
40,51,53,54異物 ; 50 画面 ; 52,55 異物の候補
DESCRIPTION OF SYMBOLS 10 Camera body; 16 Optical low-pass filter; 17 Image pick-up element 18, 22, 33 Control circuit; 19 Display element; 20 Interchangeable lens 30 Foreign object detection adapter; 31 LED; 32 LED driver 40, 51, 53, 54 Foreign object; 52,55 Foreign object candidates

Claims (13)

カメラ撮像素子の異物検出を行うシステムであって、
前記撮像素子から出力された出力信号に対応する画像を記録用の撮影画像に変換する画像処理の種類を判断する判断部と、
前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出と、
前記判断部により判断された前記画像処理の種類に応じて、前記検出が前記異物を検出する際の感度を設定する設定とを備えた
ことを特徴とする異物検出システム。
A system that performs foreign object detection of the image pickup device of the camera,
A determination unit that determines a type of image processing for converting an image corresponding to an output signal output from the image sensor into a captured image for recording;
Based on the output of the image sensor, a detection unit that detects foreign matter attached to the front surface of the image sensor;
A foreign object detection system, comprising: a setting unit that sets sensitivity when the detection unit detects the foreign object according to the type of image processing determined by the determination unit .
請求項1に記載の異物検出システムにおいて、
前記画像処理は、画像縮小処理、情報圧縮処理、ノイズリダクション処理、ゲインアップ処理、輪郭強調処理、階調補正処理から選択される何れか1つを含む
ことを特徴とする異物検出システム。
The foreign object detection system according to claim 1,
The foreign object detection system , wherein the image processing includes any one selected from image reduction processing, information compression processing, noise reduction processing, gain-up processing, contour enhancement processing, and gradation correction processing .
請求項1に記載の異物検出システムにおいて、
前記画像処理は、撮影モードに応じて選択される画像処理である
ことを特徴とする異物検出システム。
The foreign object detection system according to claim 1,
The foreign object detection system , wherein the image processing is image processing selected according to a photographing mode .
請求項1から請求項3の何れか1項に記載の異物検出システムにおいて、
前記設定は、前記画像処理が前記撮影画像に対する前記異物の影響を軽減するものである場合、前記感度を予め定めた基準より低く設定する
ことを特徴とする異物検出システム。
The foreign object detection system according to any one of claims 1 to 3,
The said setting part sets the said sensitivity lower than the predetermined reference | standard , when the said image processing reduces the influence of the said foreign material with respect to the said picked-up image . The foreign material detection system characterized by the above-mentioned .
請求項1から請求項3の何れか1項に記載の異物検出システムにおいて、
前記設定部は、前記画像処理が前記撮影画像に対する前記異物の影響を強調するものである場合、前記感度を予め定めた基準より高く設定する
ことを特徴とする異物検出システム。
The foreign object detection system according to any one of claims 1 to 3,
The foreign substance detection system , wherein the setting unit sets the sensitivity higher than a predetermined reference when the image processing emphasizes the influence of the foreign substance on the captured image .
撮像素子の出力に所定の画像処理を施して撮影画像を生成するカメラの前記撮像素子の異物検出を行うシステムであって、
前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出と、
前記画像処理の種類に応じて、前記検出が前記異物を検出する際の感度を設定する設定とを備え
前記設定部は、前記撮影画像の生成に関わる前記撮像素子の一回の出力に複数の種類の前記画像処理が施される場合、各画像処理の種類に応じた前記感度を合成して設定する
ことを特徴とする異物検出システム。
A system for detecting foreign matter of the image sensor of a camera that performs predetermined image processing on an output of the image sensor to generate a captured image,
Based on the output of the image sensor, a detection unit that detects foreign matter attached to the front surface of the image sensor;
In accordance with the type of the image processing, a setting unit that sets sensitivity when the detection unit detects the foreign matter ,
The setting unit synthesizes and sets the sensitivity according to each type of image processing when a plurality of types of image processing are performed on a single output of the image sensor related to generation of the captured image. Foreign matter detection system characterized by that.
撮像素子の出力に基づいて撮影画像を生成するカメラの前記撮像素子の異物検出を行うシステムであって、
前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出部と、
前記撮影画像の生成に用いる前記撮像素子の出力の画素数に応じて、前記検出部が前記異物を検出する際の感度を設定する設定部とを備えた
ことを特徴とする異物検出システム。
A system for detecting foreign matter of the image sensor of a camera that generates a captured image based on an output of the image sensor,
Based on the output of the image sensor, a detection unit that detects foreign matter attached to the front surface of the image sensor;
A foreign matter detection system , comprising: a setting unit that sets sensitivity when the detection unit detects the foreign matter according to the number of pixels output from the imaging element used for generating the captured image .
撮像素子の出力に所定の画像処理を施して撮影画像を生成するカメラの前記撮像素子の異物検出を行うシステムであって、
前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出する検出部と、
前記撮影画像の生成に用いる前記撮像素子の出力の画素数、および、前記画像処理の種類に応じて、前記検出部が前記異物を検出する際の感度を設定する設定部とを備えた
ことを特徴とする異物検出システム。
A system for detecting foreign matter of the image sensor of a camera that performs predetermined image processing on an output of the image sensor to generate a captured image,
Based on the output of the image sensor, a detection unit that detects foreign matter attached to the front surface of the image sensor;
A setting unit configured to set a sensitivity when the detection unit detects the foreign object according to the number of pixels output from the imaging element used for generating the captured image and the type of the image processing. A featured foreign matter detection system.
請求項1から請求項の何れか1項に記載の異物検出システムにおいて、
前記検出は、前記撮像素子の出力から、前記設定によって設定される感度より高い感度で前記異物の候補を検出した後、該異物の候補から、前記設定によって設定される感度で前記異物を検出する
ことを特徴とする異物検出システム。
The foreign object detection system according to any one of claims 1 to 8 ,
The detecting unit from the output of the imaging device, after detecting the candidates of the foreign substance with high sensitivity than the sensitivity set by the setting unit, from the candidate of the foreign matter, the foreign substance with a sensitivity that is set by the setting unit Foreign matter detection system characterized by detecting
請求項に記載の異物検出システムにおいて、
前記設定によって設定される感度で検出された前記異物を表示すると共に、該異物とは異なる形態で前記異物の候補を表示する表示をさらに備えた
ことを特徴とする異物検出システム。
The foreign object detection system according to claim 9 ,
A foreign object detection system, further comprising a display unit that displays the foreign object detected with the sensitivity set by the setting unit and displays the candidate for the foreign object in a form different from the foreign object.
請求項1から請求項10の何れか1項に記載の異物検出システムにおいて、
前記検出部は、前記撮像素子の出力から、前記設定部によって設定される感度より高い感度で前記異物の候補を検出した後、該異物の候補から、前記設定部によって設定される複数の異なる感度の各々で前記異物を検出する
ことを特徴とする異物検出システム。
The foreign object detection system according to any one of claims 1 to 10,
The detection unit detects, from the output of the imaging element, the foreign object candidate with higher sensitivity than the sensitivity set by the setting unit, and then detects a plurality of different sensitivities set by the setting unit from the foreign object candidate. A foreign matter detection system , wherein each of the foreign matter is detected .
請求項11に記載の異物検出システムにおいて、The foreign object detection system according to claim 11,
前記設定部によって設定される感度で検出された前記異物を各感度ごとに異なる形態で表示すると共に、該異物とは異なる形態で前記異物の候補を表示する表示部をさらに備えたThe apparatus further includes a display unit that displays the foreign object detected at the sensitivity set by the setting unit in a different form for each sensitivity and displays the candidate for the foreign object in a form different from the foreign object.
ことを特徴とする異物検出システム。Foreign matter detection system characterized by that.
請求項1から請求項12の何れか1項に記載の異物検出システムにおいて、The foreign object detection system according to any one of claims 1 to 12,
前記撮像素子を照明する照明部をさらに備え、An illumination unit that illuminates the image sensor;
前記検出部は、前記照明部によって照明されたときの前記撮像素子の出力に基づいて、前記撮像素子の前面に付着した異物を検出するThe detection unit detects foreign matter adhering to the front surface of the imaging device based on an output of the imaging device when illuminated by the illumination unit.
ことを特徴とする異物検出システム。Foreign matter detection system characterized by that.
JP2005304715A 2005-10-19 2005-10-19 Foreign object detection system Expired - Fee Related JP4654876B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005304715A JP4654876B2 (en) 2005-10-19 2005-10-19 Foreign object detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005304715A JP4654876B2 (en) 2005-10-19 2005-10-19 Foreign object detection system

Publications (2)

Publication Number Publication Date
JP2007116366A JP2007116366A (en) 2007-05-10
JP4654876B2 true JP4654876B2 (en) 2011-03-23

Family

ID=38098171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005304715A Expired - Fee Related JP4654876B2 (en) 2005-10-19 2005-10-19 Foreign object detection system

Country Status (1)

Country Link
JP (1) JP4654876B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5094665B2 (en) * 2008-09-26 2012-12-12 キヤノン株式会社 Imaging apparatus, control method thereof, and program
JP2011078047A (en) * 2009-10-02 2011-04-14 Sanyo Electric Co Ltd Imaging apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000312314A (en) * 1999-02-24 2000-11-07 Olympus Optical Co Ltd Digital camera and its dust position detection method
JP2003101827A (en) * 2001-09-21 2003-04-04 Canon Inc Image pickup device and its method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000312314A (en) * 1999-02-24 2000-11-07 Olympus Optical Co Ltd Digital camera and its dust position detection method
JP2003101827A (en) * 2001-09-21 2003-04-04 Canon Inc Image pickup device and its method

Also Published As

Publication number Publication date
JP2007116366A (en) 2007-05-10

Similar Documents

Publication Publication Date Title
EP1684504B1 (en) Image capture apparatus and control method therefor
JP3748267B2 (en) Imaging device
US20070009245A1 (en) Imaging apparatus and imaging method
CN102036013A (en) Imaging apparatus
US8873881B2 (en) Dust detection system and digital camera
US20080025636A1 (en) Image processing apparatus, control method therefor, image processing method, and program
JP2007135140A (en) Imaging apparatus
JP2006235285A (en) Digital camera, lens unit, discrimination control method of lens unit, and deterioration determination method of lens unit
US8576306B2 (en) Image sensing apparatus, image processing apparatus, control method, and computer-readable medium
JP5857610B2 (en) Imaging apparatus and imaging method
JP4654876B2 (en) Foreign object detection system
JP5141259B2 (en) projector
CN100525383C (en) Image-data noise reduction apparatus and method of controlling same
JP4695571B2 (en) Imaging apparatus and imaging method
JP4523629B2 (en) Imaging device
JP4935665B2 (en) Imaging apparatus and image effect providing program
JP2012010282A (en) Imaging device, exposure control method, and exposure control program
JP2009124309A (en) Image device
JP2010068241A (en) Image sensor and image capturing apparatus
JP5103984B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP2006180270A (en) Image processor, imaging device, image processing method, program, and recording medium
JP2007228532A (en) Imaging apparatus and program therefor
JP5125478B2 (en) Imaging apparatus and image effect providing program
JP4872564B2 (en) Image processing apparatus, image processing method, and image processing program
KR101630295B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100803

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101004

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

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

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees