JP6360816B2 - Imaging apparatus and imaging method - Google Patents

Imaging apparatus and imaging method Download PDF

Info

Publication number
JP6360816B2
JP6360816B2 JP2015165753A JP2015165753A JP6360816B2 JP 6360816 B2 JP6360816 B2 JP 6360816B2 JP 2015165753 A JP2015165753 A JP 2015165753A JP 2015165753 A JP2015165753 A JP 2015165753A JP 6360816 B2 JP6360816 B2 JP 6360816B2
Authority
JP
Japan
Prior art keywords
signal
unit
light
ratio
infrared
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.)
Active
Application number
JP2015165753A
Other languages
Japanese (ja)
Other versions
JP2017046100A (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.)
Hitachi Industry and Control Solutions Co Ltd
Original Assignee
Hitachi Industry and Control Solutions Co Ltd
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 Hitachi Industry and Control Solutions Co Ltd filed Critical Hitachi Industry and Control Solutions Co Ltd
Priority to JP2015165753A priority Critical patent/JP6360816B2/en
Publication of JP2017046100A publication Critical patent/JP2017046100A/en
Application granted granted Critical
Publication of JP6360816B2 publication Critical patent/JP6360816B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、撮像装置及び撮像方法に関する。   The present invention relates to an imaging apparatus and an imaging method.

従来、例えば監視カメラ等の技術分野では、高照度から低照度までのあらゆる環境下において良好な映像を提供することが望まれている。そこで、本技術分野の背景技術としては、例えば、特開2011−233983公報(特許文献1)がある。   Conventionally, in a technical field such as a surveillance camera, it has been desired to provide a good image in any environment from high illuminance to low illuminance. Therefore, as a background art in this technical field, for example, there is JP 2011-233983 A (Patent Document 1).

特許文献1には、夜間のような低照度下でも良好なカラー画像を得ることができ、かつ、赤外線照明装置を用いた場合のようなコントラストが鮮明な映像を同時に得ることができる撮像装置が記載されている。具体的には、特許文献1には、固体撮像素子と、赤外LEDと、発光制御部と、赤外LEDの非発光期間および発光期間に同期して、可視光によるカラー画像信号と赤外光による画像信号とをそれぞれ抽出する信号処理部とを備える撮像装置が記載されている。また、特許文献1には、固体撮像素子が、緑色の可視光と赤外光とを受光する画素と、赤色の可視光と赤外光とを受光する画素と、青色の可視光と赤外光とを受光する画素と、赤外光を受光する画素とを備えた単位配列を有することが記載されている。さらに、特許文献1には、固体撮像素子が、該単位配列が2次元配列された撮像領域を有することが記載されている。この特許文献1に記載の技術を用いれば、可視光と赤外光とを同時に受光可能な撮像素子を用いて、夜間においても良好なカラー画像を得ることができる。   Patent Document 1 discloses an imaging apparatus that can obtain a good color image even under low illuminance such as at night, and can simultaneously obtain a clear contrast image as in the case of using an infrared illumination device. Have been described. Specifically, Patent Document 1 discloses a solid-state imaging device, an infrared LED, a light emission control unit, a color image signal by visible light, and an infrared in synchronization with a non-light emission period and a light emission period of the infrared LED. An image pickup apparatus including a signal processing unit that extracts an image signal by light is described. In Patent Document 1, the solid-state imaging device includes a pixel that receives green visible light and infrared light, a pixel that receives red visible light and infrared light, and blue visible light and infrared light. It describes that it has a unit array including pixels that receive light and pixels that receive infrared light. Furthermore, Patent Document 1 describes that a solid-state imaging device has an imaging region in which the unit array is two-dimensionally arrayed. If the technique described in Patent Document 1 is used, a good color image can be obtained even at night by using an imaging device capable of simultaneously receiving visible light and infrared light.

特開2011−233983公報JP 2011-233983 A

上記特許文献1では、夜間のような低照度環境下における撮影については十分に考慮されている。しかしながら、特許文献1では、例えば、太陽光、ハロゲン光、ナトリウムランプ等の光源が使用される環境下、すなわち、赤外線が多く含まれる光源が使用される環境下における撮影については、十分に考慮がなされていない。そこで、従来、本技術分野では、可視光と赤外光とを同時に受光可能な撮像装置において、被写体の光学的な撮像環境(以下、被写体環境という)に応じて、撮影時の光学条件(撮像条件)を最適な条件に自動遷移させることが可能な技術の開発が求められている。   In the above-mentioned Patent Document 1, sufficient consideration is given to shooting in a low-light environment such as at night. However, in Patent Document 1, for example, photographing in an environment in which a light source such as sunlight, halogen light, or a sodium lamp is used, that is, an environment in which a light source containing a large amount of infrared light is used is sufficiently considered. Not done. Therefore, heretofore, in the present technical field, in an imaging apparatus capable of simultaneously receiving visible light and infrared light, an optical condition (imaging) at the time of shooting is determined according to the optical imaging environment of the subject (hereinafter referred to as the subject environment). There is a need for the development of technology that can automatically transition the (condition) to the optimum condition.

本発明は、上記要望に応えるためになされたものであり、本発明の目的は、可視光と赤外光とを同時に受光可能な撮像装置において、被写体環境に応じて、撮影時の光学条件を最適な条件に自動的に遷移させることが可能な技術を提供することである。   The present invention has been made in order to meet the above-mentioned demands, and an object of the present invention is to provide an imaging apparatus capable of simultaneously receiving visible light and infrared light, with optical conditions at the time of photographing depending on the subject environment. It is to provide a technique capable of automatically shifting to an optimum condition.

上記従来技術の課題を解決するために、本発明では、可視光及び赤外光を同時に受光可能な撮像部と、第1光学フィルタと、可視光信号生成部と、赤外光信号生成部と、制御部と、光学フィルタ制御部と、を備える撮像装置及びその撮像方法を提供する。そして、本発明では、光学フィルタ制御部は、制御部から出力された所定の制御信号に基づいて、可視光のみを透過する第1光学フィルタを入射光の光路上の第1の位置又は光路上の位置以外の第2の位置に配置する。   In order to solve the above-described problems of the prior art, in the present invention, an imaging unit capable of simultaneously receiving visible light and infrared light, a first optical filter, a visible light signal generation unit, an infrared light signal generation unit, An imaging device including the control unit and the optical filter control unit and an imaging method therefor are provided. In the present invention, the optical filter control unit passes the first optical filter that transmits only visible light on the first position on the optical path of the incident light or on the optical path based on the predetermined control signal output from the control unit. It arrange | positions in 2nd positions other than this position.

上記構成の本発明によれば、可視光と赤外光とを同時に受光可能な撮像装置において、被写体環境に応じて、撮影時の光学条件を最適な条件に自動的に遷移させることができる。   According to the present invention configured as described above, in an imaging apparatus capable of simultaneously receiving visible light and infrared light, it is possible to automatically change the optical condition during photographing to an optimum condition according to the subject environment.

本発明の第1の実施形態に係る撮像装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an imaging apparatus according to a first embodiment of the present invention. 第1の実施形態に係る撮像装置における単位画素の配列を示す図である。It is a figure which shows the arrangement | sequence of the unit pixel in the imaging device which concerns on 1st Embodiment. 第1の実施形態に係る撮像装置における各単位画素の感度特性を示す図である。It is a figure which shows the sensitivity characteristic of each unit pixel in the imaging device which concerns on 1st Embodiment. 第1の実施形態に係る撮像装置の可視光信号生成部及び赤外光信号生成部から出力される各信号に対応する感度特性を示す図である。It is a figure which shows the sensitivity characteristic corresponding to each signal output from the visible light signal generation part and infrared light signal generation part of the imaging device which concerns on 1st Embodiment. 第1の実施形態に係る撮像装置における制御部の機能ブロック図である。It is a functional block diagram of the control part in the imaging device concerning a 1st embodiment. 第1の実施形態に係る撮像装置において実行される光源判定処理の内容を説明するための図である。It is a figure for demonstrating the content of the light source determination process performed in the imaging device which concerns on 1st Embodiment. 第1の実施形態に係る撮像装置における光学フィルタの移動制御処理(光学条件の切り替え処理)の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of optical filter movement control processing (optical condition switching processing) in the imaging apparatus according to the first embodiment. 第1の実施形態に係る撮像装置の効果を説明するための図である。It is a figure for demonstrating the effect of the imaging device which concerns on 1st Embodiment. 本発明の第2の実施形態に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on the 2nd Embodiment of this invention. 汎用の撮像素子における各単位画素の感度特性を示す図である。It is a figure which shows the sensitivity characteristic of each unit pixel in a general purpose image sensor. 変形例1に係る撮像装置における制御部の機能ブロック図である。6 is a functional block diagram of a control unit in an imaging apparatus according to Modification 1. FIG.

以下に、本発明の各種実施形態に係る撮像装置及びその撮像装置を用いた撮像手法の内容について、図面を参照しながら具体的に説明する。なお、本発明の撮像装置は、様々な用途に適用可能であり、例えば、後述の撮像装置をシャーシ部材に取り付けて構成されたシャーシカメラなどにも適用可能である。   Hereinafter, the contents of an imaging apparatus according to various embodiments of the present invention and an imaging technique using the imaging apparatus will be specifically described with reference to the drawings. Note that the imaging apparatus of the present invention can be applied to various uses, and can be applied to, for example, a chassis camera configured by attaching an imaging apparatus described later to a chassis member.

<第1の実施形態>
[撮像装置の構成]
図1は、本発明の第1の実施形態に係る撮像装置の構成を示すブロック図である。撮像装置1は、図1に示すように、撮像部10と、光学フィルタ2と、可視光信号生成部3と、赤外光信号生成部4と、光学フィルタ制御部5と、赤外線照射部6と、可視光信号処理部7と、赤外光信号処理部8と、信号合成部9と、制御部20と、を備える。
<First Embodiment>
[Configuration of imaging device]
FIG. 1 is a block diagram showing a configuration of an imaging apparatus according to the first embodiment of the present invention. As shown in FIG. 1, the imaging device 1 includes an imaging unit 10, an optical filter 2, a visible light signal generation unit 3, an infrared light signal generation unit 4, an optical filter control unit 5, and an infrared irradiation unit 6. A visible light signal processing unit 7, an infrared light signal processing unit 8, a signal synthesis unit 9, and a control unit 20.

[撮像部]
撮像部10は、レンズ11と、撮像素子12と、を有する。また、図示しないが、撮像部10は、撮像素子12に入射される光の光量を調整するための絞り機構及びシャッタ機構を有する。レンズ11は、被写体から入射される光信号(以下、被写体信号という)を撮像素子12の受光面上に結像して光学像を生成する。
[Imaging section]
The imaging unit 10 includes a lens 11 and an imaging element 12. Although not illustrated, the imaging unit 10 includes a diaphragm mechanism and a shutter mechanism for adjusting the amount of light incident on the imaging element 12. The lens 11 forms an optical image by forming an optical signal incident from the subject (hereinafter referred to as a subject signal) on the light receiving surface of the image sensor 12.

撮像素子12は、可視光及び赤外光の両方に対して光学的感度を有する撮像素子(可視光及び赤外光を同時に受光可能な撮像素子)で構成される。撮像素子12は、例えば、CMOS(Complementary Metal-Oxide Semiconductor)型やCCD(Charge-Coupled Device)型などの固体撮像素子で構成することができる。そして、撮像素子12は、レンズ11によって結像された光学像(被写体信号)を電気信号に変換し、該変換した電気信号を可視光信号生成部3及び赤外光信号生成部4に出力する。   The imaging device 12 is configured by an imaging device (an imaging device capable of receiving visible light and infrared light simultaneously) having optical sensitivity to both visible light and infrared light. The imaging device 12 can be configured by a solid-state imaging device such as a complementary metal-oxide semiconductor (CMOS) type or a charge-coupled device (CCD) type, for example. The image sensor 12 converts the optical image (subject signal) formed by the lens 11 into an electrical signal, and outputs the converted electrical signal to the visible light signal generation unit 3 and the infrared light signal generation unit 4. .

図2は、撮像素子12の概略構成図である。撮像素子12の撮像領域12a(受光面)には、複数の単位画素が2次元状に配列される。   FIG. 2 is a schematic configuration diagram of the image sensor 12. A plurality of unit pixels are two-dimensionally arranged in the imaging region 12a (light receiving surface) of the imaging device 12.

複数の単位画素には、可視光に含まれる赤色成分光と、赤外光とを受光可能な第1単位画素31、及び、可視光に含まれる緑色成分光と、赤外光とを受光可能な第2単位画素32が含まれる。また、複数の単位画素には、可視光に含まれる青色成分光と、赤外光とを受光可能な第3単位画素33、及び、赤外光のみを受光可能な第4単位画素34が含まれる。なお、図示しないが、第1単位画素31には、可視光中の赤色成分光と、赤外光とを透過させるフィルタが設けられ、第2単位画素32には、可視光中の緑色成分光と、赤外光とを透過させるフィルタが設けられる。また、第3単位画素33には、可視光中の青色成分光と、赤外光とを透過させるフィルタが設けられ、第4単位画素34には、赤外光のみを透過させるフィルタが設けられる。   The plurality of unit pixels can receive the first unit pixel 31 capable of receiving red component light and infrared light contained in visible light, and the green component light and infrared light contained in visible light. 2nd unit pixel 32 is included. The plurality of unit pixels include a third unit pixel 33 that can receive blue component light and infrared light included in visible light, and a fourth unit pixel 34 that can receive only infrared light. It is. Although not shown, the first unit pixel 31 is provided with a filter that transmits red component light and infrared light in visible light, and the second unit pixel 32 has green component light in visible light. And a filter that transmits infrared light. The third unit pixel 33 is provided with a filter that transmits blue component light and infrared light in visible light, and the fourth unit pixel 34 is provided with a filter that transmits only infrared light. .

そして、撮像領域12aでは、第1単位画素31〜第4単位画素34が2行×2列の態様で互いに隣接して配置された画素群30a(以下、基本画素群30aという)が、2次元状に配列される。   In the imaging region 12a, a pixel group 30a (hereinafter referred to as a basic pixel group 30a) in which the first unit pixel 31 to the fourth unit pixel 34 are arranged adjacent to each other in a 2 × 2 column manner is two-dimensional. Arranged in a shape.

また、基本画素群の別の構成としては、図2に示す基本画素群30bの構成を用いてもよい。基本画素群30bは、可視光中の赤色成分光と、赤外光とを受光可能な第1単位画素35、及び、可視光中の緑色成分光と、赤外光とを受光可能な第2単位画素36を含む。また、基本画素群30bは、可視光信号中の青色成分光と、赤外光とを受光可能な第3単位画素37、及び、可視光帯域全ての光と、赤外光とを受光可能な第4単位画素38を含む。そして、第1単位画素35〜第4単位画素38は、2行×2列の態様で互いに隣接して配置される。また、図示しないが、第4単位画素38には、可視光(可視光帯域全ての光)と赤外光とを透過させるフィルタが設けられる。   Further, as another configuration of the basic pixel group, the configuration of the basic pixel group 30b illustrated in FIG. 2 may be used. The basic pixel group 30b includes a first unit pixel 35 capable of receiving red component light and infrared light in visible light, and a second unit pixel 35 capable of receiving green component light and infrared light in visible light. A unit pixel 36 is included. The basic pixel group 30b can receive the blue component light in the visible light signal and the third unit pixel 37 that can receive the infrared light, and the light in the entire visible light band and the infrared light. A fourth unit pixel 38 is included. The first unit pixel 35 to the fourth unit pixel 38 are arranged adjacent to each other in the form of 2 rows × 2 columns. Although not shown, the fourth unit pixel 38 is provided with a filter that transmits visible light (light in the entire visible light band) and infrared light.

なお、基本画素群内における第1単位画素〜第4単位画素の位置関係及び/又は配列態様は、図2に示す例に限定されず、例えば撮像素子の種別等に応じて適宜設定することができる。   In addition, the positional relationship and / or arrangement mode of the first unit pixel to the fourth unit pixel in the basic pixel group is not limited to the example illustrated in FIG. 2, and may be appropriately set according to the type of the image sensor, for example. it can.

図3A、図3B、図3C及び図3Dはそれぞれ、基本画素群30a(図2参照)を構成する第3単位画素33、第2単位画素32、第1単位画素31及び第4単位画素34の感度(感光)特性を示す図である。また、図3Eは、基本画素群30b(図2参照)を構成する第4単位画素38の感度特性を示す図である。なお、各図に示す感度特性は、入射光の波長の変化に対する、各単位画素の感度の変化を表す特性である。また、各図中の「R」、「G」、「B」、「W」及び「IR」で示す波長帯域は、それぞれ、赤色成分光、緑色成分光、青色成分光、可視光及び赤外光の波長帯域を示す。   3A, 3B, 3C, and 3D respectively show the third unit pixel 33, the second unit pixel 32, the first unit pixel 31, and the fourth unit pixel 34 that form the basic pixel group 30a (see FIG. 2). It is a figure which shows a sensitivity (photosensitive) characteristic. FIG. 3E is a diagram illustrating sensitivity characteristics of the fourth unit pixel 38 constituting the basic pixel group 30b (see FIG. 2). The sensitivity characteristic shown in each figure is a characteristic that represents a change in sensitivity of each unit pixel with respect to a change in wavelength of incident light. The wavelength bands indicated by “R”, “G”, “B”, “W”, and “IR” in each figure are respectively red component light, green component light, blue component light, visible light, and infrared. Indicates the wavelength band of light.

基本画素群30aを構成する、第3単位画素33の感度特性は、青色成分光及び赤外光の両方の波長帯域で感度を有する特性となり、第2単位画素32の感度特性は、緑色成分光及び赤外光の両方の波長帯域で感度を有する特性となる。基本画素群30aを構成する、第1単位画素31の感度特性は、赤色成分光及び赤外光の両方の波長帯域で感度を有する特性となり、第4単位画素34の感度特性は、赤外光の波長帯域でのみ感度を有する特性となる。また、基本画素群30bを構成する第4単位画素38の感度特性は、可視光及び赤外光の両方の波長帯域で感度を有する特性となる。なお、基本画素群30bを構成する第1単位画素35〜第3単位画素37の感度特性は、それぞれ図3C〜図3Aで表された感度特性と同様の特性となる。   The sensitivity characteristic of the third unit pixel 33 constituting the basic pixel group 30a is a characteristic having sensitivity in both wavelength bands of blue component light and infrared light, and the sensitivity characteristic of the second unit pixel 32 is green component light. And a characteristic having sensitivity in both wavelength bands of infrared light and infrared light. The sensitivity characteristic of the first unit pixel 31 constituting the basic pixel group 30a is a characteristic having sensitivity in both wavelength bands of red component light and infrared light, and the sensitivity characteristic of the fourth unit pixel 34 is infrared light. It has a characteristic having sensitivity only in the wavelength band. Further, the sensitivity characteristics of the fourth unit pixel 38 constituting the basic pixel group 30b are characteristics having sensitivity in both visible light and infrared light wavelength bands. Note that the sensitivity characteristics of the first unit pixel 35 to the third unit pixel 37 constituting the basic pixel group 30b are the same as the sensitivity characteristics shown in FIGS. 3C to 3A, respectively.

[可視光信号生成部及び赤外光信号生成部]
可視光信号生成部3は、撮像部10から入力された電気信号に含まれる可視光成分の信号(以下、可視光信号という)のみを抽出する。なお、基本画素群の構成が上述した基本画素群30aである場合(図2参照)、可視光信号生成部3は、可視光信号に含まれる、赤色成分信号、緑色成分信号及び青色成分信号をそれぞれ別個に抽出する。また、基本画素群の構成が上述した基本画素群30bである場合(図2参照)、可視光信号生成部3は、可視光信号に含まれる、赤色成分信号、緑色成分信号、青色成分信号及び可視光帯域全体の信号をそれぞれ別個に抽出する。そして、可視光信号生成部3は、抽出した各種色成分信号を可視光信号処理部7及び制御部20に出力する。
[Visible light signal generator and infrared light signal generator]
The visible light signal generation unit 3 extracts only a visible light component signal (hereinafter referred to as a visible light signal) included in the electrical signal input from the imaging unit 10. When the basic pixel group is the basic pixel group 30a described above (see FIG. 2), the visible light signal generation unit 3 outputs the red component signal, the green component signal, and the blue component signal included in the visible light signal. Extract each separately. When the basic pixel group is the basic pixel group 30b described above (see FIG. 2), the visible light signal generation unit 3 includes a red component signal, a green component signal, a blue component signal, and the like included in the visible light signal. Each signal in the entire visible light band is extracted separately. Then, the visible light signal generation unit 3 outputs the extracted various color component signals to the visible light signal processing unit 7 and the control unit 20.

赤外光信号生成部4は、撮像部10から入力された電気信号に含まれる赤外光成分の信号(以下、赤外光信号という)のみを抽出する。そして、赤外光信号生成部4は、抽出した赤外光信号を赤外光信号処理部8及び制御部20に出力する。   The infrared light signal generation unit 4 extracts only an infrared light component signal (hereinafter referred to as an infrared light signal) included in the electrical signal input from the imaging unit 10. Then, the infrared light signal generation unit 4 outputs the extracted infrared light signal to the infrared light signal processing unit 8 and the control unit 20.

なお、基本画素群の構成が基本画素群30aである場合(図2参照)、可視光信号生成部3では、下記式により、赤色成分信号(R信号)、緑色成分信号(G信号)及び青色成分信号(B信号)がそれぞれ抽出される。また、赤外光信号生成部4では、第4単位画素34で得られた信号が赤外光信号(IR信号)として抽出される。なお、下記式中の「R+IR」、「G+IR」、「B+IR」及び「IR」は、それぞれ第1単位画素31、第2単位画素32、第3単位画素33及び第4単位画素34から得られる信号を表す。
R信号=(R+IR)−IR
G信号=(G+IR)−IR
B信号=(B+IR)−IR
IR信号=第4単位画素34で得られた信号
When the basic pixel group is configured as the basic pixel group 30a (see FIG. 2), the visible light signal generation unit 3 uses the following formula to calculate a red component signal (R signal), a green component signal (G signal), and a blue color. Component signals (B signals) are extracted. In the infrared light signal generation unit 4, the signal obtained by the fourth unit pixel 34 is extracted as an infrared light signal (IR signal). Note that “R + IR”, “G + IR”, “B + IR”, and “IR” in the following equations are obtained from the first unit pixel 31, the second unit pixel 32, the third unit pixel 33, and the fourth unit pixel 34, respectively. Represents a signal.
R signal = (R + IR) −IR
G signal = (G + IR)-IR
B signal = (B + IR)-IR
IR signal = signal obtained by the fourth unit pixel 34

一方、基本画素群の構成が上述した基本画素群30bである場合(図2参照)、可視光信号生成部3では、下記式により、R信号、G信号、B信号及び可視光帯域全体の信号量(W信号)がそれぞれ抽出される。また、赤外光信号生成部4では、下記式により、IR信号が抽出される。なお、下記式中の「R+IR」、「G+IR」、「B+IR」及び「W+IR」は、それぞれ第1単位画素35、第2単位画素36、第3単位画素37及び第4単位画素38から得られる信号を表す。また、下記式中の係数α1〜α4は、不要な信号(抽出すべき色成分信号以外の信号)を適切にキャンセルするための係数である。例えば、α1は、R信号以外の信号を適切にキャンセルするための係数である。
R信号=α1×(W+IR)−{(G+IR)+(B+IR)}
G信号=α2×(W+IR)−{(R+IR)+(B+IR)}
B信号=α3×(W+IR)−{(R+IR)+(G+IR)}
W信号=(W+IR)−IR
IR信号={(R+IR)+(G+IR)+(B+IR)}−α4×(W+IR)
On the other hand, when the configuration of the basic pixel group is the basic pixel group 30b described above (see FIG. 2), the visible light signal generation unit 3 uses the following formula to calculate the R signal, the G signal, the B signal, and the signal of the entire visible light band. Each quantity (W signal) is extracted. Further, the infrared light signal generation unit 4 extracts an IR signal by the following equation. Note that “R + IR”, “G + IR”, “B + IR”, and “W + IR” in the following formulas are obtained from the first unit pixel 35, the second unit pixel 36, the third unit pixel 37, and the fourth unit pixel 38, respectively. Represents a signal. Coefficients α1 to α4 in the following formulas are coefficients for appropriately canceling unnecessary signals (signals other than the color component signal to be extracted). For example, α1 is a coefficient for appropriately canceling signals other than the R signal.
R signal = α1 × (W + IR) − {(G + IR) + (B + IR)}
G signal = α2 × (W + IR) − {(R + IR) + (B + IR)}
B signal = α3 × (W + IR) − {(R + IR) + (G + IR)}
W signal = (W + IR)-IR
IR signal = {(R + IR) + (G + IR) + (B + IR)} − α4 × (W + IR)

図4A〜図4Eはそれぞれ、上記抽出処理により求められたB信号、G信号、R信号、IR信号及びW信号に対応する感度特性を示す図である。可視光信号生成部3の抽出処理により得られた、B信号に対応する感度特性は、青色光の波長帯域でのみ感度を有する特性となり、G信号に対応する感度特性は、緑色光の波長帯域でのみ感度を有する特性となる。また、可視光信号生成部3の抽出処理により得られたR信号に対応する感度特性は、赤色光の波長帯域でのみ感度を有する特性となる。赤外光信号生成部4の抽出処理により得られたIR信号に対応する感度特性は、赤外光の波長帯域でのみ感度を有する特性となる。また、可視光信号生成部3の抽出処理により得られたW信号に対応する感度特性は、可視光の波長帯域全般に渡って所定の感度が得られるような特性となる。   4A to 4E are diagrams showing sensitivity characteristics corresponding to the B signal, the G signal, the R signal, the IR signal, and the W signal obtained by the extraction processing, respectively. The sensitivity characteristic corresponding to the B signal obtained by the extraction process of the visible light signal generation unit 3 is a characteristic having sensitivity only in the wavelength band of blue light, and the sensitivity characteristic corresponding to the G signal is the wavelength band of green light. It becomes a characteristic having sensitivity only at. The sensitivity characteristic corresponding to the R signal obtained by the extraction process of the visible light signal generation unit 3 is a characteristic having sensitivity only in the wavelength band of red light. The sensitivity characteristic corresponding to the IR signal obtained by the extraction process of the infrared light signal generation unit 4 is a characteristic having sensitivity only in the wavelength band of infrared light. In addition, the sensitivity characteristic corresponding to the W signal obtained by the extraction process of the visible light signal generation unit 3 is such that a predetermined sensitivity can be obtained over the entire wavelength band of visible light.

なお、上述した各種色成分信号及び赤外光信号の抽出処理は、1フレームの画像処理毎に実行される。また、この抽出された各種色成分信号及び赤外光信号に基づいて行われる、後述の信号比率の算出処理、光源の判定処理、光学フィルタ2の挿入要否の判定処理、信号処理で用いられる各種パラメータの設定処理等も、1フレームの画像処理毎に実行される。   The above-described extraction processing of various color component signals and infrared light signals is executed for each frame of image processing. Further, it is used in signal ratio calculation processing, light source determination processing, optical filter 2 insertion necessity determination processing, and signal processing described later, which are performed based on the extracted various color component signals and infrared light signals. Various parameter setting processes and the like are also executed for each frame of image processing.

[可視光信号処理部、赤外光信号処理部及び信号合成部]
可視光信号処理部7は、可視光信号生成部3から入力される各種色成分信号に対して、例えば、ホワイトバランス処理、ノイズ低減処理、ゲイン補正処理などの各種信号処理を行う。なお、この信号処理は、制御部20から入力される信号(各種信号処理パラメータ)に基づいて行われる。そして、可視光信号処理部7は、これらの各種信号処理が施された信号を信号合成部9に出力する。
[Visible light signal processor, infrared light signal processor, and signal synthesizer]
The visible light signal processing unit 7 performs various signal processing such as white balance processing, noise reduction processing, and gain correction processing on the various color component signals input from the visible light signal generation unit 3. This signal processing is performed based on signals (various signal processing parameters) input from the control unit 20. Then, the visible light signal processing unit 7 outputs a signal subjected to these various signal processings to the signal synthesis unit 9.

赤外光信号処理部8は、制御部20から入力される信号(各種信号処理パラメータ)に基づいて、赤外光信号生成部4から入力される赤外光信号に対して、例えば、ノイズ低減処理、ゲイン補正処理などの各種信号処理を施す。そして、赤外光信号処理部8は、これらの各種信号処理が施された信号を信号合成部9に出力する。   The infrared light signal processing unit 8 performs, for example, noise reduction on the infrared light signal input from the infrared light signal generation unit 4 based on signals (various signal processing parameters) input from the control unit 20. Various signal processing such as processing and gain correction processing are performed. Then, the infrared signal processing unit 8 outputs a signal subjected to these various signal processings to the signal synthesis unit 9.

信号合成部9は、制御部20から入力される信号(各種信号処理パラメータ)に基づいて、可視光信号処理部7から入力された信号と、赤外光信号処理部8から入力された信号とを合成する。そして、信号合成部9は、合成された信号を映像信号として、例えば、外部のモニター等の表示装置に出力する。   Based on the signals (various signal processing parameters) input from the control unit 20, the signal synthesis unit 9 receives the signal input from the visible light signal processing unit 7 and the signal input from the infrared light signal processing unit 8. Is synthesized. Then, the signal synthesis unit 9 outputs the synthesized signal as a video signal to a display device such as an external monitor, for example.

[光学フィルタ]
光学フィルタ2(第1光学フィルタ)は、撮像部10に入射される被写体信号に含まれる可視光成分の光信号のみを透過させるフィルタ(バンドパスフィルタ)で構成される。
[Optical filter]
The optical filter 2 (first optical filter) is configured by a filter (bandpass filter) that transmits only the optical signal of the visible light component included in the subject signal incident on the imaging unit 10.

なお、図示しないが、本実施形態では、光学フィルタ2の位置を移動させることが可能な移動機構部も設けられる。移動機構部は、光学フィルタ制御部5から入力された駆動制御信号に基づいて、光学フィルタ2をレンズ11及び撮像素子12間の光路上の位置に移動させる、又は、該光路上に配置された光学フィルタ2を光路上以外の位置に移動させる。また、移動機構部は、光学フィルタ2と一体的に設けられていてもよいし、光学フィルタ2とは別体で設けられていてもよい。   Although not shown, in the present embodiment, a moving mechanism unit that can move the position of the optical filter 2 is also provided. The moving mechanism unit moves the optical filter 2 to a position on the optical path between the lens 11 and the image sensor 12 based on the drive control signal input from the optical filter control unit 5, or is disposed on the optical path. The optical filter 2 is moved to a position other than the optical path. Moreover, the moving mechanism unit may be provided integrally with the optical filter 2 or may be provided separately from the optical filter 2.

[光学フィルタ制御部]
光学フィルタ制御部5は、制御部20(後述の信号比率算出部22)から入力される制御信号に基づいて、光学フィルタ2を駆動(移動)制御する。
[Optical filter controller]
The optical filter control unit 5 drives (moves) the optical filter 2 based on a control signal input from the control unit 20 (a signal ratio calculation unit 22 described later).

例えば、光学フィルタ2を入射光の光路上に挿入するための制御信号(以下、挿入制御信号という)が制御部20から入力されると、光学フィルタ制御部5は、光学フィルタ2を光路上の所定位置に配置するための駆動制御信号を光学フィルタ2に出力する。この処理により、光学フィルタ2の挿入機能の作動が開始される。なお、この処理時に光学フィルタ2がすでに該光路上の所定位置(挿入位置)に配置されている場合、光学フィルタ制御部5は、挿入制御信号に基づいて、光学フィルタ2が挿入位置に維持されるように光学フィルタ2を駆動制御する。   For example, when a control signal for inserting the optical filter 2 into the optical path of incident light (hereinafter referred to as an insertion control signal) is input from the control unit 20, the optical filter control unit 5 causes the optical filter 2 to be placed on the optical path. A drive control signal for arranging at a predetermined position is output to the optical filter 2. By this processing, the operation of the insertion function of the optical filter 2 is started. When the optical filter 2 is already arranged at a predetermined position (insertion position) on the optical path during this process, the optical filter control unit 5 maintains the optical filter 2 at the insertion position based on the insertion control signal. The optical filter 2 is driven and controlled as described above.

一方、光学フィルタ2を入射光の光路上から取り外すための制御信号(以下、取り外し制御信号という)が制御部20から入力されると、光学フィルタ制御部5は、光学フィルタ2を光路上以外の特定位置に配置するための駆動制御信号を光学フィルタ2に出力する。この処理により、光学フィルタ2の取り外し機能の作動が開始される。なお、この処理時に光学フィルタ2がすでに該光路上以外の特定位置(取り外し位置)に配置されている場合、光学フィルタ制御部5は、取り外し制御信号に基づいて、光学フィルタ2が取り外し位置に維持されるように光学フィルタ2を駆動制御する。   On the other hand, when a control signal for removing the optical filter 2 from the optical path of the incident light (hereinafter referred to as a removal control signal) is input from the control unit 20, the optical filter control unit 5 removes the optical filter 2 from other than the optical path. A drive control signal for arranging at a specific position is output to the optical filter 2. By this process, the operation of the removal function of the optical filter 2 is started. If the optical filter 2 is already placed at a specific position (removal position) other than the optical path during this processing, the optical filter control unit 5 maintains the optical filter 2 at the removal position based on the removal control signal. The optical filter 2 is driven and controlled as described above.

なお、本実施形態では、被写体環境が著しく高照度(以下、超高照度という)の環境である場合、後述する光源の判定結果(光学フィルタ2の挿入要否の判定結果)に関係なく、光学フィルタ2をレンズ11及び撮像素子12間の光路上の挿入位置に配置する。   In this embodiment, when the subject environment is an environment with extremely high illuminance (hereinafter referred to as ultra-high illuminance), regardless of the light source determination result described later (determination result regarding whether or not the optical filter 2 is inserted), the optical The filter 2 is disposed at an insertion position on the optical path between the lens 11 and the image sensor 12.

[赤外線照射部]
赤外線照射部6は、赤外線LED(Light Emitting Diode:不図示)を有し、制御部20から入力された制御信号に基づいて、赤外線LEDを点灯し、被写体に赤外光を照射する。
[Infrared irradiation part]
The infrared irradiation unit 6 includes an infrared LED (Light Emitting Diode: not shown), and turns on the infrared LED based on a control signal input from the control unit 20 to irradiate the subject with infrared light.

なお、本実施形態では、被写体環境が著しく低照度(以下、超低照度という)の環境である場合、後述する光源の判定結果(光学フィルタ2の挿入要否の判定結果)に関係なく、赤外線照射部6は、赤外線LEDを点灯し、被写体に赤外光を照射する。なお、この赤外光照射処理は、後述の赤外線照射量制御部23により算出された赤外線照射量に基づいて行われる。また、赤外線照射部6による赤外光の照射動作が行われるときには、制御部20の判定処理により光学フィルタ2の挿入機能の作動が決定されていても、その判定結果は無視される。   In the present embodiment, when the subject environment is extremely low illuminance (hereinafter referred to as ultra-low illuminance), infrared rays are used regardless of the light source determination result (determination result regarding whether or not the optical filter 2 is inserted), which will be described later. The irradiation unit 6 turns on the infrared LED and irradiates the subject with infrared light. In addition, this infrared light irradiation process is performed based on the infrared irradiation amount calculated by the infrared irradiation amount control part 23 mentioned later. Moreover, when the infrared irradiation operation by the infrared irradiation unit 6 is performed, even if the operation of the insertion function of the optical filter 2 is determined by the determination process of the control unit 20, the determination result is ignored.

[制御部]
図5は、制御部20の内部構成を示す機能ブロック図である。制御部20は、図5に示すように、露光制御部21と、信号比率算出部22と、赤外線照射量制御部23と、光源判定部24と、信号処理設定値算出部25と、を有する。
[Control unit]
FIG. 5 is a functional block diagram showing the internal configuration of the control unit 20. As shown in FIG. 5, the control unit 20 includes an exposure control unit 21, a signal ratio calculation unit 22, an infrared irradiation amount control unit 23, a light source determination unit 24, and a signal processing set value calculation unit 25. .

露光制御部21は、可視光信号生成部3から入力される、可視光信号に含まれる各色成分信号の信号量、及び、赤外光信号生成部4から入力される赤外光信号の信号量に基づいて、露光制御信号を生成し、該露光制御信号を撮像部10に出力する。本実施形態では、この露光制御信号に基づいて、撮像部10内の絞り機構及びシャッタ機構(不図示)が制御され、撮像素子12に入射される光の光量(露光条件)が適宜調整される。   The exposure control unit 21 receives the signal amount of each color component signal included in the visible light signal input from the visible light signal generation unit 3 and the signal amount of the infrared light signal input from the infrared light signal generation unit 4. Based on the above, an exposure control signal is generated, and the exposure control signal is output to the imaging unit 10. In the present embodiment, the diaphragm mechanism and shutter mechanism (not shown) in the imaging unit 10 are controlled based on the exposure control signal, and the light amount (exposure condition) of the light incident on the imaging element 12 is appropriately adjusted. .

信号比率算出部22は、可視光信号生成部3から入力される、可視光信号に含まれる各色成分信号の信号量、及び、赤外光信号生成部4から入力される赤外光信号の信号量に基づいて、各光成分の信号比率を算出する。具体的には、信号比率算出部22は、可視光帯域全体の信号量(可視光の信号量)に対する、赤色成分光の信号量の割合(R_Ratio)、緑色成分光の信号量の割合(G_Ratio)及び青色成分光の信号量の割合(B_Ratio)を算出する。また、信号比率算出部22は、全信号量(可視光及び赤外光の総信号量)に対する赤外光の信号量の割合(IR_Ratio)を算出する。なお、この各種信号比率の算出手法については、後で詳述する。そして、信号比率算出部22は、算出した各種信号比率を、赤外線照射量制御部23、光源判定部24及び信号処理設定値算出部25に出力する。   The signal ratio calculation unit 22 receives the signal amount of each color component signal included in the visible light signal input from the visible light signal generation unit 3 and the signal of the infrared light signal input from the infrared light signal generation unit 4. Based on the quantity, the signal ratio of each light component is calculated. Specifically, the signal ratio calculation unit 22 determines the ratio of the signal amount of red component light (R_Ratio) and the ratio of the signal amount of green component light (G_Ratio) to the signal amount of the entire visible light band (visible light signal amount). ) And the signal amount ratio (B_Ratio) of the blue component light. Further, the signal ratio calculation unit 22 calculates the ratio (IR_Ratio) of the signal amount of infrared light to the total signal amount (total signal amount of visible light and infrared light). The method for calculating the various signal ratios will be described in detail later. Then, the signal ratio calculation unit 22 outputs the calculated various signal ratios to the infrared irradiation amount control unit 23, the light source determination unit 24, and the signal processing set value calculation unit 25.

また、信号比率算出部22には、光源判定部24から光源の判定結果(光源情報)が入力されるとともに、赤外線照射量制御部23から赤外線照射量の算出結果が入力される。信号比率算出部22は、これらの情報に基づいて、光学フィルタ2の挿入機能の作動の要否(光学フィルタ2の取り外し機能の作動の要否)を判定する。そして、信号比率算出部22は、この判定結果に対応する所定の制御信号(挿入制御信号又は取り外し制御信号)を光学フィルタ制御部5に出力する。   The signal ratio calculation unit 22 receives the light source determination result (light source information) from the light source determination unit 24 and the infrared irradiation amount calculation result from the infrared irradiation amount control unit 23. Based on these pieces of information, the signal ratio calculation unit 22 determines whether or not the operation of the insertion function of the optical filter 2 is necessary (whether or not the operation of the removal function of the optical filter 2 is necessary). Then, the signal ratio calculation unit 22 outputs a predetermined control signal (insertion control signal or removal control signal) corresponding to the determination result to the optical filter control unit 5.

赤外線照射量制御部23は、信号比率算出部22から入力される各種信号比率に基づいて、被写体に照射する赤外線の照射量を算出する。そして、赤外線照射量制御部23は、算出結果(赤外線照射量)を赤外線照射部6及び信号比率算出部22に出力する。   The infrared irradiation amount control unit 23 calculates the irradiation amount of infrared rays irradiated to the subject based on various signal ratios input from the signal ratio calculation unit 22. The infrared irradiation amount control unit 23 outputs the calculation result (infrared irradiation amount) to the infrared irradiation unit 6 and the signal ratio calculation unit 22.

光源判定部24は、信号比率算出部22から入力される各種信号比率に基づいて、被写体環境で現在使用されている光源の種別を判定する。なお、本実施形態では、光源判定部24は、現在の光源が判定対象の光源(例えば、太陽光、ハロゲン光、ナトリウムランプ等の赤外線が多く含まれる光源)であるか否かを判定する。具体的には、光源判定部24は、信号比率算出部22から入力される各種信号比率の値が、判定対象の光源が使用された被写体環境下において取り得る値であるか否かを判定する。なお、この光源の判定手法については、後で詳述する。   The light source determination unit 24 determines the type of light source currently used in the subject environment based on various signal ratios input from the signal ratio calculation unit 22. In the present embodiment, the light source determination unit 24 determines whether or not the current light source is a light source to be determined (for example, a light source that includes a large amount of infrared rays such as sunlight, halogen light, and sodium lamp). Specifically, the light source determination unit 24 determines whether or not the values of various signal ratios input from the signal ratio calculation unit 22 are values that can be taken under the subject environment in which the light source to be determined is used. . This light source determination method will be described in detail later.

そして、光源判定部24は、判定結果に基づいて光源情報を更新するとともに、光源情報を信号比率算出部22及び信号処理設定値算出部25に出力する。なお、判定処理後の光源情報が判定処理前のそれと同じである場合には、光源判定部24は、光源情報の更新処理を行わない。   Then, the light source determination unit 24 updates the light source information based on the determination result, and outputs the light source information to the signal ratio calculation unit 22 and the signal processing set value calculation unit 25. If the light source information after the determination process is the same as that before the determination process, the light source determination unit 24 does not perform the light source information update process.

信号処理設定値算出部25は、可視光信号処理部7及び赤外光信号処理部8で行われる各種信号処理で用いられる各種信号処理パラメータ(設定パラメータ)の最適値を算出する。なお、この算出処理は、信号比率算出部22から入力される、各種信号比率、赤外線照射量及び光学フィルタ2の位置情報、並びに、光源判定部24から入力される光源情報に基づいて行われる。そして、信号処理設定値算出部25は、算出された各種信号処理パラメータを可視光信号処理部7及び赤外光信号処理部8に出力する。   The signal processing set value calculation unit 25 calculates optimum values of various signal processing parameters (setting parameters) used in various signal processing performed by the visible light signal processing unit 7 and the infrared light signal processing unit 8. This calculation process is performed based on various signal ratios input from the signal ratio calculation unit 22, infrared irradiation amount, position information of the optical filter 2, and light source information input from the light source determination unit 24. Then, the signal processing set value calculation unit 25 outputs the calculated various signal processing parameters to the visible light signal processing unit 7 and the infrared light signal processing unit 8.

また、信号処理設定値算出部25は、信号合成部9で行われる合成処理で用いられる、例えば、各信号のゲイン値、輝度信号、色信号を生成するためのマトリクス設定値などの信号処理パラメータ(設定パラメータ)を算出する。そして、信号処理設定値算出部25は、算出されたこれらの信号処理パラメータを信号合成部9に出力する。   The signal processing set value calculation unit 25 is used in the synthesis process performed by the signal synthesis unit 9, for example, a signal processing parameter such as a matrix setting value for generating a gain value, a luminance signal, and a color signal of each signal. (Setting parameter) is calculated. Then, the signal processing set value calculation unit 25 outputs the calculated signal processing parameters to the signal synthesis unit 9.

なお、制御部20内には、図1に示すように、各種処理で必要となる各種プログラムや各種データが格納されたメモリ部20aが内蔵されている。このメモリ部20aは、例えば、ROM(Read Only Memory)等で構成することができる。なお、メモリ部20aは、制御部20の外部に設けられていてもよい。また、図示しないが、制御部20内には、各種処理の実行時に各種処理データ等を一時的に保持するための作業用メモリも内蔵されている。この作業用メモリは、例えば、RAM(Random Access Memory)等で構成することができる。   As shown in FIG. 1, the control unit 20 includes a memory unit 20a in which various programs and various data necessary for various processes are stored. The memory unit 20a can be composed of, for example, a ROM (Read Only Memory) or the like. Note that the memory unit 20 a may be provided outside the control unit 20. Although not shown, the control unit 20 also includes a working memory for temporarily storing various processing data and the like when executing various processing. This working memory can be composed of, for example, a RAM (Random Access Memory) or the like.

メモリ部20a(記憶部)に記憶される各種データとしては、例えば、光源の判定処理で用いる後述の信号比率の閾値や光源のスペクトル特性などの判定データが挙げられる。さらに、メモリ部20aに記憶される各種データとしては、例えば、可視光信号処理部7、赤外光信号処理部8及び信号合成部9の各種信号処理で用いられる各種信号処理パラメータなどが挙げられる。なお、これらのデータは、例えば、撮像装置1の製造段階等において予めメモリ部20aに格納されていてもよいし、撮像装置1の使用者(操作者)等の所定操作により各種データを後からメモリ部20aに追加可能な構成にしてもよい。後者の構成を設けた場合、被写体環境に応じて、使用者(操作者)等が最適な各種データ(判定データ、信号処理パラメータ等)をメモリ部20aに追加することができる。この場合、例えば、光源の判定精度やカラー映像の再現性などをさらに向上させることができる。   Examples of various data stored in the memory unit 20a (storage unit) include determination data such as a signal ratio threshold and a light source spectral characteristic, which will be described later, used in the light source determination process. Furthermore, examples of various data stored in the memory unit 20a include various signal processing parameters used in various signal processing of the visible light signal processing unit 7, the infrared light signal processing unit 8, and the signal synthesis unit 9. . Note that these data may be stored in the memory unit 20a in advance, for example, at the manufacturing stage of the imaging apparatus 1, or various data may be stored later by a predetermined operation by a user (operator) of the imaging apparatus 1 or the like. You may make it the structure which can be added to the memory part 20a. When the latter configuration is provided, various kinds of data (determination data, signal processing parameters, etc.) optimum for the user (operator) or the like can be added to the memory unit 20a according to the subject environment. In this case, for example, the determination accuracy of the light source and the reproducibility of the color image can be further improved.

[信号比率の算出手法]
次に、各種信号比率(R_Ratio(第1信号比率)、G_Ratio(第2信号比率)、B_Ratio(第3信号比率)及びIR_Ratio(第4信号比率))の算出手法について説明する。最初に、光学フィルタ2がレンズ11及び撮像素子12間の光路上に配置されていない場合における、各種信号比率の算出手法を説明する。
[Signal ratio calculation method]
Next, a method for calculating various signal ratios (R_Ratio (first signal ratio), G_Ratio (second signal ratio), B_Ratio (third signal ratio), and IR_Ratio (fourth signal ratio)) will be described. First, a method for calculating various signal ratios when the optical filter 2 is not disposed on the optical path between the lens 11 and the image sensor 12 will be described.

この場合、まず、信号比率算出部22は、基本画素群毎に、可視光帯域全体の信号量に対する、赤色成分光の信号量の割合(r_ratio)、緑色成分光の信号量の割合(g_ratio)及び青色成分光の信号量の割合(b_ratio)を算出する。また、信号比率算出部22は、基本画素群毎に、全信号量に対する赤外光の信号量の割合(ir_ratio)を算出する。この算出処理において、基本画素群の構成が基本画素群30aである場合(図2参照)には、可視光帯域全体の信号量は、基本画素群における、R信号の信号量、G信号の信号量及びB信号の信号量の総和とする。また、この場合、全信号量は、基本画素群における、R信号の信号量、G信号の信号量、B信号の信号量及びIR信号の信号量の総和とする。一方、基本画素群の構成が基本画素群30bである場合(図2参照)には、可視光帯域全体の信号量は、基本画素群におけるW信号の信号量とし、全信号量は、基本画素群における、W信号の信号量及びIR信号の信号量の総和とする。   In this case, first, for each basic pixel group, the signal ratio calculation unit 22 has a ratio of the signal amount of the red component light (r_ratio) and a ratio of the signal amount of the green component light (g_ratio) to the signal amount of the entire visible light band. And the ratio (b_ratio) of the signal amount of the blue component light is calculated. Further, the signal ratio calculation unit 22 calculates the ratio (ir_ratio) of the signal amount of infrared light to the total signal amount for each basic pixel group. In this calculation process, when the basic pixel group is configured as the basic pixel group 30a (see FIG. 2), the signal amount of the entire visible light band is the signal amount of the R signal and the signal of the G signal in the basic pixel group. And the total amount of the B signal. In this case, the total signal amount is the sum of the signal amount of the R signal, the signal amount of the G signal, the signal amount of the B signal, and the signal amount of the IR signal in the basic pixel group. On the other hand, when the basic pixel group is configured as the basic pixel group 30b (see FIG. 2), the signal amount of the entire visible light band is the signal amount of the W signal in the basic pixel group, and the total signal amount is the basic pixel. The sum of the signal amount of the W signal and the signal amount of the IR signal in the group.

