JP4743709B2 - Image sensor device - Google Patents

Image sensor device Download PDF

Info

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
Application number
JP2006142325A
Other languages
Japanese (ja)
Other versions
JP2007316689A (en
Inventor
典照 北沖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MegaChips Corp
Original Assignee
MegaChips Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MegaChips Corp filed Critical MegaChips Corp
Priority to JP2006142325A priority Critical patent/JP4743709B2/en
Publication of JP2007316689A publication Critical patent/JP2007316689A/en
Application granted granted Critical
Publication of JP4743709B2 publication Critical patent/JP4743709B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 claim 1 is an image sensor device that detects a detection target from a captured image, and includes an imaging unit that captures an image and an illumination unit that illuminates an imaging range of the imaging unit. An illuminance adjustment unit that adjusts the illuminance in the illumination unit according to the illuminance adjustment parameter, an image sensing unit that detects the detection object from a captured image in the imaging unit, and a parameter that controls the illuminance adjustment parameter A first setting value and a second setting value at which the illuminance when set to the illuminance adjustment parameter is lower than the first setting value. n setting levels up to (n ≧ 2) level are defined, 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 first setting value. The illuminance when set to the degree adjustment parameter is higher than the illuminance when the first setting value of the setting level, which is one level lower than the illuminance adjustment parameter, is set to the illuminance adjustment parameter. In each of the n setting levels excluding the one setting level, the illuminance when the second setting value of the setting level is set in the illuminance adjustment parameter is lower by one level. The illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter is higher, and the parameter control unit sets the first and second setting values included in the same setting level, respectively. When the pair of the detection results when the illuminance is adjusted by setting the illuminance adjustment parameter indicates the detection of the detection object, the same The first or second adjustment value to be set in the illuminance adjustment parameter is selected from the setting level lower than a constant level, and the first set value is used as the illuminance adjustment parameter for the pair of detection results. The detection result when setting and adjusting the illuminance indicates detection of the detection object, and the detection result when adjusting the illuminance by setting the second setting value as the illuminance adjustment parameter is the detection. When indicating that an object is not detected, the first or second set value to be set in the illuminance adjustment parameter is selected from the set level that is higher than the same set level .

また、請求項の発明は、請求項に記載の画像センサ装置であって、前記第1レベルの前記設定レベルを除く前記n個の設定レベルのそれぞれにおいては、当該設定レベルの前記第2設定値を前記照度調整パラメータに設定した際の前記照度が、それよりも1段階レベルの低い前記設定レベルの前記第1設定値を前記照度調整パラメータに設定した際の前記照度以下となっている。 The invention of claim 2 is the image sensor device according to claim 1 , wherein each of the n setting levels excluding the setting level of the first level is the second of the setting level. The illuminance when the set value is set in the illuminance adjustment parameter is equal to or less than the illuminance when the first set value of the set level that is one level lower than that is set in the illuminance adjustment parameter. .

また、請求項の発明は、撮像画像から検出対象物を検出する画像センサ装置であって、画像を撮像する撮像部と、前記撮像部での撮像範囲を照明する照明部と、照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、前記照度調整パラメータを制御するパラメータ制御部とを備え、第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.

また、請求項の発明は、撮像画像から検出対象物を検出する画像センサ装置であって、画像を撮像する撮像部と、前記撮像部での撮像範囲を照明する照明部と、照度調整パラメータに応じて前記照明部での照度を調整する照度調整部と、前記撮像部での撮像画像から前記検出対象物を検出する画像センシング部と、前記照度調整パラメータを制御するパラメータ制御部とを備え、第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.

また、請求項の発明は、請求項1乃至請求項のいずれか一つに記載の画像センサ装置であって、前記照明部の寿命を判定する寿命判定部をさらに備え、前記寿命判定部は、前記照度調整パラメータの値が前記照度を高める値になる程、前記照明部の寿命を短く判定する。 The invention of claim 5 is the image sensor device according to any one of claims 1 to 4 , further comprising a life determination unit that determines a life of the illumination unit, and the life determination unit. Determines that the lifetime of the illumination unit is shortened as the value of the illuminance adjustment parameter increases to increase the illuminance.

また、請求項の発明は、請求項1乃至請求項のいずれか一つに記載の画像センサ装置であって、前記照明部は赤外線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.

また、請求項の発明によれば、第1レベルの設定レベルを除く複数の設定レベルのそれぞれにおいては、当該設定レベルの第2設定値を照度調整パラメータに設定した際の照度が、それよりも1段階レベルの低い設定レベルの第1設定値を照度調整パラメータに設定した際の照度以下となっているため、照度劣化をより高精度に検出することができる。よって、照度劣化に応じてより適切に照明部での照度を調整することができる。 According to the invention of claim 2 , the illuminance when the second setting value of the setting level is set as the illuminance adjustment parameter in each of the plurality of setting levels excluding the setting level of the first level. Since the illuminance deterioration is equal to or lower than the illuminance when the first setting value having a low setting level of one step level is set as the illuminance adjustment parameter, the illuminance deterioration can be detected with higher accuracy. Therefore, the illuminance at the illumination unit can be adjusted more appropriately according to the illuminance deterioration.

また、請求項の発明によれば、同一の設定レベルに含まれる第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.

また、請求項の発明によれば、同一の設定レベルに含まれる第1及び第2設定値を照度調整パラメータに設定して照度を調整した際にともに画像センシング部において検出対象物が検出可能な設定レベルのうち、最もレベルの低い設定レベルに関する統計データを作成し、当該統計データに基づいて、照度調整パラメータに設定する第1または第2設定値を選択しているため、照度を必要以上に高くすることなく検出対象物を検出できる。よって、検出対象物を検出しつつ、照明部の寿命を長くすることができる。さらには、上記最もレベルの低い設定レベルは撮像環境の変化の影響を受けることがあることから、その統計データを使用することによって、撮像環境の変化が照度調整に与える影響を抑制することができ、照明部での照度を適切に調整することができる。 According to the invention of claim 4 , when the illuminance is adjusted by setting the first and second setting values included in the same setting level as the illuminance adjustment parameter, the detection object can be detected in the image sensing unit. Statistical data related to the lowest setting level is created, and the first or second setting value to be set for the illuminance adjustment parameter is selected based on the statistical data. The detection object can be detected without increasing the height. Therefore, the lifetime of the illumination unit can be extended while detecting the detection target. Furthermore, since the lowest setting level may be affected by changes in the imaging environment, the use of statistical data can suppress the effect of changes in the imaging environment on illuminance adjustment. The illuminance at the illumination unit can be adjusted appropriately.

また、請求項の発明によれば、照明部での照度を必要以上に高くすることなく検出対象物を検出できるように制御される照度調整パラメータの値が照度を高める値になる程、照明部の寿命を短く判定するため、照明部の交換時期を適切に把握することができる。 According to the invention of claim 5, the illumination adjustment parameter is controlled so that the detection target can be detected without increasing the illuminance at the illuminating unit more than necessary. Since the lifetime of the part is determined to be short, the replacement time of the illumination part can be properly grasped.

また、請求項の発明によれば、照明部は赤外線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で人を検出することが可能である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of an image sensor device 100 according to Embodiment 1 of the present invention. As shown in FIG. 1, the image sensor device 100 according to the first embodiment includes an imaging unit 1 that captures an image, an illumination unit 3 that illuminates an imaging range of the imaging unit 1, and an imaging unit 1. An image sensing unit 2 that detects a detection object from the captured image, an illuminance adjustment unit 4 that adjusts the illuminance in the illumination unit 3 according to the illuminance adjustment parameter, a parameter control unit 5 that controls the illuminance adjustment parameter, and an illumination unit 3 is provided. The image sensor device 100 according to the first embodiment is used in, for example, a security system that detects a suspicious person and notifies a security company or the like, and detects an image sensing unit from a captured image obtained by the imaging unit 1. 2 can detect a person.

撮像部1はCDDセンサーやCMOSセンサーなどの撮像素子やA/D変換器等で構成されており、例えば、インタレース方式で画像を撮像する。撮像部1は、撮像した画像をデジタル画像信号として画像センシング部2に出力する。撮像部1は例えば屋外に設置されている。   The imaging unit 1 includes an imaging element such as a CDD sensor or a CMOS sensor, an A / D converter, and the like, and for example, captures an image by an interlace method. The imaging unit 1 outputs the captured image to the image sensing unit 2 as a digital image signal. The imaging unit 1 is installed outdoors, for example.

画像センシング部2は、画像処理を行う専用ハードウェア回路やCPU等で構成されており、撮像部1での撮像画像から人の検出を行う。例えば、画像センシング部2はフレーム間差分法などを使用して人検出を行う。本実施の形態1に係る画像センシング部2は、撮像部1で撮像された複数枚の奇数フィールド画像、あるいは複数枚の偶数フィールド画像を使用して人検出を行う。画像センシング部2での人検出結果は、通信ネットワーク等を介して警備会社等に通知されるとともに、パラメータ制御部5に通知される。なお、奇数フィールド画像と偶数フィールド画像とを合成して1枚のフレーム画像を生成し、当該フレーム画像を複数枚使用して人検出を行っても良い。   The image sensing unit 2 includes a dedicated hardware circuit that performs image processing, a CPU, and the like, and detects a person from an image captured by the image capturing unit 1. For example, the image sensing unit 2 performs human detection using an inter-frame difference method or the like. The image sensing unit 2 according to the first embodiment performs human detection using a plurality of odd field images or a plurality of even field images captured by the imaging unit 1. The human detection result in the image sensing unit 2 is notified to a security company or the like via a communication network or the like, and is also notified to the parameter control unit 5. Note that the odd-numbered field image and the even-numbered field image may be combined to generate one frame image, and human detection may be performed using a plurality of the frame images.

照明部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 imaging unit 1 according to the first embodiment is installed outdoors, at night, the illuminance in the imaging range is insufficient, and the image sensing unit 2 may not be able to perform normal human detection. Therefore, by using the illumination unit 3 composed of infrared LEDs as auxiliary illumination means, sufficient illuminance can be ensured even at night, and normal human detection can be performed by the image sensing unit 2. .

照度調整部4は、トランジスタ等で構成されている、照明部3を駆動する回路を備えており、照度調整パラメータに応じて照明部3での照度を調整する。ここで、赤外線LEDにおいては、それに流す電流が大きくなると照度が大きくなることから、当該電流を変化させることによって照度を変更することができる。本実施の形態1に係る照度調整部4は、照明部3を構成する赤外線LEDに、照度調整パラメータに応じた電流を流すことによって照明部3での照度を調整する。なお、照明部3を構成する赤外線LEDに複数のパルス電圧を印加することによって当該赤外線LEDを駆動する場合には、照度調整パラメータに応じたパルス幅のパルス電圧を出力することによって照明部3の照度を調整しても良い。   The illuminance adjustment unit 4 includes a circuit that is configured by a transistor or the like and that drives the illumination unit 3, and adjusts the illuminance at the illumination unit 3 according to the illuminance adjustment parameter. Here, in the infrared LED, the illuminance increases as the current flowing through the infrared LED increases. Therefore, the illuminance can be changed by changing the current. The illuminance adjusting unit 4 according to the first embodiment adjusts the illuminance at the illuminating unit 3 by causing a current corresponding to the illuminance adjusting parameter to flow through the infrared LED constituting the illuminating unit 3. In addition, when driving the infrared LED by applying a plurality of pulse voltages to the infrared LED constituting the illumination unit 3, the pulse of the illumination unit 3 is output by outputting a pulse voltage having a pulse width corresponding to the illuminance adjustment parameter. The illuminance may be adjusted.

パラメータ制御部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 parameter control unit 5 controls the illuminance adjustment parameter based on the human detection result in the image sensing unit 2. FIG. 2 is a diagram illustrating setting values that can be set in the illuminance adjustment parameter. As shown in FIG. 2, in the first embodiment, n setting levels IE1 to IEn from the first level to the nth (n> 2) level are defined. The setting level IEx (x is a variable and takes a value of 1 ≦ x ≦ n) includes two-stage setting values IExL and IExH. Hereinafter, the setting levels IE1 to IEn are collectively referred to as “setting level IE”, the setting values IE1L to IEnL are collectively referred to as “setting value IEL”, and the setting values IE1H to IEnH are collectively referred to as “setting value IEH”. Call it.

パラメータ制御部5は、設定レベルIE1〜IEnのいずれか一つを選択し、選択した設定レベルIEに含まれる設定値IEL,IEHを切り換えて照度調整パラメータに設定する。本実施の形態1では、パラメータ制御部5で使用される設定レベルIEが高くなる程、つまり第1レベルの設定レベルIE1から第nレベルの設定レベルIEnに向かうほど、照明部3での照度は高くなる。そして、各設定レベルIEにおいては、照度調整パラメータに設定値IEHが設定された場合の方が、設定値IELが設定された場合よりも照明部3での照度が高くなる。したがって、照明部3での照度は、照度調整パラメータに設定値IE1Lが設定された場合に最も低くなり、設定値IEnHが設定された場合に最も高くなる。   The parameter control unit 5 selects any one of the setting levels IE1 to IEn, switches the setting values IEL and IEH included in the selected setting level IE, and sets them as the illuminance adjustment parameter. In the first embodiment, the illuminance at the illumination unit 3 increases as the setting level IE used in the parameter control unit 5 increases, that is, from the first level setting level IE1 to the nth level setting level IEn. Get higher. At each setting level IE, the illuminance at the illumination unit 3 is higher when the setting value IEH is set as the illuminance adjustment parameter than when the setting value IEL is set. Therefore, the illuminance at the illumination unit 3 is lowest when the set value IE1L is set in the illuminance adjustment parameter, and is highest when the set value IEnH is set.

寿命判定部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 image sensor device 100 according to the first embodiment will be described. FIG. 3 is a flowchart showing the illuminance adjustment method according to the first embodiment. As shown in FIG. 3, first, a human detection process is executed in step s1. In step s2, the detection result in step s1 is determined, and one of steps s1, s3, and s5 is executed according to the determination result.

図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 parameter control unit 5 sets the setting value IEH of the currently selected setting level IE as an illuminance adjustment parameter. If it does so, the illumination intensity adjustment part 4 will flow the electric current according to the setting value IEH set to the illumination intensity adjustment parameter to infrared LED which comprises the illumination part 3. FIG. In step s102, the imaging unit 1 captures one odd field image.

次にステップs103において、パラメータ制御部5は、今度は、現在選択している設定レベルIEの設定値IELを照度調整パラメータに設定する。そうすると、照度調整部4は、照度調整パラメータに設定された設定値IELに応じた電流を照明部3を構成する赤外線LEDに流す。そして、ステップs104において、撮像部1は1枚の偶数フィールド画像を撮像する。ステップs101,s103ではそれぞれ設定値IEH及び設定値IELが使用されているため、ステップs104では、ステップs102において奇数フィールド画像を撮像した際の照度よりも低い照度で偶数フィールド画像が撮像される。   Next, in step s103, the parameter control unit 5 next sets the setting value IEL of the currently selected setting level IE as the illuminance adjustment parameter. If it does so, the illumination intensity adjustment part 4 will flow the electric current according to the setting value IEL set to the illumination intensity adjustment parameter to infrared LED which comprises the illumination part 3. FIG. In step s104, the imaging unit 1 captures one even field image. Since the set value IEH and the set value IEL are used in steps s101 and s103, respectively, in step s104, an even field image is captured with an illuminance lower than the illuminance when the odd field image is captured in step s102.

その後、ステップ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 image sensing unit 2 obtains m odd-numbered field images in step s106. The person detection is performed using it, and then the person detection is performed using m even field images in step s107.

なお、本実施の形態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 image sensing unit 2 notifies the security company or the like that a person has been detected via a communication network or the like.

図3を参照して、ステップs1が実行されると、ステップs2において、パラメータ制御部5はステップs1での人検出結果を判定する。ステップs1での検出結果が「○○」の場合にはステップs3が実行され、「○×」の場合にはステップs5が実行され、「××」の場合にはステップs1が再度実行される。   Referring to FIG. 3, when step s1 is executed, in step s2, parameter control unit 5 determines the human detection result in step s1. If the detection result in step s1 is “XX”, step s3 is executed, if “XX”, step s5 is executed, and if “XX”, step s1 is executed again. .

ステップ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 parameter control unit 5 determines whether or not the detection result in step s1 including the detection result in the most recent step s1 has become “◯◯” continuously for a predetermined number of times. The parameter control unit 5 determines that the illuminance at the current illumination unit 3 is sufficient if it is “XX” continuously for a predetermined number of times, and is one level lower than the current setting level IE. A new IE is selected. Then, step s1 is executed again. In this step s1, human detection is performed using the set values IEL and IEH included in the newly selected set level IE. FIG. 5 is a diagram showing how steps s1 to s4 are executed. As shown in FIG. 5, when the detection result in step s1 becomes “◯◯” continuously several times, the setting level IE decreases by one step, and thereafter, the setting value IEL of the setting level IE after the level down IEH is used to detect people.

一方で、ステップ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 parameter control unit 5 does not change the setting level IE to be used, and then step s1 is executed again. 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 parameter control unit 5 determines whether or not the detection result in step s1 including the detection result in the latest step s1 is “Ox” continuously for a predetermined number of times. The parameter control unit 5 determines that the illuminance deterioration has occurred in the illumination unit 3 and the illuminance is insufficient if “Ox” continues for a predetermined number of times, and the currently selected setting level IE A new setting level IE that is one level higher than that is selected. Then, step s1 is executed again. In this step s1, human detection is performed using the set values IEL and IEH included in the newly selected set level IE. FIG. 6 is a diagram showing how steps s1, s2, s5, and s6 are executed. As shown in FIG. 6, when the detection result at step s1 changes from “XX” to “XX”, and then becomes “XX” continuously several times, the setting level IE to be used increases by one step. Thereafter, human detection is performed by using the set values IEL and IEH of the set level IE after the level up.

一方で、ステップ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 parameter control unit 5 does not change the setting level IE to be used, and then step s1 is executed again. .

ステップs2において、パラメータ制御部5は、ステップs1での検出結果が「××」であると判定すると、撮像部1での撮像範囲には人が存在しないと判断し、ステップs1が再度実行される。またステップs2において、パラメータ制御部5は、ステップs1での検出結果が「×○」であると判定すると、画像センシング部2で人が誤検出されたと判断し、ステップs1が再度実行される。   In step s2, when the parameter control unit 5 determines that the detection result in step s1 is “xx”, the parameter control unit 5 determines that there is no person in the imaging range of the imaging unit 1, and step s1 is executed again. The In step s2, if the parameter control unit 5 determines that the detection result in step s1 is “× ◯”, it is determined that a person has been erroneously detected in the image sensing unit 2, and step s1 is executed again.

また、本実施の形態1に係る照明部3は夜間における補助照明手段として使用されるため、当該照明部3は常時点灯しているわけではない。したがって、上述のステップs1〜s6の処理は、撮像環境の照度が低下し照明部3を点灯させるときに実行される。本画像センサ装置1では、撮像環境の照度を検出する図示しない照度センサが設けられており、当該照度センサでの照度検出結果はパラメータ制御部5に通知される。パラメータ制御部5は、照度センサから受け取った照度検出結果に基づいて照度調整パラメータを制御し、撮像環境の照度が十分高い場合には照明部3を非点灯とし、当該照度が低下した場合には照明部3を点灯させる。   Moreover, since the illumination part 3 which concerns on this Embodiment 1 is used as an auxiliary illumination means at night, the said illumination part 3 is not necessarily always lighting. Therefore, the process of above-mentioned step s1-s6 is performed when the illumination intensity of an imaging environment falls and the illumination part 3 is made to light. In the image sensor device 1, an illuminance sensor (not shown) that detects the illuminance of the imaging environment is provided, and the illuminance detection result by the illuminance sensor is notified to the parameter control unit 5. The parameter control unit 5 controls the illuminance adjustment parameter based on the illuminance detection result received from the illuminance sensor. When the illuminance of the imaging environment is sufficiently high, the illumination unit 3 is not lit, and when the illuminance decreases The illumination unit 3 is turned on.

寿命判定部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 image sensor device 100. Thereby, it is possible to notify the user of an appropriate replacement time of the illumination unit 3.

以上のように、本実施の形態1に係る画像センサ装置100では、画像センシング部2検出対象物が検出されると、照明部3での照度が低下する方向に照度調整パラメータが設定されるため、照明部で3の照度を必要以上に高くすることなく検出対象物を検出することができる。したがって、検出対象物を検出しつつ、照明部の寿命を長くすることができる。特に、赤外線LEDは照度劣化が生じやすいことから、本実施の形態1のように照明部3に赤外線LEDを使用する場合には非常に有効である。   As described above, in the image sensor device 100 according to the first embodiment, when the image sensing unit 2 detection target is detected, the illuminance adjustment parameter is set in the direction in which the illuminance at the illumination unit 3 decreases. The detection object can be detected without increasing the illuminance of 3 more than necessary by the illumination unit. Therefore, the lifetime of the illumination unit can be extended while detecting the detection target. In particular, since the infrared LED easily deteriorates in illuminance, it is very effective when the infrared LED is used for the illumination unit 3 as in the first embodiment.

また、本実施の形態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 image sensing unit 2 at the time indicate detection of the detection object, the adjustment value IEL to be set as the illuminance adjustment parameter from the setting level IE lower than the same setting level IE, IEH is selected. When the detection results in steps s106 and s107 both indicate detection of the detection target, it can be determined that the illuminance at the illumination unit 3 is sufficient, so the illuminance adjustment parameter is set from a lower level setting level IE. By selecting the adjustment values IEL and IEH to be set to, the detection target can be reliably detected without increasing the illuminance at the illumination unit 3 more than necessary.

さらに、ステップ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 Embodiment 1, the value of the illuminance adjustment parameter controlled so that the image sensing unit 2 can detect the detection target without increasing the illuminance at the illumination unit 3 more than necessary is the illumination unit 3. Since the lifetime of the illuminating unit 3 is determined to be shorter as the illuminance increases, the replacement time of the illuminating unit 3 can be appropriately grasped.

なお、本実施の形態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 image sensing unit 2. When the minimum illuminance DIE that can be performed is slightly lower than the illuminance when the setting value IE2H of the setting level IE2 is used, for example, at step s1 when the setting values IE3L and IE3H of the setting level IE3 are used The detection result is “XX” even when there is a person in the imaging range of the imaging unit 1, and the parameter control unit 5 erroneously determines that there is no person, and the illumination unit 3 is deteriorated in illuminance. Cannot be detected.

一方で、図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 parameter control unit 5 can detect the illuminance deterioration in the illumination unit 3.

なお、隣接する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を決定する。
Embodiment 2. FIG.
FIG. 10 is a flowchart showing the illuminance adjustment method of the image sensor device 100 according to Embodiment 2 of the present invention. The configuration of the image sensor device 100 according to the second embodiment is the same as the configuration shown in FIG. 1, and the above-described image sensor device 100 according to the first embodiment is an illuminance adjustment method and illumination for the illumination unit 3. The method for determining the replacement time of part 3 is different. In the illuminance adjustment method according to the second embodiment, the image sensing unit 2 obtains the lowest setting level IE that can be detected by a person, and sets the optimum setting level IE according to the lowest setting level IE. decide.

図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 parameter control unit 5 determines whether the human detection process in step s11 has been executed a predetermined number of times. If the parameter control unit 5 determines that step s11 has been executed a predetermined number of times, the parameter control unit 5 determines the human detection result in the most recent step s11 in step s13. If the detection result in step s11 is “◯◯”, step s14 is executed, otherwise, in step s26, a counter that counts the number of times the person detection processing in step s11 is executed is reset, Thereafter, step s11 is executed again. The counter is included in the parameter control unit 5 and is reset by the parameter control unit 5. On the other hand, when the parameter control unit 5 determines in step s12 that step s11 has not been executed a predetermined number of times, step s11 is executed again.

ステップs14では、パラメータ制御部5は、複数段階の設定レベルIE1〜IEnのうち最大レベルの設定レベルIEnを選択する。そして、ステップs15において、上述の図4で示された人検出処理が実行される。このステップs15では、ステップs14で選択された設定レベルIEnの設定値IEnL,IEnHが使用される。   In step s14, the parameter control unit 5 selects the maximum setting level IEn among the plurality of setting levels IE1 to IEn. In step s15, the person detection process shown in FIG. 4 is executed. In step s15, the setting values IEnL and IEnH of the setting level IEn selected in step s14 are used.

次にステップs16において、パラメータ制御部5はステップs15での人検出結果を判定する。ステップs15での検出結果が「○○」の場合にはステップs17が実行され、「○×」の場合にはステップs18が実行され、「××」の場合にはステップs20が実行される。また、「×○」の場合には、上述のステップs26が実行され、その後ステップs11が再び実行される。   Next, in step s16, the parameter control unit 5 determines the human detection result in step s15. If the detection result at step s15 is “XX”, step s17 is executed, if “XX”, step s18 is executed, and if “XX”, step s20 is executed. In the case of “× ○”, the above-described step s26 is executed, and then step s11 is executed again.

ステップs17では、パラメータ制御部5は、現在の設定レベルIEより1段階下の設定レベルIEを新たに選択する。そして、ステップs15が再度実行され、当該ステップs15では、新たに選択された設定レベルIEに含まれる設定値IEL,IEHが使用されて人検出が行われる。   In step s17, the parameter control unit 5 newly selects a setting level IE that is one step lower than the current setting level IE. Then, step s15 is executed again, and in step s15, the person detection is performed using the set values IEL and IEH included in the newly selected setting level IE.

ステップ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 parameter control unit 5 sets the setting level IE, which is one level higher than the currently selected setting level IE, to the lowest setting level IE that can be detected by the person in the image sensing unit 2 (hereinafter, “detection”). This is stored as “minimum setting level IEMIN”. In step s19, the optimum setting level IE (hereinafter referred to as “optimum setting level IEAV”) is determined in accordance with the lowest detection setting level IEMIN acquired in step s18. In the first embodiment, the setting level IE that is one step higher than the lowest detection setting level IEMIN is set as the optimum setting level IEAV. Then, the parameter control unit 5 selects the optimum setting level IEAV as the setting level IE to be used in the subsequent human detection process, and then step s26 is executed and step s11 is executed again. Note that the setting level IE that is the same level as the lowest detection setting level IEMIN may be set as the optimum setting level IEAV, or the setting level IE that is two stages higher than the lowest detection setting level IEMIN may be set as the optimum setting level IEAV.

図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 parameter control unit 5 newly selects a setting level IE that is one step higher than the current setting level IE. . In step s21, the human detection process shown in FIG. 4 is executed. Note that if the setting level IE selected immediately before the execution of step s20 is the setting level IEn, the setting level IE cannot be increased in step s20, so steps s21 to s25 described later are performed. Is skipped and step s26 is executed, and then step s11 is executed.

次にステップs22において、パラメータ制御部5はステップs21での人検出結果を判定する。ステップs21での検出結果が「○○」の場合にはステップs23が実行され、それ以外の場合にはステップs25が実行される。   Next, in step s22, the parameter control unit 5 determines the human detection result in step s21. If the detection result in step s21 is “◯◯”, step s23 is executed, otherwise step s25 is executed.

ステップ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 parameter control unit 5 stores the currently selected setting level IE as the lowest detection setting level IEMIN. In step s24, the parameter control unit 5 sets the optimum setting level IEAV in accordance with the lowest detection setting level IEMIN acquired in step s23. decide. In step s24, as in step s19, for example, the setting level IE that is one level higher than the lowest detection setting level IEMIN is set as the optimum setting level IEAV. Then, the parameter control unit 5 selects the optimum setting level IEAV as the setting level IE to be used in the subsequent human detection process, and then step s26 is executed and step s11 is executed again. In step s24, 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.

一方で、ステップ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 parameter control unit 5 The setting level IE to be returned is returned to the level immediately before the execution of step s20, that is, is lowered by one step, and thereafter, step s26 is executed and step s11 is executed again.

図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 imaging unit 1. Therefore, in this case, even when a setting level IE that is equal to or lower than the setting level IE at which the detection result is “XX” is used, if there is a person in the imaging range, the image sensing unit 2 May be able to detect people. Therefore, the lowest detection setting level IEMIN cannot be specified only by the detection result in step s15.

しかしながら、上述の図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 image sensing unit 2 is also possible. Therefore, even if the detection result in step s15 is “XX”, the setting level IE that is one level higher than the setting level IE that has the detection result “XX” is the minimum detection setting. It may be level IEMIN.

そこで、上述のように、ステップ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 image pickup unit 1 while steps s15 to s17 are repeatedly executed. It is determined that it has moved out of the range, and the setting level IE to be used is returned to the level immediately before the execution of step s20.

一方で、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 Embodiment 1, the process of the above-mentioned steps s11-s26 turns on the illumination part 3 because the illumination intensity of an imaging environment falls. It is executed when making it.

また、本実施の形態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 parameter control unit 5 stores the level IEMIN, 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 image sensor device 100.

以上のように、本実施の形態2に係る画像センサ装置100では、同一の設定レベルIEに含まれる設定値IEL,IEHを照度調整パラメータに設定して照度を調整した際にともに画像センシング部2において検出対象物が検出可能な設定レベルIEのうち、最もレベルの低い設定レベルIEを特定し、それを検出最低設定レベルIEMINとしている。そして、この検出最低設定レベルIEMINのレベル以上の設定レベルIEから、照度調整パラメータに設定する設定値IEL,IEHを選択している。したがって、照明部3の照度を必要以上に高くすることなく検出対象物を検出できる。よって、検出対象物を検出しつつ、照明部3の寿命を長くすることができる。   As described above, in the image sensor device 100 according to the second embodiment, when the setting values IEL and IEH included in the same setting level IE are set as the illuminance adjustment parameters and the illuminance is adjusted, the image sensing unit 2 is used. The setting level IE having the lowest level among the setting levels IE that can be detected by the detection object is identified and set as the lowest detection setting level IEMIN. Then, setting values IEL and IEH set in the illuminance adjustment parameter are selected from the setting level IE that is equal to or higher than the minimum detection setting level IEMIN. Therefore, the detection object can be detected without increasing the illuminance of the illumination unit 3 more than necessary. Therefore, the lifetime of the illumination unit 3 can be extended while detecting the detection target.

実施の形態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 image sensor device 100 according to Embodiment 3 of the present invention. The configuration of the image sensor device 100 according to the third embodiment is the same as the configuration shown in FIG. 1, and is different from the image sensor device 100 according to the second embodiment described above in the method for determining the optimum setting level IEAV. In the second embodiment described above, the setting level IE that is equal to or higher than the acquired lowest detection setting level IEMIN is set as the optimum setting level IEAV. However, in the third embodiment, the statistics of the lowest detection setting level IEMIN are calculated. Data is created, and an optimal setting level IEAV is determined based on the statistical data.

図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 parameter control unit 5 determines the human detection result in step s31. If the detection result in step s31 is “◯◯”, step s33 is executed, and otherwise, step s31 is executed again.

ステップ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 parameter control unit 5 selects the maximum setting level IEn from the plurality of setting levels IE1 to IEn, as in step s14 described above. In step s42, the person detection process shown in FIG. 4 is executed. In step s42, the setting values IEnL and IEnH of the setting level IEn selected in step s41 are used.

次にステップs43において、パラメータ制御部5はステップs42での人検出結果を判定する。ステップs42での検出結果が「○○」の場合にはステップs44が実行され、「○×」の場合にはステップs45が実行され、「××」の場合にはステップs46が実行され、「×○」の場合には検出最低設定レベル取得処理が終了する。   Next, in step s43, the parameter control unit 5 determines the human detection result in step s42. If the detection result in step s42 is “XX”, step s44 is executed, if “XX”, step s45 is executed, and if “XX”, step s46 is executed. In the case of “X”, the detection minimum setting level acquisition process ends.

ステップs44では、パラメータ制御部5は、現在の設定レベルIEよりも1段階下の設定レベルIEを新たに選択する。そして、ステップs42が再度実行され、当該ステップs42では、新たに選択された設定レベルIEに含まれる設定値IEL,IEHが使用されて人検出が行われる。   In step s44, the parameter control unit 5 newly selects a setting level IE that is one step lower than the current setting level IE. Then, step s42 is executed again, and in step s42, person detection is performed using the set values IEL and IEH included in the newly selected setting level IE.

ステップs45では、パラメータ制御部5は、上述のステップs18と同様に、現在選択している設定レベルIEよりも1段階上の設定レベルIEを検出最低設定レベルIEMINとして記憶し、検出最低設定レベル取得処理が終了する。   In step s45, the parameter control unit 5 stores the setting level IE that is one step higher than the currently selected setting level IE as the minimum detection setting level IEMIN, as in step s18 described above, and obtains the minimum detection setting level. The process ends.

ステップ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 parameter control unit 5 newly selects a setting level IE that is one step higher than the current setting level IE. . In step s47, the person detection process shown in FIG. 4 is executed. In this case, when the setting level IE selected immediately before the execution of step s46 is the maximum setting level IEn, the setting level IE cannot be increased in step s46. In this case, the minimum detection level acquisition process ends.

次にステップs48において、パラメータ制御部5はステップs47での人検出結果を判定する。ステップs47での検出結果が「○○」の場合にはステップs49が実行され、それ以外の場合にはステップs50が実行される。   Next, in step s48, the parameter control unit 5 determines the human detection result in step s47. If the detection result at step s47 is “◯◯”, step s49 is executed, otherwise step s50 is executed.

ステップs49では、パラメータ制御部5は、上述のステップs23と同様に、現在選択されている設定レベルIEを検出最低設定レベルIEMINとして記憶し、検出最低設定レベル取得処理が終了する。   In step s49, as in step s23 described above, the parameter control unit 5 stores the currently selected setting level IE as the lowest detection setting level IEMIN, and the lowest detection setting level acquisition process ends.

一方で、ステップ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 parameter control unit 5 uses it in step s50. The setting level IE is returned to the level immediately before the execution of step s46, and the detection minimum setting level acquisition process ends.

なお、後述の説明から明らかなように、検出最低設定レベル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 parameter control unit 5 stores the setting level IE stored as the lowest detection setting level IEMIN and the number of storages in association with each other. Thereby, the statistical data of the minimum detection setting level IEMIN is created. FIG. 16 is a diagram showing an example of the statistical data. As shown in FIG. 16, the parameter control unit 5 stores the level of the setting level IE stored as the lowest detection setting level IEMIN and the number of storages thereof in association with each other. In the example of FIG. 16, the number of times that the setting level IE10 is stored as the lowest detection setting level IEMIN is the largest.

図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, parameter control unit 5 determines whether or not a predetermined time has elapsed. In step s34, for example, it is determined whether one month has passed. If it is determined in step s34 that the predetermined time has not elapsed, step s31 is executed again. On the other hand, if it is determined in step s34 that the predetermined time has elapsed, in step s35, the parameter control unit 5 determines the optimum setting level IEAV based on the created statistical data of the lowest detection setting level IEMIN.

ここで、本実施の形態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 parameter control unit 5 also stores the minimum detection setting level IEMIN a plurality of times. May have. Therefore, if it is determined in step s34 that the predetermined time has elapsed, the statistical data as shown in FIG. 16 is already created.

ステップs35では、パラメータ制御部5は、例えば、作成した統計データから、検出最低設定レベルIEMINとして記憶されている設定レベルIEの平均レベルAVGLを算出し、設定レベルIE1〜IEnから当該平均レベルAVGLに最も近いレベルの設定レベルIEを特定する。そして、特定した当該設定レベルIEのレベルに、予め指定されているマージンレベルを足し合わせて得られるレベルの設定レベルIEを最適設定レベルIEAVとして決定する。平均レベルAVGLは以下の式で求めることができる。   In step s35, for example, the parameter control unit 5 calculates the average level AVGL of the setting level IE stored as the lowest detection setting level IEMIN from the created statistical data, and changes the setting level IE1 to IEn to the average level AVGL. The nearest setting level IE is specified. Then, a setting level IE of a level obtained by adding a predetermined margin level to the specified setting level IE is determined as the optimum setting level IEAV. The average level AVGL can be obtained by the following equation.

Figure 0004743709
Figure 0004743709

ただし、上記式中の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 image sensor device 100 when the user operates an operation unit (not shown) provided in the image sensor device 100 and can be freely changed by the user. it can. For example, when the statistical data shown in FIG. 16 is obtained and the margin level is set to “+1” by the user, the parameter control unit 5 determines the setting level IE12 as the optimum setting level IEAV.

パラメータ制御部5は、決定した最適設定レベルIEAVを、以後の人検出処理で使用する設定レベルIEとして選択し、その後、ステップs36が実行される。ステップs36では、ステップs34の所定時間をカウントするカウンタや、検出最低設定レベルIEMINの記憶回数をカウントするカウンタがパラメータ制御部5によってリセットされる。これらのカウンタはパラメータ制御部5に設けられている。ステップs36が実行されると、再度ステップs31が実行されて、以後同様の処理が繰り返し実行される。   The parameter control unit 5 selects the determined optimum setting level IEAV as the setting level IE to be used in the subsequent human detection process, and then step s36 is executed. In step s36, the parameter control unit 5 resets the counter that counts the predetermined time in step s34 and the counter that counts the number of times the minimum detection setting level IEMIN is stored. These counters are provided in the parameter control unit 5. When step s36 is executed, step s31 is executed again, and thereafter the same processing is repeatedly executed.

なお、上述の実施の形態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 image sensor device 100 according to the third embodiment, statistical data related to the lowest detection setting level IEMIN is created, and the setting values IEL and IEH to be set in the illuminance adjustment parameter are selected based on the statistical data. Therefore, the detection target can be detected without increasing the illuminance of the illumination unit 3 more than necessary. Therefore, the lifetime of the illumination unit can be extended while detecting the detection target.

さらには、検出最低設定レベル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に係る画像センサ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image sensor apparatus which concerns on Embodiment 1 of this invention. 照度調整パラメータに設定可能な設定値を示す図である。It is a figure which shows the setting value which can be set to an illumination intensity adjustment parameter. 本発明の実施の形態1に係る画像センサ装置の照度調整方法を示すフローチャートである。It is a flowchart which shows the illuminance adjustment method of the image sensor apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像センサ装置の人検出処理を示すフローチャートである。It is a flowchart which shows the person detection process of the image sensor apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像センサ装置の照度調整方法を示す図である。It is a figure which shows the illuminance adjustment method of the image sensor apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像センサ装置の照度調整方法を示す図である。It is a figure which shows the illuminance adjustment method of the image sensor apparatus which concerns on Embodiment 1 of this invention. 照度調整パラメータに設定可能な設定値の他の例を示す図である。It is a figure which shows the other example of the setting value which can be set to an illumination intensity adjustment parameter. 照度調整パラメータに設定可能な設定値と検出対象物の検出結果との対応関係を示す図である。It is a figure which shows the correspondence of the setting value which can be set to an illumination intensity adjustment parameter, and the detection result of a detection target object. 照度調整パラメータに設定可能な設定値の他の例と検出対象物の検出結果との対応関係を示す図である。It is a figure which shows the correspondence of the other example of the setting value which can be set to an illumination intensity adjustment parameter, and the detection result of a detection target object. 本発明の実施の形態2に係る画像センサ装置の照度調整方法を示すフローチャートである。It is a flowchart which shows the illuminance adjustment method of the image sensor apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る画像センサ装置の照度調整方法を示す図である。It is a figure which shows the illumination intensity adjustment method of the image sensor apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る画像センサ装置の照度調整方法を示す図である。It is a figure which shows the illumination intensity adjustment method of the image sensor apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る画像センサ装置の照度調整方法を示す図である。It is a figure which shows the illumination intensity adjustment method of the image sensor apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係る画像センサ装置の照度調整方法を示すフローチャートである。It is a flowchart which shows the illuminance adjustment method of the image sensor apparatus which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る画像センサ装置の検出最低設定レベル取得処理を示すフローチャートである。It is a flowchart which shows the detection minimum setting level acquisition process of the image sensor apparatus which concerns on Embodiment 3 of this invention. 検出最低設定レベルの統計データを示す図である。It is a figure which shows the statistical data of a detection minimum setting level.

符号の説明Explanation of symbols

1 撮像部
2 画像センシング部
3 照明部
4 照度調整部
5 パラメータ制御部
6 寿命判定部
100 画像センサ装置
DESCRIPTION OF SYMBOLS 1 Imaging part 2 Image sensing part 3 Illumination part 4 Illuminance adjustment part 5 Parameter control part 6 Life determination part 100 Image sensor apparatus

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に記載の画像センサ装置であって、
前記第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 .
請求項1乃至請求項4のいずれか一つに記載の画像センサ装置であって、
前記照明部の寿命を判定する寿命判定部をさらに備え、
前記寿命判定部は、前記照度調整パラメータの値が前記照度を高める値になる程、前記照明部の寿命を短く判定する、画像センサ装置。
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.
請求項1乃至請求項5のいずれか一つに記載の画像センサ装置であって、
前記照明部は赤外線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.
JP2006142325A 2006-05-23 2006-05-23 Image sensor device Expired - Fee Related JP4743709B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
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