JP4743709B2 - Image sensor device - Google Patents
Image sensor device Download PDFInfo
- Publication number
- JP4743709B2 JP4743709B2 JP2006142325A JP2006142325A JP4743709B2 JP 4743709 B2 JP4743709 B2 JP 4743709B2 JP 2006142325 A JP2006142325 A JP 2006142325A JP 2006142325 A JP2006142325 A JP 2006142325A JP 4743709 B2 JP4743709 B2 JP 4743709B2
- Authority
- JP
- Japan
- Prior art keywords
- illuminance
- level
- setting
- adjustment parameter
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、撮像画像から検出対象物を検出する画像センサ装置に関する。 The present invention relates to an image sensor device that detects a detection object from a captured image.
撮像画像から検出対象物を検出する画像センサ装置に関して、従来から様々な技術が提案されている。例えば、撮像画像を元に人の侵入を検出する画像センサ装置においては、ある一定以上の照度を確保しないと正常な人の検出ができなくなってしまうため、夜間では赤外線LEDなどの補助照明手段を点灯させて、画像センシングが可能な照度を確保する技術が提案されている。 Conventionally, various techniques have been proposed for an image sensor device that detects a detection target from a captured image. For example, in an image sensor device that detects the intrusion of a person based on a captured image, it is impossible to detect a normal person unless a certain level of illuminance is secured. Therefore, an auxiliary illumination means such as an infrared LED is used at night. There has been proposed a technique for lighting up and ensuring illuminance capable of image sensing.
さて、赤外線LED等の照明手段は通電劣化により照度が低下することがあり、そのために検出対象物の検出が正常に行えない状態が発生する。そして、照明手段での照度を高くすると一般的に通電劣化が生じやすくなり当該照明手段の寿命が短くなる傾向がある。したがって、画像センシングを行うにあたって照明手段の照度を必要以上に高く設定することは望ましくない。 Now, illumination means, such as infrared LED, may fall in illumination intensity by energization deterioration, and the state which cannot detect a detection target object normally occurs for that reason. If the illuminance at the illumination means is increased, generally, deterioration of energization tends to occur and the life of the illumination means tends to be shortened. Therefore, it is not desirable to set the illuminance of the illumination means higher than necessary when performing image sensing.
そこで、本発明は上記点に鑑みて成されたものであり、画像センサ装置に関して、検出対象物を検出しつつ、照明手段の寿命を長くすることができる技術を提供することを目的とする。 Therefore, the present invention has been made in view of the above points, and an object of the present invention is to provide a technique that can extend the life of an illuminating unit while detecting a detection target with respect to an image sensor device.
上記課題を解決するため、請求項1の発明は、撮像画像から検出対象物を検出する画像センサ装置であって、画像を撮像する撮像部と、前記撮像部での撮像範囲を照明する照明部と、照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、前記照度調整パラメータを制御するパラメータ制御部とを備え、第1設定値と、前記照度調整パラメータに設定した際の前記照度が当該第1設定値よりも低くなる第2設定値とをそれぞれが含む、第1レベルから第n(n≧2)レベルまでのn個の設定レベルが定められており、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、さらに、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、前記パラメータ制御部は、同一の前記設定レベルに含まれる前記第1及び第2設定値をそれぞれ前記照度調整パラメータに設定して前記照度を調整した際の一対の前記検出結果がともに前記検出対象物の検出を示すときには、前記同一の前記設定レベルよりも低いレベルの前記設定レベルから、前記照度調整パラメータに設定する前記第1または第2調整値を選択し、前記一対の前記検出結果に関して、前記第1設定値を前記照度調整パラメータに設定して前記照度を調整した際の前記検出結果が前記検出対象物の検出を示し、前記第2設定値を前記照度調整パラメータに設定して前記照度を調整した際の前記検出結果が前記検出対象物の未検出を示すときには、前記同一の前記設定レベルよりも高いレベルの前記設定レベルから、前記照度調整パラメータに設定する前記第1または第2設定値を選択する。
In order to solve the above-described problem, the invention of
また、請求項2の発明は、請求項1に記載の画像センサ装置であって、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度以下となっている。
The invention of
また、請求項3の発明は、撮像画像から検出対象物を検出する画像センサ装置であって、画像を撮像する撮像部と、前記撮像部での撮像範囲を照明する照明部と、照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、前記照度調整パラメータを制御するパラメータ制御部とを備え、第1設定値と、前記照度調整パラメータに設定した際の前記照度が当該第1設定値よりも低くなる第2設定値とをそれぞれが含む、第1レベルから第n(n≧2)レベルまでのn個の設定レベルが定められており、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、さらに、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、前記パラメータ制御部は、同一の前記設定レベルに含まれる前記第1及び第2設定値を前記照度調整パラメータに設定して前記照度を調整した際にともに前記画像センシング部において前記検出対象物が検出可能な前記設定レベルのうち、最もレベルの低い前記設定レベルを特定し、当該最もレベルの低い前記設定レベルのレベル以上の前記設定レベルから、前記照度調整パラメータに設定する前記第1または第2設定値を選択する。 According to a third aspect of the present invention, there is provided an image sensor device for detecting a detection target from a captured image, an imaging unit that captures an image, an illumination unit that illuminates an imaging range of the imaging unit, and an illuminance adjustment parameter. An illuminance adjustment unit that adjusts the illuminance in the illumination unit according to the image sensing unit, an image sensing unit that detects the detection object from a captured image in the imaging unit, and a parameter control unit that controls the illuminance adjustment parameter. The first setting value and the second setting value at which the illuminance when set in the illuminance adjustment parameter is lower than the first setting value, respectively, from the first level to the nth (n ≧ 2) level N setting levels are determined, and in each of the n setting levels excluding the setting level of the first level, the first setting value of the setting level is set to the illuminance adjustment parameter. The illuminance at the time of setting becomes higher than the illuminance at the time of setting the first setting value of the setting level lower than that by the illuminance adjustment parameter, and further, the illuminance of the first level In each of the n setting levels excluding the setting level, the illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter is lower than the setting level by one level. The illuminance becomes higher than the illuminance when the second set value is set as the illuminance adjustment parameter, and the parameter control unit uses the first and second set values included in the same set level as the illuminance adjustment parameter. Among the setting levels at which the detection object can be detected in the image sensing unit when the illuminance is set and adjusted, the lowest level of the setting level can be detected. Identifying a constant level, from the lowest level the set level a level above the set level, selecting the first or the second setting value set in the illumination adjustment parameter.
また、請求項4の発明は、撮像画像から検出対象物を検出する画像センサ装置であって、画像を撮像する撮像部と、前記撮像部での撮像範囲を照明する照明部と、照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、前記照度調整パラメータを制御するパラメータ制御部とを備え、第1設定値と、前記照度調整パラメータに設定した際の前記照度が当該第1設定値よりも低くなる第2設定値とをそれぞれが含む、第1レベルから第n(n≧2)レベルまでのn個の設定レベルが定められており、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、さらに、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、前記パラメータ制御部は、同一の前記設定レベルに含まれる前記第1及び第2設定値を前記照度調整パラメータに設定して前記照度を調整した際にともに前記画像センシング部において前記検出対象物が検出可能な前記設定レベルのうち、最もレベルの低い前記設定レベルに関する統計データを作成し、当該統計データに基づいて、前記照度調整パラメータに設定する前記第1または第2設定値を選択する。 According to a fourth aspect of the present invention, there is provided an image sensor device for detecting a detection target from a captured image, an imaging unit that captures an image, an illumination unit that illuminates an imaging range of the imaging unit, and an illuminance adjustment parameter. An illuminance adjustment unit that adjusts the illuminance in the illumination unit according to the image sensing unit, an image sensing unit that detects the detection object from a captured image in the imaging unit, and a parameter control unit that controls the illuminance adjustment parameter. The first setting value and the second setting value at which the illuminance when set in the illuminance adjustment parameter is lower than the first setting value, respectively, from the first level to the nth (n ≧ 2) level N setting levels are determined, and in each of the n setting levels excluding the setting level of the first level, the first setting value of the setting level is set to the illuminance adjustment parameter. The illuminance at the time of setting becomes higher than the illuminance at the time of setting the first setting value of the setting level lower than that by the illuminance adjustment parameter, and further, the illuminance of the first level In each of the n setting levels excluding the setting level, the illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter is lower than the setting level by one level. The illuminance becomes higher than the illuminance when the second set value is set as the illuminance adjustment parameter, and the parameter control unit uses the first and second set values included in the same set level as the illuminance adjustment parameter. Among the setting levels at which the detection object can be detected in the image sensing unit when the illuminance is set and adjusted, the lowest level of the setting level can be detected. Create statistics on a constant level, based on the statistical data, selecting the first or the second setting value set in the illumination adjustment parameter.
また、請求項5の発明は、請求項1乃至請求項4のいずれか一つに記載の画像センサ装置であって、前記照明部の寿命を判定する寿命判定部をさらに備え、前記寿命判定部は、前記照度調整パラメータの値が前記照度を高める値になる程、前記照明部の寿命を短く判定する。
The invention of
また、請求項6の発明は、請求項1乃至請求項5のいずれか一つに記載の画像センサ装置であって、前記照明部は赤外線LEDで構成されている。 A sixth aspect of the present invention is the image sensor device according to any one of the first to fifth aspects, wherein the illumination unit includes an infrared LED.
請求項1の発明によれば、同一の設定レベルに含まれる第1及び第2設定値をそれぞれ照度調整パラメータに設定して照度を調整した際の一対の検出結果がともに検出対象物の検出を示すときには、当該同一の設定レベルよりも低いレベルの設定レベルから、照度調整パラメータに設定する前記第1または第2調整値を選択している。上記一対の検出結果がともに検出対象物の検出を示すときには、照明部での照度が十分であると判定することができることから、より低いレベルの設定レベルから、照度調整パラメータに設定する第1または第2調整値を選択することによって、照明部での照度を必要以上に高くすることなく検出対象物を確実に検出することができる。 According to the first aspect of the present invention, the pair of detection results when the illuminance is adjusted by setting the first and second set values included in the same setting level as the illuminance adjustment parameter respectively detect the detection object. When shown, the first or second adjustment value set in the illuminance adjustment parameter is selected from a setting level lower than the same setting level. When both of the pair of detection results indicate detection of the detection object, it can be determined that the illuminance at the illumination unit is sufficient, so the first or the illuminance adjustment parameter that is set from the lower level setting level is set. By selecting the second adjustment value, it is possible to reliably detect the detection target without increasing the illuminance at the illumination unit more than necessary .
さらに、請求項1の発明によれば、上記一対の検出結果に関して、第1設定値を照度調整パラメータに設定して照度を調整した際の検出結果が検出対象物の検出を示し、第2設定値を照度調整パラメータに設定して照度を調整した際の検出結果が検出対象物の未検出を示すときには、上記同一の設定レベルよりも高いレベルの設定レベルから、照度調整パラメータに設定する前記第1または第2設定値を選択している。第1設定値を照度調整パラメータに設定して照度を調整した際の検出結果が検出対象物の検出を示し、第2設定値を照度調整パラメータに設定して照度を調整した際の検出結果が検出対象物の未検出を示すときには、照明部で照度劣化が生じていると判定することができることから、より高いレベルの設定レベルから、照度調整パラメータに設定する前記第1または第2設定値を選択することによって、照度劣化に応じて照明部の照度を高くすることができる。よって、照度劣化に応じて照明部での照度を適切に調整することができる。 Further, according to the first aspect of the present invention, regarding the pair of detection results, the detection result when the first setting value is set as the illuminance adjustment parameter and the illuminance is adjusted indicates the detection of the detection object, and the second setting When the detection result when the illuminance is adjusted by setting the value to the illuminance adjustment parameter indicates that the detection target is not detected, the first set to the illuminance adjustment parameter from the setting level higher than the same setting level. 1 or the second set value is selected. The detection result when adjusting the illuminance by setting the first set value as the illuminance adjustment parameter indicates the detection of the detection object, and the detection result when adjusting the illuminance by setting the second set value as the illuminance adjustment parameter. When it indicates that the detection target is not detected, it can be determined that the illumination unit is deteriorated in illuminance. Therefore, the first or second set value to be set in the illuminance adjustment parameter is set from a higher setting level. By selecting, the illuminance of the illumination unit can be increased according to the illuminance deterioration. Therefore, the illuminance at the illumination unit can be appropriately adjusted according to the illuminance deterioration.
また、請求項2の発明によれば、第1レベルの設定レベルを除く複数の設定レベルのそれぞれにおいては、当該設定レベルの第2設定値を照度調整パラメータに設定した際の照度が、それよりも1段階レベルの低い設定レベルの第1設定値を照度調整パラメータに設定した際の照度以下となっているため、照度劣化をより高精度に検出することができる。よって、照度劣化に応じてより適切に照明部での照度を調整することができる。
According to the invention of
また、請求項3の発明によれば、同一の設定レベルに含まれる第1及び第2設定値を照度調整パラメータに設定して照度を調整した際にともに画像センシング部において検出対象物が検出可能な設定レベルのうち、最もレベルの低い設定レベルを特定し、当該最もレベルの低い設定レベルのレベル以上の設定レベルから、照度調整パラメータに設定する第1または第2設定値を選択しているため、照度を必要以上に高くすることなく検出対象物を検出できる。よって、検出対象物を検出しつつ、照明部の寿命を長くすることができる。 According to the invention of claim 3 , when the illuminance is adjusted by setting the first and second set values included in the same setting level as the illuminance adjustment parameter, the detection object can be detected in the image sensing unit. Among the various setting levels, the lowest setting level is specified, and the first or second setting value to be set in the illuminance adjustment parameter is selected from the setting levels equal to or higher than the lowest setting level. The detection object can be detected without increasing the illuminance more than necessary. Therefore, the lifetime of the illumination unit can be extended while detecting the detection target.
また、請求項4の発明によれば、同一の設定レベルに含まれる第1及び第2設定値を照度調整パラメータに設定して照度を調整した際にともに画像センシング部において検出対象物が検出可能な設定レベルのうち、最もレベルの低い設定レベルに関する統計データを作成し、当該統計データに基づいて、照度調整パラメータに設定する第1または第2設定値を選択しているため、照度を必要以上に高くすることなく検出対象物を検出できる。よって、検出対象物を検出しつつ、照明部の寿命を長くすることができる。さらには、上記最もレベルの低い設定レベルは撮像環境の変化の影響を受けることがあることから、その統計データを使用することによって、撮像環境の変化が照度調整に与える影響を抑制することができ、照明部での照度を適切に調整することができる。
According to the invention of
また、請求項5の発明によれば、照明部での照度を必要以上に高くすることなく検出対象物を検出できるように制御される照度調整パラメータの値が照度を高める値になる程、照明部の寿命を短く判定するため、照明部の交換時期を適切に把握することができる。
According to the invention of
また、請求項6の発明によれば、照明部は赤外線LEDで構成されている。赤外線LEDは特に照度劣化を生じやすいため、照明部に赤外線LEDを使用する場合には特に有効である。
According to the invention of claim 6 , the illumination unit is constituted by an infrared LED. The infrared LED is particularly effective when the infrared LED is used in the illumination unit because the infrared LED is particularly susceptible to deterioration of illuminance.
実施の形態1.
図1は本発明の実施の形態1に係る画像センサ装置100の構成を示すブロック図である。図1に示されるように、本実施の形態1に係る画像センサ装置100は、画像を撮像する撮像部1と、撮像部1での撮像範囲を照明する照明部3と、撮像部1での撮像画像から検出対象物を検出する画像センシング部2と、照度調整パラメータに応じて照明部3での照度を調整する照度調整部4と、照度調整パラメータを制御するパラメータ制御部5と、照明部3の寿命を判定する寿命判定部6とを備えている。本実施の形態1に係る画像センサ装置100は、例えば、不審者を検出して警備会社等に通知するセキュリティシステムに使用されるものであって、撮像部1で得られる撮像画像から画像センシング部2で人を検出することが可能である。
FIG. 1 is a block diagram showing a configuration of an
撮像部1はCDDセンサーやCMOSセンサーなどの撮像素子やA/D変換器等で構成されており、例えば、インタレース方式で画像を撮像する。撮像部1は、撮像した画像をデジタル画像信号として画像センシング部2に出力する。撮像部1は例えば屋外に設置されている。
The
画像センシング部2は、画像処理を行う専用ハードウェア回路やCPU等で構成されており、撮像部1での撮像画像から人の検出を行う。例えば、画像センシング部2はフレーム間差分法などを使用して人検出を行う。本実施の形態1に係る画像センシング部2は、撮像部1で撮像された複数枚の奇数フィールド画像、あるいは複数枚の偶数フィールド画像を使用して人検出を行う。画像センシング部2での人検出結果は、通信ネットワーク等を介して警備会社等に通知されるとともに、パラメータ制御部5に通知される。なお、奇数フィールド画像と偶数フィールド画像とを合成して1枚のフレーム画像を生成し、当該フレーム画像を複数枚使用して人検出を行っても良い。
The
照明部3は、例えば赤外線LEDで構成されており、夜間での補助照明手段として使用される。本実施の形態1に係る撮像部1は屋外に設置されているため、夜間になると撮像範囲での照度が不足し、画像センシング部2で正常な人検出が実行できなくなることがある。そこで、赤外線LEDで構成された照明部3を補助照明手段として使用することによって、夜間であっても十分な照度を確保することができ、画像センシング部2で正常な人検出を行うことができる。
The illumination part 3 is comprised by infrared LED, for example, and is used as an auxiliary illumination means at night. Since the
照度調整部4は、トランジスタ等で構成されている、照明部3を駆動する回路を備えており、照度調整パラメータに応じて照明部3での照度を調整する。ここで、赤外線LEDにおいては、それに流す電流が大きくなると照度が大きくなることから、当該電流を変化させることによって照度を変更することができる。本実施の形態1に係る照度調整部4は、照明部3を構成する赤外線LEDに、照度調整パラメータに応じた電流を流すことによって照明部3での照度を調整する。なお、照明部3を構成する赤外線LEDに複数のパルス電圧を印加することによって当該赤外線LEDを駆動する場合には、照度調整パラメータに応じたパルス幅のパルス電圧を出力することによって照明部3の照度を調整しても良い。
The
パラメータ制御部5は、画像センシング部2での人の検出結果に基づいて照度調整パラメータを制御する。図2は照度調整パラメータに設定可能な設定値を示す図である。図2に示されるように、本実施の形態1では、第1レベルから第n(n>2)レベルまでのn個の設定レベルIE1〜IEnが定められている。そして、設定レベルIEx(xは変数で1≦x≦nの値をとる)には、2段階の設定値IExL,IExHが含まれている。以後、設定レベルIE1〜IEnを総称して「設定レベルIE」と呼び、設定値IE1L〜IEnLを総称して「設定値IEL」と呼び、設定値IE1H〜IEnHを総称して「設定値IEH」と呼ぶ。
The
パラメータ制御部5は、設定レベルIE1〜IEnのいずれか一つを選択し、選択した設定レベルIEに含まれる設定値IEL,IEHを切り換えて照度調整パラメータに設定する。本実施の形態1では、パラメータ制御部5で使用される設定レベルIEが高くなる程、つまり第1レベルの設定レベルIE1から第nレベルの設定レベルIEnに向かうほど、照明部3での照度は高くなる。そして、各設定レベルIEにおいては、照度調整パラメータに設定値IEHが設定された場合の方が、設定値IELが設定された場合よりも照明部3での照度が高くなる。したがって、照明部3での照度は、照度調整パラメータに設定値IE1Lが設定された場合に最も低くなり、設定値IEnHが設定された場合に最も高くなる。
The
寿命判定部6は、照度調整パラメータに基づいて照明部3の寿命を判定する。この寿命判定方法について後で詳細に説明する。 The lifetime determination unit 6 determines the lifetime of the illumination unit 3 based on the illuminance adjustment parameter. This life determination method will be described in detail later.
次に、本実施の形態1に係る画像センサ装置100の照度調整方法について説明する。図3は本実施の形態1に係る照度調整方法を示すフローチャートである。図3に示されるように、まずステップs1において人検出処理が実行される。そして、ステップs2において、ステップs1での検出結果が判定され、その判定結果に応じてステップs1,s3,s5のいずれかの処理が実行される。
Next, an illuminance adjustment method of the
図4はステップs1での人検出処理を示すフローチャートである。図4に示されるように、まずステップs101において、パラメータ制御部5は、現在選択している設定レベルIEの設定値IEHを照度調整パラメータに設定する。そうすると、照度調整部4は、照度調整パラメータに設定された設定値IEHに応じた電流を照明部3を構成する赤外線LEDに流す。そして、ステップs102において、撮像部1は1枚の奇数フィールド画像を撮像する。
FIG. 4 is a flowchart showing the human detection process in step s1. As shown in FIG. 4, first in step s101, the
次にステップs103において、パラメータ制御部5は、今度は、現在選択している設定レベルIEの設定値IELを照度調整パラメータに設定する。そうすると、照度調整部4は、照度調整パラメータに設定された設定値IELに応じた電流を照明部3を構成する赤外線LEDに流す。そして、ステップs104において、撮像部1は1枚の偶数フィールド画像を撮像する。ステップs101,s103ではそれぞれ設定値IEH及び設定値IELが使用されているため、ステップs104では、ステップs102において奇数フィールド画像を撮像した際の照度よりも低い照度で偶数フィールド画像が撮像される。
Next, in step s103, the
その後、ステップs105において、連続して撮像された奇数フィールド画像と偶数フィールド画像との組がm(m≧2)組得られると、画像センシング部2は、ステップs106においてm枚の奇数フィールド画像を使用して人検出を行い、その後、ステップs107においてm枚の偶数フィールド画像を使用して人検出を行う。
After that, in step s105, when m (m ≧ 2) sets of odd-numbered field images and even-numbered field images captured in succession are obtained, the
なお、本実施の形態1に係るステップs1では1/60秒(約16.7ms)という非常に短い時間間隔で画像が撮像され、さらにステップs1は1秒間に数回の割合で繰り返して実行されるため、ステップs1において人検出に使用される複数枚の奇数フィールド画像と複数枚の偶数フィールド画像はほぼ同時に撮像したものと考えることができる。つまり、ステップs1においては、奇数フィールド画像を撮像する際の撮像状況と、偶数フィールド画像を撮像する際の撮像状況とは、ほとんど差がないものと考えることができる。したがって、照度が高い状況で撮像された奇数フィールド画像から人が検出されるとともに、照度が低い状況で撮像された偶数フィールド画像から人が検出された場合には、照明部3で照度は十分であると判定することができる。 In step s1 according to the first embodiment, images are taken at a very short time interval of 1/60 seconds (about 16.7 ms), and step s1 is repeatedly executed at a rate of several times per second. Therefore, it can be considered that the plurality of odd-numbered field images and the plurality of even-numbered field images used for human detection in step s1 are captured almost simultaneously. That is, in step s1, it can be considered that there is almost no difference between the imaging situation when the odd field image is captured and the imaging situation when the even field image is captured. Therefore, when a person is detected from an odd field image captured in a high illuminance situation and a person is detected from an even field image captured in a low illuminance situation, the illumination unit 3 has sufficient illuminance. It can be determined that there is.
一方で、照度が高い状況で撮像された奇数フィールド画像から人が検出され、照度が低い状況で撮像された偶数フィールド画像から人が検出されない場合には、照明部3で照度劣化が発生したと判定することができる。 On the other hand, if a person is detected from an odd field image captured in a high illuminance situation and no person is detected from an even field image captured in a low illuminance situation, the illumination unit 3 has experienced illuminance deterioration. Can be determined.
また、ステップs1では、奇数フィールド画像を撮像する際の撮像状況と、偶数フィールド画像を撮像する際の撮像状況とは、ほとんど差がないものと考えることができることから、ステップs1においては、照度が高い状況で撮像された奇数フィールド画像から人が検出されない場合に、照度が低い状況で撮像された偶数フィールド画像から人が検出されることは基本的には生じ得ないと考えることができる。よって、ステップs106で人が検出されず、ステップs107で人が検出されるような状況は誤検出と判定することができる。 Further, in step s1, it can be considered that there is almost no difference between the imaging situation when imaging an odd-numbered field image and the imaging situation when imaging an even-numbered field image. When a person is not detected from an odd-numbered field image captured in a high situation, it can be considered that basically no person can be detected from an even-numbered field image captured in a low-illuminance situation. Therefore, a situation where no person is detected in step s106 and a person is detected in step s107 can be determined as a false detection.
以後、ステップs106,s107でともに人が検出された場合を「○○」、ステップs106で人が検出されステップs107で人が検出されなかった場合を「○×」、ステップs106,s107でともに人が検出されなかった場合を「××」、ステップs106で人が検出されず、ステップs107で人が検出された場合を「×○」でそれぞれ表現する。 Thereafter, “○○” indicates that a person is detected in both steps s106 and s107, “○ ×” indicates that a person is detected in step s106 and no person is detected in step s107, and both persons are detected in steps s106 and s107. The case where no person is detected is represented by “xx”, the case where no person is detected in step s106, and the case where a person is detected in step s107 is represented by “xx”.
画像センシング部2は、ステップs106,s107での検出結果が「○○」あるいは「○×」の場合には、通信ネットワーク等を介して、人を検出した旨を警備会社等に通知する。
When the detection result in steps s106 and s107 is “XX” or “XX”, the
図3を参照して、ステップs1が実行されると、ステップs2において、パラメータ制御部5はステップs1での人検出結果を判定する。ステップs1での検出結果が「○○」の場合にはステップs3が実行され、「○×」の場合にはステップs5が実行され、「××」の場合にはステップs1が再度実行される。
Referring to FIG. 3, when step s1 is executed, in step s2,
ステップs3では、パラメータ制御部5は、直近のステップs1での検出結果を含めてステップs1での検出結果が所定回数連続して「○○」となったかどうかを判定する。パラメータ制御部5は、所定回数連続して「○○」となっていれば、現在の照明部3での照度が十分であると判定し、現在の設定レベルIEよりも1段階下の設定レベルIEを新たに選択する。そして、ステップs1が再度実行される。このステップs1では、新たに選択された設定レベルIEに含まれる設定値IEL,IEHが使用されて人検出が行われる。図5はステップs1〜s4が実行される様子を示す図である。図5に示されるように、ステップs1での検出結果が複数回連続して「○○」となると、設定レベルIEが1段階低下し、その後は、レベルダウン後の設定レベルIEの設定値IEL,IEHが使用されて人検出が行われる。
In step s3, the
一方で、ステップs3において所定回数連続して「○○」となっていないと判定されると、パラメータ制御部5は、使用する設定レベルIEを変更せずに、その後、ステップs1が再び実行される。
On the other hand, if it is determined in step s3 that the predetermined number of times has not been “◯◯”, the
ステップs5では、パラメータ制御部5は、直近のステップs1での検出結果を含めてステップs1での検出結果が所定回数連続して「○×」となっているか否かを判定する。パラメータ制御部5は、所定回数連続して「○×」となっていれば、照明部3で照度劣化が生じて照度が不十分となっていると判断し、現在選択している設定レベルIEよりも1段階上の設定レベルIEを新たに選択する。そして、ステップs1が再度実行される。このステップs1では、新たに選択された設定レベルIEに含まれる設定値IEL,IEHが使用されて人検出が行われる。図6はステップs1,s2,s5,s6が実行される様子を示す図である。図6に示されるように、ステップs1での検出結果が「××」から「○○」となり、その後、複数回連続して「○×」となると、使用する設定レベルIEが1段階増加し、その後は、レベルアップ後の設定レベルIEの設定値IEL,IEHが使用されて人検出が行われる。
In step s5, the
一方で、ステップs5において所定回数連続して「○×」となっていないと判定されると、パラメータ制御部5は、使用する設定レベルIEを変更せず、その後、ステップs1が再び実行される。
On the other hand, if it is determined in step s5 that the predetermined number of times is not “Ox” continuously, the
ステップs2において、パラメータ制御部5は、ステップs1での検出結果が「××」であると判定すると、撮像部1での撮像範囲には人が存在しないと判断し、ステップs1が再度実行される。またステップs2において、パラメータ制御部5は、ステップs1での検出結果が「×○」であると判定すると、画像センシング部2で人が誤検出されたと判断し、ステップs1が再度実行される。
In step s2, when the
また、本実施の形態1に係る照明部3は夜間における補助照明手段として使用されるため、当該照明部3は常時点灯しているわけではない。したがって、上述のステップs1〜s6の処理は、撮像環境の照度が低下し照明部3を点灯させるときに実行される。本画像センサ装置1では、撮像環境の照度を検出する図示しない照度センサが設けられており、当該照度センサでの照度検出結果はパラメータ制御部5に通知される。パラメータ制御部5は、照度センサから受け取った照度検出結果に基づいて照度調整パラメータを制御し、撮像環境の照度が十分高い場合には照明部3を非点灯とし、当該照度が低下した場合には照明部3を点灯させる。
Moreover, since the illumination part 3 which concerns on this
寿命判定部6は、照度調整パラメータの値が照明部3での照度を高める値になる程、照明部3の寿命を短く判定する。例えば、照度調整パラメータに最もレベルの低い設定レベルIE1やそれよりも1段階上の設定レベルIE2の設定値IEL,IEHが設定されている場合には、照明部3にはほとんど照度劣化が生じていないと判断し、照明部3の寿命が尽きるのはまだまだ先であると判定する。一方で、照度調整パラメータに、最もレベルの高い設定レベルIEnやそれよりも1段階下の設定レベルIE(n−1)の設定値IEL,IEHが設定されている場合には、照明部3に発生している照度劣化の度合いが非常に大きいと判断し、照明部3の寿命が尽きたと判定する。 The lifetime determination unit 6 determines that the lifetime of the illumination unit 3 is shorter as the value of the illuminance adjustment parameter becomes a value that increases the illuminance at the illumination unit 3. For example, when the setting value IE1 having the lowest level or the setting values IE2 and IEH of the setting level IE2 that is one level higher than the setting level IE1 is set in the illuminance adjustment parameter, the illumination unit 3 is almost completely deteriorated in illuminance. It is determined that it is not, and it is determined that the life of the illumination unit 3 will be exhausted. On the other hand, if the illuminance adjustment parameter is set to the setting level IEn having the highest level or the setting values IEL and IEH of the setting level IE (n−1) one level lower than the setting level IEn, It is determined that the degree of illuminance deterioration that has occurred is very large, and it is determined that the life of the illumination unit 3 has expired.
上述のように、照度調整パラメータは、照明部3での照度が十分である場合には照明部3の照度が低下する方向に制御され、また、照明部3で照度劣化が発生した場合には照明部3の照度が高くなる方向に制御されるため、照度調整パラメータの値が照明部3での照度を高める値になる程、照明部3での照度劣化の度合いが大きいと判断することができる。よって、照度調整パラメータの値が照明部3での照度を高める値になる程、照明部3の寿命を短く判定することによって、照明部3の交換時期を適切に把握することができる。 As described above, the illuminance adjustment parameter is controlled in a direction in which the illuminance of the illuminating unit 3 decreases when the illuminance at the illuminating unit 3 is sufficient, and when the illuminance deterioration occurs in the illuminating unit 3 Since the illuminance of the illuminating unit 3 is controlled in the direction of increasing, it can be determined that the degree of illuminance deterioration in the illuminating unit 3 increases as the illuminance adjustment parameter value increases the illuminance in the illuminating unit 3. it can. Therefore, the replacement time of the illumination unit 3 can be appropriately grasped by determining the lifetime of the illumination unit 3 to be shorter as the value of the illuminance adjustment parameter becomes a value that increases the illuminance at the illumination unit 3.
本実施の形態1に係る寿命判定部6は、ステップs1において最大レベルの設定レベルIEnあるいはそれよりも1段階下の設定レベルIE(n−1)が使用されることが、複数回連続して発生した場合には、照明部3の交換時期であると判断し、その旨を本画像センサ装置100に設けられた図示しない表示部に表示させる。これにより、ユーザに対して照明部3の適切な交換時期を通知することができる。
In the life determination unit 6 according to the first embodiment, the maximum set level IEn or the set level IE (n−1) one level lower than that is used in step s1 continuously several times. If it occurs, it is determined that it is time to replace the illumination unit 3, and that effect is displayed on a display unit (not shown) provided in the
以上のように、本実施の形態1に係る画像センサ装置100では、画像センシング部2検出対象物が検出されると、照明部3での照度が低下する方向に照度調整パラメータが設定されるため、照明部で3の照度を必要以上に高くすることなく検出対象物を検出することができる。したがって、検出対象物を検出しつつ、照明部の寿命を長くすることができる。特に、赤外線LEDは照度劣化が生じやすいことから、本実施の形態1のように照明部3に赤外線LEDを使用する場合には非常に有効である。
As described above, in the
また、本実施の形態1では、ステップs106,s107での検出結果、つまり、同一の設定レベルIEに含まれる設定値IEL,IEHをそれぞれ照度調整パラメータに設定して照明部3の照度を調整した際の画像センシング部2での一対の検出結果が、ともに検出対象物の検出を示すときには、当該同一の設定レベルIEよりも低いレベルの設定レベルIEから、照度調整パラメータに設定する調整値IEL,IEHを選択している。ステップs106,s107での検出結果が、ともに検出対象物の検出を示すときには、照明部3での照度が十分であると判定することができることから、より低いレベルの設定レベルIEから、照度調整パラメータに設定する調整値IEL,IEHを選択することによって、照明部3での照度を必要以上に高くすることなく検出対象物を確実に検出することができる。
In the first embodiment, the detection results in steps s106 and s107, that is, the setting values IEL and IEH included in the same setting level IE are set as the illuminance adjustment parameters, respectively, and the illuminance of the illumination unit 3 is adjusted. When the pair of detection results at the
さらに、ステップs106,s107での検出結果に関して、ステップs106での検出結果、つまり設定値IEHを照度調整パラメータに設定して照度を調整した際の検出結果が検出対象物の検出を示し、ステップs107での検出結果、つまり設定値IELを照度調整パラメータに設定して照度を調整した際の検出結果が検出対象物の未検出を示すときには、より高いレベルの設定レベルIEから、照度調整パラメータに設定する設定値IEL,IEHを選択している。ステップs106での検出結果が検出対象物の検出を示し、ステップs107での検出結果が検出対象物の未検出を示すときには、照明部3で照度劣化が生じていると判定することができることから、より高いレベルの設定レベルIEから、照度調整パラメータに設定する設定値IEL,IEHを選択することによって、照度劣化に応じて照明部3の照度を高くすることができる。よって、照度劣化に応じて照明部3での照度を適切に調整することができる。 Further, regarding the detection results in steps s106 and s107, the detection result in step s106, that is, the detection result when the set value IEH is set as the illuminance adjustment parameter and the illuminance is adjusted indicates the detection of the detection object. When the detection result when the detection result when adjusting the illuminance by setting the set value IEL as the illuminance adjustment parameter indicates that the detection target is not detected, the illuminance adjustment parameter is set from the higher setting level IE. The set values IEL and IEH to be selected are selected. When the detection result in step s106 indicates detection of the detection target and the detection result in step s107 indicates that the detection target is not detected, it can be determined that the illumination unit 3 has deteriorated illuminance. By selecting the setting values IEL and IEH to be set in the illuminance adjustment parameter from the higher setting level IE, the illuminance of the illuminating unit 3 can be increased according to the illuminance deterioration. Therefore, it is possible to appropriately adjust the illuminance at the illumination unit 3 according to the illuminance deterioration.
また、本実施の形態1では、照明部3での照度を必要以上に高くすることなく画像センシング部2で検出対象物を検出できるように制御される照度調整パラメータの値が、照明部3での照度を高める値になる程、照明部3の寿命を短く判定するため、照明部3の交換時期を適切に把握することができる。
Moreover, in this
なお、本実施の形態1では、複数段階の設定レベルIE1〜IEnにおいて、互いに隣り合うレベルの設定レベルIEは全く重なっていなかったが、部分的に重なっていても良い。図7は、この場合の照度調整パラメータの設定範囲を示す図である。図7に示されるように、設定レベルIE2〜IEnのそれぞれにおいては、その設定値IELを照度調整パラメータに設定した際の照度が、それよりも1段階レベルの低い設定レベルIEの設定値IELを照度調整パラメータに設定した際の照度よりも高くなっている。さらに、設定レベルIE2〜IEnのそれぞれにおいては、その設定値IEHを照度調整パラメータに設定した際の照度が、それよりも1段階レベルの低い設定レベルIEの設定値IEHを照度調整パラメータに設定した際の照度よりも高くなっている。そして、設定レベルIE2〜IEnのそれぞれにおいては、その設定値IELを照度調整パラメータに設定した際の照度が、それよりも1段階レベルの低い設定レベルIEの設定値IEHを照度調整パラメータに設定した際の照度よりも低くなっている。 In the first embodiment, among the plurality of setting levels IE1 to IEn, the adjacent setting levels IE do not overlap at all, but may partially overlap. FIG. 7 is a diagram showing the setting range of the illuminance adjustment parameter in this case. As shown in FIG. 7, in each of the setting levels IE2 to IEn, the illuminance when the setting value IEL is set as the illuminance adjustment parameter is the setting value IEL of the setting level IE that is one level lower than that. It is higher than the illuminance when the illuminance adjustment parameter is set. Further, in each of the setting levels IE2 to IEn, the illuminance when the setting value IEH is set as the illuminance adjustment parameter is set to the illuminance adjustment parameter at the setting level IE whose setting level IE is lower by one level. It is higher than the illuminance. In each of the setting levels IE2 to IEn, the illuminance when the setting value IEL is set as the illuminance adjustment parameter is set to the illuminance adjustment parameter at the setting level IE which is lower than the setting level IE. It is lower than the illuminance.
このように、互いに隣り合う2つのレベルの設定レベルIEx,IE(x+1)において、レベルの低い方の設定レベルIExの設定値IExHが、レベルの高い方の設定レベルIE(x+1)の設定値IE(x+1)Lよりも、それを使用した場合に照明部3での照度が高くなるように設定されることによって、照明部3での照度劣化をより精度良く検出することができる。以下にこの効果について図8,9を参照して説明する。 As described above, the setting value IExH of the setting level IEx having the lower level is the setting value IE of the setting level IE (x + 1) having the higher level among the setting levels IEx and IE (x + 1) of the two levels adjacent to each other. By setting the illuminance at the illumination unit 3 to be higher when it is used than (x + 1) L, it is possible to detect the illuminance deterioration at the illumination unit 3 with higher accuracy. This effect will be described below with reference to FIGS.
図8に示されるように、互いに隣り合うレベルの設定レベルIEx,IE(x+1)がオーバーラップしていない場合には、照明部3で照度劣化が生じることによって、画像センシング部2において人を検出することができる最低照度DIEが、例えば、設定レベルIE2の設定値IE2Hを使用した場合の照度よりも若干下回った際には、設定レベルIE3の設定値IE3L,IE3Hを使用した場合のステップs1での検出結果は、撮像部1の撮像範囲に人が存在するときであっても「××」となり、パラメータ制御部5は人が不在であると誤って判断し、照明部3での照度劣化を検出することができない。
As shown in FIG. 8, when the setting levels IEx, IE (x + 1) adjacent to each other do not overlap, illuminance deterioration occurs in the illumination unit 3, thereby detecting a person in the
一方で、図9に示されるように、互いに隣り合うレベルの設定レベルIEx,IE(x+1)が部分的にオーバーラップしている場合には、設定レベルIE3の設定値IE3L,IE3Hを使用した際のステップs1での検出結果は「○×」となり、パラメータ制御部5は照明部3での照度劣化を検出することができる。
On the other hand, as shown in FIG. 9, when the setting levels IEx and IE (x + 1) adjacent to each other partially overlap, the setting values IE3L and IE3H of the setting level IE3 are used. The detection result in step s1 is “◯ ×”, and the
なお、隣接する2つの設定レベルIEにおいて、レベルが低い方の設定レベルIEにおける設定値IEHを使用した場合の照度が、レベルが高い方の設定レベルIEにおける設定値IELを使用した場合の照度と同じになるように当該設定値IEH及び設定値IELを設定しても同様の効果が得られる。 In two adjacent setting levels IE, the illuminance when the setting value IEH at the lower setting level IE is used is the illuminance when the setting value IEL at the higher setting level IE is used. Even if the set value IEH and the set value IEL are set to be the same, the same effect can be obtained.
このように、設定レベルIE2〜IEnのそれぞれにおいて、当該設定レベルの設定値IELを照度調整パラメータに設定した際の照度が、それよりも1段階レベルの低い設定レベルIEの設定値IEHを照度調整パラメータに設定した際の照度以下となっているため、照度劣化をより高精度に検出することができる。よって、照度劣化に応じてより適切に照明部3での照度を調整することができる。 Thus, in each of the setting levels IE2 to IEn, the illuminance when the setting value IEL of the setting level is set as the illuminance adjustment parameter is the illuminance adjustment of the setting value IEH of the setting level IE that is one level lower than that. Since it is below the illuminance at the time of setting as a parameter, it is possible to detect illuminance deterioration with higher accuracy. Therefore, the illuminance at the illumination unit 3 can be adjusted more appropriately according to the illuminance deterioration.
実施の形態2.
図10は本発明の実施の形態2に係る画像センサ装置100の照度調整方法を示すフローチャートである。本実施の形態2に係る画像センサ装置100の構成は図1に示される構成と同様であって、上述の実施の形態1に係る画像センサ装置100とは、照明部3に対する照度調整方法と照明部3の交換時期の判定方法とが異なる。本実施の形態2に係る照度調整方法では、画像センシング部2において人が検出可能な最低レベルの設定レベルIEを取得し、当該最低レベルの設定レベルIEに応じて運用に最適な設定レベルIEを決定する。
FIG. 10 is a flowchart showing the illuminance adjustment method of the
図10に示されるように、まずステップs11において、上述の図4で示された人検出処理が実行される。そして、ステップs12において、パラメータ制御部5は、ステップs11の人検出処理が所定回数実行されたか否かを判定する。パラメータ制御部5は、ステップs11が所定回数実行されたと判定すると、ステップs13において直近のステップs11での人検出結果を判定する。ステップs11での検出結果が「○○」の場合にはステップs14が実行され、それ以外の場合にはステップs26において、ステップs11の人検出処理が実行された回数をカウントするカウンタがリセットされ、その後ステップs11が再度実行される。当該カウンタはパラメータ制御部5が有しており、パラメータ制御部5によってリセットされる。一方で、ステップs12において、パラメータ制御部5がステップs11が所定回数実行されていないと判定すると、ステップs11が再度実行される。
As shown in FIG. 10, first, in step s11, the human detection process shown in FIG. 4 is executed. In step s12, the
ステップs14では、パラメータ制御部5は、複数段階の設定レベルIE1〜IEnのうち最大レベルの設定レベルIEnを選択する。そして、ステップs15において、上述の図4で示された人検出処理が実行される。このステップs15では、ステップs14で選択された設定レベルIEnの設定値IEnL,IEnHが使用される。
In step s14, the
次にステップs16において、パラメータ制御部5はステップs15での人検出結果を判定する。ステップs15での検出結果が「○○」の場合にはステップs17が実行され、「○×」の場合にはステップs18が実行され、「××」の場合にはステップs20が実行される。また、「×○」の場合には、上述のステップs26が実行され、その後ステップs11が再び実行される。
Next, in step s16, the
ステップs17では、パラメータ制御部5は、現在の設定レベルIEより1段階下の設定レベルIEを新たに選択する。そして、ステップs15が再度実行され、当該ステップs15では、新たに選択された設定レベルIEに含まれる設定値IEL,IEHが使用されて人検出が行われる。
In step s17, the
ステップs18では、パラメータ制御部5は、現在選択している設定レベルIEよりも1段階上の設定レベルIEを、画像センシング部2において人が検出可能な最低レベルの設定レベルIE(以後、「検出最低設定レベルIEMIN」と呼ぶ)として記憶する。そして、ステップs19において、ステップs18で取得した検出最低設定レベルIEMINに応じて最適な設定レベルIE(以後、「最適設定レベルIEAV」と呼ぶ)を決定する。本実施の形態1では、検出最低設定レベルIEMINよりも1段階上の設定レベルIEを最適設定レベルIEAVとする。そして、パラメータ制御部5は、最適設定レベルIEAVを、以後の人検出処理で使用する設定レベルIEとして選択し、その後、ステップs26が実行されてステップs11が再び実行される。なお、検出最低設定レベルIEMINと同じレベルの設定レベルIEを最適設定レベルIEAVとしても良いし、検出最低設定レベルIEMINよりも2段階上の設定レベルIEを最適設定レベルIEAVとしても良い。
In step s18, the
図11はステップs15〜s17が繰り返して実行され、その後ステップs18,s19が実行される様子を示す図である。所定回数ステップs11の人検出処理が実行され、その後のステップs13において直近のステップs11での検出結果が「○○」であると判定されると、図11に示されるように、最大レベルの設定レベルIEnが人検出処理に使用される。その後、使用される設定レベルIEが1段階ずつレベルダウンし、ステップs15での検出結果が「○×」になると、そのとき選択されている設定レベルIEよりも1段階上の設定レベルIEが検出最低設定レベルIEMINとして記憶される。つまり、この場合には、設定値IEL,IEHを使用して照度を調整した際の人検出結果がともに検出状態(「○○」)を示す設定レベルIEのうち最低のレベルの設定レベルIEが検出最低設定レベルIEMINとして記憶される。その後、最適設定レベルIEAVとして、検出最低設定レベルIEMINよりも1段階高い設定レベルIEが新たに選択され、以後、当該新たに選択された設定レベルIEの設定値IEL,IEHが使用されてステップs11の人検出処理が実行される。 FIG. 11 is a diagram showing how steps s15 to s17 are repeatedly executed, and thereafter steps s18 and s19 are executed. When the human detection process of step s11 is executed a predetermined number of times, and it is determined in step s13 that the detection result in the latest step s11 is “XX”, the maximum level is set as shown in FIG. Level IEn is used for the human detection process. Thereafter, the setting level IE to be used is lowered by one step, and when the detection result in step s15 becomes “Ox”, the setting level IE that is one step higher than the setting level IE selected at that time is detected. It is stored as the lowest setting level IEMIN. That is, in this case, the setting level IE of the lowest level among the setting levels IE in which the human detection results when the illuminance is adjusted using the setting values IEL and IEH indicates the detection state (“◯◯”) is It is stored as the lowest detection setting level IEMIN. Thereafter, a setting level IE that is one step higher than the lowest detection setting level IEMIN is newly selected as the optimum setting level IEAV, and thereafter, the setting values IEL and IEH of the newly selected setting level IE are used and step s11. The human detection process is executed.
なお、ステップs18において、現在選択している設定レベルIEが最大レベルの設定レベルIEnであって、現在の設定レベルIEよりも1段階上の設定レベルIEが存在しない場合には、その最大レベルの設定レベルIEnが検出最低設定レベルIEMINとして記憶される。また、ステップs19において、検出最低設定レベルIEMINよりも1段階上の設定レベルIEが存在しない場合には、設定レベルIEnが最適設定レベルIEAVとして決定される。 In step s18, if the currently selected setting level IE is the maximum setting level IEn and there is no setting level IE that is one step higher than the current setting level IE, the maximum level is set. The setting level IEn is stored as the lowest detection setting level IEMIN. In step s19, when there is no setting level IE that is one step higher than the lowest detection setting level IEMIN, the setting level IEn is determined as the optimum setting level IEAV.
ステップs16において、ステップs15での検出結果が「××」と判定されると、ステップs20において、パラメータ制御部5は、現在の設定レベルIEよりも1段階上の設定レベルIEを新たに選択する。そして、ステップs21において、上述の図4に示される人検出処理が実行される。なお、ステップs20が実行される直前において選択されている設定レベルIEが設定レベルIEnである場合には、ステップs20において設定レベルIEのレベルアップを行うことができないことから、後述のステップs21〜s25はスキップされてステップs26が実行され、その後ステップs11が実行される。
If it is determined in step s16 that the detection result in step s15 is “xx”, in step s20, the
次にステップs22において、パラメータ制御部5はステップs21での人検出結果を判定する。ステップs21での検出結果が「○○」の場合にはステップs23が実行され、それ以外の場合にはステップs25が実行される。
Next, in step s22, the
ステップs23では、パラメータ制御部5は、現在選択している設定レベルIEを検出最低設定レベルIEMINとして記憶し、ステップs24において、ステップs23で取得した検出最低設定レベルIEMINに応じて最適設定レベルIEAVを決定する。ステップs24では、ステップs19と同様に、例えば、検出最低設定レベルIEMINよりも1段階上の設定レベルIEを最適設定レベルIEAVとする。そして、パラメータ制御部5は、最適設定レベルIEAVを、以後の人検出処理で使用する設定レベルIEとして選択し、その後、ステップs26が実行されてステップs11が再度実行される。なお、ステップs24において、検出最低設定レベルIEMINよりも1段階上の設定レベルIEが存在しない場合には、設定レベルIEnが最適設定レベルIEAVとして決定される。
In step s23, the
一方で、ステップs22において、ステップs21での検出結果が「××」,「○×」,「×○」のいずれかであると判定されると、ステップs25において、パラメータ制御部5は、使用する設定レベルIEを、ステップs20が実行される直前のレベルに戻し、つまり1段階低下させて、その後、ステップs26実行されてステップs11が再度実行される。
On the other hand, if it is determined in step s22 that the detection result in step s21 is any one of “XX”, “Ox”, and “XO”, in step s25, the
図12はステップs15〜s17が繰り返して実行され、その後ステップs20〜s24が実行される様子を示す図である。所定回数ステップs11の人検出処理が実行され、その後のステップs13においてステップs11での検出結果が「○○」であると判定されると、図12に示されるように、最大レベルの設定レベルIEnが人検出処理で使用される。その後、使用される設定レベルIEが1段階ずつレベルダウンし、ステップs15での検出結果が「××」になると、使用される設定レベルIEが1段階上がる。そして、ステップs22においてステップs21での検出結果が「○○」となると、現在選択されている設定レベルIEが検出最低設定レベルIEMINとして記憶される。その後、最適設定レベルIEAVとして、検出最低設定レベルIEMINよりも1段階上の設定レベルIEが新たに選択され、以後、当該新たに選択された設定レベルIEの設定値IEL,IEHが使用されてステップs11の人検出処理が実行される。 FIG. 12 is a diagram illustrating a state in which steps s15 to s17 are repeatedly executed, and thereafter steps s20 to s24 are executed. When the human detection process of step s11 is executed a predetermined number of times, and it is determined in step s13 that the detection result in step s11 is “◯◯”, the maximum set level IEn as shown in FIG. Is used in the human detection process. Thereafter, the setting level IE to be used is lowered one step at a time, and when the detection result in step s15 becomes “XX”, the setting level IE to be used is increased by one step. In step s22, when the detection result in step s21 is “◯◯”, the currently selected setting level IE is stored as the lowest detection setting level IEMIN. Thereafter, a setting level IE that is one step higher than the lowest detection setting level IEMIN is newly selected as the optimum setting level IEAV, and thereafter, the setting values IEL and IEH of the newly selected setting level IE are used and stepped. The human detection process of s11 is executed.
図13はステップs15〜s17が繰り返して実行され、その後ステップs20〜s22,s25が実行される様子を示す図である。図13に示されるように、ステップs14において最大レベルの設定レベルIEnが選択されると、その後は、使用される設定レベルIEが1段階ずつレベルダウンし、ステップs15での検出結果が「××」になると、使用される設定レベルIEが1段階上がる。そして、ステップs22においてステップs21での検出結果が「××」となると、使用される設定レベルIEがステップs20で1段階レベルアップする前のレベルにまで戻されて、その後、ステップs11の人検出処理が実行される。 FIG. 13 is a diagram showing how steps s15 to s17 are repeatedly executed, and thereafter steps s20 to s22 and s25 are executed. As shown in FIG. 13, when the maximum setting level IEn is selected in step s14, thereafter, the setting level IE to be used is lowered step by step, and the detection result in step s15 is “xxx”. ", The setting level IE to be used is increased by one level. When the detection result at step s21 is “XX” at step s22, the setting level IE to be used is returned to the level before the level is increased by one step at step s20, and then the human detection at step s11 is performed. Processing is executed.
なお、本実施の形態2では、ステップs11,s15,s21での人検出処理は、どのような順番で実行される場合であっても、常に1秒間に数回の割合で実行される。例えば、ステップs11〜s15までが連続的に実行される場合においてステップs11の実行開始からステップs15の実行開始までの時間間隔は200ms以下に設定されており、複数回繰り返して実行されるステップs15の実行時間間隔も200ms以下に設定されている。 In the second embodiment, the human detection process in steps s11, s15, and s21 is always executed at a rate of several times per second regardless of the order. For example, when steps s11 to s15 are executed continuously, the time interval from the start of execution of step s11 to the start of execution of step s15 is set to 200 ms or less, and step s15 executed repeatedly a plurality of times. The execution time interval is also set to 200 ms or less.
ここで、ステップs15での検出結果が「××」の場合には、基本的には、撮像部1の撮像範囲には人が不在であると判断することができる。したがって、この場合には、検出結果が「××」となった設定レベルIE以下のレベルの設定レベルIEを使用した場合であっても、撮像範囲に人が存在していれば画像センシング部2で人の検出を行える可能性がある。よって、ステップs15での検出結果だけでは検出最低設定レベルIEMINを特定することができない。
Here, when the detection result in step s15 is “xx”, it can be basically determined that no person is present in the imaging range of the
しかしながら、上述の図8を参照して説明したように、本来は「○×」となるところが最低照度DIEの値によっては「××」となる場合があり、また画像センシング部2での検出誤差も考えられることから、ステップs15での検出結果が「××」の場合であっても、検出結果が「××」となった設定レベルIEよりも1段階上の設定レベルIEが検出最低設定レベルIEMINとなる場合ある。
However, as described with reference to FIG. 8 described above, the place where “Ox” is originally “x” may become “xx” depending on the value of the minimum illuminance DIE, and the detection error in the
そこで、上述のように、ステップs15での検出結果が「××」の場合には、現在の設定レベルIEよりも1段階上の設定レベルIEを新たに選択し、当該設定レベルIEを用いて人検出処理を実行する。そして、1段階上の設定レベルIEを使用した場合であっても人検出結果が「××」となる場合には、ステップs15〜s17が繰り返し実行されている間に人が撮像部1の撮像範囲外に移動したものと判断し、使用する設定レベルIEをステップs20を実行する直前のレベルにまで戻す。
Therefore, as described above, when the detection result in step s15 is “xx”, a setting level IE that is one step higher than the current setting level IE is newly selected, and the setting level IE is used. Perform human detection processing. If the person detection result is “XX” even when the setting level IE of one level is used, the person picks up the image of the
一方で、1段階上の設定レベルIEを使用した場合に「○○」となる場合には、撮像範囲には依然として人が存在するものと判断し、当該1段階上の設定レベルIEを検出最低設定レベルIEMINとして記憶し、記憶した検出最低設定レベルIEMINに応じて最適設定レベルIEAVを決定する。 On the other hand, when the setting level IE of one step is used and “XX” is obtained, it is determined that there is still a person in the imaging range, and the setting level IE of the one step is detected at the lowest level. The optimum setting level IEAV is determined according to the stored minimum detection setting level IEMIN.
なお、ステップs21が実行される場合には、図12,13に示されるように、直近のステップs15(検出結果が「××」となっているもの)よりも1回前に実行されたステップs15において、ステップs21と同じレベルの設定レベルIEが使用されて人検出が行われ、その結果が「○○」となっていることと、人検出処理の実行間隔が200msと非常に短い間隔に設定されていることから、ステップs21での検出結果が「○×」となることはないものと考えることができる。よって、ステップs22においてステップs21での検出結果が「○×」と判断された場合には「×○」と同様に誤検出として取り扱い、ステップs25を実行して設定レベルIEを元に戻すことにしている。 When step s21 is executed, as shown in FIGS. 12 and 13, the step executed one time before the most recent step s15 (the detection result is “XX”). In s15, the setting level IE of the same level as in step s21 is used to detect a person, and the result is “XX”, and the execution interval of the person detection process is as short as 200 ms. Since it is set, it can be considered that the detection result in step s21 does not become “Ox”. Therefore, if the detection result in step s21 is determined to be “◯ ×” in step s22, it is treated as a false detection in the same manner as “× ◯”, and step s25 is executed to restore the setting level IE. ing.
また、上述の実施の形態1と同様に、照明部3は夜間での補助照明手段として使用されるため、上述のステップs11〜s26の処理は、撮像環境の照度が低下し照明部3を点灯させる際に実行される。
Moreover, since the illumination part 3 is used as an auxiliary illumination means at night like the above-mentioned
また、本実施の形態2に係る寿命判定部6は、最大レベルの設定レベルIEn及びそれよりも1段階下の設定レベルIE(n−1)のどちらか一方が複数回連続して検出最低設定レベルIEMINとしてパラメータ制御部5で記憶された場合には、照明部3の交換時期であると判定し、その旨を本画像センサ装置100に設けられた図示しない表示部に表示させる。
In addition, the lifetime determination unit 6 according to the second embodiment is configured to detect and set the minimum setting level IEn and the setting level IE (n−1) one level lower than the maximum setting level IEn continuously multiple times. When the
以上のように、本実施の形態2に係る画像センサ装置100では、同一の設定レベルIEに含まれる設定値IEL,IEHを照度調整パラメータに設定して照度を調整した際にともに画像センシング部2において検出対象物が検出可能な設定レベルIEのうち、最もレベルの低い設定レベルIEを特定し、それを検出最低設定レベルIEMINとしている。そして、この検出最低設定レベルIEMINのレベル以上の設定レベルIEから、照度調整パラメータに設定する設定値IEL,IEHを選択している。したがって、照明部3の照度を必要以上に高くすることなく検出対象物を検出できる。よって、検出対象物を検出しつつ、照明部3の寿命を長くすることができる。
As described above, in the
実施の形態3.
図14は本発明の実施の形態3に係る画像センサ装置100の照度調整方法を示すフローチャートである。本実施の形態3に係る画像センサ装置100の構成は図1に示される構成と同様であって、上述の実施の形態2に係る画像センサ装置100とは最適設定レベルIEAVの決定方法が異なる。上述の実施の形態2では、取得した検出最低設定レベルIEMINと同じかそれよりも高いレベルの設定レベルIEを最適設定レベルIEAVとしていたが、本実施の形態3では、検出最低設定レベルIEMINの統計データを作成し、当該統計データに基づいて最適設定レベルIEAVを決定する。
Embodiment 3 FIG.
FIG. 14 is a flowchart showing the illuminance adjustment method of the
図14に示されるように、まずステップs31において、上述の図4で示された人検出処理が実行される。そして、ステップs32において、パラメータ制御部5は、ステップs31での人検出結果を判定する。ステップs31での検出結果が「○○」の場合にはステップs33が実行され、それ以外の場合にはステップs31が再度実行される。
As shown in FIG. 14, first, in step s31, the person detection process shown in FIG. 4 is executed. In step s32, the
ステップs33では、検出最低設定レベル取得処理が実行される。図15は検出最低設定レベル取得処理を示すフローチャートである。図15に示されるように、まずステップs41において、パラメータ制御部5は、上述のステップs14と同様に、複数段階の設定レベルIE1〜IEnのうち最大レベルの設定レベルIEnを選択する。そして、ステップs42において、上述の図4で示された人検出処理が実行される。このステップs42では、ステップs41で選択された設定レベルIEnの設定値IEnL,IEnHが使用される。
In step s33, a detection minimum setting level acquisition process is executed. FIG. 15 is a flowchart showing a minimum detection setting level acquisition process. As shown in FIG. 15, first, in step s41, the
次にステップs43において、パラメータ制御部5はステップs42での人検出結果を判定する。ステップs42での検出結果が「○○」の場合にはステップs44が実行され、「○×」の場合にはステップs45が実行され、「××」の場合にはステップs46が実行され、「×○」の場合には検出最低設定レベル取得処理が終了する。
Next, in step s43, the
ステップs44では、パラメータ制御部5は、現在の設定レベルIEよりも1段階下の設定レベルIEを新たに選択する。そして、ステップs42が再度実行され、当該ステップs42では、新たに選択された設定レベルIEに含まれる設定値IEL,IEHが使用されて人検出が行われる。
In step s44, the
ステップs45では、パラメータ制御部5は、上述のステップs18と同様に、現在選択している設定レベルIEよりも1段階上の設定レベルIEを検出最低設定レベルIEMINとして記憶し、検出最低設定レベル取得処理が終了する。
In step s45, the
ステップs43において、ステップs42での検出結果が「××」と判定されると、ステップs46において、パラメータ制御部5は、現在の設定レベルIEよりも1段階上の設定レベルIEを新たに選択する。そして、ステップs47において、上述の図4に示される人検出処理が実行される。なお、ステップs46が実行される直前において選択されている設定レベルIEが最大レベルの設定レベルIEnである場合には、ステップs46において設定レベルIEのレベルアップを行うことができないことから、この場合には、検出最低設定レベル取得処理が終了する。
If it is determined in step s43 that the detection result in step s42 is “xx”, in step s46, the
次にステップs48において、パラメータ制御部5はステップs47での人検出結果を判定する。ステップs47での検出結果が「○○」の場合にはステップs49が実行され、それ以外の場合にはステップs50が実行される。
Next, in step s48, the
ステップs49では、パラメータ制御部5は、上述のステップs23と同様に、現在選択されている設定レベルIEを検出最低設定レベルIEMINとして記憶し、検出最低設定レベル取得処理が終了する。
In step s49, as in step s23 described above, the
一方で、ステップs47においてステップs48での検出結果が「××」,「○×」,「×○」のいずれかであると判定されると、ステップs50において、パラメータ制御部5は、使用する設定レベルIEを、ステップs46が実行される直前のレベルに戻し、検出最低設定レベル取得処理が終了する。
On the other hand, if it is determined in step s47 that the detection result in step s48 is any one of “xxx”, “◯◯”, and “× ◯”, the
なお、後述の説明から明らかなように、検出最低設定レベルIEMINの記憶は複数回行われることがある。パラメータ制御部5は、ステップs45,s49を実行するたびに、検出最低設定レベルIEMINとして記憶する設定レベルIEのレベルと、その記憶回数とを対応付けて記憶する。これにより、検出最低設定レベルIEMINの統計データが作成される。図16は当該統計データの一例を示す図である。図16に示されるように、パラメータ制御部5は、検出最低設定レベルIEMINとして記憶されている設定レベルIEのレベルと、その記憶回数とを互いに対応付けて記憶している。図16の例では、検出最低設定レベルIEMINとして設定レベルIE10が記憶された回数が一番多くなっている。
As will be apparent from the description below, the minimum detection setting level IEMIN may be stored a plurality of times. Each time the steps s45 and s49 are executed, the
図14を参照して、ステップs33が実行されると、ステップs34において、パラメータ制御部5は所定時間経過したか否かを判定する。ステップs34では、例えば1ヶ月経過しているか否かが判定される。ステップs34において所定時間経過していないと判定されると、再度ステップs31が実行される。一方で、ステップs34において所定時間経過していると判定されると、ステップs35において、パラメータ制御部5は、作成した検出最低設定レベルIEMINの統計データに基づいて最適設定レベルIEAVを決定する。
Referring to FIG. 14, when step s33 is executed, in step s34,
ここで、本実施の形態3では、上述の実施の形態2と同様に、ステップs31,s42,s47での人検出処理は、どのような順番で実行される場合であっても、常に200msの間隔で実行される。例えば、ステップs31〜s33が連続して実行される場合においてステップs31の実行開始からステップs42の実行開始までの時間間隔は200msに設定されており、複数回繰り返して実行されるステップs42の実行時間間隔も200msに設定されている。したがって、ステップs34において1ヶ月が経過したと判定された場合には、ステップs33は既に複数回実行されていることがあり、パラメータ制御部5での検出最低設定レベルIEMINの記憶も複数回実行されていることがある。したがって、ステップs34において所定時間が経過していると判定されると、上述の図16に示されるような統計データが既に作成されていることになる。
Here, in the third embodiment, as in the second embodiment described above, the human detection process in steps s31, s42, and s47 is always performed in 200 ms regardless of the order. Run at intervals. For example, when steps s31 to s33 are executed continuously, the time interval from the start of execution of step s31 to the start of execution of step s42 is set to 200 ms, and the execution time of step s42 executed repeatedly a plurality of times The interval is also set to 200 ms. Therefore, if it is determined in step s34 that one month has passed, step s33 may already be executed a plurality of times, and the
ステップs35では、パラメータ制御部5は、例えば、作成した統計データから、検出最低設定レベルIEMINとして記憶されている設定レベルIEの平均レベルAVGLを算出し、設定レベルIE1〜IEnから当該平均レベルAVGLに最も近いレベルの設定レベルIEを特定する。そして、特定した当該設定レベルIEのレベルに、予め指定されているマージンレベルを足し合わせて得られるレベルの設定レベルIEを最適設定レベルIEAVとして決定する。平均レベルAVGLは以下の式で求めることができる。
In step s35, for example, the
ただし、上記式中のC1〜Cnは、設定レベルIE1〜IEnの記憶回数をそれぞれ示している。図16に示される例では、AVGL=10.6となる。 However, C1 to Cn in the above formulas indicate the number of times the set levels IE1 to IEn are stored. In the example shown in FIG. 16, AVGL = 10.6.
また、上記マージンレベルは、本画像センサ装置100に設けられている図示しない操作部をユーザが操作することによって本画像センサ装置100に入力される情報であって、ユーザによって自由に変更することができる。例えば、図16に示される統計データが得られた場合において、ユーザによってマージンレベルが“+1”に設定されているときには、パラメータ制御部5は設定レベルIE12を最適設定レベルIEAVとして決定する。
The margin level is information input to the
パラメータ制御部5は、決定した最適設定レベルIEAVを、以後の人検出処理で使用する設定レベルIEとして選択し、その後、ステップs36が実行される。ステップs36では、ステップs34の所定時間をカウントするカウンタや、検出最低設定レベルIEMINの記憶回数をカウントするカウンタがパラメータ制御部5によってリセットされる。これらのカウンタはパラメータ制御部5に設けられている。ステップs36が実行されると、再度ステップs31が実行されて、以後同様の処理が繰り返し実行される。
The
なお、上述の実施の形態1,2と同様に、照明部3は夜間での補助照明手段として使用されるため、上述のステップs31〜s36の処理は、撮像環境の照度が低下し照明部3を点灯させる際に実行される。 Since the illumination unit 3 is used as auxiliary illumination means at night as in the first and second embodiments, the processing in steps s31 to s36 described above reduces the illuminance of the imaging environment, and the illumination unit 3 It is executed when lit.
以上のように、本実施の形態3に係る画像センサ装置100では、検出最低設定レベルIEMINに関する統計データを作成し、当該統計データに基づいて、照度調整パラメータに設定する設定値IEL,IEHを選択しているため、照明部3の照度を必要以上に高くすることなく検出対象物を検出できる。よって、検出対象物を検出しつつ、照明部の寿命を長くすることができる。
As described above, in the
さらには、検出最低設定レベルIEMINは撮像環境の変化の影響を受けることがあることから、その統計データを使用することによって、撮像環境の変化が照度調整に与える影響を抑制することができ、照明部3での照度を適切に調整することができる。例えば、夜間においても、晴れているときと曇っているときとでは検出最低設定レベルIEMINが変化することがあることから、晴れている場合に取得した検出最低設定レベルIEMINを曇りの場合にも使用すると、照明部3の照度を適切に調整できないことがある。本実施の形態3のように、検出最低設定レベルIEMINの統計データに基づいて、照度調整パラメータに設定する調整値IEL,IEHを決定することによって、晴れているときと曇っているときとの両方においてある程度適切な照度に調整することが可能となる。 Furthermore, since the minimum detection setting level IEMIN may be affected by changes in the imaging environment, by using the statistical data, the influence of the change in the imaging environment on the illuminance adjustment can be suppressed. The illuminance at the unit 3 can be adjusted appropriately. For example, since the minimum detection setting level IEMIN may change between clear and cloudy at night, the minimum detection setting level IEMIN acquired when it is sunny is also used when it is cloudy. Then, the illuminance of the illumination unit 3 may not be adjusted appropriately. As in the third embodiment, by determining the adjustment values IEL and IEH to be set in the illuminance adjustment parameter based on the statistical data of the minimum detection setting level IEMIN, both when it is sunny and when it is cloudy In this case, it is possible to adjust the illuminance to some extent.
1 撮像部
2 画像センシング部
3 照明部
4 照度調整部
5 パラメータ制御部
6 寿命判定部
100 画像センサ装置
DESCRIPTION OF
Claims (6)
画像を撮像する撮像部と、
前記撮像部での撮像範囲を照明する照明部と、
照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、
前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、
前記照度調整パラメータを制御するパラメータ制御部と
を備え、
第1設定値と、前記照度調整パラメータに設定した際の前記照度が当該第1設定値よりも低くなる第2設定値とをそれぞれが含む、第1レベルから第n(n≧2)レベルまでのn個の設定レベルが定められており、
前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、
さらに、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、
前記パラメータ制御部は、
同一の前記設定レベルに含まれる前記第1及び第2設定値をそれぞれ前記照度調整パラメータに設定して前記照度を調整した際の一対の前記検出結果がともに前記検出対象物の検出を示すときには、前記同一の前記設定レベルよりも低いレベルの前記設定レベルから、前記照度調整パラメータに設定する前記第1または第2調整値を選択し、
前記一対の前記検出結果に関して、前記第1設定値を前記照度調整パラメータに設定して前記照度を調整した際の前記検出結果が前記検出対象物の検出を示し、前記第2設定値を前記照度調整パラメータに設定して前記照度を調整した際の前記検出結果が前記検出対象物の未検出を示すときには、前記同一の前記設定レベルよりも高いレベルの前記設定レベルから、前記照度調整パラメータに設定する前記第1または第2設定値を選択する、画像センサ装置。 An image sensor device that detects a detection object from a captured image,
An imaging unit that captures an image;
An illumination unit that illuminates an imaging range of the imaging unit;
An illuminance adjustment unit that adjusts the illuminance at the illumination unit according to the illuminance adjustment parameter;
An image sensing unit for detecting the detection object from an image captured by the imaging unit;
A parameter control unit for controlling the illuminance adjustment parameter,
From the first level to the nth (n ≧ 2) level, each including a first set value and a second set value at which the illuminance when set to the illuminance adjustment parameter is lower than the first set value N setting levels are defined,
In each of the n setting levels excluding the setting level of the first level, the illuminance when the first setting value of the setting level is set in the illuminance adjustment parameter is one level higher than that. Becomes higher than the illuminance when the first setting value of the low setting level is set as the illuminance adjustment parameter,
Further, in each of the n setting levels excluding the setting level of the first level, the illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter is 1 more than that. It becomes higher than the illuminance when the second setting value of the setting level having a low step level is set in the illuminance adjustment parameter,
The parameter control unit
When the pair of the detection results when the illuminance is adjusted by setting the first and second setting values included in the same setting level as the illuminance adjustment parameter respectively indicate detection of the detection object, From the setting level that is lower than the same setting level, select the first or second adjustment value to be set in the illuminance adjustment parameter,
Regarding the pair of detection results, the detection result when the first set value is set as the illuminance adjustment parameter and the illuminance is adjusted indicates detection of the detection object, and the second set value is set as the illuminance. When the detection result when the illuminance is adjusted by setting the adjustment parameter indicates that the detection target is not detected, the illuminance adjustment parameter is set from the set level higher than the same set level. An image sensor device that selects the first or second set value .
前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度以下となっている、画像センサ装置。 The image sensor device according to claim 1,
In each of the n setting levels excluding the setting level of the first level, the illuminance when the second setting value of the setting level is set in the illuminance adjustment parameter is one level higher than that. lower said that the first setting value of the setting level has become the illuminance following when set to the illumination adjustment parameter, the image sensor device.
画像を撮像する撮像部と、
前記撮像部での撮像範囲を照明する照明部と、
照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、
前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、
前記照度調整パラメータを制御するパラメータ制御部と
を備え、
第1設定値と、前記照度調整パラメータに設定した際の前記照度が当該第1設定値よりも低くなる第2設定値とをそれぞれが含む、第1レベルから第n(n≧2)レベルまでのn個の設定レベルが定められており、
前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、
さらに、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、
前記パラメータ制御部は、
同一の前記設定レベルに含まれる前記第1及び第2設定値を前記照度調整パラメータに設定して前記照度を調整した際にともに前記画像センシング部において前記検出対象物が検出可能な前記設定レベルのうち、最もレベルの低い前記設定レベルを特定し、当該最もレベルの低い前記設定レベルのレベル以上の前記設定レベルから、前記照度調整パラメータに設定する前記第1または第2設定値を選択する、画像センサ装置。 An image sensor device that detects a detection object from a captured image,
An imaging unit that captures an image;
An illumination unit that illuminates an imaging range of the imaging unit;
An illuminance adjustment unit that adjusts the illuminance at the illumination unit according to the illuminance adjustment parameter;
An image sensing unit for detecting the detection object from an image captured by the imaging unit;
A parameter control unit for controlling the illuminance adjustment parameter;
With
From the first level to the nth (n ≧ 2) level, each including a first set value and a second set value at which the illuminance when set to the illuminance adjustment parameter is lower than the first set value N setting levels are defined,
In each of the n setting levels excluding the setting level of the first level, the illuminance when the first setting value of the setting level is set in the illuminance adjustment parameter is one level higher than that. Becomes higher than the illuminance when the first setting value of the low setting level is set as the illuminance adjustment parameter,
Further, in each of the n setting levels excluding the setting level of the first level, the illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter is 1 more than that. It becomes higher than the illuminance when the second setting value of the setting level having a low step level is set in the illuminance adjustment parameter,
The parameter control unit
When the first and second setting values included in the same setting level are set as the illuminance adjustment parameter and the illuminance is adjusted, both of the setting levels at which the detection target can be detected by the image sensing unit of identifies the lowest level the set level, from the lowest level the set level a level above the set level, you select the first or the second setting value set in the illumination adjustment parameter, Image sensor device.
画像を撮像する撮像部と、
前記撮像部での撮像範囲を照明する照明部と、
照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、
前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、
前記照度調整パラメータを制御するパラメータ制御部と
を備え、
第1設定値と、前記照度調整パラメータに設定した際の前記照度が当該第1設定値よりも低くなる第2設定値とをそれぞれが含む、第1レベルから第n(n≧2)レベルまでのn個の設定レベルが定められており、
前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、
さらに、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度よりも高くなり、
前記パラメータ制御部は、
同一の前記設定レベルに含まれる前記第1及び第2設定値を前記照度調整パラメータに設定して前記照度を調整した際にともに前記画像センシング部において前記検出対象物が検出可能な前記設定レベルのうち、最もレベルの低い前記設定レベルに関する統計データを作成し、当該統計データに基づいて、前記照度調整パラメータに設定する前記第1または第2設定値を選択する、画像センサ装置。 An image sensor device that detects a detection object from a captured image,
An imaging unit that captures an image;
An illumination unit that illuminates an imaging range of the imaging unit;
An illuminance adjustment unit that adjusts the illuminance at the illumination unit according to the illuminance adjustment parameter;
An image sensing unit for detecting the detection object from an image captured by the imaging unit;
A parameter control unit for controlling the illuminance adjustment parameter,
From the first level to the nth (n ≧ 2) level, each including a first set value and a second set value at which the illuminance when set to the illuminance adjustment parameter is lower than the first set value N setting levels are defined,
In each of the n setting levels excluding the setting level of the first level, the illuminance when the first setting value of the setting level is set in the illuminance adjustment parameter is one level higher than that. Becomes higher than the illuminance when the first setting value of the low setting level is set as the illuminance adjustment parameter,
Further, in each of the n setting levels excluding the setting level of the first level, the illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter is 1 more than that. It becomes higher than the illuminance when the second setting value of the setting level having a low step level is set in the illuminance adjustment parameter,
The parameter control unit
When the first and second setting values included in the same setting level are set as the illuminance adjustment parameter and the illuminance is adjusted, both of the setting levels at which the detection target can be detected by the image sensing unit Of these, an image sensor device that creates statistical data relating to the lowest setting level and selects the first or second setting value to be set in the illuminance adjustment parameter based on the statistical data .
前記照明部の寿命を判定する寿命判定部をさらに備え、
前記寿命判定部は、前記照度調整パラメータの値が前記照度を高める値になる程、前記照明部の寿命を短く判定する、画像センサ装置。 An image sensor device according to any one of claims 1 to 4 ,
A life determination unit for determining the life of the illumination unit;
The life determination unit, as the value of the illuminance adjustment parameter is a value of increasing the illuminance, determining shorten the life of the illumination unit, the image sensor device.
前記照明部は赤外線LEDで構成されている、画像センサ装置。 An image sensor device according to any one of claims 1 to 5,
The illumination unit that contains the infrared LED, an image sensor device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006142325A JP4743709B2 (en) | 2006-05-23 | 2006-05-23 | Image sensor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006142325A JP4743709B2 (en) | 2006-05-23 | 2006-05-23 | Image sensor device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007316689A JP2007316689A (en) | 2007-12-06 |
JP4743709B2 true JP4743709B2 (en) | 2011-08-10 |
Family
ID=38850524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006142325A Expired - Fee Related JP4743709B2 (en) | 2006-05-23 | 2006-05-23 | Image sensor device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4743709B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004088976A1 (en) * | 2003-03-31 | 2004-10-14 | Fujitsu Limited | Illumination control device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003162684A (en) * | 2001-11-22 | 2003-06-06 | Canon Inc | Image recognition device, image recognition method, recording medium and program |
-
2006
- 2006-05-23 JP JP2006142325A patent/JP4743709B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004088976A1 (en) * | 2003-03-31 | 2004-10-14 | Fujitsu Limited | Illumination control device |
Also Published As
Publication number | Publication date |
---|---|
JP2007316689A (en) | 2007-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8279303B2 (en) | Imaging apparatus and flicker detection method | |
RU2627933C2 (en) | Image capturing device and device control method | |
US8179466B2 (en) | Capture of video with motion-speed determination and variable capture rate | |
KR102587377B1 (en) | Imaging apparatus, flicker detection method, and program | |
JP2012134663A (en) | Imaging apparatus and imaging method | |
JP2010141849A (en) | Main face selecting device, control method therefor, imaging device, and program | |
JP6234632B2 (en) | Endoscope apparatus and video processor | |
US20120194689A1 (en) | Image-capturing apparatus and control method of the image-capturing apparatus | |
JP2014017114A (en) | Illumination system | |
CN110661947A (en) | Image pickup apparatus, control method thereof, and storage medium | |
JP5399163B2 (en) | Display device | |
JP2008135824A (en) | Phase adjusting device, digital camera, and phase adjusting method | |
US9609232B2 (en) | Imaging apparatus capable of notification of information about a presence of a flicker and execution of processing for reducing an influence of the flicker, a control method for an imaging apparatus, and a non-transitory recording medium recording a program for causing a computer to execute a control method | |
CN113452970B (en) | Method for assessing ambient light during night mode image acquisition | |
JP4743709B2 (en) | Image sensor device | |
TWI554102B (en) | Method for managing a surveillance system, and associated apparatus | |
JP5926757B2 (en) | Automatic focusing device, automatic focusing method, and imaging device | |
US20150373249A1 (en) | Image capturing apparatus, method for controlling the same, and storage medium | |
JP2006332917A (en) | Imaging apparatus | |
US11516408B2 (en) | Image capturing apparatus, method for driving image capturing apparatus to detect flicker during shooting | |
JP5527990B2 (en) | Display control apparatus and display control method | |
EP1998560A1 (en) | Automatic phase adjusting apparatus | |
JP6631649B2 (en) | Imaging device | |
JP2021190992A (en) | Imaging apparatus and control method of the same | |
JP2016012791A (en) | Imaging apparatus, method for controlling the same, and control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090302 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20090302 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20090302 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110125 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110324 |
|
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: 20110419 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110502 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140520 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4743709 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |