JP2017011451A - Detection apparatus, detection method, and program - Google Patents
Detection apparatus, detection method, and program Download PDFInfo
- Publication number
- JP2017011451A JP2017011451A JP2015124092A JP2015124092A JP2017011451A JP 2017011451 A JP2017011451 A JP 2017011451A JP 2015124092 A JP2015124092 A JP 2015124092A JP 2015124092 A JP2015124092 A JP 2015124092A JP 2017011451 A JP2017011451 A JP 2017011451A
- Authority
- JP
- Japan
- Prior art keywords
- region
- image
- area
- imaging
- captured image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Studio Devices (AREA)
- Focusing (AREA)
- Cameras In General (AREA)
- Camera Bodies And Camera Details Or Accessories (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
【課題】被写体像をより高い精度で検出すること。【解決手段】撮像装置1は、第1撮像部16と、第2撮像部17と、AF処理部52と、を備える。第1撮像部16は、可視光画像を取得する。第2撮像部17は、第1撮像部16が取得する撮像範囲が含まれる範囲であって、当該第1撮像部16とは異なる波長域の光を撮像することにより熱画像を取得する。AF処理部52は、可視光画像から所定の被写体像を含みうる第1の領域である顔検出領域を検出する。また、AF処理部52は、熱画像から所定の被写体像を含みうる第2の領域である顔検出相当領域を検出する。また、AF処理部52は、第1の領域である顔検出領域と第2の領域である顔検出相当領域R2とから所定の被写体像の領域を特定する。【選択図】図4An object image is detected with higher accuracy. An imaging apparatus includes a first imaging unit, a second imaging unit, and an AF processing unit. The first imaging unit 16 acquires a visible light image. The second imaging unit 17 is a range including the imaging range acquired by the first imaging unit 16 and acquires a thermal image by imaging light in a wavelength region different from that of the first imaging unit 16. The AF processing unit 52 detects a face detection area that is a first area that can include a predetermined subject image from the visible light image. In addition, the AF processing unit 52 detects a face detection equivalent region that is a second region that can include a predetermined subject image from the thermal image. In addition, the AF processing unit 52 specifies a predetermined subject image area from the face detection area which is the first area and the face detection equivalent area R2 which is the second area. [Selection] Figure 4
Description
本発明は、検出装置、検出方法及びプログラムに関する。 The present invention relates to a detection device, a detection method, and a program.
従来、顔検出機能を搭載したデジタルカメラでは、顔検出機能が検出した領域にAFを行うことにより、顔にフォーカスのあった画像を取得することを可能としている。一般的に利用されているテンプレートを用いた顔検出機能では、顔を含む領域を検出するため、顔でない領域(背景など)が含まれる場合があり、特に横向きの顔を検出した際は、この領域の割合が多くなる傾向が強く、顔検出した領域をコントラスト方式によるAFの評価領域に設定すると顔でない領域のコントラストに影響され、顔からフォーカスがずれてしまう問題があった。特許文献1では、顔検出した領域に対して、顔の向き情報を利用して、AFの評価領域の置き方や評価優先順位を工夫することで、この問題を解決しようとしている。 Conventionally, a digital camera equipped with a face detection function can acquire an image focused on the face by performing AF on the area detected by the face detection function. Since the face detection function using a template that is generally used detects an area that includes a face, it may include an area that is not a face (such as the background). There is a strong tendency for the area ratio to increase, and when the face detection area is set as the AF evaluation area by the contrast method, there is a problem that the focus is shifted from the face due to the influence of the contrast of the non-face area. In Japanese Patent Laid-Open No. 2004-260, this problem is sought to be solved by devising how to place AF evaluation areas and evaluation priorities using face orientation information for face-detected areas.
しかしながら、特許文献1に記載の技術では、顔の向き情報を取得する必要があったり、顔の向きが正面である場合には効果がなかったりして、必ずしも有効な解決手段といえるものではない。また、この問題は、AFに限らず、AEやAWB等でも同様に起こり得るものである。 However, the technique described in Patent Document 1 is not necessarily an effective solution because there is a need to acquire face orientation information or there is no effect when the face orientation is front. . This problem is not limited to AF, and can occur in AE and AWB as well.
本発明は、このような状況に鑑みてなされたものであり、被写体像をより高い精度で検出することを目的とする。 The present invention has been made in view of such a situation, and an object thereof is to detect a subject image with higher accuracy.
上記目的を達成するため、本発明の一態様の検出装置は、
第1の撮像画像を取得する第1の取得手段と、
前記第1の取得手段が取得する撮像範囲が含まれる範囲であって、当該第1の取得手段とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得手段と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出手段と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出手段と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定手段と、
を備えることを特徴とする。
In order to achieve the above object, a detection apparatus according to one embodiment of the present invention includes:
First acquisition means for acquiring a first captured image;
Second acquisition means for acquiring a second captured image by capturing light in a wavelength range different from that of the first acquisition means, the image acquisition range being acquired by the first acquisition means. When,
First detection means for detecting a first region that may include a predetermined subject image from the first captured image;
Second detection means for detecting a second region that may include the predetermined subject image from the second captured image;
Specifying means for specifying an area of the predetermined subject image from the first area and the second area;
It is characterized by providing.
本発明によれば、被写体像をより高い精度で検出することができる。 According to the present invention, a subject image can be detected with higher accuracy.
以下、本発明の実施形態について、図面を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の検出装置の一実施形態に係る撮像装置のハードウェアの構成を示すブロック図である。
撮像装置1は、例えば、デジタルカメラとして構成される。
FIG. 1 is a block diagram illustrating a hardware configuration of an imaging apparatus according to an embodiment of the detection apparatus of the present invention.
The imaging device 1 is configured as a digital camera, for example.
撮像装置1は、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、RAM(Random Access Memory)13と、バス14と、入出力インターフェース15と、第1撮像部16と、第2撮像部17と、入力部18と、出力部19と、記憶部20と、通信部21と、ドライブ22と、を備えている。
The imaging device 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a
CPU11は、ROM12に記録されているプログラム、又は、記憶部20からRAM13にロードされたプログラムに従って各種の処理を実行する。
The
RAM13には、CPU11が各種の処理を実行する上において必要なデータ等も適宜記憶される。
The
CPU11、ROM12及びRAM13は、バス14を介して相互に接続されている。このバス14にはまた、入出力インターフェース15も接続されている。入出力インターフェース15には、第1撮像部16、第2撮像部17、入力部18、出力部19、記憶部20、通信部21及びドライブ22が接続されている。
The
第1撮像部16は、図示はしないが、光学レンズ部と、イメージセンサと、を備えている。
Although not shown, the
光学レンズ部は、被写体像を撮影するために、光を集光するレンズ、例えばフォーカスレンズやズームレンズ等で構成される。
フォーカスレンズは、イメージセンサの受光面に被写体像を結像させるレンズである。ズームレンズは、焦点距離を一定の範囲で自在に変化させるレンズである。
光学レンズ部にはまた、必要に応じて、焦点、露出、ホワイトバランス等の設定パラメータを調整する周辺回路が設けられる。
The optical lens unit includes a lens that collects light, such as a focus lens and a zoom lens, in order to capture a subject image.
The focus lens is a lens that forms a subject image on the light receiving surface of the image sensor. The zoom lens is a lens that freely changes the focal length within a certain range.
The optical lens unit is also provided with a peripheral circuit for adjusting setting parameters such as focus, exposure, and white balance as necessary.
イメージセンサは、光電変換素子や、AFE(Analog Front End)等から構成される。
光電変換素子は、例えばCMOS(Complementary Metal Oxide Semiconductor)型の光電変換素子等から構成される。光電変換素子には、光学レンズ部から被写体像が入射される。そこで、光電変換素子は、被写体像を光電変換(撮像)して画像信号を一定時間蓄積し、蓄積した画像信号をアナログ信号としてAFEに順次供給する。
AFEは、このアナログの画像信号に対して、A/D(Analog/Digital)変換処理等の各種信号処理を実行する。各種信号処理によって、ディジタル信号が生成され、第1撮像部16の出力信号として出力される。
第1撮像部16は可視光を撮像対象とし、このような第1撮像部16の出力信号を、以下、「可視光画像」と呼ぶ。可視光画像のデータは、CPU11や図示しない画像処理部等に適宜供給される。
The image sensor includes a photoelectric conversion element, AFE (Analog Front End), and the like.
The photoelectric conversion element is composed of, for example, a CMOS (Complementary Metal Oxide Semiconductor) type photoelectric conversion element or the like. A subject image is incident on the photoelectric conversion element from the optical lens unit. Therefore, the photoelectric conversion element photoelectrically converts (captures) the subject image, accumulates the image signal for a predetermined time, and sequentially supplies the accumulated image signal as an analog signal to the AFE.
The AFE performs various signal processing such as A / D (Analog / Digital) conversion processing on the analog image signal. Through various signal processing, a digital signal is generated and output as an output signal of the
The
第2撮像部17は、第1撮像部16が可視光を撮像対象としているのに対して、遠赤外光を撮像対象として、遠赤外光を撮像した熱画像(サーマルイメージ)を取得可能な赤外線イメージセンサとして構成される。また、第2撮像部17は、第1撮像部16の近傍に配置されており、少なくとも第1撮像部16の画角の一部を撮像可能に構成される。
なお、第1撮像部16又は第2撮像部17で撮像可能な光は、可視光或いは遠赤外光には限定されないが、少なくとも電磁波であって、可視光を中心に、赤外線、紫外線までは含み、それより波長の短いX線、ガンマ線等、或いは波長の長いマイクロ波等は、含まない。
The
Note that the light that can be imaged by the
入力部18は、各種ボタン等で構成され、ユーザの指示操作に応じて各種情報を入力する。
The
出力部19は、ディスプレイやスピーカ等で構成され、画像や音声を出力する。
The
記憶部20は、ハードディスク或いはDRAM(Dynamic Random Access Memory)等で構成され、各種画像のデータを記憶する。
The
通信部21は、インターネットを含むネットワークを介して他の装置(図示せず)との間で行う通信を制御する。
The
ドライブ22には、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリ等よりなる、リムーバブルメディア31が適宜装着される。ドライブ22によってリムーバブルメディア31から読み出されたプログラムは、必要に応じて記憶部20にインストールされる。また、リムーバブルメディア31は、記憶部20に記憶されている画像のデータ等の各種データも、記憶部20と同様に記憶することができる。
A
このように構成される撮像装置1では、コントラスト方式のAF(AutoFocus)を行うにあたって、AFの対象領域として、顔検出機能により検出される顔を含む領域(本実施形態においては、矩形の顔検出枠)において、可視光画像以外の画像(本実施形態においては、熱画像)から顔と顔以外の部分を特定して、顔以外の部分をAFの評価対象から除外して当該領域内におけるAFの評価を行い、人の顔の被写体像をより高い精度で検出することができる機能を有する。なお、顔検出機能は公知の技術により実施可能であるため、詳細な説明は省略する。 In the imaging apparatus 1 configured as described above, when performing contrast AF (AutoFocus), an area including a face detected by the face detection function as an AF target area (in this embodiment, a rectangular face detection). Frame), a face and a portion other than the face are specified from an image other than the visible light image (a thermal image in the present embodiment), and the portion other than the face is excluded from the AF evaluation target, and AF within the region is performed. And a function capable of detecting a subject image of a human face with higher accuracy. Since the face detection function can be implemented by a known technique, detailed description thereof is omitted.
顔検出においては、顔を含む領域を矩形の顔検出枠で検出するために、顔検出領域には顔の部分と顔以外の部分(背景等)が含まれることになる。このまま顔検出領域をAF評価領域としてしまうと、顔検出領域のうち、顔でない領域にある木、ビル、点光源等のコントラストの高いものや逆光の状況に影響されて、AFの評価における評価値が下がってしまい、顔の部分がフォーカスの対象とならない場合がある。特に、横顔の場合、顔以外の部分が多くなるために、顔でない部分のコントラストの影響が大きくなってしまう。
しかしながら、本実施形態においては、顔と、顔以外では異なる温度となることから、温度の側から特定した顔以外の部分を評価対象から除外する。即ち、顔検出枠に相当する熱画像の領域内を温度で切り分けて、人体の温度とは異なる温度の部分を顔以外の部分として、マスクすることで評価対象とはせず、顔検出領域において顔がある部分のみを評価対象とする。これにより、被写体像である顔をより精度高く検出することができるようになる。
In face detection, since a region including a face is detected by a rectangular face detection frame, the face detection region includes a face portion and a portion other than the face (background, etc.). If the face detection area is used as the AF evaluation area as it is, the evaluation value in the AF evaluation is affected by a high contrast condition such as a tree, a building, or a point light source in a non-face area of the face detection area or a backlight situation. May fall, and the face portion may not be the target of focus. In particular, in the case of a profile, since there are many parts other than the face, the influence of the contrast of the part other than the face becomes large.
However, in this embodiment, since the temperature differs between the face and other than the face, portions other than the face specified from the temperature side are excluded from the evaluation target. In other words, the thermal image area corresponding to the face detection frame is divided by temperature, and a portion having a temperature different from the temperature of the human body is masked as a portion other than the face so that it is not an evaluation target. Only the part with a face is evaluated. As a result, the face that is the subject image can be detected with higher accuracy.
図2及び図3は、本実施形態におけるAFの評価を行う対象領域(以下、「AF評価領域」という。)の生成を説明するための模式図である。なお、図2は、被写体像である人の顔が正面を向いている場合の例を示しており、図3は、被写体像である人の顔が横を向いている場合の例を示している。 2 and 3 are schematic diagrams for explaining generation of a target area (hereinafter referred to as “AF evaluation area”) in which AF evaluation is performed in the present embodiment. FIG. 2 shows an example in which the face of a person who is the subject image is facing the front, and FIG. 3 shows an example in which the face of the person who is the subject image is facing sideways. Yes.
AF評価領域の生成は、図2及び図3に示すように、まず、第1撮像部16から出力された可視光画像IMG1と、第2撮像部17から出力された熱画像IMG2と、を取得する。
As shown in FIGS. 2 and 3, the AF evaluation area is generated by first obtaining a visible light image IMG1 output from the
取得した可視光画像IMG1において、顔検出を行って、可視光画像IMG1において顔検出領域R1を設定する。本実施形態においては、顔検出機能の顔検出枠によって、顔検出領域R1が設定される。被写体像である人の顔が正面を向いている場合には、図2に示すように、眉から顎までで、顔の輪郭よりも少し幅広く顔検出領域R1が設定され、被写体像である人の顔が横を向いている場合には、図3に示すように、眉から顎までで、耳のやや側方から鼻の先の多くが顔検出領域R1として顔検出枠が設定される仕様となっている。 Face detection is performed on the obtained visible light image IMG1, and a face detection region R1 is set in the visible light image IMG1. In the present embodiment, the face detection region R1 is set by the face detection frame of the face detection function. When the face of the person who is the subject image is facing the front, as shown in FIG. 2, the face detection region R1 is set slightly wider than the outline of the face from the eyebrows to the chin. When the face is facing sideways, as shown in FIG. 3, the face detection frame is set as the face detection region R1 from the eyebrows to the chin and the ears slightly from the sides to the chin. It has become.
これに対して、熱画像IMG2では、可視光画像IMG1で設定された顔検出領域R1に相当する位置(同じ位置)に顔検出相当領域R2を設定する。 In contrast, in the thermal image IMG2, the face detection equivalent region R2 is set at a position (same position) corresponding to the face detection region R1 set in the visible light image IMG1.
そして、可視光画像IMG1及び熱画像IMG2のそれぞれの画像から、設定された顔検出領域R1及び顔検出相当領域R2を切り出す。 Then, the set face detection area R1 and face detection equivalent area R2 are cut out from the visible light image IMG1 and the thermal image IMG2.
また、切り出した顔検出領域R1と、顔検出相当領域R2とを比較して、顔検出領域R1の顔以外の部分(以下、「非顔相当部分」という。)r12を特定する。
顔検出領域R1における非顔相当部分r12の特定は、本実施形態においては、例えば、顔検出相当領域R2における温度差のある境界で分割される領域のうち、人体に近い温度の範囲である部分(以下、「顔部分」という。)r21を判別し、r21以外の領域を、顔検出相当領域R2における顔以外の部分(以下、「非顔部分」という。)r22として判別する。そして、非顔部分r22の顔検出領域R1に相当する部分を非顔相当部分r12として特定する。
Further, the cut-out face detection region R1 and the face detection equivalent region R2 are compared, and a portion (hereinafter referred to as “non-face equivalent portion”) r12 of the face detection region R1 other than the face is specified.
In the present embodiment, the non-face-corresponding portion r12 in the face detection region R1 is specified, for example, in the region divided by the boundary having a temperature difference in the face detection-corresponding region R2, which is a temperature range close to the human body (Hereinafter referred to as “face portion”) r21 is determined, and a region other than r21 is determined as a portion other than the face (hereinafter referred to as “non-face portion”) r22 in the face detection equivalent region R2. Then, the portion corresponding to the face detection region R1 of the non-face portion r22 is specified as the non-face equivalent portion r12.
その後、特定した顔検出領域R1における非顔相当部分r12をマスクして、AF評価領域を生成する。なお、マスクした非顔相当部分r12以外の部分は、顔がある部分(以下、「顔相当部分」という。)r11ということになる。
生成されたAF評価領域において、顔でないとされた非顔相当部分r12についてはマスクがされるために、本来的に非顔相当部分r12にあったコントラストの高い被写体像等に影響を受けずに、AFの評価を行うことができるために、人の顔である被写体像をより高い精度で検出することができる。また、本実施形態の手法を用いることで、顔の向きの情報等を用いずに、高い精度でAF評価を行うことができる。
Thereafter, the non-face equivalent portion r12 in the specified face detection region R1 is masked to generate an AF evaluation region. The portion other than the masked non-face equivalent portion r12 is a portion with a face (hereinafter referred to as “face equivalent portion”) r11.
In the generated AF evaluation area, the non-face equivalent portion r12 that is not a face is masked, so that it is not affected by a high-contrast subject image or the like originally present in the non-face equivalent portion r12. Since the AF can be evaluated, a subject image that is a human face can be detected with higher accuracy. Also, by using the method of the present embodiment, AF evaluation can be performed with high accuracy without using information on the orientation of the face.
なお、本実施形態においては、可視光画像を主として、従となる熱画像からの情報で判断して顔検出領域R1の非顔相当部分r12を決定するように構成するがこれに限られない。
例えば、可視光画像のみで決定する場合や、熱画像を用いて決定する場合を所定の条件(例えば、撮像条件や温度等)に基づいて決定するように構成してもよい。
この場合、例えば、通常は可視光を主(可視光画像のみを用いてもよい)とするが、撮像条件で判別し、逆光、輝度が低く可視光による顔の検出精度が落ちる可能性がある場合は、赤外光を主(熱画像を用いる)とし、従となる可視光画像からの情報で判断して顔検出領域R1の非顔相当部分r12を決定するように構成することができる。
また、通常は赤外光を主(熱画像を用いる)とするが、温度で判別し、温度が高く体温と近いため赤外光による場合は検出精度が落ちる可能性がある場合は、可視光を主(可視光画像のみを用いてもよい)とするように構成することができる。
In the present embodiment, the visible light image is mainly determined based on information from the subordinate thermal image, and the non-face equivalent portion r12 of the face detection region R1 is determined. However, the present invention is not limited to this.
For example, the case where the determination is made only with the visible light image or the case where the determination is made using the thermal image may be made based on a predetermined condition (for example, imaging conditions, temperature, etc.).
In this case, for example, normally visible light is mainly used (only a visible light image may be used), but it is determined based on the imaging conditions, and there is a possibility that the accuracy of face detection by visible light is low due to low backlight and brightness. In this case, the infrared light is mainly used (a thermal image is used), and the non-face-corresponding portion r12 of the face detection region R1 can be determined based on information from the secondary visible light image.
Usually, infrared light is mainly used (thermal image is used), but it is discriminated by temperature. If the temperature is high and close to body temperature, there is a possibility that the detection accuracy may decrease when using infrared light. Can be configured to be main (only a visible light image may be used).
図4は、このような撮像装置1の機能的構成のうち、撮影処理を実行するための機能的構成を示す機能ブロック図である。
撮影処理とは、取得した可視光画像と熱画像を用いて、精度の高いAF評価を行って、AFでフォーカス位置を設定して撮影を行う一連の処理をいう。
FIG. 4 is a functional block diagram showing a functional configuration for executing the photographing process among the functional configurations of the imaging apparatus 1 as described above.
The imaging process refers to a series of processes in which an accurate AF evaluation is performed using the acquired visible light image and thermal image, and a focus position is set by AF to perform imaging.
撮影処理を実行する場合には、図4に示すように、CPU11において、撮像制御部51と、AF処理部52と、撮影処理部53とが機能する。
When executing the shooting process, as shown in FIG. 4, the
また、記憶部20の一領域には、画像データ記憶部71が設定される。
画像データ記憶部71には、可視光画像のデータが記憶される。
An image data storage unit 71 is set in one area of the
The image data storage unit 71 stores visible light image data.
撮像制御部51は、撮像を実行するように第1撮像部16及び第2撮像部17を制御する。その結果、第1撮像部16から可視光画像が出力され、第2撮像部17から熱画像が出力される。
また、撮像制御部51は、入力部18における撮影モード設定操作により、撮影モードを設定する。
また、撮像制御部51は、入力部18におけるシャッタボタンの半押し/全押し操作を判定する。
また、撮像制御部51は、第1撮像部16のフォーカスレンズをAF処理部52によって検出されたフォーカス位置に移動する制御を行う。
The
Further, the
Further, the
Further, the
AF処理部52は、AF処理を実行する。AF処理部52によるAF処理が実行されると、AF評価領域が設定され、当該AF評価領域におけるコントラスト値がピークになるフォーカス位置を検出する。
The
具体的には、AF処理部52は、第1撮像部16から取得した可視光画像に対して、顔検出処理を実行する。顔検出処理の結果、顔検出がされた場合には、図2及び図3に示すように、可視光画像に顔検出領域R1を設定する。また、AF処理部52は、顔が検出されていない場合には、あらかじめ指定されたAF評価領域を設定する。
Specifically, the
また、AF処理部52は、条件判別を行う。条件判別は、可視光画像等からの撮像条件や熱画像からの温度条件で行う。この際、逆光や輝度が低い場合や温度が体温と近くない場合には、熱画像を用いてAF評価領域を設定する。また、温度が体温と近い場合には、可視光画像のみを用いてAF評価領域を設定する。なお、本実施形態においては、基本的に可視光画像を熱画像からの情報で判断して顔検出領域R1の非顔相当部分r12を決定するように構成する。なお、例えば、通常は可視光を主(可視光画像のみを用いてもよい)とするが、撮像条件で判別し、逆光、輝度が低く可視光による検出精度が落ちる可能性がある場合は、赤外光を主(熱画像を用いる)とするように構成することができる。また、通常は赤外光を主(熱画像を用いる)とするが、温度で判別し、温度が高く体温と近いため赤外光による場合は検出精度が落ちる可能性がある場合は、可視光を主(可視光画像のみを用いてもよい)とするように構成することができる。
In addition, the
また、AF処理部52は、図2又は図3に示すように、可視光画像IMG1の顔検出領域R1に、熱画像IMG2における顔検出相当領域R2の非顔部分r22を合成し、可視光画像IMG1の顔検出領域R1において顔以外の部分である非顔相当部分r12を、AFの評価対象とならないようにマスクする。そして、AF処理部52は、マスクした顔検出領域R1をAF評価領域に設定する。
Further, as shown in FIG. 2 or FIG. 3, the
また、AF処理部52は、設定したAF評価領域のコントラスト値をサーチして、設定したAF評価領域のコントラスト値がピークになるフォーカス位置を検出する。
Further, the
撮影処理部53は、例えば、AE(Automatic Exposure)やAWB(Auto White Balance)等の設定を行う撮影前処理と、例えば、美顔処理等の画像補正等を行う撮影後処理を実行する。
The
図5は、図4の機能的構成を有する図1の撮像装置1が実行する撮影処理の流れを説明するフローチャートである。
撮影処理は、ユーザによる入力部18への撮影処理開始の操作により開始される。
FIG. 5 is a flowchart for explaining the flow of imaging processing executed by the imaging apparatus 1 of FIG. 1 having the functional configuration of FIG.
The photographing process is started by an operation for starting the photographing process on the
ステップS11において、撮像制御部51は、ユーザからの入力部18を介した撮影モード設定操作により、撮影モードを設定する。
In step S <b> 11, the
ステップS12において、撮像制御部51は、入力部18においてシャッタボタンが半押しされたか否かを判定する。シャッタボタンの半押し操作によって、撮像制御部51は、AF用の画像を撮像するように第1撮像部16を制御する。
シャッタボタンが半押しされた場合には、ステップS12においてYESと判定されて、処理はステップS13に進む。
これに対して、シャッタボタンが半押しされない場合には、ステップS12においてNOと判定されて、処理はステップS11に戻る。
In step S <b> 12, the
If the shutter button is half-pressed, YES is determined in step S12, and the process proceeds to step S13.
On the other hand, if the shutter button is not half-pressed, NO is determined in step S12, and the process returns to step S11.
ステップS13において、撮像制御部51及びAF処理部52は、AF処理を実行する。AF処理の結果、AFにおけるフォーカス位置が設定される。なお、AF処理の流れについては後述する。
In step S13, the
ステップS14において、撮影処理部53は、例えば、AEやAWB等の設定を行う撮影前処理を実行する。
In step S <b> 14, the
ステップS15において、撮像制御部51は、入力部18においてシャッタボタンが全押しされたか否かを判定する。
シャッタボタンが全押しされた場合には、ステップS15においてYESと判定されて、処理はステップS16に進む。
これに対して、シャッタボタンが全押されない場合には、ステップS15においてNOと判定されて、処理はステップS11に戻る。
In step S <b> 15, the
If the shutter button is fully pressed, YES is determined in step S15, and the process proceeds to step S16.
On the other hand, if the shutter button is not fully pressed, NO is determined in step S15, and the process returns to step S11.
ステップS16において、撮像制御部51は、撮影処理を実行する。撮影処理の結果、設定したAF等で撮影が行われて、第1撮像部16から可視光画像が出力される。
In step S16, the
ステップS17において、撮影処理部53は、例えば、美顔処理等の画像補正を行う撮影後処理を実行する。撮影後処理の結果、撮影後の処理が施された可視光画像が画像データ記憶部71に記憶される。その後、処理は、ステップS11に戻る。
In step S <b> 17, the
図6は、撮影処理のうち、AF処理の流れを説明するフローチャートである。 FIG. 6 is a flowchart for explaining the flow of the AF process in the photographing process.
ステップS31において、AF処理部52は、第1撮像部16から取得した可視光画像に対して、顔検出処理を実行する。顔検出処理の結果、顔検出がされた場合には、可視光画像に顔検出領域R1が設定される。
In step S <b> 31, the
ステップS32において、AF処理部52は、第1撮像部16から取得した可視光画像から顔が検出されたか否かを判定する。
顔が検出されない場合には、ステップS32においてNOと判定されて、処理はステップS33に進む。
これに対して、顔が検出された場合には、ステップS32においてYESと判定されて、処理はステップS34に進む。
In step S <b> 32, the
If no face is detected, NO is determined in step S32, and the process proceeds to step S33.
On the other hand, if a face is detected, YES is determined in step S32, and the process proceeds to step S34.
ステップS33において、AF処理部52は、顔が検出されていないために、あらかじめ指定されたAF評価領域を設定する。その後、処理はステップS40に進む。
In step S33, since the face is not detected, the
ステップS34において、撮像制御部51は、第2撮像部17を撮像制御し、熱画像を取得する。
In step S <b> 34, the
ステップS35において、AF処理部52は、条件判別を行う。可視光画像からの撮像条件や熱画像からの温度条件の判別を行って、逆光や輝度が低い場合や温度が体温と近くない場合には、ステップS35において[熱画像を併用]と判定されて、処理はステップS37に進む。ステップS37以降の処理は後述する。
これに対して、温度が体温と近い場合には、ステップS35において[可視光画像のみ使用]と判定されて、処理はステップS36に進む。
In step S35, the
On the other hand, when the temperature is close to the body temperature, it is determined that only the visible light image is used in step S35, and the process proceeds to step S36.
ステップS36において、AF処理部52は、可視光画像の顔検出領域R1をAF評価領域に設定する。
In step S36, the
ステップS37において、AF処理部52は、図2及び図3に示すように、可視光画像の顔検出領域R1に、熱画像IMG2における顔検出相当領域R2の非顔部分r22を合成する。
In step S37, as shown in FIGS. 2 and 3, the
ステップS38において、AF処理部52は、図2及び図3に示すように、可視光画像IMG1において顔以外の非顔相当部分r12を、AFの評価対象とならないようにマスクする。
In step S38, as shown in FIGS. 2 and 3, the
ステップS39において、AF処理部52は、図2及び図3に示すように、マスクした顔検出領域R1の顔相当部分r11をAF評価領域に設定する。
In step S39, as shown in FIGS. 2 and 3, the
ステップS40において、AF処理部52は、設定したAF評価領域のコントラスト値をサーチする。
In step S40, the
ステップS41において、AF処理部52は、設定したAF評価領域のコントラスト値がピークになるフォーカス位置を検出したか否かを判定する。
コントラスト値がピークになるフォーカス位置を検出した場合には、ステップS41においてYESと判定されて、処理はステップS42に進む。
これに対して、コントラスト値がピークになるフォーカス位置を検出しない場合には、ステップS41においてNOと判定されて、処理はステップS40に戻る。
In step S41, the
If the focus position at which the contrast value reaches a peak is detected, YES is determined in the step S41, and the process proceeds to a step S42.
On the other hand, if the focus position at which the contrast value reaches a peak is not detected, NO is determined in step S41, and the process returns to step S40.
ステップS42において、撮像制御部51は、第1撮像部16のフォーカスレンズを検出したフォーカス位置に移動する制御を行う。その後、AF処理は終了する。
なお上述の実施形態においては、可視光画像IMG1のみを使用する場合と、可視光画像IMG1を主とし熱画像IMG2を従とする場合と、を説明しているが、これに限らず、熱画像IMG2のみを使用する場合や、熱画像IMG2を主とし可視光画像IMG1を従とする場合も含め、所定の判別で使い分けるようにしてもよい。
In step S42, the
In the above-described embodiment, the case where only the visible light image IMG1 is used and the case where the visible light image IMG1 is the main and the thermal image IMG2 is the subordinate have been described. A case where only the IMG2 is used or a case where the thermal image IMG2 is the main and the visible light image IMG1 is the subordinate may be used for predetermined discrimination.
<他の実施形態>
本実施形態においては、画角内に顔検出されるような対象(例えば、人の顔が写った写真や人の顔を含む像等)があり複数の顔が検出されてしまうような場合でも、熱画像から人の温度を特定して、特定した人の温度を含む顔検出領域を、人の顔であるとして、当該顔検出領域をAF評価領域とするように構成することができる。このように構成することで確実に人の顔を検出することができる。
さらに、第1実施形態の手法(AF処理)を用いて、人の顔を含むとされた顔検出領域について非顔領域をマスクしてAF評価領域を生成するように構成すれば、人の顔の被写体像をより高い精度で検出することができる。
<Other embodiments>
In the present embodiment, even when there is a target whose face is detected within the angle of view (for example, a photograph showing a human face or an image including a human face), a plurality of faces are detected. A person's temperature is specified from the thermal image, and the face detection area including the specified person's temperature is assumed to be a person's face, and the face detection area can be configured as an AF evaluation area. With this configuration, it is possible to reliably detect a human face.
Furthermore, if the method of the first embodiment (AF process) is used to generate an AF evaluation area by masking a non-face area for a face detection area that is supposed to include a human face, the human face Can be detected with higher accuracy.
図7は、複数の顔が検出された場合のAF評価領域の特定例を説明するための模式図である。
図7の例では、画角範囲内に人と人の顔を含む写真とがある場合に、人の顔をAF評価領域とすることを示している。
本例では、可視光画像に顔検出機能を使った場合に、人と写真の顔の2つを検出することになるが、熱画像では人のみが人体の温度となるために、写真側の検出を行わずに、人体の温度の方の人側を検出対象としてAF評価領域を特定する。
FIG. 7 is a schematic diagram for explaining a specific example of the AF evaluation area when a plurality of faces are detected.
In the example of FIG. 7, when there are a person and a photograph including the human face within the field angle range, the human face is set as the AF evaluation area.
In this example, when the face detection function is used for the visible light image, the human face and the face of the photograph are detected. However, in the thermal image, only the person has the temperature of the human body. Without performing the detection, the AF evaluation area is specified with the human side of the human body temperature as a detection target.
以上のように構成される撮像装置1は、第1撮像部16と、第2撮像部17と、AF処理部52と、を備える。
第1撮像部16は、可視光画像IMG1を取得する。
第2撮像部17は、第1撮像部16が取得する撮像範囲が含まれる範囲であって、当該第1撮像部16とは異なる波長域の光を撮像することにより熱画像IMG2を取得する。
AF処理部52は、可視光画像IMG1から所定の被写体像(本実施形態においては、人物の顔)を含みうる第1の領域である顔検出領域R1を検出する。
また、AF処理部52は、熱画像IMG2から所定の被写体像を含みうる第2の領域である顔検出相当領域R2を検出する。
また、AF処理部52は、第1の領域である顔検出領域R1と第2の領域である顔検出相当領域R2とから所定の被写体像の領域を特定する。
これにより、撮像装置1においては、所定の被写体像の領域を、可視光画像IMG1の第1の領域である顔検出領域R1と、熱画像IMG2の第2の領域である顔検出相当領域R2とから特定するために、被写体像をより高い精度で検出することができる。
The imaging device 1 configured as described above includes the
The
The
The
Further, the
Further, the
As a result, in the imaging apparatus 1, a predetermined subject image area is divided into a face detection area R1 that is the first area of the visible light image IMG1 and a face detection equivalent area R2 that is the second area of the thermal image IMG2. Therefore, the subject image can be detected with higher accuracy.
AF処理部52は、可視光画像IMG1内の第1の領域である顔検出領域R1内であって、第2の領域である顔検出相当領域R2が含まれる領域を所定の被写体像の領域として特定する。
これにより、撮像装置1においては、第1の領域である顔検出領域R1内であって、第2の領域である顔検出相当領域R2が含まれる領域を、所定の被写体像の領域として特定するために、被写体像をより高い精度で検出することができる。
The
Thereby, in the imaging device 1, an area within the face detection area R1 that is the first area and that includes the face detection equivalent area R2 that is the second area is specified as the area of the predetermined subject image. Therefore, the subject image can be detected with higher accuracy.
AF処理部52によって特定される所定の被写体像の領域は、第1の領域である顔検出領域R1より狭い。
これにより、撮像装置1においては、所定の被写体像を確実に含むために、被写体像をより高い精度で検出することができる。
The area of the predetermined subject image specified by the
Thereby, in the imaging device 1, since a predetermined subject image is reliably included, the subject image can be detected with higher accuracy.
また、撮像装置1では、第1の領域である顔検出領域R1は、複数である。
AF処理部52は、可視光画像IMG1内の複数の第1の領域である顔検出領域R1の内の何れかであって、第2の領域である顔検出相当領域R2が含まれる領域を所定の被写体像の領域として特定する。
これにより、撮像装置1においては、第1の領域である顔検出領域R1が複数あっても、第1の領域である顔検出領域R1とは異なる熱の観点で検出された第2の領域である顔検出相当領域R2で特定するために、確実に被写体像を検出することができる。
In the imaging device 1, the face detection region R1 that is the first region is plural.
The
Thereby, in the imaging device 1, even if there are a plurality of face detection areas R1 as the first area, the second area detected from the viewpoint of heat different from the face detection area R1 as the first area. Since the face detection equivalent region R2 is specified, the subject image can be reliably detected.
特定される所定の被写体像の領域の数は、第1の領域である顔検出領域R1の数より少ない。
これにより、撮像装置1においては、第1の領域である顔検出領域R1から真の被写体像をより高い精度で検出することができる。
The number of specified subject image areas to be identified is smaller than the number of face detection areas R1 which are the first areas.
Thereby, in the imaging device 1, a true subject image can be detected with higher accuracy from the face detection region R1, which is the first region.
第1撮像部16と第2撮像部17のうちの何れか一方は、可視光を撮像することにより可視光画像IMG1を取得し、他方は、赤外光を撮像することにより熱画像IMG2を取得する。
これにより、撮像装置1においては、簡単な構成で被写体像をより高い精度で検出することができる。
One of the
Thereby, in the imaging device 1, a subject image can be detected with higher accuracy with a simple configuration.
AF処理部52は、所定の条件に基づき、第1撮像部16と第2撮像部17のうちの何れで、可視光を撮像することにより可視光画像IMG1を取得し、他方で赤外光を撮像することにより熱画像IMG2を取得するかを判別する。
これにより、撮像装置1においては、より検出に好適な条件を判断して、可視光画像IMG1/熱画像IMG2の取得を選択するために、被写体像をより高い精度で検出することができる。
The
As a result, the imaging apparatus 1 can detect the subject image with higher accuracy in order to determine conditions more suitable for detection and select acquisition of the visible light image IMG1 / thermal image IMG2.
AF処理部52は、所定の条件として撮像条件に基づき判別する。
これにより、撮像装置1においては、可視光画像IMG1では検出精度が落ちる場合を判別することができ、被写体像をより高い精度で検出することができる。
The
Thereby, in the imaging device 1, it is possible to determine when the detection accuracy is lowered in the visible light image IMG1, and it is possible to detect the subject image with higher accuracy.
第2撮像部17は、熱画像IMG2内における第1の領域である顔検出領域R1に相当する領域に対して第2の領域である顔検出相当領域R2を検出する。
これにより、撮像装置1においては、熱画像IMG2内における第1の領域である顔検出領域R1に相当する領域に対して第2の領域である顔検出相当領域R2を検出するために、簡単に被写体像をより高い精度で検出することができる。
The
Thereby, in the imaging device 1, in order to detect the face detection equivalent region R2 that is the second region with respect to the region corresponding to the face detection region R1 that is the first region in the thermal image IMG2, A subject image can be detected with higher accuracy.
なお、本発明は、上述の実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。 In addition, this invention is not limited to the above-mentioned embodiment, The deformation | transformation in the range which can achieve the objective of this invention, improvement, etc. are included in this invention.
上述の実施形態では、可視光と赤外光との組み合わせだけでなく、可視光と紫外光の組み合わせ、赤外光と紫外光の組み合わせなどであってもよい。 In the above-described embodiment, not only a combination of visible light and infrared light, but also a combination of visible light and ultraviolet light, a combination of infrared light and ultraviolet light, or the like may be used.
また、上述の実施形態では、AF以外にもAE、AWB、美顔処理等にも利用可能である。 Further, in the above-described embodiment, the present invention can be used for AE, AWB, face processing, etc. in addition to AF.
また、上述の実施形態では、人の顔を検出するように構成したが、逆に人の顔を検出せずに、人ではなく人の顔を撮影した写真や像等の顔を検出するように構成してもよい。この場合、人体の温度と顔検出をした被写体像を検出対象から除くように構成することができる。 In the above-described embodiment, the human face is detected. However, instead of detecting a human face, a face such as a photograph or an image obtained by photographing a human face instead of a human is detected. You may comprise. In this case, it is possible to configure so as to exclude the subject image obtained by detecting the temperature of the human body and the face from the detection target.
また、上述の実施形態では、本発明が適用される撮像装置1は、デジタルカメラを例として説明したが、特にこれに限定されない。
例えば、本発明は、撮影処理機能を有する電子機器一般に適用することができる。具体的には、例えば、本発明は、ノート型のパーソナルコンピュータ、プリンタ、テレビジョン受像機、ビデオカメラ、携帯型ナビゲーション装置、携帯電話機、スマートフォン、ポータブルゲーム機等に適用可能である。
In the above-described embodiment, the imaging apparatus 1 to which the present invention is applied has been described using a digital camera as an example, but is not particularly limited thereto.
For example, the present invention can be applied to general electronic devices having a photographing processing function. Specifically, for example, the present invention can be applied to a notebook personal computer, a printer, a television receiver, a video camera, a portable navigation device, a mobile phone, a smartphone, a portable game machine, and the like.
上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。
換言すると、図4の機能的構成は例示に過ぎず、特に限定されない。即ち、上述した一連の処理を全体として実行できる機能が撮像装置1に備えられていれば足り、この機能を実現するためにどのような機能ブロックを用いるのかは特に図4の例に限定されない。
また、1つの機能ブロックは、ハードウェア単体で構成してもよいし、ソフトウェア単体で構成してもよいし、それらの組み合わせで構成してもよい。
The series of processes described above can be executed by hardware or can be executed by software.
In other words, the functional configuration of FIG. 4 is merely an example, and is not particularly limited. That is, it is sufficient that the imaging apparatus 1 has a function capable of executing the above-described series of processing as a whole, and what functional block is used to realize this function is not particularly limited to the example of FIG.
In addition, one functional block may be constituted by hardware alone, software alone, or a combination thereof.
一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、コンピュータ等にネットワークや記録媒体からインストールされる。
コンピュータは、専用のハードウェアに組み込まれているコンピュータであってもよい。また、コンピュータは、各種のプログラムをインストールすることで、各種の機能を実行することが可能なコンピュータ、例えば汎用のパーソナルコンピュータであってもよい。
When a series of processing is executed by software, a program constituting the software is installed on a computer or the like from a network or a recording medium.
The computer may be a computer incorporated in dedicated hardware. The computer may be a computer capable of executing various functions by installing various programs, for example, a general-purpose personal computer.
このようなプログラムを含む記録媒体は、ユーザにプログラムを提供するために装置本体とは別に配布される図1のリムーバブルメディア31により構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される記録媒体等で構成される。リムーバブルメディア31は、例えば、磁気ディスク(フロッピディスクを含む)、光ディスク、又は光磁気ディスク等により構成される。光ディスクは、例えば、CD−ROM(Compact Disk−Read Only Memory),DVD(Digital Versatile Disk),Blu−ray(登録商標) Disc(ブルーレイディスク)等により構成される。光磁気ディスクは、MD(Mini−Disk)等により構成される。また、装置本体に予め組み込まれた状態でユーザに提供される記録媒体は、例えば、プログラムが記録されている図1のROM12や、図1の記憶部20に含まれるハードディスク等で構成される。
The recording medium including such a program is not only constituted by the
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、その順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的或いは個別に実行される処理をも含むものである。 In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in time series along the order, but is not necessarily performed in time series, either in parallel or individually. The process to be executed is also included.
以上、本発明のいくつかの実施形態について説明したが、これらの実施形態は、例示に過ぎず、本発明の技術的範囲を限定するものではない。本発明はその他の様々な実施形態を取ることが可能であり、さらに、本発明の要旨を逸脱しない範囲で、省略や置換等種々の変更を行うことができる。これら実施形態やその変形は、本明細書等に記載された発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 As mentioned above, although several embodiment of this invention was described, these embodiment is only an illustration and does not limit the technical scope of this invention. The present invention can take other various embodiments, and various modifications such as omission and replacement can be made without departing from the gist of the present invention. These embodiments and modifications thereof are included in the scope and gist of the invention described in this specification and the like, and are included in the invention described in the claims and the equivalent scope thereof.
以下に、本願の出願当初の特許請求の範囲に記載された発明を付記する。
[付記1]
第1の撮像画像を取得する第1の取得手段と、
前記第1の取得手段が取得する撮像範囲が含まれる範囲であって、当該第1の取得手段とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得手段と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出手段と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出手段と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定手段と、
を備えることを特徴とする検出装置。
[付記2]
前記特定手段は、前記第1の撮像画像内の前記第1の領域内であって、前記第2の領域が含まれる領域を前記所定の被写体像の領域として特定する、
ことを特徴とする付記1に記載の検出装置。
[付記3]
前記特定手段によって特定される前記所定の被写体像の領域は、前記第1の領域より狭い、
ことを特徴とする付記1に記載の検出装置。
[付記4]
前記第1の領域は複数であって、
前記特定手段は、前記第1の撮像画像内の複数の前記第1の領域の内の何れかであって、前記第2の領域が含まれる領域を前記所定の被写体像の領域として特定する、
ことを特徴とする付記1乃至3の何れか1つに記載の検出装置。
[付記5]
特定される前記所定の被写体像の領域の数は、前記第1の領域の数より少ない、
ことを特徴とする付記4に記載の検出装置。
[付記6]
前記第1の取得手段と前記第2の取得手段のうちの何れか一方は、可視光を撮像することにより前記第1の撮像画像を取得し、他方は、赤外光を撮像することにより前記第2の撮像画像を取得する、
ことを特徴とする付記1乃至5の何れか1つに記載の検出装置。
[付記7]
所定の条件に基づき、前記第1の取得手段と前記第2の取得手段のうちの何れで、可視光を撮像することにより前記第1の撮像画像を取得し、他方で赤外光を撮像することにより前記第2の撮像画像を取得するかを判別する判別手段を更に備える、
ことを特徴とする付記6に記載の検出装置。
[付記8]
前記判別手段は、前記所定の条件として撮像条件に基づき判別する、
ことを特徴とする付記7に記載の検出装置。
[付記9]
前記第2の取得手段は、前記第2の撮像画像内における前記第1の領域に相当する領域に対して前記第2の領域を検出する、
ことを特徴とする付記1乃至8の何れか1つに記載の検出装置。
[付記10]
前記所定の被写体像は、人物の顔である、
ことを特徴とする付記1乃至9の何れか1つに記載の検出装置。
[付記11]
第1の撮像画像を取得する第1の取得処理と、
前記第1の取得処理が取得する撮像範囲が含まれる範囲であって、当該第1の取得処理とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得処理と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出処理と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出処理と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定処理と、
を含むことを特徴とする検出方法。
[付記12]
コンピュータに、
第1の撮像画像を取得する第1の取得機能と、
前記第1の取得機能が取得する撮像範囲が含まれる範囲であって、当該第1の取得機能とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得機能と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出機能と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出機能と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定機能と、
を実現させることを特徴とするプログラム。
The invention described in the scope of claims at the beginning of the filing of the present application will be appended.
[Appendix 1]
First acquisition means for acquiring a first captured image;
Second acquisition means for acquiring a second captured image by capturing light in a wavelength range different from that of the first acquisition means, the image acquisition range being acquired by the first acquisition means. When,
First detection means for detecting a first region that may include a predetermined subject image from the first captured image;
Second detection means for detecting a second region that may include the predetermined subject image from the second captured image;
Specifying means for specifying an area of the predetermined subject image from the first area and the second area;
A detection apparatus comprising:
[Appendix 2]
The specifying unit specifies an area in the first area in the first captured image that includes the second area as an area of the predetermined subject image.
The detection device according to supplementary note 1, wherein:
[Appendix 3]
An area of the predetermined subject image specified by the specifying means is narrower than the first area;
The detection device according to supplementary note 1, wherein:
[Appendix 4]
The first region is plural,
The specifying unit specifies any one of the plurality of first regions in the first captured image, the region including the second region as a region of the predetermined subject image.
The detection device according to any one of appendices 1 to 3, wherein
[Appendix 5]
The number of areas of the predetermined subject image identified is less than the number of the first areas;
The detection device according to supplementary note 4, wherein
[Appendix 6]
One of the first acquisition unit and the second acquisition unit acquires the first captured image by capturing visible light, and the other acquires the first captured image by capturing infrared light. Obtaining a second captured image;
The detection device according to any one of supplementary notes 1 to 5, wherein:
[Appendix 7]
Based on a predetermined condition, either the first acquisition unit or the second acquisition unit acquires the first captured image by imaging visible light, and the other side captures infrared light. And a determination means for determining whether to acquire the second captured image.
The detection device according to appendix 6, wherein:
[Appendix 8]
The determining means determines based on an imaging condition as the predetermined condition;
The detection device according to appendix 7, characterized in that.
[Appendix 9]
The second acquisition means detects the second region with respect to a region corresponding to the first region in the second captured image;
The detection device according to any one of appendices 1 to 8, characterized in that:
[Appendix 10]
The predetermined subject image is a human face;
The detection device according to any one of appendices 1 to 9, characterized in that:
[Appendix 11]
A first acquisition process for acquiring a first captured image;
A second acquisition process in which a second captured image is acquired by imaging light in a wavelength range different from that of the first acquisition process, which includes an imaging range acquired by the first acquisition process. When,
A first detection process for detecting a first region that may include a predetermined subject image from the first captured image;
A second detection process for detecting a second region that may include the predetermined subject image from the second captured image;
A specifying process for specifying a region of the predetermined subject image from the first region and the second region;
A detection method comprising:
[Appendix 12]
On the computer,
A first acquisition function for acquiring a first captured image;
A second acquisition function for acquiring a second captured image by imaging light in a wavelength range different from that of the first acquisition function, the imaging range being acquired by the first acquisition function. When,
A first detection function for detecting a first region that may include a predetermined subject image from the first captured image;
A second detection function for detecting a second region that may include the predetermined subject image from the second captured image;
A specifying function for specifying an area of the predetermined subject image from the first area and the second area;
A program characterized by realizing.
1・・・撮像装置,11・・・CPU,12・・・ROM,13・・・RAM,14・・・バス,15・・・入出力インターフェース,16・・・第1撮像部,17・・・第2撮像部,18・・・入力部,19・・・出力部,20・・・記憶部,21・・・通信部,22・・・ドライブ,31・・・リムーバブルメディア,51・・・撮像制御部,52・・・AF処理部,53・・・撮影処理部,71・・・画像データ記憶部
DESCRIPTION OF SYMBOLS 1 ... Imaging device, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Bus, 15 ... Input-output interface, 16 ... 1st imaging part, 17.
Claims (12)
前記第1の取得手段が取得する撮像範囲が含まれる範囲であって、当該第1の取得手段とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得手段と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出手段と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出手段と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定手段と、
を備えることを特徴とする検出装置。 First acquisition means for acquiring a first captured image;
Second acquisition means for acquiring a second captured image by capturing light in a wavelength range different from that of the first acquisition means, the image acquisition range being acquired by the first acquisition means. When,
First detection means for detecting a first region that may include a predetermined subject image from the first captured image;
Second detection means for detecting a second region that may include the predetermined subject image from the second captured image;
Specifying means for specifying an area of the predetermined subject image from the first area and the second area;
A detection apparatus comprising:
ことを特徴とする請求項1に記載の検出装置。 The specifying unit specifies an area in the first area in the first captured image that includes the second area as an area of the predetermined subject image.
The detection apparatus according to claim 1.
ことを特徴とする請求項1に記載の検出装置。 An area of the predetermined subject image specified by the specifying means is narrower than the first area;
The detection apparatus according to claim 1.
前記特定手段は、前記第1の撮像画像内の複数の前記第1の領域の内の何れかであって、前記第2の領域が含まれる領域を前記所定の被写体像の領域として特定する、
ことを特徴とする請求項1乃至3の何れか1項に記載の検出装置。 The first region is plural,
The specifying unit specifies any one of the plurality of first regions in the first captured image, the region including the second region as a region of the predetermined subject image.
The detection device according to any one of claims 1 to 3, wherein
ことを特徴とする請求項4に記載の検出装置。 The number of areas of the predetermined subject image identified is less than the number of the first areas;
The detection device according to claim 4.
ことを特徴とする請求項1乃至5の何れか1項に記載の検出装置。 One of the first acquisition unit and the second acquisition unit acquires the first captured image by capturing visible light, and the other acquires the first captured image by capturing infrared light. Obtaining a second captured image;
The detection apparatus according to claim 1, wherein the detection apparatus includes:
ことを特徴とする請求項6に記載の検出装置。 Based on a predetermined condition, either the first acquisition unit or the second acquisition unit acquires the first captured image by imaging visible light, and the other side captures infrared light. And a determination means for determining whether to acquire the second captured image.
The detection apparatus according to claim 6.
ことを特徴とする請求項7に記載の検出装置。 The determining means determines based on an imaging condition as the predetermined condition;
The detection device according to claim 7.
ことを特徴とする請求項1乃至8の何れか1項に記載の検出装置。 The second acquisition means detects the second region with respect to a region corresponding to the first region in the second captured image;
The detection apparatus according to claim 1, wherein the detection apparatus includes:
ことを特徴とする請求項1乃至9の何れか1項に記載の検出装置。 The predetermined subject image is a human face;
The detection device according to claim 1, wherein
前記第1の取得処理が取得する撮像範囲が含まれる範囲であって、当該第1の取得処理とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得処理と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出処理と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出処理と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定処理と、
を含むことを特徴とする検出方法。 A first acquisition process for acquiring a first captured image;
A second acquisition process in which a second captured image is acquired by imaging light in a wavelength range different from that of the first acquisition process, which includes an imaging range acquired by the first acquisition process. When,
A first detection process for detecting a first region that may include a predetermined subject image from the first captured image;
A second detection process for detecting a second region that may include the predetermined subject image from the second captured image;
A specifying process for specifying a region of the predetermined subject image from the first region and the second region;
A detection method comprising:
第1の撮像画像を取得する第1の取得機能と、
前記第1の取得機能が取得する撮像範囲が含まれる範囲であって、当該第1の取得機能とは異なる波長域の光を撮像することにより第2の撮像画像を取得する第2の取得機能と、
前記第1の撮像画像から所定の被写体像を含みうる第1の領域を検出する第1の検出機能と、
前記第2の撮像画像から前記所定の被写体像を含みうる第2の領域を検出する第2の検出機能と、
前記第1の領域と前記第2の領域とから前記所定の被写体像の領域を特定する特定機能と、
を実現させることを特徴とするプログラム。 On the computer,
A first acquisition function for acquiring a first captured image;
A second acquisition function for acquiring a second captured image by imaging light in a wavelength range different from that of the first acquisition function, the imaging range being acquired by the first acquisition function. When,
A first detection function for detecting a first region that may include a predetermined subject image from the first captured image;
A second detection function for detecting a second region that may include the predetermined subject image from the second captured image;
A specifying function for specifying an area of the predetermined subject image from the first area and the second area;
A program characterized by realizing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015124092A JP6648424B2 (en) | 2015-06-19 | 2015-06-19 | Detection device, detection method, program, and focusing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015124092A JP6648424B2 (en) | 2015-06-19 | 2015-06-19 | Detection device, detection method, program, and focusing device |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2017011451A true JP2017011451A (en) | 2017-01-12 |
| JP2017011451A5 JP2017011451A5 (en) | 2018-07-19 |
| JP6648424B2 JP6648424B2 (en) | 2020-02-14 |
Family
ID=57762565
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015124092A Expired - Fee Related JP6648424B2 (en) | 2015-06-19 | 2015-06-19 | Detection device, detection method, program, and focusing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6648424B2 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017208616A (en) * | 2016-05-16 | 2017-11-24 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
| JP2020195140A (en) * | 2016-05-16 | 2020-12-03 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
| CN112653817A (en) * | 2020-12-07 | 2021-04-13 | 河南威斯盾电子科技有限公司 | Portable thermal imaging inspection device and using method thereof |
| JP2021164059A (en) * | 2020-03-31 | 2021-10-11 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
| CN115516502A (en) * | 2020-05-25 | 2022-12-23 | 欧姆龙株式会社 | Organism determination device and organism determination method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005197914A (en) * | 2004-01-06 | 2005-07-21 | Fuji Photo Film Co Ltd | Face image recognizing apparatus and digital camera equipped with the same |
| JP2010035237A (en) * | 2009-11-12 | 2010-02-12 | Fujifilm Corp | Position detection device and method of target image and program for controlling position detection device of target image |
| JP2010136223A (en) * | 2008-12-05 | 2010-06-17 | Sony Corp | Imaging device and imaging method |
-
2015
- 2015-06-19 JP JP2015124092A patent/JP6648424B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005197914A (en) * | 2004-01-06 | 2005-07-21 | Fuji Photo Film Co Ltd | Face image recognizing apparatus and digital camera equipped with the same |
| JP2010136223A (en) * | 2008-12-05 | 2010-06-17 | Sony Corp | Imaging device and imaging method |
| JP2010035237A (en) * | 2009-11-12 | 2010-02-12 | Fujifilm Corp | Position detection device and method of target image and program for controlling position detection device of target image |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017208616A (en) * | 2016-05-16 | 2017-11-24 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
| JP2020195140A (en) * | 2016-05-16 | 2020-12-03 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
| JP2021164059A (en) * | 2020-03-31 | 2021-10-11 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
| JP7516090B2 (en) | 2020-03-31 | 2024-07-16 | キヤノン株式会社 | Image processing device, image processing method, and program |
| CN115516502A (en) * | 2020-05-25 | 2022-12-23 | 欧姆龙株式会社 | Organism determination device and organism determination method |
| CN112653817A (en) * | 2020-12-07 | 2021-04-13 | 河南威斯盾电子科技有限公司 | Portable thermal imaging inspection device and using method thereof |
| CN112653817B (en) * | 2020-12-07 | 2022-05-13 | 河南威斯盾电子科技有限公司 | Portable thermal imaging inspection device and using method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6648424B2 (en) | 2020-02-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9854149B2 (en) | Image processing apparatus capable of obtaining an image focused on a plurality of subjects at different distances and control method thereof | |
| JP5335302B2 (en) | Focus detection apparatus and control method thereof | |
| US9489747B2 (en) | Image processing apparatus for performing object recognition focusing on object motion, and image processing method therefor | |
| US10511781B2 (en) | Image pickup apparatus, control method for image pickup apparatus | |
| JP5713055B2 (en) | Imaging apparatus, imaging method, and program | |
| JP6720881B2 (en) | Image processing apparatus and image processing method | |
| JP4974812B2 (en) | Electronic camera | |
| CN104702824A (en) | Image capturing apparatus and control method of image capturing apparatus | |
| KR20110032250A (en) | Auto focusing method, a recording medium recording the method, and an auto focusing device for executing the method | |
| US10200630B2 (en) | Image capturing apparatus capable of changing an aperture value based on a change in an aperture diameter, controlling method of the same, and recording medium | |
| JP6648424B2 (en) | Detection device, detection method, program, and focusing device | |
| JP6149854B2 (en) | Imaging apparatus, imaging control method, and program | |
| JP2009009072A (en) | Dynamic focus zone for camera | |
| US9674437B2 (en) | Imaging apparatus, imaging method and computer readable recording medium having program for performing interval shooting | |
| JP6975144B2 (en) | Imaging processing device, electronic device, imaging processing method, imaging processing device control program | |
| JP5832618B2 (en) | Imaging apparatus, control method thereof, and program | |
| JP2013198013A (en) | Imaging apparatus, imaging control method and program | |
| JP2011154194A (en) | Imaging apparatus | |
| JP2017147764A (en) | Image processing apparatus, image processing method, and program | |
| KR20100098122A (en) | Image processing method and apparatus, and digital photographing apparatus using thereof | |
| JP2006301172A5 (en) | ||
| JP6645690B2 (en) | Automatic focus adjustment device, imaging device, and automatic focus adjustment method | |
| JP6361204B2 (en) | Image processing apparatus, image processing method, and program | |
| JP2013192115A (en) | Image processing apparatus, image processing method, and program | |
| US20150381899A1 (en) | Image processing apparatus and image processing method for synthesizing plurality of images |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180611 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180611 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190312 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190514 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190702 |
|
| 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: 20191217 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20191230 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6648424 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |