JP4637059B2 - Illumination device and imaging device - Google Patents

Illumination device and imaging device Download PDF

Info

Publication number
JP4637059B2
JP4637059B2 JP2006164258A JP2006164258A JP4637059B2 JP 4637059 B2 JP4637059 B2 JP 4637059B2 JP 2006164258 A JP2006164258 A JP 2006164258A JP 2006164258 A JP2006164258 A JP 2006164258A JP 4637059 B2 JP4637059 B2 JP 4637059B2
Authority
JP
Japan
Prior art keywords
imaging
distance
foreign matter
imaging surface
lighting device
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
JP2006164258A
Other languages
Japanese (ja)
Other versions
JP2007336129A (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.)
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 JP2006164258A priority Critical patent/JP4637059B2/en
Publication of JP2007336129A publication Critical patent/JP2007336129A/en
Application granted granted Critical
Publication of JP4637059B2 publication Critical patent/JP4637059B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Camera Bodies And Camera Details Or Accessories (AREA)
  • Studio Devices (AREA)
  • Blocking Light For Cameras (AREA)

Description

本発明は、撮像面や光学部材に付着した異物の有無及びその3次元位置を判別するための照明装置及び撮像装置に関する。   The present invention relates to an illuminating device and an imaging device for determining the presence or absence of foreign matter attached to an imaging surface or an optical member and its three-dimensional position.

レンズ交換式のデジタルカメラでは、撮影レンズの交換時に埃やゴミが外部から侵入したり、クイックリターンミラーの駆動やフォーカルプレーンシャッタの作動によってカメラ内で磨耗粉等が発生したりする。そして、これら異物が移動し、撮像素子や撮像素子の保護用のカバーガラス、撮像素子の近傍に配置されている赤外カットフィルタや光学ローパスフィルタ等の表面に付着することがあった。このように異物が付着した状態で撮影を行うと、被写体像とともに異物の影が撮像素子によって撮影されてしまい、撮影画像に悪影響を及ぼしていた。   In an interchangeable lens digital camera, dust and dirt enter from the outside when the photographing lens is replaced, and wear powder or the like is generated in the camera by driving a quick return mirror or operating a focal plane shutter. These foreign substances may move and adhere to the surface of an image sensor, a cover glass for protecting the image sensor, an infrared cut filter or an optical low-pass filter disposed in the vicinity of the image sensor. When shooting is performed with foreign matter attached in this way, the shadow of the foreign matter is shot together with the subject image by the imaging device, which adversely affects the shot image.

このような問題を解決するために、デジタルカメラ内に複数の光源を設け、撮像素子や光学フィルタに付着した異物を検出するデジタルカメラが開示されている(例えば、特許文献1参照)。このデジタルカメラでは、複数の光源を用いて撮像素子を順次照明させ、そのときに投影される異物の影の位置が異物の撮影光軸方向の位置に応じて異なることを利用して、異物の撮像素子からの撮影光軸方向距離を演算する。これにより、異物が外部からクリーニング可能な範囲に付着しているかそうでないかを明確に判別する。   In order to solve such a problem, there has been disclosed a digital camera in which a plurality of light sources are provided in a digital camera to detect foreign matters attached to an image sensor or an optical filter (for example, see Patent Document 1). In this digital camera, the image sensor is sequentially illuminated using a plurality of light sources, and the position of the shadow of the foreign object projected at that time varies depending on the position of the foreign object in the photographing optical axis direction. The photographing optical axis direction distance from the image sensor is calculated. As a result, it is clearly determined whether or not the foreign matter adheres to a range that can be cleaned from the outside.

また、カメラボディに取り付けるボディキャップに、カメラボディに取り付けたときの光軸に位置する光源を備えることが開示されている(例えば、特許文献2参照)。このカメラは、ボディキャップ内の光源を用いて異物検出用画像を撮像し、その画像から異物の撮像面内方向の位置を検出するものである。   Further, it is disclosed that a body cap attached to the camera body includes a light source positioned on the optical axis when attached to the camera body (see, for example, Patent Document 2). This camera captures a foreign object detection image using a light source in a body cap, and detects the position of the foreign object in the imaging plane direction from the image.

特開2002−300442号公報JP 2002-300442 A 特開2004−317377号公報JP 2004-317377 A

しかしながら、特許文献1に開示されたデジタルカメラでは、カメラに複数の光源を内蔵する必要があり、カメラの大型化とカメラ内部の構造の複雑化につながる。   However, in the digital camera disclosed in Patent Document 1, it is necessary to incorporate a plurality of light sources in the camera, which leads to an increase in the size of the camera and a complicated structure inside the camera.

また、特許文献2に開示されたボディキャップとカメラでは、異物の撮像面内方向の位置のみが検出可能で、異物の撮像素子からの撮影光軸方向距離を算出することができない。これでは、撮影レンズの種類によって撮像画像に写る位置が異なる光学フィルタに付着した異物の影と、撮影レンズの種類によらず撮像画像に写る位置が同じになる撮像素子に付着した異物の影との区別ができず、異物による画像欠陥箇所の判別が正しく行われない。   In addition, the body cap and camera disclosed in Patent Document 2 can detect only the position of the foreign substance in the imaging plane direction, and cannot calculate the distance in the photographic optical axis direction of the foreign substance from the imaging device. In this case, the shadow of a foreign object attached to an optical filter whose position appears in a captured image differs depending on the type of the photographing lens, and the shadow of a foreign object attached to an imaging element whose position appears in the captured image regardless of the type of the photographing lens. Cannot be distinguished from each other, and the image defect portion due to the foreign matter is not correctly determined.

本発明は係る実情に鑑みてなされたものであり、撮像装置を大型化及び複雑化することなく、撮像素子や光学ローパスフィルタ等の表面に付着した異物の有無及びその3次元位置を正しく判別できるようにすることを目的とする。   The present invention has been made in view of such circumstances, and can accurately determine the presence or absence of foreign matter attached to the surface of an imaging element, an optical low-pass filter, and the three-dimensional position thereof without increasing the size and complexity of the imaging apparatus. The purpose is to do so.

本発明の照明装置は、撮像装置のマウント機構に係合する係合部と、前記マウント機構に係合した状態において、前記撮像装置の撮像面に複数の光を投光する投光手段と、前記複数の光が投光される位置の相互間の距離及び前記複数の光が投光される位置から前記撮像装置内の予め定められた位置までの距離の情報を記録する記録手段と、前記撮像装置と通信を行う通信手段とを有することを特徴とする。
また、本発明の撮像装置は、上記記載の照明装置を用いて、前記撮像面及び光学部材に付着した異物を判別する撮像装置であって、前記投光手段に電力を供給し、点灯を制御する制御手段と、前記撮像面から前記光学部材までの距離の情報を記録する記録手段と、前記投光手段が前記撮像面に複数の光を投光したときに撮像した画像データと、前記記録手段が記録する距離の情報と、前記通信手段を介して取得される前記照明装置の記録手段が記録する距離の情報とに基づいて、前記付着した異物の有無及びその3次元位置を判別する判別手段とを有することを特徴とする。
An illumination device of the present invention includes an engaging portion that engages with a mount mechanism of an imaging device, and a light projecting unit that projects a plurality of lights onto the imaging surface of the imaging device in a state of being engaged with the mount mechanism, Recording means for recording information on a distance between positions where the plurality of lights are projected and a distance from a position where the plurality of lights are projected to a predetermined position in the imaging device; and It has the communication means which communicates with an imaging device, It is characterized by the above-mentioned.
The imaging device of the present invention is an imaging device that discriminates foreign matter attached to the imaging surface and the optical member by using the illumination device described above, and supplies power to the light projecting means to control lighting. Control means for recording, recording means for recording distance information from the imaging surface to the optical member, image data captured when the light projecting means projects a plurality of lights on the imaging surface, and the recording Discriminating the presence or absence of the adhered foreign matter and its three-dimensional position based on the distance information recorded by the means and the distance information recorded by the recording means of the lighting device acquired via the communication means Means.

本発明によれば、撮像装置を大型化及び複雑化することなく、撮像素子や光学ローパスフィルタ等の表面に付着した異物の有無及びその3次元位置を正しく判別することができる。   According to the present invention, it is possible to correctly determine the presence or absence of foreign matter attached to the surface of an imaging element, an optical low-pass filter, and the three-dimensional position thereof without increasing the size and complexity of the imaging apparatus.

(第1の実施の形態)
以下、図面に基づき本発明の第1の実施の形態に係るマウントキャップ1及びデジタルカメラ10を説明する。図1は、マウントキャップ1をデジタルカメラ10に装着した状態を説明する概念図である。
(First embodiment)
The mount cap 1 and the digital camera 10 according to the first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a conceptual diagram illustrating a state in which the mount cap 1 is attached to the digital camera 10.

図1において、1はマウントキャップであり、レンズ等を装着するレンズマウント11に装着される。10はレンズ交換式のデジタルカメラであり、撮影条件等に応じたレンズを交換可能に装着することができる。   In FIG. 1, reference numeral 1 denotes a mount cap, which is attached to a lens mount 11 for attaching a lens or the like. Reference numeral 10 denotes an interchangeable lens digital camera, which can be interchangeably mounted with a lens according to shooting conditions.

2はマウントキャップ1に設けられたマウント係合部であり、11はデジタルカメラ10の前面に位置するレンズマウント(マウント機構)である。デジタルカメラ10においてレンズを取り外して、マウントキャップ1をレンズマウント11に取り付ける際は、マウント係合部2とレンズマウント11とを係合する。この場合に、常に同一の位置において係合するように、マウント係合部2及びレンズマウント11の所定の位置にマーキングをしたり、相互が嵌合する嵌合爪及び嵌合部等を設けたりすることが好ましい。   Reference numeral 2 denotes a mount engaging portion provided on the mount cap 1, and 11 denotes a lens mount (mount mechanism) located on the front surface of the digital camera 10. When the lens is removed from the digital camera 10 and the mount cap 1 is attached to the lens mount 11, the mount engaging portion 2 and the lens mount 11 are engaged. In this case, marking is performed at a predetermined position of the mount engaging portion 2 and the lens mount 11 so as to always engage at the same position, or a fitting claw and a fitting portion that are fitted to each other are provided. It is preferable to do.

12は撮像素子であり、デジタルカメラ10に設けられたCMOS等の固定撮像素子である。13は撮像素子12の前面(レンズマウント11側)に配置された保護ガラスである。14は保護ガラス13の前面(レンズマウント11側)に配置された光学ローパスフィルタである。レンズを交換するときに侵入する埃やゴミ、デジタルカメラ内で発生する磨耗粉等の異物は、これらの撮像素子12、保護ガラス13、光学ローパスフィルタ14に付着することがある。   An image sensor 12 is a fixed image sensor such as a CMOS provided in the digital camera 10. Reference numeral 13 denotes a protective glass disposed on the front surface of the image sensor 12 (on the lens mount 11 side). Reference numeral 14 denotes an optical low-pass filter disposed on the front surface of the protective glass 13 (on the lens mount 11 side). Foreign matter such as dust and dirt entering when the lens is replaced and wear powder generated in the digital camera may adhere to the image sensor 12, the protective glass 13, and the optical low-pass filter 14.

15はシャッタであり、光学ローパスフィルタ14の前面(レンズマウント側)に配置されている。図1に示す状態においては、マウントキャップ1をデジタルカメラ10に取り付けて、異物の撮像が可能な状態とするために、シャッタ15は光学ローパスフィルタ14を露出させるべく、上側に上昇した開き状態になっている。   A shutter 15 is disposed on the front surface (lens mount side) of the optical low-pass filter 14. In the state shown in FIG. 1, in order to attach the mount cap 1 to the digital camera 10 so that foreign objects can be imaged, the shutter 15 is opened upward to expose the optical low-pass filter 14. It has become.

16はクイックリターンミラーであり、撮影光路をファインダ側、或いは撮像素子12側に選択的に導くためのもので、図1に示す状態においては、撮影光路を撮像素子12側に導く格納状態(ミラーアップ)になっている。   Reference numeral 16 denotes a quick return mirror that selectively guides the photographing optical path to the viewfinder side or the image sensor 12 side. In the state shown in FIG. 1, the retracted state (mirror) guides the photographing optical path to the image sensor 12 side. Up).

17は、通常の撮像を行う撮像モードと、マウントキャップ1を取り付けて異物判別用画像データを撮像する異物判別モードとのいずれかのモードを選択するモード設定部である。モード設定部17により設定されたモードが、制御部19に設定される。   Reference numeral 17 denotes a mode setting unit that selects one of an imaging mode in which normal imaging is performed and a foreign object determination mode in which the mount cap 1 is attached to capture image data for determining foreign objects. The mode set by the mode setting unit 17 is set in the control unit 19.

18はデジタルカメラ10の操作部であり、レリーズボタン等の各種操作用ボタンを含む。ユーザによる操作に応じてレリーズ操作信号等がデジタルカメラ10の制御部19に送られる。   An operation unit 18 of the digital camera 10 includes various operation buttons such as a release button. A release operation signal or the like is sent to the control unit 19 of the digital camera 10 in accordance with an operation by the user.

19は制御部であり、一般的にCPUやその周辺回路(いずれも不図示)で構成される。この制御部19は、通常の撮像を行うための制御のほかに、異物判別モードの撮像を行うための制御と、デジタルカメラ側端子20とマウントキャップ側端子3とを介してマウントキャップ1に配置されたLED4a及び4bへの電力供給と点消灯の制御等を行う。   Reference numeral 19 denotes a control unit, which is generally composed of a CPU and its peripheral circuits (both not shown). The control unit 19 is arranged on the mount cap 1 via the control for performing imaging in the foreign substance determination mode, the digital camera side terminal 20 and the mount cap side terminal 3 in addition to the control for performing normal imaging. For example, power supply to the LEDs 4a and 4b and control of turning on / off are performed.

LED4a及び4b、LED回路基板5は、投光手段を構成する。LED回路基板5は撮像素子12と平行に位置しており、このLED回路基板5上にLED4a及び4bが設けられている。LED4a及び4bは、同一の種類(色、形状等)、大きさのものであって、光軸30を挟んで撮像素子12に対して短手方向、すなわち重力方向の対称の位置に配置される。   The LEDs 4a and 4b and the LED circuit board 5 constitute a light projecting unit. The LED circuit board 5 is positioned in parallel with the imaging device 12, and LEDs 4 a and 4 b are provided on the LED circuit board 5. The LEDs 4a and 4b are of the same type (color, shape, etc.) and size, and are arranged in a short direction with respect to the image sensor 12 with the optical axis 30 interposed therebetween, that is, in a position symmetrical to the gravity direction. .

また、LED4a及び4bは、LED回路基板5において光量を同等にするために直列回路(不図示)で構成されている。デジタルカメラ側端子20からマウントキャップ側端子3とLED回路基板5を介して供給される電力によって、LED4aと4bは点灯し、撮像素子12に投光する。   Further, the LEDs 4a and 4b are configured by a series circuit (not shown) in order to make the light amount equal in the LED circuit board 5. The LEDs 4 a and 4 b are turned on by the power supplied from the digital camera side terminal 20 via the mount cap side terminal 3 and the LED circuit board 5, and are projected onto the image sensor 12.

以上のようにLED4a及び4bを同一の種類と大きさ、直列回路という構成にすることにより、LED4a及び4bが点灯することによって生じる光学部材に付着した異物の2つの影は、同一の輝度と大きさになる。そのため、後述する異物判別方法において異物の付着した3次元位置を明確に判別することができる。尚、光学ローパスフィルタ14に付着した異物の影が撮像素子12の範囲に生じるようにするため、LED4a及び4bの間の距離はなるべく小さいほうがよい。   As described above, by making the LEDs 4a and 4b the same type, size, and series circuit, the two shadows of the foreign matter adhering to the optical member generated when the LEDs 4a and 4b are turned on have the same brightness and size. It will be. Therefore, it is possible to clearly determine the three-dimensional position where the foreign matter is attached in the foreign matter determination method described later. It should be noted that the distance between the LEDs 4a and 4b should be as small as possible so that the shadow of the foreign matter adhering to the optical low-pass filter 14 is generated in the range of the image sensor 12.

6はマウントキャップ1に設けられたLEDメモリであり、LED4a及び4bの相互間の距離と、LED4a及び4bから撮像素子12までの距離の情報を記録している。   Reference numeral 6 denotes an LED memory provided in the mount cap 1, which records information on the distance between the LEDs 4 a and 4 b and the distance from the LEDs 4 a and 4 b to the image sensor 12.

21はデジタルカメラ10に設けられた光学部材メモリであり、光学ローパスフィルタ14と保護ガラス13の撮像素子12から距離の情報を記録している。   Reference numeral 21 denotes an optical member memory provided in the digital camera 10, which records distance information from the optical low-pass filter 14 and the image sensor 12 of the protective glass 13.

22はデジタルカメラ10に設けられた画像処理部であり、光学部材メモリ21及びマウントキャップ側端子3とデジタルカメラ側端子20を介してLEDメモリ6から、後述する異物判別方法に必要な光学部材やLEDの距離の情報を受ける。そして、画像処理部22は、光学部材やLEDの距離の情報と、LED4a及び4bが投光している状態で撮像した撮像素子12から出力される画像データとを基に、後述する異物判別方法により異物の有無及びその3次元位置を判別し、その結果を表示部23に表示する。尚、説明のために図1では、画像処理部22がCPUを含む制御部19とは別に図示されているが、実際は制御部19に設けられていてもよい。   Reference numeral 22 denotes an image processing unit provided in the digital camera 10, from the LED memory 6 via the optical member memory 21, the mount cap side terminal 3, and the digital camera side terminal 20, an optical member necessary for a foreign matter determination method described later, Receives LED distance information. Then, the image processing unit 22 uses the information on the distance between the optical member and the LED and the image data output from the image pickup device 12 picked up in a state where the LEDs 4a and 4b are projecting, to determine a foreign matter to be described later. The presence / absence of a foreign substance and its three-dimensional position are discriminated by this, and the result is displayed on the display unit 23. For illustration, the image processing unit 22 is illustrated separately from the control unit 19 including the CPU in FIG. 1, but may actually be provided in the control unit 19.

図2は、本発明の実施の形態に係るデジタルカメラ10において、異物判別モードに切り替えたときのデジタルカメラ10の動作例を示すフローチャートである。以下、その動作の流れを説明する。   FIG. 2 is a flowchart showing an operation example of the digital camera 10 when the digital camera 10 according to the embodiment of the present invention is switched to the foreign substance determination mode. The operation flow will be described below.

まず、ユーザが操作部18を操作して異物判別モードに切り替えると、デジタルカメラ10はステップS1に進んで異物判別動作をスタートし、ステップS2へ進む。   First, when the user operates the operation unit 18 to switch to the foreign object determination mode, the digital camera 10 proceeds to step S1, starts the foreign object determination operation, and proceeds to step S2.

次に、ステップS2では、デジタルカメラ10にマウントキャップ1が装着されているか否かを判断し、装着されている場合はステップS3に進む。装着されていない場合、又はマウントキャップ1の装着位置が正しくない場合はステップS4に進み、表示部23にエラー表示を行い、この処理を終了する。ここで、マウントキャップ1の装着の検知は、本実施の形態においては、マウントキャップ側端子3がデジタルカメラ側端子20と電気的に接触するか否かによって行われる。尚、デジタルカメラ10に装着されたものが、LED4a及び4bが設けられたマウントキャップ1か、レンズ又はその他のアクセサリであるかは、端子のパターンにより、電気的に区別して読み取ることで検知することが可能である。   Next, in step S2, it is determined whether or not the mount cap 1 is attached to the digital camera 10, and if so, the process proceeds to step S3. If it is not mounted or if the mounting position of the mount cap 1 is not correct, the process proceeds to step S4, an error is displayed on the display unit 23, and this process is terminated. Here, in the present embodiment, detection of mounting of the mount cap 1 is performed based on whether or not the mount cap side terminal 3 is in electrical contact with the digital camera side terminal 20. Whether the digital camera 10 is mounted with a mount cap 1 provided with LEDs 4a and 4b, a lens, or other accessories is detected by electrically distinguishing and reading according to the terminal pattern. Is possible.

次に、ステップS3では、マウントキャップ1のLEDメモリ6からLED4a及び4bの相互間の距離と、LED4a及び4bから撮像素子12までの距離の情報を取得して、ステップS5に進む。ステップS3においてLEDメモリ6からの情報を取得することにより、後述する画像処理部22による異物判別が可能となる。   Next, in step S3, information on the distance between the LED memory 6 of the mount cap 1 and the LEDs 4a and 4b and the distance from the LEDs 4a and 4b to the image sensor 12 is acquired, and the process proceeds to step S5. By acquiring information from the LED memory 6 in step S3, foreign matter discrimination by the image processing unit 22 described later becomes possible.

ステップS5では、制御部19が異物判別用画像の撮像条件を設定する。このとき設定する撮像条件は、感度、シャッタ速度、ホワイトバランスである。これらの設定値は、異物判別用画像として適当な輝度の画像が得られるように予め定められたものが用いられる。このようにして異物判別の準備が整うと、続くステップS6にて、制御部19は、LED回路基板5を通じてLED4a及び4bを点灯させ、撮像素子12に投光する。   In step S <b> 5, the control unit 19 sets the imaging conditions for the foreign object discrimination image. The imaging conditions set at this time are sensitivity, shutter speed, and white balance. As these set values, those set in advance so as to obtain an image having an appropriate luminance as the foreign matter discrimination image are used. When the preparation for foreign matter determination is completed in this way, the control unit 19 turns on the LEDs 4a and 4b through the LED circuit board 5 and projects the light onto the image pickup device 12 in subsequent step S6.

次に、ステップS7では、撮像素子12によって異物判別用画像の撮像を行う。続くステップS8では、制御部19がLED4a及び4bを消灯し、ステップS9に進む。   Next, in step S <b> 7, a foreign matter determination image is captured by the image sensor 12. In subsequent step S8, the control unit 19 turns off the LEDs 4a and 4b, and proceeds to step S9.

ステップS9では、ステップS7において撮像された異物判別用画像を、画像処理部22に入力して、後述する異物判別方法によって異物の付着の有無及びその3次元位置を判別する。判別を完了したら、ステップS10にて、表示部23に異物判別が終了した旨の表示を行うと共に、異物の有無と、異物が付着していた場合はその位置を表示する。   In step S9, the foreign matter determination image captured in step S7 is input to the image processing unit 22, and the presence or absence of foreign matter and its three-dimensional position are determined by a foreign matter determination method described later. When the determination is completed, in step S10, the display unit 23 displays that the foreign object determination is completed, and also displays the presence / absence of the foreign object and the position when the foreign object is attached.

以下、ステップS9における異物判別方法の詳細について説明する。図3(a)は、LED4a及び4bが撮像素子12に投光した状態で、光学ローパスフィルタ14に付着した異物30による影30a及び30bと、撮像素子12に付着した異物30の位置の関係を表した図である。図3(b)は図3(a)の状態を撮像したときの画像である。尚、図3(b)において、x方向は撮像素子12の長手方向、y方向は撮像素子の短手方向をそれぞれ示す。   Hereinafter, the details of the foreign matter determination method in step S9 will be described. FIG. 3A shows the relationship between the positions of the shadows 30a and 30b caused by the foreign matter 30 attached to the optical low-pass filter 14 and the foreign matter 30 attached to the image pickup device 12 in a state where the LEDs 4a and 4b are projected onto the image pickup device 12. FIG. FIG. 3B is an image when the state of FIG. In FIG. 3B, the x direction indicates the longitudinal direction of the image sensor 12, and the y direction indicates the short direction of the image sensor.

撮像素子12に付着した異物31の影は1点であるのに対して、光学ローパスフィルタ14に付着した異物30の影は2点できており、その間の距離は下式(1)から計算できる。   While the shadow of the foreign material 31 attached to the image sensor 12 is one point, two shadows of the foreign material 30 attached to the optical low-pass filter 14 are formed, and the distance between them can be calculated from the following equation (1). .

Figure 0004637059
Figure 0004637059

この式(1)において、D1は異物30の2つの影の距離、D2はLED4a及び4bの間の距離、L1は光学ローパスフィルタ14から撮像素子12までの距離、L2はLED4a及び4bから撮像素子12までの距離である。画像処理部22は、光学部材メモリ21からL1、LEDメモリ6からD2とL2を読み出し、式(1)からD1を算出する。 In this equation (1), D 1 is the distance between the two shadows of the foreign object 30, D 2 is the distance between the LEDs 4a and 4b, L 1 is the distance from the optical low-pass filter 14 to the image sensor 12, and L 2 is the LED 4a and This is the distance from 4b to the image sensor 12. The image processing unit 22 reads L 1 from the optical member memory 21, D 2 and L 2 from the LED memory 6, and calculates D 1 from Expression (1).

続いて、撮像素子12から出力された異物判別用画像データから、輝度値が閾値以下の低い画素の座標を検出する。図3(b)においては、座標(sx、sy)、(r’x、r’y)、(r’’x、r’’y)がこれに相当する。 Subsequently, the coordinates of a pixel whose luminance value is lower than a threshold value are detected from the foreign matter determination image data output from the image sensor 12. In FIG. 3B, the coordinates (s x , s y ), (r ′ x , r ′ y ), and (r ″ x , r ″ y ) correspond to this.

そして、検出した画素と、その画素からLED4a及び4bの配列される方向である重力方向にD1だけ平行移動した画素との輝度を比較し、輝度の高いほうの画素を検出する。これにより、光学ローパスフィルタ14に付着した異物30の影30a(r’x、r’y)は、影30b(r’’x、r’’y(=r’y−D1))と同じ輝度と大きさなので、そのまま残る。一方、撮像素子12に付着した異物31(sx、sy)は、比較した画素(sx、sy−D1)の方が輝度が高いため残らない。したがって、以上の処理の後に残った画素の輝度が、ある閾値以下の画素の場合、光学ローパスフィルタ14に付着した異物と判別され、ある閾値より高い画素の場合は撮像素子12に付着した異物と判別される。 Then, the detected pixels, and comparing the brightness of the arrayed pixels translated by D 1 in the gravity direction in which the LED4a and 4b from the pixels, detects pixels of the higher luminance. As a result, the shadow 30a (r ′ x , r ′ y ) of the foreign material 30 attached to the optical low-pass filter 14 is the same as the shadow 30b (r ″ x , r ″ y (= r ′ y −D 1 )). It remains as it is because of its brightness and size. On the other hand, the foreign matter 31 (s x , s y ) attached to the image sensor 12 does not remain because the compared pixel (s x , s y −D 1 ) has higher luminance. Therefore, when the luminance of the pixel remaining after the above processing is a pixel equal to or lower than a certain threshold value, it is determined as a foreign matter adhering to the optical low-pass filter 14. Determined.

さらに、光学ローパスフィルタ14に付着したと判別された異物の撮像面内方向での付着位置(rx、ry)は、下式(2)によって計算される。 Further, the adhesion position (r x , r y ) of the foreign matter determined to have adhered to the optical low-pass filter 14 in the imaging plane direction is calculated by the following equation (2).

Figure 0004637059
Figure 0004637059

この式(2)において、Rx、Ryは撮像素子12の有効画素の端部から端部までのx、y方向それぞれにおける距離である(図3(b)参照)。このようにして、光学ローパスフィルタ14又は撮像素子12に付着した異物30、31の3次元位置を判別することができる。尚、保護ガラス13等の光学部材に付着した異物も、撮像素子12からの距離を光学部材メモリ21に記憶することにより、同様の処理をして、3次元位置を判別することが可能である。 In this equation (2), R x and R y are distances in the x and y directions from the end of the effective pixel of the image sensor 12 to the end (see FIG. 3B). In this manner, the three-dimensional positions of the foreign substances 30 and 31 attached to the optical low-pass filter 14 or the image sensor 12 can be determined. In addition, the foreign matter adhering to the optical member such as the protective glass 13 can be determined in a similar manner by storing the distance from the image pickup device 12 in the optical member memory 21 and performing the same processing. .

また、撮像素子12や光学ローパスフィルタ14等の光学部材の光軸方向での位置がデジタルカメラの種類によって異なる場合、デジタルカメラ間で共通の基準位置を設定しておけば、相互に対応可能にすることができる。この場合、光学ローパスフィルタ14から撮像素子12までの距離L1は、光学ローパスフィルタ14から基準位置までの距離から撮像素子12から基準位置までの距離を引く。LED4a及び4bから撮像素子12までの距離L2は、LED4a及び4bから基準位置までの距離から撮像素子12から基準位置の距離を引く。これにより、それぞれ種類の異なるデジタルカメラにおいて対応した値を算出することが可能である。 In addition, when the positions of optical members such as the image sensor 12 and the optical low-pass filter 14 in the optical axis direction differ depending on the type of digital camera, mutual correspondence is possible by setting a common reference position between the digital cameras. can do. In this case, the distance L 1 from the optical low-pass filter 14 to the image sensor 12 is obtained by subtracting the distance from the image sensor 12 to the reference position from the distance from the optical low-pass filter 14 to the reference position. The distance L 2 from the LEDs 4 a and 4 b to the image sensor 12 is obtained by subtracting the distance from the image sensor 12 to the reference position from the distance from the LEDs 4 a and 4 b to the reference position. Thereby, it is possible to calculate values corresponding to different types of digital cameras.

図4は、表示部23に、判別された異物の有無及びその3次元位置の結果を表示した図である。異物の撮像面内方向の座標位置に、異物の付着した光学部材に対応して記号を分けて示している。これにより、ユーザは異物が光学ローパスフィルタ14に付着しているとき等は自ら清掃することが可能であることが分かる。また、異物の付着した位置を正確に表示しているので、ユーザはその位置のみを目指して容易に清掃することができる。   FIG. 4 is a diagram in which the presence / absence of the determined foreign matter and the result of its three-dimensional position are displayed on the display unit 23. Symbols are shown separately at the coordinate positions of the foreign matter in the imaging plane corresponding to the optical member to which the foreign matter is attached. Thus, it can be understood that the user can clean the object by itself when the foreign matter is attached to the optical low-pass filter 14. In addition, since the position where the foreign substance is attached is accurately displayed, the user can easily clean only the position.

(第2の実施の形態)
次に本発明の第2の実施の形態について説明する。図5のマウントキャップ1aは、図1のマウントキャップ1と比較して、光源がLED4cのみである点が異なっている。また、2箇所の孔7a及び7bを設けたLEDキャップ8と、孔7a及び7bの間の距離、孔7a及び7bから撮像素子12までの距離の情報を記録している孔メモリ9とを有する点が異なっている。その他の点については、第1の実施の形態に係る構成と同等であり、共通する部分は同じ符号を付し、その説明を省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. The mount cap 1a of FIG. 5 is different from the mount cap 1 of FIG. 1 in that the light source is only the LED 4c. The LED cap 8 is provided with two holes 7a and 7b, and a hole memory 9 that records information about the distance between the holes 7a and 7b and the distance from the holes 7a and 7b to the image sensor 12. The point is different. About another point, it is equivalent to the structure which concerns on 1st Embodiment, a common part attaches | subjects the same code | symbol, and abbreviate | omits the description.

LED4cは、LED回路基板5に配置され、制御部19により電力供給と点消灯の制御が行われる。LEDキャップ8は、LED4cよりも撮像素子12側において撮像素子12と平行に位置して、それに設けられた孔7a及び7b以外から撮像面に光を投光することのないように、LED4cの光を遮光している。LED4cからの光は、孔7a及び7bのそれぞれを通り、図6に示すように撮像素子12に投光される。孔7a及び7bは同一の大きさであり、光軸30を挟んで撮像素子12に対して短手方向、すなわち重力方向の対称の位置に形成されている。   The LED 4 c is disposed on the LED circuit board 5, and power supply and lighting on / off are controlled by the control unit 19. The LED cap 8 is positioned in parallel to the image sensor 12 on the image sensor 12 side of the LED 4c, and the light of the LED 4c is not projected to the image pickup surface from other than the holes 7a and 7b provided therein. Is shielded from light. Light from the LED 4c passes through each of the holes 7a and 7b and is projected onto the image sensor 12 as shown in FIG. The holes 7 a and 7 b have the same size, and are formed at positions that are symmetric with respect to the imaging element 12 with respect to the image sensor 12 with the optical axis 30 interposed therebetween, that is, in a symmetric position in the direction of gravity.

以上の構成により、前述の第1の実施の形態と同様の作用を奏して、図3で説明した例と同様に光学ローパスフィルタ14に付着した異物の影は2つ、撮像素子12に付着した異物の影は1つとなる。   With the above configuration, the same effect as in the first embodiment described above is achieved, and two foreign object shadows attached to the optical low-pass filter 14 are attached to the image sensor 12 as in the example described with reference to FIG. There is one shadow of a foreign object.