次いで、信号比率算出部22は、基本画素群毎に算出されたr_ratio、g_ratio、b_ratio及びir_ratioの撮像領域12a全体に渡っての平均値をそれぞれ求める。そして、信号比率算出部22は、算出されたr_ratio、g_ratio、b_ratio及びir_ratioの平均値を、それぞれR_Ratio、G_Ratio、B_Ratio及びIR_Ratioとする。なお、信号比率の算出手法はこれに限定されず、例えば、撮像領域12a全体に渡って各色成分信号及び赤外光信号の信号量の平均値をそれぞれ求め、各信号量の平均値を用いて信号比率を算出してもよい。   Next, the signal ratio calculation unit 22 obtains average values of r_ratio, g_ratio, b_ratio, and ir_ratio over the entire imaging region 12a calculated for each basic pixel group. Then, the signal ratio calculation unit 22 sets the calculated average values of r_ratio, g_ratio, b_ratio, and ir_ratio as R_Ratio, G_Ratio, B_Ratio, and IR_Ratio, respectively. The method for calculating the signal ratio is not limited to this. For example, the average value of the signal amount of each color component signal and infrared light signal is obtained over the entire imaging region 12a, and the average value of each signal amount is used. The signal ratio may be calculated.

次に、光学フィルタ2がレンズ11及び撮像素子12間の光路上に配置されている場合における、各種信号比率の算出手法を説明する。   Next, a method for calculating various signal ratios when the optical filter 2 is disposed on the optical path between the lens 11 and the image sensor 12 will be described.

この場合、信号比率算出部22は、光学フィルタ2がレンズ11及び撮像素子12間の光路上に配置されていない場合と同様にして、各色成分光の信号比率(R_Ratio、G_Ratio、B_Ratio)を算出する。しかしながら、この場合、赤外光信号の実測値が得られないので、赤外光の信号比率(IR_Ratio)は、次のようにして算出される。   In this case, the signal ratio calculation unit 22 calculates the signal ratio (R_Ratio, G_Ratio, B_Ratio) of each color component light in the same manner as when the optical filter 2 is not disposed on the optical path between the lens 11 and the image sensor 12. To do. However, in this case, since the actual measurement value of the infrared light signal cannot be obtained, the signal ratio (IR_Ratio) of the infrared light is calculated as follows.

まず、信号比率算出部22は、算出された各色成分光の信号比率と、制御部20内のメモリ部20aに格納された各種光源のスペクトル特性とを比較する。次いで、信号比率算出部22は、両者の比較結果に基づいて、光源の種別を推定する。この際、信号比率算出部22は、各種光源のスペクトル特性の中から、例えば、R_Ratio、G_Ratio及びB_Ratio間の大小関係や比率などが最も類似したスペクトル特性を選び出して光源の種別を推定する。次いで、信号比率算出部22は、推定された光源のスペクトル特性と、算出された各色成分光の信号比率とに基づいて、赤外光の信号比率(IR_Ratio)を推定する。   First, the signal ratio calculation unit 22 compares the calculated signal ratio of each color component light with the spectral characteristics of various light sources stored in the memory unit 20 a in the control unit 20. Next, the signal ratio calculation unit 22 estimates the type of the light source based on the comparison result between the two. At this time, the signal ratio calculation unit 22 estimates the type of the light source by selecting, for example, the spectrum characteristic having the most similar magnitude and ratio between R_Ratio, G_Ratio, and B_Ratio from the spectral characteristics of various light sources. Next, the signal ratio calculation unit 22 estimates the signal ratio (IR_Ratio) of infrared light based on the estimated spectrum characteristics of the light source and the calculated signal ratio of each color component light.

例えば、光源にハロゲンランプが使用されている場合には、R_Ratioと、G_Ratioと、B_Ratioとの間には、「B_Ratio<G_Ratio≦R_Ratio」という関係が成立する。それゆえ、信号比率算出部22は、可視光信号の実測値に基づいて算出されたR_Ratioと、G_Ratioと、B_Ratioとの間にこの関係が成立するか否かを判別して、光源がハロゲンランプであるか否かを判別する。そして、光源がハロゲンランプであると判定された場合には、信号比率算出部22は、ハロゲンランプが有するスペクトル特性に基づいて、IR_Ratioを推定する。   For example, when a halogen lamp is used as the light source, the relationship “B_Ratio <G_Ratio ≦ R_Ratio” is established between R_Ratio, G_Ratio, and B_Ratio. Therefore, the signal ratio calculation unit 22 determines whether this relationship is established among R_Ratio calculated based on the actual measurement value of the visible light signal, G_Ratio, and B_Ratio, and the light source is a halogen lamp. It is determined whether or not. When it is determined that the light source is a halogen lamp, the signal ratio calculation unit 22 estimates IR_Ratio based on the spectral characteristics of the halogen lamp.

また、光源のスペクトル特性における、R_Ratio、G_Ratio及びB_Ratio間の関係性は、使用する撮像素子12の感度特性によって若干変化する場合もある。例えば、光源がハロゲンランプである場合、印加電圧が小さくなると、R_Ratioが大きくなり、G_Ratio及びB_Ratioが小さくなる傾向がある。それゆえ、IR_Ratioを推定する際に、このようなR_Ratio、G_Ratio及びB_Ratio間の関係性を考慮し、R_RatioとG_Ratio及びB_Ratioとの差に応じて、IR_Ratioを補正してもよい。例えば、R_Ratioと、G_Ratio及びB_Ratioとの差が大きくなると、IR_Ratioの推定値も大きくなるような補正を行う構成にしてもよい。   In addition, the relationship among R_Ratio, G_Ratio, and B_Ratio in the spectral characteristics of the light source may vary slightly depending on the sensitivity characteristics of the image sensor 12 to be used. For example, when the light source is a halogen lamp, when the applied voltage is small, R_Ratio tends to increase, and G_Ratio and B_Ratio tend to decrease. Therefore, when estimating IR_Ratio, the relationship between R_Ratio, G_Ratio, and B_Ratio may be considered, and IR_Ratio may be corrected according to the difference between R_Ratio and G_Ratio and B_Ratio. For example, the correction may be performed so that the estimated value of IR_Ratio increases as the difference between R_Ratio and G_Ratio and B_Ratio increases.

[光源の判定手法]
次に、光源判定部24により実行される光源の判定手法について説明する。本実施形態では、光源判定部24は、各信号比率と、対応する閾値との大小関係を比較する。具体的には、光源判定部24は、R_Ratioと対応する閾値(R_Ratio_th)とを比較し、G_Ratioと対応する閾値(G_Ratio_th)とを比較する。また、光源判定部24は、B_Ratioと対応する閾値(B_Ratio_th)とを比較し、IR_Ratioと対応する閾値(IR_Ratio_th)とを比較する。
[Light source determination method]
Next, a light source determination method executed by the light source determination unit 24 will be described. In the present embodiment, the light source determination unit 24 compares the magnitude relationship between each signal ratio and the corresponding threshold value. Specifically, the light source determination unit 24 compares R_Ratio with a corresponding threshold value (R_Ratio_th), and compares G_Ratio with a corresponding threshold value (G_Ratio_th). Further, the light source determination unit 24 compares B_Ratio with a corresponding threshold value (B_Ratio_th), and compares IR_Ratio with a corresponding threshold value (IR_Ratio_th).

この比較処理では、光源判定部24は、算出された各信号比率の値が、対応する閾値を境にして、判定対象の光源が使用された被写体環境下において取り得る範囲内(閾値より大きい範囲又は小さい範囲)の値であるか否かを判別する。次いで、光源判定部24は、この判別(比較)結果に基づいて、被写体環境で使用されている光源が判定対象の光源であるか否かを判定する。そして、光源判定部24は、この判定結果に基づいて、光源の種別情報(光源情報)を更新又は維持する。   In this comparison process, the light source determination unit 24 determines that the calculated signal ratio values are within a range that can be taken in the subject environment where the light source to be determined is used, with the corresponding threshold as a boundary (a range larger than the threshold). Or a small range value). Next, the light source determination unit 24 determines whether or not the light source used in the subject environment is a determination target light source based on the determination (comparison) result. Then, the light source determination unit 24 updates or maintains the light source type information (light source information) based on the determination result.

なお、本実施形態では、各信号比率の判別(比較)結果をフラグ情報(「High」又は「Low」)で表す。具体的には、R_RatioとR_Ratio_thとの比較結果を「Flag_R」で表し、G_RatioとG_Ratio_thとの比較結果を「Flag_G」で表す。また、B_RatioとB_Ratio_thとの比較結果を「Flag_B」で表し、IR_RatioとIR_Ratio_thとの比較結果を「Flag_IR」で表す。   In the present embodiment, the discrimination (comparison) result of each signal ratio is represented by flag information (“High” or “Low”). Specifically, the comparison result between R_Ratio and R_Ratio_th is represented by “Flag_R”, and the comparison result between G_Ratio and G_Ratio_th is represented by “Flag_G”. Further, the comparison result between B_Ratio and B_Ratio_th is represented by “Flag_B”, and the comparison result between IR_Ratio and IR_Ratio_th is represented by “Flag_IR”.

そして、信号比率の値が、対応する閾値を境にして、判定対象の光源が使用された被写体環境下において取り得る範囲内の値である場合には、対応するフラグ情報は「High」となるものとする。それゆえ、現在の被写体環境において判定対象の光源が使用されている場合には、Flag_R、Flag_G、Flag_B及びFlag_IRは全て、「High」となる。一方、現在の被写体環境において判定対象の光源が使用されていない場合には、Flag_R、Flag_G、Flag_B及びFlag_IRの少なくとも一つは、「Low」になる。   When the value of the signal ratio is a value within a range that can be taken under the subject environment where the light source to be determined is used with the corresponding threshold as a boundary, the corresponding flag information is “High”. Shall. Therefore, when the light source to be determined is used in the current subject environment, Flag_R, Flag_G, Flag_B, and Flag_IR are all “High”. On the other hand, when the light source to be determined is not used in the current subject environment, at least one of Flag_R, Flag_G, Flag_B, and Flag_IR is “Low”.

また、本実施形態では、判定処理時の光学情報(前フレームの処理終了時点における光学情報)に基づいて、信号比率の比較処理で用いる閾値を異ならせる。すなわち、現在の光学情報(更新前の光学情報)が判定対象の光源に対応する光源情報である場合の閾値を、現在の光学情報が判定対象以外の光源に対応する光源情報である場合の閾値と異なる値に設定する。なお、本発明はこれに限定されず、信号比率の閾値は、現在の光学情報に関係なく同じであってもよい。   In the present embodiment, the threshold used in the signal ratio comparison process is varied based on the optical information at the time of the determination process (optical information at the end of the process of the previous frame). That is, the threshold when the current optical information (optical information before update) is light source information corresponding to the light source to be determined, and the threshold when the current optical information is light source information corresponding to a light source other than the determination target Set to a different value. In addition, this invention is not limited to this, The threshold value of a signal ratio may be the same irrespective of the present optical information.

図6A〜図6Dは、ハロゲンランプを判定対象の光源とした場合における、各信号比率の値と、対応する閾値と、対応するフラグ情報との関係を示す図であり、光源判定処理(光学フィルタ2の挿入機能の作動の要否の判定処理)の制御イメージを示す図である。図6A〜図6Dの各図中の太実線は、現在の光源情報がハロゲンランプ以外の光源情報である場合における、各信号比率の値の変化に対するフラグ情報の遷移態様を示す。一方、図6A〜図6Dの各図中の太破線は、現在の光源情報がハロゲンランプの光源情報である場合における、各信号比率の値の変化に対するフラグ情報の遷移態様を示す。   6A to 6D are diagrams showing the relationship between each signal ratio value, the corresponding threshold value, and the corresponding flag information when a halogen lamp is used as the light source to be determined. It is a figure which shows the control image of the determination process of the necessity of the action | operation of 2 insertion functions. A thick solid line in each of FIGS. 6A to 6D shows a transition mode of flag information with respect to a change in the value of each signal ratio when the current light source information is light source information other than a halogen lamp. On the other hand, the thick broken line in each figure of Drawing 6A-Drawing 6D shows the transition mode of flag information to the change of the value of each signal ratio when the current light source information is the light source information of the halogen lamp.

すなわち、例えば、前フレームの判定処理で光源がハロゲンランプであった場合や、現在、光学フィルタ2の挿入機能が作動している場合には、図6A〜図6Dの各図中の太破線で示すフラグ情報の遷移態様を参照して判定処理が行われる。その他の場合には、図6A〜図6Dの各図中の太破線で示すフラグ情報の遷移態様を参照して判定処理が行われる。このように、現在の光源情報に応じて各信号比率の閾値を変化させて、フラグ情報の遷移態様にヒステリシスを設けることにより、光源情報がノイズなどの影響によって誤って更新されないようにすることができる。   That is, for example, when the light source is a halogen lamp in the determination process of the previous frame, or when the insertion function of the optical filter 2 is currently operating, the thick broken line in each of FIGS. The determination process is performed with reference to the transition mode of the flag information shown. In other cases, the determination process is performed with reference to the transition state of the flag information indicated by the thick broken line in each of FIGS. 6A to 6D. Thus, by changing the threshold value of each signal ratio according to the current light source information and providing hysteresis in the transition mode of the flag information, the light source information is not erroneously updated due to the influence of noise or the like. it can.

そして、光源判定部24は、各信号比率と対応する閾値との比較処理により、全てのフラグ情報が、「High」となった場合には、光源がハロゲンランプであると判定する。図6A〜図6Dに示す例では、以下に示す(1)又は(2)の関係が成立する場合に、光源判定部24は、光源がハロゲンランプであると判定する。
(1)R_Ratio>R_Ratio_th1、G_Ratio<G_Ratio_th1、B_Ratio<B_Ratio_th1、且つ、IR_Ratio>IR_Ratio_th1
(2)R_Ratio>R_Ratio_th2、G_Ratio<G_Ratio_th2、B_Ratio<B_Ratio_th2、且つ、IR_Ratio>IR_Ratio_th2
Then, the light source determination unit 24 determines that the light source is a halogen lamp when all the flag information is “High” as a result of comparison processing between each signal ratio and the corresponding threshold value. In the example shown in FIGS. 6A to 6D, when the following relationship (1) or (2) is established, the light source determination unit 24 determines that the light source is a halogen lamp.
(1) R_Ratio> R_Ratio_th1, G_Ratio <G_Ratio_th1, B_Ratio <B_Ratio_th1, and IR_Ratio> IR_Ratio_th1
(2) R_Ratio> R_Ratio_th2, G_Ratio <G_Ratio_th2, B_Ratio <B_Ratio_th2, and IR_Ratio> IR_Ratio_th2

一方、光源判定部24は、比較処理により、少なくとも一つのフラグ情報が「Low」になった場合には、光源がハロゲンランプでないと判定する。なお、この場合であっても、フラグ情報が「Low」になった全ての信号比率が、対応する閾値に対して非常に近似した値(閾値±δの範囲内の値)となるときには、光源判定部24は、光源がハロゲンランプであると判定する。   On the other hand, the light source determination unit 24 determines that the light source is not a halogen lamp when at least one flag information is “Low” by the comparison process. Even in this case, when all the signal ratios for which the flag information is “Low” are very close to the corresponding threshold values (values within the range of the threshold value ± δ), the light source The determination unit 24 determines that the light source is a halogen lamp.

なお、本実施形態では、判定対象の光源、すなわち、考慮する被写体環境を複数種設定することもできる。その場合には、上述した、信号比率の閾値、光源のスペクトル特性、各種信号処理で用いられる各種信号処理パラメータなども、判定対象の光源毎(被写体環境毎)に別個に設定され、メモリ部20aに格納される。   In this embodiment, a plurality of types of light sources to be determined, that is, subject environments to be considered can be set. In this case, the above-described signal ratio threshold, light source spectral characteristics, various signal processing parameters used in various signal processing, and the like are also set separately for each light source to be determined (for each subject environment), and the memory unit 20a. Stored in

[光学フィルタの挿入/取り外し機能の切り替え制御]
図7は、本実施形態の撮像装置1における光学フィルタ2の挿入/取り外し機能の切り替え制御処理(光学フィルタ2の移動制御処理)の手順を示すフローチャートである。
[Optical filter insertion / removal function switching control]
FIG. 7 is a flowchart illustrating the procedure of the switching control processing (movement control processing of the optical filter 2) of the insertion / removal function of the optical filter 2 in the imaging device 1 of the present embodiment.

まず、可視光信号生成部3は、基本単位群毎に、入力された電気信号から可視光信号に含まれる各色成分信号(R信号、G信号、B信号、W信号)を抽出(算出)する(S1)。また、S1の処理では、赤外光信号生成部4は、基本単位群毎に、入力された電気信号から赤外光信号(IR信号)を抽出(算出)する。次いで、信号比率算出部22は、可視光信号生成部3及び赤外光信号生成部4により基本単位群毎に抽出された各色成分信号及び赤外光信号の信号量を取得する(S2)。   First, the visible light signal generation unit 3 extracts (calculates) each color component signal (R signal, G signal, B signal, W signal) included in the visible light signal from the input electrical signal for each basic unit group. (S1). In the processing of S1, the infrared light signal generation unit 4 extracts (calculates) an infrared light signal (IR signal) from the input electrical signal for each basic unit group. Next, the signal ratio calculation unit 22 acquires the signal amount of each color component signal and infrared light signal extracted for each basic unit group by the visible light signal generation unit 3 and the infrared light signal generation unit 4 (S2).

次いで、信号比率算出部22は、光学フィルタ2がレンズ11及び撮像素子12間の光路上の所定位置(挿入位置)に挿入されているか否かを判別する(S3)。この処理では、信号比率算出部22は、現在、光学フィルタ制御部5から光学フィルタ2に出力されている駆動制御信号の種別(光学フィルタ2の位置情報)に基づいて、光学フィルタ2が挿入されているか否かを判別する。   Next, the signal ratio calculation unit 22 determines whether or not the optical filter 2 is inserted at a predetermined position (insertion position) on the optical path between the lens 11 and the image sensor 12 (S3). In this process, the signal ratio calculation unit 22 inserts the optical filter 2 based on the type of drive control signal currently output from the optical filter control unit 5 to the optical filter 2 (position information of the optical filter 2). It is determined whether or not.

S3の処理において、信号比率算出部22が、光学フィルタ2が挿入されていないと判別した場合(S3がNO判定の場合)、信号比率算出部22は、各色成分光及び赤外光の信号比率を算出する(S4)。具体的には、信号比率算出部22は、S2で取得した各種信号量に基づいて、R_Ratio、G_Ratio、B_Ratio及びIR_Ratioを算出する。   In the process of S3, when the signal ratio calculation unit 22 determines that the optical filter 2 is not inserted (when S3 is NO), the signal ratio calculation unit 22 calculates the signal ratio of each color component light and infrared light. Is calculated (S4). Specifically, the signal ratio calculation unit 22 calculates R_Ratio, G_Ratio, B_Ratio, and IR_Ratio based on the various signal amounts acquired in S2.

一方、S3の処理において、信号比率算出部22が、光学フィルタ2が挿入されていると判別した場合(S3がYES判定の場合)、信号比率算出部22は、各色成分光の各信号比率を算出する(S5)。具体的には、信号比率算出部22は、S2で取得した各種信号量に基づいて、R_Ratio、G_Ratio及びB_Ratioを算出する。   On the other hand, in the process of S3, when the signal ratio calculation unit 22 determines that the optical filter 2 is inserted (when S3 is YES), the signal ratio calculation unit 22 calculates each signal ratio of each color component light. Calculate (S5). Specifically, the signal ratio calculation unit 22 calculates R_Ratio, G_Ratio, and B_Ratio based on the various signal amounts acquired in S2.

次いで、信号比率算出部22は、S5で算出された各色成分光の信号比率と、各種光源のスペクトル特性とに基づいて、光源の種別を推定し、赤外光の信号比率(IR_Ratio)の推定値を算出する(S6)。   Next, the signal ratio calculation unit 22 estimates the type of light source based on the signal ratio of each color component light calculated in S5 and the spectral characteristics of various light sources, and estimates the signal ratio (IR_Ratio) of infrared light. A value is calculated (S6).

S4又はS6の処理後、光源判定部24は、現在の光源情報に基づいて、算出された各信号比率と、対応する閾値との比較を行う(S7)。次いで、光源判定部24は、信号比率毎に、S7の比較結果に対応するフラグ情報をセットする(S8)。   After the processing of S4 or S6, the light source determination unit 24 compares each calculated signal ratio with the corresponding threshold value based on the current light source information (S7). Next, the light source determination unit 24 sets flag information corresponding to the comparison result of S7 for each signal ratio (S8).

次いで、光源判定部24は、セットされた各信号比率のフラグ情報に基づいて、光源判別を行う(S9)。この処理において、全てのフラグ情報が「High」である場合には、光源判定部24は、光源が判定対象の光源(赤外線が多く含まれる光源)であると判定し、それ以外の場合には、光源判定部24は、光源が判定対象以外の光源であると判定する。なお、少なくとも一つのフラグ情報が「Low」になった場合であっても、フラグ情報が「Low」になった全ての信号比率が、対応する閾値に対して非常に近似した値となるときには、光源判定部24は、光源が判定対象の光源であると判定する。   Next, the light source determination unit 24 performs light source determination based on the set flag information of each signal ratio (S9). In this process, when all the flag information is “High”, the light source determination unit 24 determines that the light source is a light source to be determined (a light source containing a lot of infrared rays), and otherwise. The light source determination unit 24 determines that the light source is a light source other than the determination target. Even when at least one flag information is “Low”, when all signal ratios for which the flag information is “Low” are very close to the corresponding threshold values, The light source determination unit 24 determines that the light source is a light source to be determined.

次いで、光源判定部24は、S9の判定結果に基づいて、光源情報の更新処理(又は維持処理)を行う(S10)。この処理において、S9の判定処理前の光源情報が、判定処理後の光源情報と異なる場合には、光源判定部24は、光源情報の更新処理を行う。   Next, the light source determination unit 24 performs light source information update processing (or maintenance processing) based on the determination result of S9 (S10). In this process, when the light source information before the determination process of S9 is different from the light source information after the determination process, the light source determination unit 24 performs a light source information update process.

次いで、赤外線照射量制御部23は、信号比率算出部22から入力された各種信号比率に基づいて、被写体に照射する赤外線の照射量を算出する(S11)。なお、S11の処理は、S4又はS6の処理後であり且つ後述のS12の処理前であれば、任意のタイミングで実行することができる。また、S11の処理は、光源判定部24が実行するS7〜S10の処理と平行して行われてもよい。   Next, the infrared irradiation amount control unit 23 calculates the irradiation amount of infrared rays irradiated to the subject based on the various signal ratios input from the signal ratio calculation unit 22 (S11). Note that the process of S11 can be executed at an arbitrary timing as long as it is after the process of S4 or S6 and before the process of S12 described later. Moreover, the process of S11 may be performed in parallel with the process of S7-S10 which the light source determination part 24 performs.

次いで、信号比率算出部22は、被写体環境が超高照度の環境であるか否かを判別する(S12)。この処理では、信号比率算出部22は、例えば、露光制御部21から撮像部10に出力される露光制御信号の内容など参照して、被写体環境が超高照度の環境であるか否かを判別してもよい。また、この処理では、信号比率算出部22は、例えば、入射光の光量が所定の閾値を超えているか否かを判定することにより、被写体環境が超高照度の環境であるか否かを判別してもよい。   Next, the signal ratio calculation unit 22 determines whether or not the subject environment is an ultra-high illuminance environment (S12). In this processing, the signal ratio calculation unit 22 determines whether or not the subject environment is an ultra-high illuminance environment with reference to, for example, the content of the exposure control signal output from the exposure control unit 21 to the imaging unit 10. May be. Further, in this process, the signal ratio calculation unit 22 determines whether or not the subject environment is an ultra-high illuminance environment, for example, by determining whether or not the amount of incident light exceeds a predetermined threshold. May be.

S12の処理において、信号比率算出部22が、被写体環境が超高照度の環境であると判別した場合(S12がYES判定の場合)、信号比率算出部22は、後述のS15の処理を行う。   In the process of S12, when the signal ratio calculation unit 22 determines that the subject environment is an ultra-high illuminance environment (when S12 is YES), the signal ratio calculation unit 22 performs the process of S15 described later.

一方、S12の処理において、信号比率算出部22が、被写体環境が超高照度の環境でないと判別した場合(S12がNO判定の場合)、信号比率算出部22は、被写体環境が超低照度の環境であるか否かを判別する(S13)。この処理では、信号比率算出部22は、例えば、露光制御部21から撮像部10に出力される露光制御信号の内容など参照して、被写体環境が超低照度の環境であるか否かを判別してもよい。また、この処理では、信号比率算出部22は、例えば、入射光の光量が特定の閾値未満であるか否かを判定することにより、被写体環境が超低照度の環境であるか否かを判別してもよい。   On the other hand, in the processing of S12, when the signal ratio calculation unit 22 determines that the subject environment is not an ultra-high illuminance environment (when S12 is NO), the signal ratio calculation unit 22 determines that the subject environment is an ultra-low illuminance. It is determined whether or not the environment is present (S13). In this process, the signal ratio calculation unit 22 determines whether or not the subject environment is an ultra-low illuminance environment with reference to, for example, the contents of the exposure control signal output from the exposure control unit 21 to the imaging unit 10. May be. Further, in this process, the signal ratio calculation unit 22 determines whether the subject environment is an environment with extremely low illuminance, for example, by determining whether the amount of incident light is less than a specific threshold value. May be.

S13の処理において、信号比率算出部22が、被写体環境が超低照度の環境であると判別した場合(S13がYES判定の場合)、撮像装置1は、後述のS17の処理を行う。   In the process of S13, when the signal ratio calculation unit 22 determines that the subject environment is an environment with extremely low illuminance (when S13 is YES), the imaging apparatus 1 performs a process of S17 described later.

一方、S13の処理において、信号比率算出部22が、被写体環境が超低照度の環境でないと判別した場合(S13がNO判定の場合)、信号比率算出部22は、赤外線照射量が零であり且つ赤外光成分が大きいか否かを判別する(S14)。この処理において、信号比率算出部22は、S10の処理で決定された光源情報が判定対象の光源(赤外線が多く含まれる光源)に対応する光源情報である場合には、入射光に含まれる赤外光成分が大きいと判定する。なお、本発明はこれに限定されず、信号比率算出部22は、入射された赤外光の光量を示す情報に基づいて、入射光に含まれる赤外光成分が大きいか否かを判別してもよい。   On the other hand, in the process of S13, when the signal ratio calculation unit 22 determines that the subject environment is not an environment with extremely low illuminance (when S13 is NO), the signal ratio calculation unit 22 has an infrared irradiation amount of zero. And it is discriminate | determined whether an infrared-light component is large (S14). In this process, when the light source information determined in the process of S10 is light source information corresponding to a light source to be determined (a light source that includes a large amount of infrared rays), the signal ratio calculation unit 22 uses red light included in the incident light. It is determined that the external light component is large. The present invention is not limited to this, and the signal ratio calculation unit 22 determines whether or not the infrared light component included in the incident light is large based on the information indicating the amount of incident infrared light. May be.

S14の処理において、信号比率算出部22が、S14の判定条件を満たさないと判別した場合(S14がNO判定の場合)、撮像装置1は、後述のS17の処理を行う。一方、S14の処理において、信号比率算出部22が、S14の判定条件を満たすと判別した場合(S14がYES判定の場合)、又は、S12がYES判定の場合、信号比率算出部22は、挿入制御信号を光学フィルタ制御部5に出力する(S15)。   In the process of S14, when the signal ratio calculation unit 22 determines that the determination condition of S14 is not satisfied (when S14 is NO), the imaging device 1 performs a process of S17 described later. On the other hand, in the process of S14, when the signal ratio calculation unit 22 determines that the determination condition of S14 is satisfied (when S14 is YES determination) or when S12 is YES determination, the signal ratio calculation unit 22 inserts The control signal is output to the optical filter control unit 5 (S15).

次いで、光学フィルタ制御部5は、入力された挿入制御信号に基づいて、光学フィルタ2を駆動制御し、光学フィルタ2をレンズ11及び撮像素子12間の光路上の所定位置(挿入位置:第1の位置)に配置する(S16)。なお、前フレームの処理終了時点で光学フィルタ2が挿入位置に配置されていない場合、この処理において、光学フィルタ制御部5は、光学フィルタ2を挿入位置に移動させる処理を行う。一方、前フレームの処理終了時点で光学フィルタ2が挿入位置に配置されている場合、この処理において、光学フィルタ制御部5は、光学フィルタ2が挿入位置に配置された状態を維持する処理を行う。そして、S16の処理後、撮像装置1は、光学フィルタ2の挿入/取り外し機能の切り替え制御処理(撮影時の光学条件の切り替え処理)を終了する。   Next, the optical filter control unit 5 drives and controls the optical filter 2 based on the input insertion control signal, and controls the optical filter 2 to a predetermined position (insertion position: first position) on the optical path between the lens 11 and the image sensor 12. (S16). Note that when the optical filter 2 is not disposed at the insertion position at the end of the processing of the previous frame, in this processing, the optical filter control unit 5 performs a process of moving the optical filter 2 to the insertion position. On the other hand, when the optical filter 2 is disposed at the insertion position at the end of the processing of the previous frame, in this processing, the optical filter control unit 5 performs processing for maintaining the state where the optical filter 2 is disposed at the insertion position. . After the process of S16, the imaging apparatus 1 ends the insertion / removal function switching control process of the optical filter 2 (optical condition switching process at the time of photographing).

ここで、再度、S13及びS14の処理に戻って、S13がYES判定の場合、又は、S14がNO判定の場合、赤外線照射部6は、S11で算出された赤外線照射量で被写体に赤外線を照射する(S17)。なお、S11で算出された赤外線照射量が零である場合には、S17の処理において、赤外線は被写体に照射されない。   Here, returning to the processing of S13 and S14 again, if S13 is YES or S14 is NO, the infrared irradiation unit 6 irradiates the subject with infrared rays with the infrared irradiation amount calculated in S11. (S17). Note that when the infrared irradiation amount calculated in S11 is zero, the subject is not irradiated with infrared rays in the processing of S17.

次いで、信号比率算出部22は、取り外し制御信号を光学フィルタ制御部5に出力する(S18)。   Next, the signal ratio calculation unit 22 outputs a removal control signal to the optical filter control unit 5 (S18).

次いで、光学フィルタ制御部5は、入力された取り外し制御信号に基づいて、光学フィルタ2を駆動制御し、光学フィルタ2をレンズ11及び撮像素子12間の光路上の位置以外の特定位置(取り外し位置:第2の位置)に配置する(S19)。なお、前フレームの処理終了時点で光学フィルタ2が挿入位置に配置されている場合、この処理において、光学フィルタ制御部5は、光学フィルタ2を取り外し位置に移動させる処理を行う。一方、前フレームの処理終了時点で光学フィルタ2が取り外し位置に配置されている場合、この処理において、光学フィルタ制御部5は、光学フィルタ2が取り外し位置に配置された状態を維持する処理を行う。そして、S19の処理後、撮像装置1は、光学フィルタ2の挿入/取り外し機能の切り替え制御処理(撮影時の光学条件の切り替え処理)を終了する。   Next, the optical filter control unit 5 drives and controls the optical filter 2 based on the input removal control signal, and the optical filter 2 is moved to a specific position (removal position) other than the position on the optical path between the lens 11 and the image sensor 12. : Second position) (S19). When the optical filter 2 is arranged at the insertion position at the end of the process of the previous frame, in this process, the optical filter control unit 5 performs a process of moving the optical filter 2 to the removal position. On the other hand, when the optical filter 2 is disposed at the removal position at the end of the processing of the previous frame, in this process, the optical filter control unit 5 performs a process of maintaining the state where the optical filter 2 is disposed at the removal position. . Then, after the process of S19, the imaging apparatus 1 ends the switching control process for the insertion / removal function of the optical filter 2 (the optical condition switching process at the time of photographing).

[効果]
本実施形態の撮像装置1では、上述した光学フィルタ2の挿入/取り外し機能が設けられ、この両機能が、被写体環境に応じて適宜切り替えられる。それゆえ、本実施形態の撮像装置1によれば、被写体環境に応じて、撮影時の光学条件(撮像条件)を最適な条件に自動的に遷移させることができる。より具体的には、次のような効果が得られる。
[effect]
In the imaging apparatus 1 according to the present embodiment, the above-described insertion / removal function of the optical filter 2 is provided, and both these functions are appropriately switched according to the subject environment. Therefore, according to the imaging apparatus 1 of the present embodiment, the optical condition (imaging condition) at the time of shooting can be automatically changed to the optimum condition according to the subject environment. More specifically, the following effects can be obtained.

図8A及び図8Bは、被写体から入射される光の光量(被写体の光量)と、撮像素子12から出力される信号(出力信号)の値との関係を示す図である。いま、例えば、被写体環境が、高照度の環境であり、被写体の光量に対して撮像素子12の出力信号が飽和するような環境である場合を考える。この環境において、例えば、被写体の光量に含まれる赤外光の光量が可視光の光量の2倍以上になった場合、図8Aに示すように、実際に信号処理の対象となる被写体の光量(飽和量を除いた光量)に含まれる赤外光の光量もまた、可視光の光量の2倍以上となる。この場合、実際に信号処理の対象となる可視光の光量は、小さくなる(撮像素子12から出力される可視光成分の出力信号が小さくなる)。   8A and 8B are diagrams illustrating the relationship between the amount of light incident from the subject (the amount of light of the subject) and the value of the signal (output signal) output from the image sensor 12. Consider a case where the subject environment is a high illuminance environment and the output signal of the image sensor 12 is saturated with respect to the amount of light of the subject. In this environment, for example, when the amount of infrared light included in the amount of light of the subject is twice or more than the amount of visible light, as shown in FIG. 8A, the amount of light of the subject that is actually subject to signal processing ( The amount of infrared light included in the amount of light excluding the saturation amount is also twice or more the amount of visible light. In this case, the amount of visible light that is actually subject to signal processing is reduced (the output signal of the visible light component output from the image sensor 12 is reduced).

通常、輝度信号は、可視光信号及び赤外光信号の両方の信号に基づいて生成されるが、色情報を持つ信号(色信号)は、可視光信号のみに基づいて生成される。それゆえ、例えば、被写体の光量に含まれる赤外光の光量が多い場合には、輝度信号に対して色信号が小さくなるので、色の薄い映像が生成される。   Normally, a luminance signal is generated based on both a visible light signal and an infrared light signal, but a signal having color information (color signal) is generated based only on a visible light signal. Therefore, for example, when the amount of infrared light included in the amount of light of the subject is large, the color signal is small with respect to the luminance signal, so that a light color image is generated.

この場合、通常、色信号(可視光信号)に対して、例えば、足りない信号量を補うために、ゲイン補正処理などを行って色信号を増幅することにより、映像の色を濃くする。しかしながら、この場合、このゲイン補正処理の過程でノイズも増幅される。すなわち、必要以上の赤外線量を含む光が入射されると、映像信号に不要なノイズが発生する。このような状況は、例えば、太陽光、ハロゲン光、ナトリウムランプ等の光源自体に赤外線が多く含まれる光源が使用された場合(低照度の環境下を除く)において発生し易い。   In this case, for example, in order to compensate for an insufficient signal amount with respect to the color signal (visible light signal), for example, the color signal is amplified by performing gain correction processing or the like, thereby darkening the color of the image. However, in this case, noise is also amplified in the process of the gain correction process. That is, when light including an infrared ray amount more than necessary is incident, unnecessary noise is generated in the video signal. Such a situation is likely to occur when, for example, a light source such as sunlight, halogen light, or a sodium lamp that contains a large amount of infrared light is used (except in a low-light environment).

それに対して、本実施形態では、赤外線を多く含む光源が使用され、被写体環境が高照度である場合には、光学フィルタ2の挿入機能を作動させて(レンズ11及び撮像素子12間の光路上に光学フィルタ2を配置して)、入射光に含まれる赤外光成分を遮断する。この場合、撮像素子12には可視光成分の光のみが入射される。それゆえ、被写体の光量に対する撮像素子12の出力信号の変化特性は、図8Bに示すような特性となり、実際に信号処理の対象となる被写体の光量に対応する信号は、可視光成分の光量に対応する可視光信号のみとなる。この場合、撮像素子12から出力される可視光信号が大きくなるので、ゲイン補正処理を施すことなく輝度信号及び色信号の両方を生成することができる。   On the other hand, in the present embodiment, when a light source containing a large amount of infrared light is used and the subject environment is high illuminance, the insertion function of the optical filter 2 is activated (on the optical path between the lens 11 and the image sensor 12). The optical filter 2 is disposed on the optical filter 2 to block the infrared light component contained in the incident light. In this case, only the visible light component is incident on the image sensor 12. Therefore, the change characteristic of the output signal of the image sensor 12 with respect to the amount of light of the subject is as shown in FIG. 8B, and the signal corresponding to the amount of light of the subject that is actually subject to signal processing is the light amount of the visible light component. Only the corresponding visible light signal is obtained. In this case, since the visible light signal output from the image sensor 12 becomes large, it is possible to generate both the luminance signal and the color signal without performing gain correction processing.

なお、上述した問題は、例えば、基本画素群を構成する、第1単位画素が赤色光のみを受光可能な単位画素であり、第2単位画素が緑色光のみを受光可能な単位画素であり、第3単位画素が青色光のみを受光可能な単位画素である場合にも発生する可能性がある。それゆえ、このような構成の基本画素群を有する撮像装置に対しても、本実施形態の光学フィルタ2の挿入/取り外し機能は、同様に適用可能である。   Note that the above-described problem is, for example, that the first unit pixel constituting the basic pixel group is a unit pixel that can receive only red light, and the second unit pixel is a unit pixel that can receive only green light. This may also occur when the third unit pixel is a unit pixel that can receive only blue light. Therefore, the insertion / removal function of the optical filter 2 of the present embodiment can be similarly applied to an imaging apparatus having a basic pixel group having such a configuration.

<第2の実施形態>
[撮像装置の構成]
図9は、第2の実施形態に係る撮像装置の構成を示すブロック図である。なお、図9に示す本実施形態の撮像装置40において、上記第1の実施形態の撮像装置1(図1参照)の構成と同様の構成には、同じ符号を付して示し、それらの構成の説明は省略する。
<Second Embodiment>
[Configuration of imaging device]
FIG. 9 is a block diagram illustrating a configuration of an imaging apparatus according to the second embodiment. In addition, in the imaging device 40 of this embodiment shown in FIG. 9, the same code | symbol is attached | subjected and shown to the structure similar to the structure of the imaging device 1 (refer FIG. 1) of the said 1st Embodiment, and those structures are shown. Description of is omitted.

本実施形態の撮像装置40は、図9と図1との比較から明らかなように、上記第1の実施形態の撮像装置1の構成において、さらに、光学フィルタを一つ追加した構成を有する。すなわち、本実施形態の撮像装置40は、2つの光学フィルタ41,42(第1光学フィルタ41及び第2光学フィルタ42)を備える。   As is apparent from a comparison between FIG. 9 and FIG. 1, the imaging device 40 of the present embodiment has a configuration in which one optical filter is further added to the configuration of the imaging device 1 of the first embodiment. That is, the imaging device 40 of this embodiment includes two optical filters 41 and 42 (a first optical filter 41 and a second optical filter 42).

第1光学フィルタ41は、上記第1の実施形態の光学フィルタ2と同様に可視光帯域の光信号のみを透過させるフィルタである。第2光学フィルタ42は、可視光帯域の光信号及び赤外光帯域の光信号を透過させるフィルタである。また、第2光学フィルタ42は、赤外光帯域の可視光帯域側に存在する近赤外光帯域の光信号を遮断する周波数特性を有する。なお、図示しないが、撮像装置40は、光学フィルタ制御部5から出力される駆動制御信号に基づいて、第1光学フィルタ41及び第2光学フィルタ42の配置位置を切り替える移動機構部も有する。   Similar to the optical filter 2 of the first embodiment, the first optical filter 41 is a filter that transmits only an optical signal in the visible light band. The second optical filter 42 is a filter that transmits an optical signal in the visible light band and an optical signal in the infrared light band. Further, the second optical filter 42 has a frequency characteristic that blocks an optical signal in the near-infrared light band existing on the visible light band side of the infrared light band. Although not shown, the imaging device 40 also includes a moving mechanism unit that switches the arrangement positions of the first optical filter 41 and the second optical filter 42 based on the drive control signal output from the optical filter control unit 5.

[光学フィルタの切り替え制御]
撮像装置40の光学フィルタの切り替え制御では、赤外線照射量が零であり且つ被写体環境において赤外線を多く含む光源が使用されている場合、第1光学フィルタ41は、入射光の光路上の所定位置(挿入位置)に配置されるように駆動(移動)制御される。また、この際、第2光学フィルタ42は、該光路上の位置以外の特定位置(取り外し位置)に配置されるように駆動(移動)制御される。一方、その他の場合には、第2光学フィルタ42は、挿入位置に配置されるように駆動制御され、第1光学フィルタ41は、取り外し位置に配置されるように駆動制御される。
[Optical filter switching control]
In the switching control of the optical filter of the imaging device 40, when a light source with a large amount of infrared rays is used in the subject environment, the first optical filter 41 is positioned at a predetermined position on the optical path of incident light ( The drive (movement) is controlled so as to be arranged at the (insertion position). At this time, the second optical filter 42 is controlled to be driven (moved) so as to be disposed at a specific position (removal position) other than the position on the optical path. On the other hand, in other cases, the second optical filter 42 is driven and controlled to be disposed at the insertion position, and the first optical filter 41 is driven and controlled to be disposed at the removal position.

また、被写体環境が超高照度の環境である場合には、光源の判定結果に関係なく、第1光学フィルタ41が挿入位置に配置され且つ第2光学フィルタ42が取り外し位置に配置されるように、第1光学フィルタ41及び第2光学フィルタ42が駆動制御される。一方、被写体環境が超低照度の環境である場合には、光源の判定結果に関係なく、第2光学フィルタ42が挿入位置に配置され且つ第1光学フィルタ41が取り外し位置に配置されるように、第1光学フィルタ41及び第2光学フィルタ42が駆動制御される。   In addition, when the subject environment is an ultra-high illuminance environment, the first optical filter 41 is disposed at the insertion position and the second optical filter 42 is disposed at the removal position regardless of the determination result of the light source. The first optical filter 41 and the second optical filter 42 are driven and controlled. On the other hand, when the subject environment is an extremely low illuminance environment, the second optical filter 42 is disposed at the insertion position and the first optical filter 41 is disposed at the removal position regardless of the determination result of the light source. The first optical filter 41 and the second optical filter 42 are driven and controlled.

なお、上述した第1光学フィルタ41及び第2光学フィルタ42の駆動(移動)動作は、光学フィルタ制御部5により制御される。また、本実施形態の光学フィルタの切り替え制御における光源の判定処理は、上記第1の実施形態と同様にして行われる。   The driving (moving) operation of the first optical filter 41 and the second optical filter 42 described above is controlled by the optical filter control unit 5. The light source determination process in the optical filter switching control according to the present embodiment is performed in the same manner as in the first embodiment.

また、本実施形態の光学フィルタの切り替え制御(移動制御)フローは、図7に示す上記第1の実施形態のそれと同様の制御フローとなる。なお、本実施形態で信号比率算出部22から光学フィルタ制御部5に挿入制御信号が出力された場合には、S16の処理において、第1光学フィルタ41を挿入位置に配置し、第2光学フィルタ42を取り外し位置に配置するような駆動制御処理が行われる。一方、本実施形態で信号比率算出部22から光学フィルタ制御部5に取り外し制御信号が出力された場合には、S19の処理において、第1光学フィルタ41を取り外し位置に配置し、第2光学フィルタ42を挿入位置に配置するような駆動制御処理が行われる。   Further, the optical filter switching control (movement control) flow of the present embodiment is the same control flow as that of the first embodiment shown in FIG. If an insertion control signal is output from the signal ratio calculation unit 22 to the optical filter control unit 5 in the present embodiment, the first optical filter 41 is disposed at the insertion position in the process of S16, and the second optical filter A drive control process is performed so as to place 42 at the removal position. On the other hand, when the removal control signal is output from the signal ratio calculation unit 22 to the optical filter control unit 5 in the present embodiment, the first optical filter 41 is disposed at the removal position in the process of S19, and the second optical filter A drive control process is performed so as to place 42 at the insertion position.

[効果]
上述した本実施形態の撮像装置40及び光学フィルタの切り替え制御(移動制御)手法においても、上記第1の実施形態と同様に、被写体環境に応じて、撮影時の光学条件を最適な条件に自動的に遷移させることができる。また、本実施形態では、次のような効果も得られる。
[effect]
Also in the imaging apparatus 40 and the optical filter switching control (movement control) method of the present embodiment described above, the optical conditions at the time of shooting are automatically set to the optimum conditions according to the subject environment, as in the first embodiment. Transitions can be made. In the present embodiment, the following effects are also obtained.

可視光及び赤外光の両方を受光可能な汎用(低価格)の各種撮像素子の中には、単位画素において赤外光帯域の可視光帯域側に存在する近赤外光帯域の光に対しても、ある程度感光する撮像素子が存在する。図10Aは、そのような汎用の撮像素子において基本画素群を構成する、青色成分光及び赤外光を受光可能な第3単位画素の感度特性であり、図10Bは、緑色成分光及び赤外光を受光可能な第2単位画素の感度特性である。また、図10Cは、汎用の撮像素子において基本画素群を構成する、赤色成分光及び赤外光を受光可能な第1単位画素の感度特性であり、図10Dは、赤外光のみを受光可能な第4単位画素の感度特性である。   Among various general-purpose (low-cost) image sensors that can receive both visible light and infrared light, the near-infrared light band existing on the visible light band side of the infrared light band in the unit pixel is used. However, there are image sensors that are sensitive to some extent. FIG. 10A shows sensitivity characteristics of a third unit pixel that can receive blue component light and infrared light, and forms a basic pixel group in such a general-purpose image sensor, and FIG. 10B shows green component light and infrared light. It is a sensitivity characteristic of the 2nd unit pixel which can receive light. FIG. 10C shows sensitivity characteristics of the first unit pixel that can receive red component light and infrared light, which constitutes a basic pixel group in a general-purpose image sensor, and FIG. 10D can receive only infrared light. This is the sensitivity characteristic of the fourth unit pixel.

このような汎用の撮像素子では、第1〜第4単位画素は、近赤外光帯域(図10A〜図10D中の「NIR」の帯域)に対して、ある程度の感度を有する。また、第1〜第3単位画素における近赤外光帯域の感度特性は、互いに異なる。このような感度特性を有する汎用の撮像素子を例えば上記第1の実施形態の撮像装置1に採用した場合、光学フィルタ2の挿入機能の非作動時に得られる映像は、近赤外光帯域の光の影響を受けて赤っぽい映像となり、色再現性が低下する可能性がある。   In such a general-purpose imaging device, the first to fourth unit pixels have a certain degree of sensitivity with respect to the near-infrared light band (the “NIR” band in FIGS. 10A to 10D). Further, the sensitivity characteristics of the near-infrared light band in the first to third unit pixels are different from each other. When a general-purpose imaging device having such sensitivity characteristics is employed in the imaging device 1 of the first embodiment, for example, an image obtained when the insertion function of the optical filter 2 is not operated is light in the near infrared light band. Under such circumstances, the image may become reddish and color reproducibility may be reduced.

それに対して、本実施形態の撮像装置40では、第2光学フィルタ42の挿入機能の非作動時には、近赤外帯域の光を遮断する第2光学フィルタ42がレンズ11及び撮像素子12間の光路上の挿入位置に配置される。それゆえ、本実施形態の撮像装置40では、図10A〜図10Dに示すような感度特性を有する汎用の撮像素子を採用しても、近赤外光帯域の光の影響を受けないので、被写体の正確なカラー映像を得ることができ、色再現性を向上させることができる。また、本実施形態では、低価格の汎用の撮像素子を採用することもできるので、撮像装置40のコストを低減することも可能になる。   On the other hand, in the imaging device 40 of the present embodiment, when the insertion function of the second optical filter 42 is not in operation, the second optical filter 42 that blocks light in the near-infrared band is light between the lens 11 and the imaging device 12. It is arranged at the insertion position on the road. Therefore, in the imaging device 40 of the present embodiment, even if a general-purpose imaging device having sensitivity characteristics as shown in FIGS. 10A to 10D is adopted, the imaging device 40 is not affected by light in the near-infrared light band. Accurate color images can be obtained, and color reproducibility can be improved. In the present embodiment, a low-priced general-purpose image sensor can also be adopted, so that the cost of the image pickup apparatus 40 can be reduced.

<各種変形例>
以上、本発明の各種実施形態に係る撮像装置及び撮像手法について説明したが、本発明は、これらに限定されるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限り、その他種々の変形例、応用例の態様を取ることができる。
<Various modifications>
As described above, the imaging apparatus and the imaging method according to the various embodiments of the present invention have been described. However, the present invention is not limited to these, and so long as it does not depart from the gist of the present invention described in the claims. Various modifications and application examples can be employed.

[変形例1]
上記各種実施形態では、レンズ11及び撮像素子12間の光路上に光学フィルタ2が配置されている場合、赤外光の信号比率(IR_Ratio)を、可視光の各信号比率(R,G,B_Ratio)に基づいて推定する例を説明した。しかしながら、本発明はこれに限定されない。例えば、レンズ11及び撮像素子12間の光路上に光学フィルタ2が配置されている場合、被写体からの入射光に含まれる赤外光の光量(赤外線量)を別途測定する構成部を設けてもよい。
[Modification 1]
In the various embodiments described above, when the optical filter 2 is disposed on the optical path between the lens 11 and the image sensor 12, the infrared light signal ratio (IR_Ratio) is changed to the visible light signal ratio (R, G, B_Ratio). ) Has been described based on an example of estimation. However, the present invention is not limited to this. For example, when the optical filter 2 is disposed on the optical path between the lens 11 and the image sensor 12, a component that separately measures the amount of infrared light (infrared amount) included in the incident light from the subject may be provided. Good.

図11は、変形例1に係る撮像装置の制御部50の内部構成を示す機能ブロック図である。なお、図11に示すこの例の制御部50において、図5に示す上記第1の実施形態の制御部20の構成と同様の構成には、同じ符号を付して示し、それらの構成の説明は省略する。   FIG. 11 is a functional block diagram illustrating an internal configuration of the control unit 50 of the imaging apparatus according to the first modification. In the control unit 50 of this example shown in FIG. 11, the same reference numerals are given to the same components as those of the control unit 20 of the first embodiment shown in FIG. Is omitted.

この例の制御部50は、図11と図5との比較から明らかなように、上記第1の実施形態の制御部20の構成において、さらに、赤外線受光部51を設けた構成を有する。赤外線受光部51は、例えば赤外線受光用のフォトダイオード等の受光素子で構成することができる。なお、赤外線受光部51は、制御部50の外部に設けられていてもよい。   As is apparent from a comparison between FIG. 11 and FIG. 5, the control unit 50 of this example has a configuration in which an infrared light receiving unit 51 is further provided in the configuration of the control unit 20 of the first embodiment. The infrared light receiving unit 51 can be composed of a light receiving element such as a photodiode for receiving infrared light, for example. The infrared light receiving unit 51 may be provided outside the control unit 50.

この例の撮像装置では、レンズ11及び撮像素子12間の光路上に光学フィルタ2が配置されている場合であっても、被写体からの入射光に含まれる赤外光の光量を直接取得することができるので、光源の判定処理の精度を向上させることができる。   In the imaging apparatus of this example, even when the optical filter 2 is disposed on the optical path between the lens 11 and the imaging element 12, the amount of infrared light included in the incident light from the subject is directly acquired. Therefore, the accuracy of the light source determination process can be improved.

[変形例2]
上記各種実施形態及び上記変形例1では、光学フィルタ2の挿入/取り外し機能の切替制御の判定処理及び光源の判定処理において、共通の信号比率の閾値(判定パラメータ)を用いる例を説明したが、本発明はこれに限定されない。例えば、光学フィルタ2の挿入/取り外し機能の切替制御の判定に用いる信号比率の閾値を、光源判定に用いる信号比率の閾値とは別個に設けて、各判定処理を別個に行ってもよい。また、この場合、例えば判定対象の光源の種別(被写体環境)等に応じて、前者の閾値が、後者の閾値と異なっていてもよいし、同じであってもよい。
[Modification 2]
In the various embodiments and the first modification, the example in which the common signal ratio threshold value (determination parameter) is used in the determination process of the switching control of the insertion / removal function of the optical filter 2 and the determination process of the light source has been described. The present invention is not limited to this. For example, a signal ratio threshold value used for determination of switching control of the insertion / removal function of the optical filter 2 may be provided separately from a signal ratio threshold value used for light source determination, and each determination process may be performed separately. In this case, the former threshold value may be different from or equal to the latter threshold value depending on, for example, the type of light source to be determined (subject environment).

また、上記各種実施形態及び上記変形例1では、光源の判定処理において、光源が赤外光を多く含む光源(判定対象の光源)であるか否かを判別する例を説明したが、本発明はこれに限定されない。例えば、各種光源の信号比率の閾値やスペクトル特性を用いて、光源の種別そのものを判別する構成にしてもよい。この場合、必要となる各種光源の信号比率の閾値やスペクトル特性のデータは、制御部内のメモリ部に予め格納されている、又は、使用者により別途、メモリ部に追記される。   In the above-described various embodiments and Modification 1 described above, in the light source determination process, an example in which it is determined whether or not the light source is a light source that includes a large amount of infrared light (a determination target light source) has been described. Is not limited to this. For example, the type of the light source itself may be determined using threshold values of signal ratios and spectral characteristics of various light sources. In this case, necessary signal ratio threshold values and spectral characteristic data of various light sources are stored in advance in the memory unit in the control unit, or are additionally written in the memory unit by the user.

[変形例3]
上記各種実施形態及び各種変形例では、撮像領域12a全体における各光成分の信号比率を算出し、該信号比率を用いて各種判定処理を行う例を説明したが、本発明はこれに限定されない。例えば、撮像領域12aを複数の領域(分割領域)に分割し、分割領域毎に、信号比率を算出するとともに、該信号比率を用いて各種判定処理を行う構成にしてもよい。この場合には、分割領域毎に得られた判定結果を統計的に処理し、複数の分割領域において支配的な判定結果を、撮像領域12a全体(被写体全体)の判定結果としてもよい。
[Modification 3]
In the various embodiments and various modifications described above, the example in which the signal ratio of each light component in the entire imaging region 12a is calculated and various determination processes are performed using the signal ratio has been described, but the present invention is not limited to this. For example, the imaging region 12a may be divided into a plurality of regions (divided regions), a signal ratio may be calculated for each divided region, and various determination processes may be performed using the signal ratio. In this case, the determination result obtained for each divided region may be statistically processed, and the determination result dominant in the plurality of divided regions may be used as the determination result for the entire imaging region 12a (the entire subject).

また、この例では、複数の分割領域のうち、一部の分割領域で得られた判定結果だけを統計的に処理して、撮像領域12a全体(被写体全体)の判定結果を求めてもよい。この手法を採用すると、例えば、被写体環境が、被写体の一部に特定の光源から常時、光が照射されているような特殊な環境である場合、この被写体の一部が含まれる分割領域を判定処理の対象から選択的に除外することができる。この結果、光源の判定処理において、特定の光源の影響を抑制すことができる。それゆえ、この例の撮像手法を採用すれば、例えば、多種多様な被写体環境(撮像装置の使用環境)やユーザの多様なニーズなどに対して、より適切に対応することができる。   In this example, only the determination results obtained in some of the divided areas may be statistically processed to obtain the determination result for the entire imaging area 12a (the entire subject). If this method is adopted, for example, if the subject environment is a special environment where a part of the subject is always irradiated with light from a specific light source, a divided region including a part of the subject is determined. It can be selectively excluded from processing targets. As a result, the influence of a specific light source can be suppressed in the light source determination process. Therefore, if the imaging method of this example is adopted, for example, it is possible to more appropriately cope with various subject environments (imaging device use environments), various needs of users, and the like.

[変形例4]
上記各種実施形態及び上記各種変形例では、赤色成分光、緑色成分光及び青色成分光の全ての信号比率を光源の判定処理で用いる例を説明したが、本発明はこれに限定されない。撮像素子12として、例えば、CMOS型やCCD型などの固体撮像素子を用いた場合、緑色成分光に対する感度は、光源の変化(光源の種別)に対して影響されに難い。それゆえ、緑色成分光の信号比率は、光源の判定処理で用いなくてもよい。
[Modification 4]
In the various embodiments and the various modifications described above, the example in which all signal ratios of the red component light, the green component light, and the blue component light are used in the light source determination process has been described, but the present invention is not limited thereto. For example, when a solid-state image sensor such as a CMOS type or a CCD type is used as the image sensor 12, the sensitivity to green component light is hardly affected by a change in the light source (type of light source). Therefore, the signal ratio of the green component light may not be used in the light source determination process.

[変形例5]
上記各種実施形態及び上記各種変形例では、光学フィルタの挿入機能の作動中には、光源のスペクトル特性を用いて赤外光の信号比率(IR_Ratio)を推定する例を説明したが、本発明はこれに限定されない。例えば、光学フィルタの挿入機能の作動中には、IR_Ratioを推定式(経験式)により算出する機能を制御部に設けてもよい。また、この場合、この推定式に用いられる各種パラメータの係数を、例えば、撮像装置の使用環境や被写体環境に応じて自動的に最適化する機能(学習機能)を制御部にさらに追加してもよい。これらの機能を設けることにより、多種多様な被写体環境(撮像装置の使用環境)に対して、より適切に対応することができる。
[Modification 5]
In the various embodiments and the various modifications described above, the example in which the infrared signal ratio (IR_Ratio) is estimated using the spectral characteristics of the light source during the operation of the optical filter insertion function has been described. It is not limited to this. For example, during the operation of the optical filter insertion function, a function for calculating IR_Ratio using an estimation formula (empirical formula) may be provided in the control unit. In this case, a function (learning function) for automatically optimizing the coefficients of various parameters used in the estimation formula according to the use environment of the imaging apparatus and the subject environment may be added to the control unit. Good. By providing these functions, it is possible to more appropriately cope with a wide variety of subject environments (use environments of the imaging device).

なお、この推定式(経験式)に規定されるパラメータとしては、例えば、光学フィルタの光路上への挿入直前及び挿入直後の各信号比率等を用いることができる。また、この推定式は、例えば、発生頻度の高い被写体環境毎に別個に設けられていてもよい。さらに、学習機能で用いられる学習アルゴリズムとしては、従来周知の学習アルゴリズムを適用することができる。   In addition, as a parameter prescribed | regulated by this estimation formula (empirical formula), each signal ratio etc. immediately before and immediately after insertion to the optical path of an optical filter can be used, for example. In addition, this estimation formula may be provided separately for each subject environment with a high occurrence frequency, for example. Furthermore, a conventionally known learning algorithm can be applied as a learning algorithm used in the learning function.

[変形例6]
上記各種実施形態及び上記各種変形例では、光源の判定処理(光学フィルタの挿入/取り外し機能の切替制御処理)を1フレーム毎に実行する例を説明したが、本発明はこれに限定されない。例えば、所定の複数フレーム期間毎に、光源の判定処理を実行してもよい。この場合、制御部の処理負荷を軽減することができる。
[Modification 6]
In the various embodiments and the various modifications described above, the example in which the light source determination process (optical filter insertion / removal function switching control process) is performed for each frame has been described, but the present invention is not limited thereto. For example, the light source determination process may be executed every predetermined plural frame periods. In this case, the processing load on the control unit can be reduced.

[変形例7]
上記各種実施形態及び上記各種変形例では、赤外光を遮断するための光学フィルタの挿入位置をレンズ11及び撮像素子12間の光路上の位置に設定する例を説明したが、本発明はこれに限定されない。光学フィルタの挿入位置は、撮像素子12に入射される赤外光を遮断できる位置であれば任意の位置に設定することができる。例えば、光学フィルタの挿入位置を、レンズ11の光入射面の直前の位置に設定してもよい。
[Modification 7]
In the various embodiments and the various modifications described above, the example in which the insertion position of the optical filter for blocking infrared light is set to the position on the optical path between the lens 11 and the image sensor 12 has been described. It is not limited to. The insertion position of the optical filter can be set to any position as long as the infrared light incident on the image sensor 12 can be blocked. For example, the insertion position of the optical filter may be set to a position immediately before the light incident surface of the lens 11.

[その他の変形例]
上記各種実施形態及び上記各種変形例では、本発明を分かりやすく説明するために撮像装置の構成を詳細且つ具体的に説明したが、本発明は、必ずしも説明した全ての構成を備えるものに限定されるものではない。例えば、本発明の撮像装置は、少なくとも、上述した撮像部10、光学フィルタ2、可視光信号生成部3、赤外光信号生成部4、光学フィルタ制御部5及び制御部20を備えるカメラモジュールで構成することができる。この場合、その他の信号処理部は、該カメラモジュールとは別個のモジュールで構成してもよい。
[Other variations]
In the various embodiments and the various modifications described above, the configuration of the imaging apparatus has been described in detail and specifically in order to explain the present invention in an easy-to-understand manner. However, the present invention is not necessarily limited to those having all the configurations described. It is not something. For example, the imaging apparatus of the present invention is a camera module including at least the imaging unit 10, the optical filter 2, the visible light signal generation unit 3, the infrared light signal generation unit 4, the optical filter control unit 5, and the control unit 20 described above. Can be configured. In this case, the other signal processing unit may be configured by a module separate from the camera module.

また、上記信号制御(電気信号の処理制御)に係る各構成、機能、処理部等では、それらの一部又は全部を、例えば集積回路で設計する等により、ハードウェアで実現してもよい。この際、上記信号制御に係る各構成、機能、処理部等の一部又は全部を、適宜一体化して構成してもよい。   In addition, each configuration, function, processing unit, and the like related to the signal control (electrical signal processing control) may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. At this time, some or all of the components, functions, processing units, and the like related to the signal control may be integrated as appropriate.

さらに、上記信号制御に係る各構成、機能、処理部等は、プロセッサがそれぞれの機能を実現するプログラムを解釈して実行することにより実現されてもよい。すなわち、上記信号制御に係る各構成、機能、処理部等をソフトウェアで実現してもよい。なお、各機能を実現するプログラム、テーブル、ファイル等の情報(データ)は、上述した内蔵のメモリ部だけでなく、例えば、ハードディスク、SSD(Solid State Drive)等の記録装置に格納することもできる。また、各機能を実現するプログラム、テーブル、ファイル等の情報(データ)は、IC(Integrated Circuit)カード、SD(Secure Digital)カード、DVD(Digital Versatile Disc)等の記録媒体に格納することもできる。   Furthermore, each configuration, function, processing unit, and the like related to the signal control may be realized by a processor interpreting and executing a program that realizes each function. That is, each configuration, function, processing unit, and the like related to the signal control may be realized by software. Information (data) such as programs, tables, and files for realizing each function can be stored not only in the above-described built-in memory unit but also in a recording device such as a hard disk or an SSD (Solid State Drive). . Information (data) such as programs, tables, and files for realizing each function can also be stored in a recording medium such as an IC (Integrated Circuit) card, an SD (Secure Digital) card, a DVD (Digital Versatile Disc), or the like. .

1,40…撮像装置、2…光学フィルタ、3…可視光信号生成部、4…赤外光信号生成部、5…光学フィルタ制御部、6…赤外線照射部、7…可視光信号処理部、8…赤外光信号処理部、9…信号合成部、10…撮像部、11…レンズ、12…撮像素子、20,50…制御部、20a…メモリ部、21…露光制御部、22…信号比率算出部、23…赤外線照射量制御部、24…光源判定部、25…信号処理設定値算出部、30a,30b…基本画素群、31,35…第1単位画素、32,36…第2単位画素、33,37…第3単位画素、34,38…第4単位画素、41…第1光学フィルタ、42…第2光学フィルタ   DESCRIPTION OF SYMBOLS 1,40 ... Imaging device, 2 ... Optical filter, 3 ... Visible light signal generation part, 4 ... Infrared light signal generation part, 5 ... Optical filter control part, 6 ... Infrared irradiation part, 7 ... Visible light signal processing part, DESCRIPTION OF SYMBOLS 8 ... Infrared light signal processing part, 9 ... Signal synthetic | combination part, 10 ... Imaging part, 11 ... Lens, 12 ... Imaging element, 20, 50 ... Control part, 20a ... Memory part, 21 ... Exposure control part, 22 ... Signal Ratio calculation unit, 23 ... infrared irradiation amount control unit, 24 ... light source determination unit, 25 ... signal processing set value calculation unit, 30a, 30b ... basic pixel group, 31, 35 ... first unit pixel, 32, 36 ... second Unit pixel, 33, 37 ... third unit pixel, 34, 38 ... fourth unit pixel, 41 ... first optical filter, 42 ... second optical filter

Claims (11)

被写体からの入射光を結像して光学像を生成するレンズ、並びに、可視光及び赤外光を同時に受光可能であり、前記レンズを介して入射された光信号を電気信号に変換する撮像素子を有する撮像部と、
可視光のみを透過し、前記入射光の光路上の第1の位置と前記光路上の位置以外の第2の位置との間で移動可能な第1光学フィルタと、
前記電気信号に含まれる可視光成分の信号のみを算出する可視光信号生成部と、
前記電気信号に含まれる赤外光成分の信号のみを算出する赤外光信号生成部と、
前記可視光信号生成部及び前記赤外光信号生成部で算出された信号に基づいて、所定の制御信号を出力する制御部と、
前記所定の制御信号に基づいて、前記第1光学フィルタを前記第1の位置又は前記第2の位置に配置する光学フィルタ制御部と、
を備える撮像装置。
A lens that forms an optical image by forming incident light from a subject, and an imaging device that can simultaneously receive visible light and infrared light, and that converts an optical signal incident through the lens into an electrical signal An imaging unit having
A first optical filter that transmits only visible light and is movable between a first position on the optical path of the incident light and a second position other than the position on the optical path;
A visible light signal generation unit that calculates only a signal of a visible light component included in the electrical signal;
An infrared light signal generation unit for calculating only the signal of the infrared light component included in the electrical signal;
A control unit that outputs a predetermined control signal based on signals calculated by the visible light signal generation unit and the infrared light signal generation unit;
An optical filter control unit that arranges the first optical filter at the first position or the second position based on the predetermined control signal;
An imaging apparatus comprising:
前記撮像素子は、前記入射光に含まれる、赤色成分光と赤外光とを受光可能な第1単位画素と、緑色成分光と前記赤外光とを受光可能な第2単位画素と、青色成分光と前記赤外光とを受光可能な第3単位画素と、前記赤外光のみを受光可能な又は可視光帯域全ての光と前記赤外光とを受光可能な第4単位画素と、を有し、
前記撮像素子の撮像領域では、前記第1単位画素、前記第2単位画素、前記第3単位画素及び前記第4単位画素が所定の態様で配列された基本画素群が、2次元状に配列されている
請求項1に記載の撮像装置。
The imaging device includes a first unit pixel capable of receiving red component light and infrared light, a second unit pixel capable of receiving green component light and infrared light, and blue light included in the incident light. A third unit pixel capable of receiving component light and the infrared light; a fourth unit pixel capable of receiving only the infrared light or receiving light in the entire visible light band and the infrared light; Have
In the imaging region of the imaging device, a basic pixel group in which the first unit pixel, the second unit pixel, the third unit pixel, and the fourth unit pixel are arranged in a predetermined manner is arranged in a two-dimensional manner. The imaging apparatus according to claim 1.
前記可視光信号生成部は、前記第1単位画素、前記第2単位画素、前記第3単位画素及び前記第4単位画素のそれぞれで得られた信号に基づいて、前記赤色成分光、前記緑色成分光及び前記青色成分光のそれぞれに対応する色成分信号を生成し、
前記赤外光信号生成部は、前記第4単位画素で得られた信号又は前記第1単位画素、前記第2単位画素、前記第3単位画素及び前記第4単位画素で得られた信号に基づいて、前記赤外光に対応する赤外光信号を生成する
請求項2に記載の撮像装置。
The visible light signal generation unit is configured to generate the red component light and the green component based on signals obtained from the first unit pixel, the second unit pixel, the third unit pixel, and the fourth unit pixel, respectively. Generating a color component signal corresponding to each of the light and the blue component light,
The infrared light signal generation unit is based on a signal obtained from the fourth unit pixel or a signal obtained from the first unit pixel, the second unit pixel, the third unit pixel, and the fourth unit pixel. The imaging device according to claim 2, wherein an infrared light signal corresponding to the infrared light is generated.
さらに、
前記被写体に対して赤外線を照射する赤外線照射部と、
前記可視光信号生成部で生成された各色成分信号に対して所定の信号処理を施す可視光信号処理部と、
前記赤外光信号生成部で生成された前記赤外光信号に対して特定の信号処理を施す赤外光信号処理部と、
前記可視光信号処理部で前記所定の信号処理が施された信号と、前記赤外光信号処理部で前記特定の信号処理が施された信号とを合成し、該合成された信号を映像信号として出力する信号合成部と、を備え、
前記制御部は、
前記可視光信号生成部で生成された各色成分信号及び前記赤外光信号生成部で生成された前記赤外光信号に基づいて、前記撮像部における露光条件を制御するための露光制御信号を前記撮像部に出力する露光制御部と、
前記可視光信号生成部で生成された各色成分信号及び前記赤外光信号生成部で生成された前記赤外光信号に基づいて、前記可視光の信号量に対する、前記赤色成分光の信号量の第1信号比率、前記緑色成分光の信号量の第2信号比率及び前記青色成分光の信号量の第3信号比率、並びに、前記可視光及び前記赤外光の総信号量に対する前記赤外光の信号量の第4信号比率を算出する信号比率算出部と、
前記信号比率算出部により算出された前記第1信号比率、前記第2信号比率、前記第3信号比率及び前記第4信号比率に基づいて、前記被写体への赤外線の照射量を算出し、該算出した赤外線の照射量を前記赤外線照射部に出力する赤外線照射量制御部と、
前記信号比率算出部により算出された前記第1信号比率、前記第2信号比率、前記第3信号比率及び前記第4信号比率に基づいて、前記被写体に照射されている光の光源を判定する光源判定部と、
前記信号比率算出部で算出された前記第1信号比率、前記第2信号比率、前記第3信号比率及び前記第4信号比率、前記赤外線照射量制御部で算出された前記赤外線の照射量、前記第1光学フィルタの配置位置、並びに、前記光源判定部の判定結果に基づいて、前記可視光信号処理部、前記赤外光信号処理部及び前記信号合成部で実行される信号処理に必要な設定パラメータを算出する信号処理設定値算出部と、を有する
請求項3に記載の撮像装置。
further,
An infrared irradiator that irradiates the subject with infrared;
A visible light signal processing unit that performs predetermined signal processing on each color component signal generated by the visible light signal generation unit;
An infrared light signal processing unit that performs specific signal processing on the infrared light signal generated by the infrared light signal generation unit;
The signal subjected to the predetermined signal processing by the visible light signal processing unit and the signal subjected to the specific signal processing by the infrared light signal processing unit are combined, and the combined signal is a video signal. And a signal synthesis unit that outputs as
The controller is
Based on each color component signal generated by the visible light signal generation unit and the infrared light signal generated by the infrared light signal generation unit, an exposure control signal for controlling an exposure condition in the imaging unit An exposure control unit that outputs to the imaging unit;
Based on each color component signal generated by the visible light signal generation unit and the infrared light signal generated by the infrared light signal generation unit, the signal amount of the red component light with respect to the signal amount of the visible light The first signal ratio, the second signal ratio of the green component light signal amount, the third signal ratio of the blue component light signal amount, and the infrared light relative to the total signal amount of the visible light and the infrared light A signal ratio calculator that calculates a fourth signal ratio of the signal amount of
Based on the first signal ratio, the second signal ratio, the third signal ratio, and the fourth signal ratio calculated by the signal ratio calculation unit, an infrared irradiation amount to the subject is calculated, and the calculation is performed. An infrared irradiation amount control unit that outputs the infrared irradiation amount to the infrared irradiation unit,
A light source for determining a light source of light radiated to the subject based on the first signal ratio, the second signal ratio, the third signal ratio, and the fourth signal ratio calculated by the signal ratio calculation unit A determination unit;
The first signal ratio, the second signal ratio, the third signal ratio and the fourth signal ratio calculated by the signal ratio calculation unit, the infrared irradiation amount calculated by the infrared irradiation amount control unit, Settings necessary for signal processing executed by the visible light signal processing unit, the infrared light signal processing unit, and the signal combining unit based on the arrangement position of the first optical filter and the determination result of the light source determination unit The imaging apparatus according to claim 3, further comprising: a signal processing set value calculation unit that calculates a parameter.
前記信号比率算出部は、前記赤外線照射量制御部で算出された前記赤外線の照射量及び前記光源判定部の判定結果に基づいて、前記第1光学フィルタを前記第1の位置及び前記第2の位置のいずれに配置するかを判定し、該判定結果に対応する制御信号を前記所定の制御信号として前記光学フィルタ制御部に出力する
請求項4に記載の撮像装置。
The signal ratio calculation unit is configured to move the first optical filter to the first position and the second based on the infrared irradiation amount calculated by the infrared irradiation amount control unit and the determination result of the light source determination unit. The imaging apparatus according to claim 4, wherein it is determined in which position it is arranged, and a control signal corresponding to the determination result is output to the optical filter control unit as the predetermined control signal.
前記信号比率算出部は、前記第1光学フィルタが前記第1の位置に配置されている場合には、前記第1信号比率、前記第2信号比率及び前記第3信号比率を用いて前記第4信号比率の推定値を算出する
請求項4に記載の撮像装置。
The signal ratio calculation unit uses the first signal ratio, the second signal ratio, and the third signal ratio when the first optical filter is disposed at the first position. The imaging device according to claim 4, wherein an estimated value of the signal ratio is calculated.
さらに、
前記第1光学フィルタが前記第1の位置に配置されている場合に、前記入射光に含まれる前記赤外光を受光し、該受光した赤外光に対応する電気信号を前記信号比率算出部に出力する赤外線受光部を備える
請求項4に記載の撮像装置。
further,
When the first optical filter is disposed at the first position, the infrared light included in the incident light is received, and an electrical signal corresponding to the received infrared light is received in the signal ratio calculation unit. The imaging device according to claim 4, further comprising: an infrared light receiving unit that outputs to an infrared ray.
前記光源判定部は、所定の判定データを用いて前記光源の判定処理を行い、
前記信号比率算出部は、前記第1信号比率、前記第2信号比率及び前記第3信号比率と所定の光源推定データとに基づいて、前記第4信号比率の推定値を算出し、
さらに、
複数の被写体の撮像環境のそれぞれに対して設定された複数の前記所定の判定データ及び複数の前記所定の光源推定データを記憶するとともに、別の判定データ及び別の光源推定データの少なくとも一方を外部から記憶させることが可能な記憶部を備える
請求項4に記載の撮像装置。
The light source determination unit performs a determination process of the light source using predetermined determination data,
The signal ratio calculation unit calculates an estimated value of the fourth signal ratio based on the first signal ratio, the second signal ratio, the third signal ratio, and predetermined light source estimation data,
further,
The plurality of predetermined determination data and the plurality of predetermined light source estimation data set for each of a plurality of subject imaging environments are stored, and at least one of another determination data and another light source estimation data is externally stored. The imaging device according to claim 4, further comprising a storage unit that can be stored from the storage unit.
さらに、
複数の被写体の撮像環境のそれぞれに対して設定された複数の前記設定パラメータを記憶するとともに、別の設定パラメータを外部から記憶させることが可能な記憶部を備える
請求項4に記載の撮像装置。
further,
The imaging apparatus according to claim 4, further comprising a storage unit configured to store a plurality of the setting parameters set for each of the imaging environments of a plurality of subjects, and to store another setting parameter from the outside.
さらに、
可視光及び赤外光を透過し、該赤外光の波長帯域より可視光側の波長を有する近赤外光を遮断し、且つ、前記第1の位置と前記第2の位置との間で移動可能な第2光学フィルタを備え、
前記光学フィルタ制御部は、前記所定の制御信号に基づいて、前記第1光学フィルタを前記第1の位置及び前記第2の位置の一方に配置し且つ前記第2光学フィルタを前記第1の位置及び前記第2の位置の他方に配置する
請求項1に記載の撮像装置。
further,
Visible light and infrared light are transmitted, near-infrared light having a wavelength closer to the visible light side than the wavelength band of the infrared light is blocked, and between the first position and the second position. A movable second optical filter;
The optical filter control unit arranges the first optical filter at one of the first position and the second position based on the predetermined control signal, and places the second optical filter in the first position. The imaging device according to claim 1, wherein the imaging device is disposed at the other of the second positions.
被写体からの入射光を結像して光学像を生成するレンズ、並びに、可視光及び赤外光を同時に受光可能であり、前記レンズを介して入射された光信号を電気信号に変換する撮像素子を有する撮像部と、可視光のみを透過する光学フィルタと、可視光信号生成部と、赤外光信号生成部と、制御部と、光学フィルタ制御部と、を備える撮像装置の前記可視光信号生成部が、前記電気信号に含まれる可視光成分の信号のみを算出することと、
前記赤外光信号生成部が、前記電気信号に含まれる赤外光成分の信号のみを算出することと、
前記制御部が、前記可視光信号生成部及び前記赤外光信号生成部で算出された信号に基づいて、所定の制御信号を出力することと、
前記光学フィルタ制御部が、前記所定の制御信号に基づいて、前記光学フィルタを前記入射光の光路上の第1の位置又は前記光路上の位置以外の第2の位置に配置することと、
を含む撮像方法。
A lens that forms an optical image by forming incident light from a subject, and an imaging device that can simultaneously receive visible light and infrared light, and that converts an optical signal incident through the lens into an electrical signal The visible light signal of an imaging device comprising: an imaging unit having: an optical filter that transmits only visible light; a visible light signal generation unit; an infrared light signal generation unit; a control unit; and an optical filter control unit. The generation unit calculates only a signal of a visible light component included in the electrical signal;
The infrared light signal generation unit calculates only an infrared light component signal included in the electrical signal;
The control unit outputs a predetermined control signal based on the signals calculated by the visible light signal generation unit and the infrared light signal generation unit;
The optical filter control unit disposing the optical filter at a first position on the optical path of the incident light or a second position other than the position on the optical path based on the predetermined control signal;
An imaging method including:
JP2015165753A 2015-08-25 2015-08-25 Imaging apparatus and imaging method Active JP6360816B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015165753A JP6360816B2 (en) 2015-08-25 2015-08-25 Imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015165753A JP6360816B2 (en) 2015-08-25 2015-08-25 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2017046100A JP2017046100A (en) 2017-03-02
JP6360816B2 true JP6360816B2 (en) 2018-07-18

Family

ID=58210137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015165753A Active JP6360816B2 (en) 2015-08-25 2015-08-25 Imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP6360816B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7057221B2 (en) * 2018-05-24 2022-04-19 キヤノン株式会社 Imaging device, its control method, and control program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4630781B2 (en) * 2005-09-26 2011-02-09 キヤノン株式会社 Wavelength component ratio detection apparatus and imaging apparatus using the same
JP4895385B2 (en) * 2007-04-10 2012-03-14 キヤノン株式会社 Imaging device
JP2010161455A (en) * 2009-01-06 2010-07-22 Olympus Corp Infrared combined imaging device

Also Published As

Publication number Publication date
JP2017046100A (en) 2017-03-02

Similar Documents

Publication Publication Date Title
JP6568719B2 (en) Imaging method and imaging apparatus
US9712757B2 (en) Image capturing apparatus capable of compositing images generated using the same development parameter and control method therefor
JP6538819B2 (en) Image processing apparatus, image processing method and program
US20150062347A1 (en) Image processing methods for visible and infrared imaging
JP5397788B2 (en) Image input device
US9967527B2 (en) Imaging device, image processing device, image processing method, and image processing program
JP2020185394A (en) Processor for electronic endoscope and electronic endoscope system
JP4305327B2 (en) Imaging apparatus, white balance control method, and white balance control program
TWI625588B (en) Camera control device
KR20190116077A (en) Image processing
JP6348254B2 (en) Imaging device
JP6538818B2 (en) Image processing apparatus, image processing method and program
US11200647B2 (en) Image processing
US9871969B2 (en) Image processing device, imaging device, image processing method, and image processing program
JP6360816B2 (en) Imaging apparatus and imaging method
CN109561817B (en) Electronic endoscope system
JP4993670B2 (en) Imaging apparatus and control method thereof
JP6466809B2 (en) Imaging apparatus and imaging method
US20160330386A1 (en) Imaging Device, Image Signal Processing Method, and Image Signal Processing Program
JP5464008B2 (en) Image input device
WO2017130281A1 (en) Image processing device, image processing method, and program
JP2009290795A (en) Image processor, image processing method, image processing program, recording medium, and electronic information device
JP5885023B2 (en) Imaging apparatus, white balance control method, and white balance control program
JP5600580B2 (en) Image processing apparatus and imaging apparatus
KR101595888B1 (en) Photographing apparatus controlling method of photographing apparatus and recording medium storing program to implement the controlling method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180524

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180625

R150 Certificate of patent or registration of utility model

Ref document number: 6360816

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150