異物の影30a及び30bとの距離D1算出方法を説明する。孔メモリ9は、孔7a及び7bの間の距離と、孔7a及び7bから撮像素子12までの距離の情報を記録している。画像処理部22は、光学部材メモリ21からL1、孔メモリ9からD2aとL2aを読み出し、下式(3)からD1を算出する。 The distance D 1 calculated how the shadow 30a and 30b of the foreign matter will be described. The hole memory 9 records information on the distance between the holes 7 a and 7 b and the distance from the holes 7 a and 7 b to the image sensor 12. The image processing unit 22 reads L 1 from the optical member memory 21, D 2a and L 2a from the hole memory 9, and calculates D 1 from the following equation (3).

Figure 0004637059
Figure 0004637059

以下、前述の第1の実施の形態の異物判別方法と同様に行うことで、異物の3次元位置を判別することが出来る。   Thereafter, the three-dimensional position of the foreign matter can be discriminated by performing the same as the foreign matter discriminating method of the first embodiment described above.

尚、第1及び第2の実施の形態においては、光源又は孔を2つの構成としたが必ずしもこれに限定されるものではなく、3つ以上にしてもよい。例えば光源又は孔を3つにした場合、光学ローパスフィルタ14等に付着した異物の影は3つでき、異物判別方法において3箇所の画素の輝度を比較することで、付着した異物の3次元位置を判別することが可能である。   In the first and second embodiments, the light source or the hole has two configurations. However, the configuration is not necessarily limited to this, and may be three or more. For example, when there are three light sources or holes, three shadows of foreign matter attached to the optical low-pass filter 14 and the like can be obtained, and the three-dimensional position of the attached foreign matter can be obtained by comparing the luminance of three pixels in the foreign matter discrimination method. Can be determined.

また、第1及び第2の実施の形態においては、光源又は孔の配置を重力方向に配列したが、必ずしもこれに限定されるものではなく、例えば撮像素子の長手方向に配置するようにしてもよい。   In the first and second embodiments, the arrangement of the light sources or the holes is arranged in the direction of gravity. However, the arrangement is not necessarily limited to this. For example, the arrangement may be made in the longitudinal direction of the image sensor. Good.

本発明の第1の実施の形態に係るマウントキャップ及びデジタルカメラを説明するための概念図である。It is a conceptual diagram for demonstrating the mount cap and digital camera which concern on the 1st Embodiment of this invention. 本発明の第1の実施の形態における異物判別モード時の動作例を説明するためのフローチャートである。It is a flowchart for demonstrating the operation example at the time of the foreign material discrimination | determination mode in the 1st Embodiment of this invention. 本発明の第1の実施の形態における異物の影の位置関係を示す図である。It is a figure which shows the positional relationship of the shadow of the foreign material in the 1st Embodiment of this invention. 本発明の第1の実施の形態における表示部の表示例を示す図である。It is a figure which shows the example of a display of the display part in the 1st Embodiment of this invention. 本発明の第2の実施の形態に係るマウントキャップ及びデジタルカメラを説明するための概念図である。It is a conceptual diagram for demonstrating the mount cap and digital camera which concern on the 2nd Embodiment of this invention. 本発明の第2の実施の形態における異物の影の位置関係を示す図である。It is a figure which shows the positional relationship of the shadow of the foreign material in the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 マウントキャップ
2 マウント係合部
3 マウントキャップ側端子(通信手段)
4a、4b、4c LED
6 LEDメモリ(記録手段)
7a、7b 孔
10 デジタルカメラ
11 レンズマウント(マウント機構)
12 撮像素子
13 保護ガラス
14 光学ローパスフィルタ
19 制御部
21 光学部材メモリ(記録手段)
22 画像処理部
23 表示部
DESCRIPTION OF SYMBOLS 1 Mount cap 2 Mount engaging part 3 Mount cap side terminal (communication means)
4a, 4b, 4c LED
6 LED memory (recording means)
7a, 7b Hole 10 Digital camera 11 Lens mount (mounting mechanism)
12 Image sensor 13 Protective glass 14 Optical low-pass filter 19 Control unit 21 Optical member memory (recording means)
22 Image processing unit 23 Display unit

Claims (9)

撮像装置のマウント機構に係合する係合部と、
前記マウント機構に係合した状態において、前記撮像装置の撮像面に複数の光を投光する投光手段と、
前記複数の光が投光される位置の相互間の距離及び前記複数の光が投光される位置から前記撮像装置内の予め定められた位置までの距離の情報を記録する記録手段と、
前記撮像装置と通信を行う通信手段とを有することを特徴とする照明装置。
An engaging portion that engages with the mount mechanism of the imaging device;
Projecting means for projecting a plurality of lights onto the imaging surface of the imaging device in a state of being engaged with the mount mechanism;
Recording means for recording information on a distance between positions where the plurality of lights are projected and a distance from a position where the plurality of lights are projected to a predetermined position in the imaging apparatus;
An illumination device comprising: a communication unit that communicates with the imaging device.
前記投光手段は、複数の光源により構成されることを特徴とする請求項1に記載の照明装置。   The lighting device according to claim 1, wherein the light projecting unit includes a plurality of light sources. 前記複数の光源は全て同一の種類と大きさであって、前記撮像面と平行の面上に配置されることを特徴とする請求項2に記載の照明装置。   The lighting device according to claim 2, wherein the plurality of light sources are all of the same type and size and are arranged on a plane parallel to the imaging surface. 前記複数の光源を同じ光量で投光させることを特徴とする請求項2又は3に記載の照明装置。   The lighting device according to claim 2, wherein the plurality of light sources are projected with the same light amount. 前記投光手段は、光源と、前記光源よりも前記撮像面側に設けられた複数の孔を有する蓋部材とにより構成されることを特徴とする請求項1に記載の照明装置。   The lighting device according to claim 1, wherein the light projecting unit includes a light source and a lid member having a plurality of holes provided closer to the imaging surface than the light source. 前記複数の孔は全て同一の大きさであって、前記撮像面と平行の前記蓋部材の面に形成されていることを特徴とする請求項5に記載の照明装置。   The lighting device according to claim 5, wherein the plurality of holes have the same size and are formed on a surface of the lid member parallel to the imaging surface. 前記撮像装置内の予め定められた位置は、前記撮像面であることを特徴とする請求項1〜6のいずれか1項に記載の照明装置。   The lighting device according to claim 1, wherein the predetermined position in the imaging device is the imaging surface. 請求項1〜7のいずれか1項に記載の照明装置を用いて、前記撮像面及び光学部材に付着した異物を判別する撮像装置であって、
前記投光手段に電力を供給し、点灯を制御する制御手段と、
前記撮像面から前記光学部材までの距離の情報を記録する記録手段と、
前記投光手段が前記撮像面に複数の光を投光したときに撮像した画像データと、前記記録手段が記録する距離の情報と、前記通信手段を介して取得される前記照明装置の記録手段が記録する距離の情報とに基づいて、前記付着した異物の有無及びその3次元位置を判別する判別手段とを有することを特徴とする撮像装置。
An imaging device that uses the illumination device according to any one of claims 1 to 7 to determine foreign matter attached to the imaging surface and the optical member,
Control means for supplying power to the light projecting means and controlling lighting;
Recording means for recording information on the distance from the imaging surface to the optical member;
Image data captured when the light projecting unit projects a plurality of lights onto the imaging surface, information on a distance recorded by the recording unit, and recording unit of the lighting device acquired via the communication unit And a discriminating means for discriminating the presence / absence of the adhered foreign substance and its three-dimensional position based on the distance information recorded by the camera.
前記判別手段によって判別した前記異物の有無及びその3次元位置の結果を表示する表示手段を更に有することを特徴とする請求項8に記載の撮像装置。   The imaging apparatus according to claim 8, further comprising a display unit that displays the presence / absence of the foreign matter determined by the determination unit and a result of the three-dimensional position thereof.
JP2006164258A 2006-06-14 2006-06-14 Illumination device and imaging device Expired - Fee Related JP4637059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006164258A JP4637059B2 (en) 2006-06-14 2006-06-14 Illumination device and imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006164258A JP4637059B2 (en) 2006-06-14 2006-06-14 Illumination device and imaging device

Publications (2)

Publication Number Publication Date
JP2007336129A JP2007336129A (en) 2007-12-27
JP4637059B2 true JP4637059B2 (en) 2011-02-23

Family

ID=38935190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006164258A Expired - Fee Related JP4637059B2 (en) 2006-06-14 2006-06-14 Illumination device and imaging device

Country Status (1)

Country Link
JP (1) JP4637059B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5617470B2 (en) * 2010-09-16 2014-11-05 株式会社ニコン Dust processing device, imaging device, photographing lens, and dust processing program
JP5778551B2 (en) * 2011-11-01 2015-09-16 富士フイルム株式会社 Foreign matter detection method and apparatus for imaging device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300442A (en) * 2001-03-30 2002-10-11 Canon Inc Camera system
JP2004172835A (en) * 2002-11-19 2004-06-17 Minolta Co Ltd Imaging apparatus
JP2004317377A (en) * 2003-04-17 2004-11-11 Nikon Corp Foreign matter detection tool, camera body, and foreign matter detection system for lens replacing type digital camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300442A (en) * 2001-03-30 2002-10-11 Canon Inc Camera system
JP2004172835A (en) * 2002-11-19 2004-06-17 Minolta Co Ltd Imaging apparatus
JP2004317377A (en) * 2003-04-17 2004-11-11 Nikon Corp Foreign matter detection tool, camera body, and foreign matter detection system for lens replacing type digital camera

Also Published As

Publication number Publication date
JP2007336129A (en) 2007-12-27

Similar Documents

Publication Publication Date Title
CN101001319B (en) Image processing apparatus and image processing method
EP2982969B1 (en) Method for inspecting for foreign substance on substrate
JP2007003646A (en) Camera system, lens unit and accessory
CN101001318A (en) Image capturing apparatus and control method thereof
US7949244B2 (en) Method for measuring subject distance
JP4333199B2 (en) Foreign object detection jig, camera body and foreign object detection system for interchangeable lens digital camera
JP4637059B2 (en) Illumination device and imaging device
JP2011015299A (en) Image sensing apparatus, image processing apparatus, control method, and program
JP2016173385A (en) Electronic apparatus and method for controlling electronic apparatus
JP2012149946A (en) Inspection device, inspection method and program
JP2007005966A (en) System for calculation amount of exposure, and control method and control program thereof
JP2002300442A (en) Camera system
JP2009124309A (en) Image device
WO2017183796A1 (en) Electronic device having infrared optical device and method for controlling infrared optical device
JP2006343421A (en) Information input system for camera, camera and attachment for photography used therein
JP4341102B2 (en) Imaging apparatus and control method thereof
JP4626436B2 (en) Electronic camera
KR101795602B1 (en) Digital imaging apparatus and controlling method of thereof
JP2010136149A (en) Form reading device and form detecting method
JP7395319B2 (en) Cleaning equipment and cleaning method
JP2008311708A5 (en)
JP2006050280A (en) Image pickup unit and image pickup method
JP5778551B2 (en) Foreign matter detection method and apparatus for imaging device
JP5223705B2 (en) camera
JP5521429B2 (en) Light emission amount control device and light emission amount control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100927

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

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

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

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees