JP6139919B2 - Signal control device - Google Patents

Signal control device Download PDF

Info

Publication number
JP6139919B2
JP6139919B2 JP2013044782A JP2013044782A JP6139919B2 JP 6139919 B2 JP6139919 B2 JP 6139919B2 JP 2013044782 A JP2013044782 A JP 2013044782A JP 2013044782 A JP2013044782 A JP 2013044782A JP 6139919 B2 JP6139919 B2 JP 6139919B2
Authority
JP
Japan
Prior art keywords
signal
tracking
tracking target
pedestrian
traffic light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013044782A
Other languages
Japanese (ja)
Other versions
JP2014174646A (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.)
Koito Electric IndustriesLtd
Original Assignee
Koito Electric IndustriesLtd
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 Koito Electric IndustriesLtd filed Critical Koito Electric IndustriesLtd
Priority to JP2013044782A priority Critical patent/JP6139919B2/en
Publication of JP2014174646A publication Critical patent/JP2014174646A/en
Application granted granted Critical
Publication of JP6139919B2 publication Critical patent/JP6139919B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Description

本発明は、歩行者の道路上における横断可否を指示する信号機の灯色を制御する信号制御装置であり、特に、歩行者の横断に最適な青時間を確保するための信号制御装置に関する。   The present invention relates to a signal control device that controls the light color of a traffic light that indicates whether or not a pedestrian can cross a road, and more particularly to a signal control device that secures an optimal blue time for a pedestrian to cross.

従来より、道路上の横断歩道等に備えられている歩行者用の信号機は、所定の周期ごとに青信号と赤信号とに切り替えられて、青信号から赤信号に切り替わる際には青信号が一時的に点滅するように制御されていた。ここで、歩行者向きの青信号の時間が短ければ、交通弱者の横断に支障を来す虞があり、逆に青信号の時間が長すぎても、車両の通行を過度に妨げる虞があった。   Conventionally, traffic lights for pedestrians provided on pedestrian crossings and the like on roads are switched between a green signal and a red signal every predetermined cycle, and when switching from a green signal to a red signal, the green signal is temporarily It was controlled to flash. Here, if the time of the green light for pedestrians is short, there is a risk of hindering the crossing of the traffic weak, and conversely, even if the time of the green light is too long, there is a risk of excessively hindering the passage of the vehicle.

そこで、歩行者の横断に十分配慮しつつ車両の不必要な停止を抑制するために、既に様々な信号制御装置が提案されている。
例えば、特許文献1には、横断歩道付近に設定された検出エリア内の歩行者の密度や人数を逐次検出し、青信号点灯後における歩行者の密度や人数の最大値を検出し、最大値に対する逐次検出された割合が所定の閾値を下回ると青信号の点滅開始を要求する技術が開示されている。
Therefore, various signal control devices have already been proposed in order to suppress unnecessary stopping of the vehicle while paying sufficient attention to the crossing of pedestrians.
For example, Patent Literature 1 sequentially detects the density and number of pedestrians in a detection area set near a pedestrian crossing, detects the maximum number of pedestrians and the number of people after a green light is lit, and A technique for requesting the start of blinking of a green light when the successively detected ratio falls below a predetermined threshold is disclosed.

また、特許文献2には、横断歩道の周辺等の信号待ちエリアにおける歩行者の人数を検出し、信号待ちエリアの歩行者の人数に応じて、歩行者向けの青信号の時間幅を段階的または連続的に増減する制御を行う技術が開示されている。さらに、この青信号の終盤において横断歩道に歩行者が存在する場合は、青信号の点灯時間を延長する特別な制御も行うようになっていた。   Further, in Patent Document 2, the number of pedestrians in a signal waiting area such as the vicinity of a pedestrian crossing is detected, and the time width of a green signal for pedestrians is stepped or stepped according to the number of pedestrians in the signal waiting area. A technique for performing control to increase or decrease continuously is disclosed. Furthermore, when there is a pedestrian on the pedestrian crossing at the end of the green light, special control for extending the lighting time of the green light is also performed.

特許第4368259号公報Japanese Patent No. 4368259 特許第3736463号公報Japanese Patent No. 3736463

しかしながら、前述した特許文献1に記載の技術では、歩行者が少ない場合には、単に歩行者が横断歩道を渡り終わるのを待つ制御と変わりがなかった。しかも、歩行者がいない時は最大値(0人)が継続することになり、歩行者向けの信号が不必要に青信号に維持され、車両の通行の妨げとなる虞があった。さらに、青信号の終盤に次々と歩行者が進入する場合(3人→2人→3人→2人等)には、徒に青信号の点灯時間が長引くことになり冗長性が増すという問題もあった。   However, in the technique described in Patent Document 1 described above, when the number of pedestrians is small, there is no difference from the control that simply waits for the pedestrians to cross the pedestrian crossing. Moreover, when there are no pedestrians, the maximum value (0 people) continues, and the signal for pedestrians is unnecessarily maintained at a green light, which may hinder the passage of the vehicle. In addition, when pedestrians enter the end of the green light one after another (3 → 2 → 3 → 2 etc.), there is a problem that the lighting time of the green light is prolonged and the redundancy is increased. It was.

また、特許文献2に記載の技術では、あくまで信号待ちエリアの歩行者の人数に応じた制御であり、実際に横断歩道を横断している実歩行者数に応じた制御ではなかった。そのため、歩行者の歩行速度に応じた制御ができず、歩行速度の遅い交通弱者に対する特別な制御も合わせて行う必要があった。さらに、この特別な制御は、交通弱者に対してだけでなく、青信号の終盤の駆け込み等により、不必要に実行される可能性があり、制御が煩雑になるという問題があった。   Moreover, in the technique described in Patent Document 2, the control is based on the number of pedestrians in the signal waiting area, and is not control based on the actual number of pedestrians actually crossing the pedestrian crossing. Therefore, control according to the walking speed of the pedestrian cannot be performed, and it is necessary to perform special control for a traffic weak person whose walking speed is slow. Furthermore, there is a problem that this special control may be performed unnecessarily not only by a traffic weak person but also by the end of the green light, and the control becomes complicated.

本発明は、以上のような従来技術の有する問題点に着目してなされたものであり、歩行者の実際の横断状況を追跡して歩行者向けの信号機の灯色を制御することにより、歩行者の横断に最適な青時間を確保することができると共に、車両の円滑な通行も実現することができる信号制御装置を提供することを目的としている。   The present invention has been made paying attention to the above-mentioned problems of the prior art, and by tracking the actual crossing situation of the pedestrian and controlling the light color of the traffic light for the pedestrian, It is an object of the present invention to provide a signal control device that can secure an optimum green time for crossing a person and can also realize smooth traffic of a vehicle.

前述した目的を達成するための本発明の要旨とするところは、以下の各項の発明に存する。
[1]歩行者の道路上における横断可否を指示する信号機(11)の灯色を制御する信号制御装置(10)において、
信号機(11)が赤信号から青信号に切り替わってから横断を開始する歩行者のうち特定の個ないし群を追跡対象として検出可能な検出手段(43)と、
前記追跡対象が道路上における横断開始側の基準位置から横断終了側の指定位置まで移動する状況を追跡可能な追跡手段(44)と、
前記追跡対象が前記指定位置に到達したか否かを判定可能な判定手段(45)と、を有し、
前記検出手段(43)は、前記基準位置から前記指定位置に亘る範囲を少なくとも撮影可能な撮影部(20)から逐次入力された画像に基づいて、信号機(11)が赤信号から青信号に切り替わった時から所定秒経過するまでの間に前記基準位置を通過した歩行者の個ないし群を追跡対象として検出し、
前記判定手段(45)により前記追跡対象が前記指定位置に到達したと判定された結果に基づいて、信号機(11)の灯色を切り替える契機とすることを特徴とする信号制御装置(10)。
The gist of the present invention for achieving the object described above resides in the inventions of the following items.
[1] In the signal control device (10) for controlling the color of the traffic light (11) instructing whether or not the pedestrian can cross the road,
Detection means (43) capable of detecting a specific individual or group as a tracking target among pedestrians that start crossing after the traffic light (11) switches from a red signal to a green signal;
Tracking means (44) capable of tracking a situation in which the tracking target moves from a reference position on the crossing start side to a designated position on the crossing end side on the road;
Determination means (45) capable of determining whether or not the tracking target has reached the designated position,
In the detection means (43), the traffic light (11) is switched from a red signal to a blue signal based on images sequentially input from the photographing unit (20) capable of photographing at least a range from the reference position to the designated position. Detecting pedestrians or groups of pedestrians that have passed through the reference position during a predetermined time from the time as a tracking target,
A signal control device (10), characterized in that, based on a result determined by the determination means (45) that the tracking target has reached the designated position, a signal color of the traffic light (11) is switched.

[2]前記検出手段(43)により、信号機(11)が赤信号から青信号に切り替わってから横断を開始する歩行者が検出されなかった場合には、信号機(11)が赤信号から青信号に切り替わった時からの所定時間の経過に基づいて、信号機(11)の灯色を切り替える契機とすることを特徴とする[1]に記載の信号制御装置(10)。   [2] When the pedestrian who starts crossing after the traffic signal (11) switches from the red signal to the blue signal is not detected by the detection means (43), the traffic signal (11) switches from the red signal to the green signal. The signal control device (10) according to [1], characterized in that the signal color of the traffic light (11) is switched based on a lapse of a predetermined time from the time when the signal is transmitted.

[3]前記所定時間は、予め定められた規定値を各種パラメータに応じて変更可能であることを特徴とする[2]に記載の信号制御装置(10)。   [3] The signal control device (10) according to [2], wherein the predetermined time can be changed in accordance with predetermined parameters according to various parameters.

[4]前記追跡手段(44)は、前記撮影部(20)から逐次入力された画像に基づいて、前記検出手段(43)により検出された前記追跡対象が前記指定位置を通過するまでの間に、該追跡対象である歩行者の個ないし群が分離または結合した場合には、前記追跡対象の属性を引き継いだ新たな追跡対象として認識しつつ追跡することを特徴とする[1],[2]または[3]に記載の信号制御装置(10)。 [4] The tracking means (44) is based on the time until the tracking target detected by the detection means (43) passes the specified position based on the images sequentially input from the imaging unit (20). In addition, when the individual or group of pedestrians to be tracked is separated or combined, tracking is performed while recognizing as a new tracking target that inherits the attribute of the tracking target [1], [ The signal control device (10) according to [2] or [3] .

[5]前記判定手段(45)は、前記撮影部(20)から逐次入力された画像に基づいて、前記検出手段(43)により検出された前記追跡対象の他、前記追跡手段(44)により認識された新たな追跡対象がある場合には、該新たな追跡対象も含む全ての追跡対象が前記指定位置に到達した時に、該判定結果を出力することを特徴とする[4]に記載の信号制御装置(10)。 [5] The determination unit (45) is based on the images sequentially input from the photographing unit (20), and the tracking unit (44) detects the tracking target detected by the detection unit (43). The determination result is output when all the tracking targets including the new tracking target reach the designated position when there is a recognized new tracking target, [4] Signal control device (10).

[6]前記信号機(11)の灯色の切り替えを制御する制御手段(50)を別に有し、
前記制御手段(50)は、前記判定手段(45)からの判定結果に基づいて、歩行者向けの青信号を点滅させる制御を実行することを特徴とする[5]に記載の信号制御装置(10)。
[6] Separately includes a control means (50) for controlling switching of the lamp color of the traffic light (11),
The signal control device (10 ) according to [5] , wherein the control means (50) executes control for blinking a green light for pedestrians based on a determination result from the determination means (45). ).

[7]前記制御手段(50)は、前記判定手段(45)からの判定結果に基づいて、歩行者向けの赤信号に切り替える制御を実行することを特徴とする[6]に記載の信号制御装置(10)。 [7] The signal control according to [6] , wherein the control means (50) executes control to switch to a red signal for pedestrians based on the determination result from the determination means (45). Device (10).

次に、前述した解決手段に基づく作用を説明する。
前記[1]に記載の信号制御装置(10)によれば、検出手段(43)により、横断を開始する歩行者のうち特定の個ないし群を追跡対象として検出する。歩行者は横断歩道を渡る際に、一人だけで行動する場合(「個」と定義)もあるし、複数人で集団となって行動する場合(「群」と定義)もあり、これらの形態に応じて検出手段(43)は、特定の個ないし群を任意に選別した上で追跡対象とする。
前記検出手段(43)は、道路上における横断開始側の基準位置から横断終了側の指定位置に亘る範囲を少なくとも撮影可能な撮影部(20)から逐次入力された画像に基づいて、信号機(11)が赤信号から青信号に切り替わった時から所定秒経過するまでの間に前記基準位置を通過した歩行者の個ないし群を追跡対象として検出する。
ここでの検出は、逐次入力される現在のフレームとその前のフレームの差分に対して、画像処理では一般的な2値化(閾値処理)を行い、さらにラベリング処理によって、画像内の背景から歩行者(の個ないし群)を追跡対象として検出することができる。かかる画像処理の詳細については後述する。
なお、追跡対象を選別する上で、信号機(11)が青信号に切り替わった時から所定秒経過するまでの間に前記基準位置を通過した歩行者とすることで、要は最初に渡り始める歩行者を対象とすることになる。一般的に交通弱者は、青信号に変わった直後に横断を始めると考えられるため、このような時間による選別によって、追跡対象に交通弱者が含まれる可能性を高めることができる。
Next, the operation based on the above solution will be described.
According to the signal control device (10) described in [1], the detection means (43) detects a specific individual or group of pedestrians starting to cross as a tracking target. When crossing a pedestrian crossing, pedestrians may act alone (defined as “individual”), or may act as a group of multiple people (defined as “group”). Accordingly, the detection means (43) selects a specific individual or group as an object to be tracked.
The detection means (43) is a traffic light (11) based on images sequentially input from a photographing unit (20) capable of photographing at least a range from a reference position on the crossing start side to a designated position on the crossing end side on the road. ) Detects a pedestrian or a group of pedestrians who have passed the reference position during a predetermined period from when the red signal is switched to the green signal.
In this detection, the difference between the current frame that is sequentially input and the previous frame is binarized (threshold processing) in image processing, and is further labeled from the background in the image. Pedestrians (individuals or groups) can be detected as tracking targets. Details of such image processing will be described later.
In selecting a tracking target, the pedestrian who has passed the reference position between the time when the traffic light (11) is switched to a green light and a predetermined time has elapsed, is the pedestrian who starts to cross first. Will be targeted. In general, it is considered that a weak traffic person starts to cross immediately after changing to a green light. Therefore, the possibility of including a weak traffic person in the tracking target can be increased by such a time selection.

次いで、追跡手段(44)により、追跡対象が横断開始側の基準位置から横断終了側の指定位置まで移動する状況を追跡する。ここで追跡手段(44)は、追跡対象である個ないし群の動きをリアルタイムで把握することになる。そして、判定手段(45)により、追跡対象が指定位置に到達したか否かを判定する。   Next, the tracking unit (44) tracks the situation in which the tracked object moves from the reference position on the crossing start side to the specified position on the crossing end side. Here, the tracking means (44) grasps the movement of the individual or group to be tracked in real time. Then, the determination means (45) determines whether or not the tracking target has reached the designated position.

前記判定手段(45)によって、前記追跡対象が前記指定位置に到達したと判定されると、その判定結果に基づいて、信号機(11)の灯色を切り替える契機とする。ここでの信号機(11)の灯色の切り替えは、判定手段(45)あるいは信号制御装置(10)自体で行う必要はなく、別にある制御装置で行うようにしても良い。なお、灯色を切り替える契機とは、例えば青信号から赤信号に替える赤信号要求信号の出力のみならず、青信号の点滅を開始させる青点滅要求信号の出力も含まれる。   If it is determined by the determination means (45) that the tracking target has reached the specified position, the light color of the traffic light (11) is switched based on the determination result. The switching of the lamp color of the traffic light (11) here does not have to be performed by the determination means (45) or the signal control device (10) itself, but may be performed by another control device. The trigger for switching the lamp color includes not only the output of a red signal request signal for switching from a blue signal to a red signal, but also an output of a blue blink request signal for starting blinking of the blue signal.

このように、前記追跡対象が全て渡り終えた時点で灯色を替えることになるため、前記追跡対象に高齢者、障害者、子供等の交通弱者を含ませることにより、交通弱者がより安全に、安心して渡れる信号制御を実現することができる。また、青信号の終盤になって駆け込みで渡る歩行者が現れたとしても、このような駆け込み歩行者を前記追跡対象に含ませないことにより、灯色の切り替えが影響を受けることがなく、切り替えが著しく遅れるような事態も生じない。   As described above, since all the tracking targets have been crossed, the lamp color is changed. Therefore, by including vulnerable persons such as elderly people, disabled persons, and children in the tracking target, it is safer for the traffic weak. Signal control that can be passed with peace of mind can be realized. In addition, even if a pedestrian crossing in the last half of the green light appears, by not including such a rushed pedestrian in the tracking target, the switching of the light color is not affected, and the switching can be performed. There will be no significant delay.

前記[2]に記載の信号制御装置(10)によれば、前記検出手段(43)により、信号機(11)が赤信号から青信号に切り替わってから横断を開始する歩行者が検出されなかった場合には、信号機(11)が赤信号から青信号に切り替わった時からの所定時間の経過に基づいて、信号機(11)の灯色を切り替える契機とする。   According to the signal control device (10) described in [2], when the pedestrian that starts crossing after the traffic light (11) is switched from the red signal to the blue signal is not detected by the detection means (43). Is an opportunity to switch the color of the traffic light (11) based on the passage of a predetermined time from when the traffic light (11) switches from a red signal to a blue signal.

ここでの所定時間は、車両の通行をなるべく妨げないように必要最低限の短い時間に設定すると良い。これにより、歩行者がいないときには、歩行者向けの青信号の点灯時間は最短となり、車両を効率良く流通させることができる。   The predetermined time here may be set to a minimum necessary short time so as not to obstruct the passage of the vehicle as much as possible. Thereby, when there is no pedestrian, the lighting time of the green light for pedestrians becomes the shortest, and the vehicle can be distributed efficiently.

ただし、前記[3]に記載したように、前記所定時間は、予め定められた規定値を各種パラメータに応じて変更可能とすると良い。ここで規定値とは、初期設定された基準となる時間であり、前述したように必要最低限の短い時間とするが、その時々の曜日や時間、季節等の各種パラメータに応じて、例えば歩行者数が多いと予想される週末には規定値より長い所定時間に設定する等、臨機応変に変更することができる。   However, as described in [3] above, the predetermined time may be changed according to various parameters for the predetermined time. Here, the specified value is a time set as a reference that is initially set, and is set to a minimum necessary short time as described above. Depending on various parameters such as the day of the week, time, and season, for example, walking On weekends when the number of people is expected to be large, it can be changed flexibly such as setting a predetermined time longer than the specified value.

また、前記[4]に記載の信号制御装置(10)によれば、前記追跡手段(44)は、前記撮影部(20)から逐次入力された画像に基づいて、前記検出手段(43)により検出された追跡対象が前記指定位置を通過するまでの間に、該追跡対象である歩行者の個ないし群が分離または結合した場合には、前記追跡対象の属性を引き継いだ新たな追跡対象として認識しつつ追跡する。
このように、追跡対象の様々な動きに応じて、最初に検出した追跡対象を漏れなく正確に追跡することができる。
Further, according to the signal control device (10) described in [4] , the tracking unit (44) is controlled by the detection unit (43) based on images sequentially input from the photographing unit (20). If the pedestrians or groups that are the tracking target are separated or combined before the detected tracking target passes through the specified position, the tracking target attribute is taken as a new tracking target. Track while recognizing.
Thus, according to various movements of the tracking target, the tracking target detected first can be accurately tracked without omission.

さらに、前記[5]に記載の信号制御装置(10)によれば、前記判定手段(45)は、前記撮影部(20)から逐次入力された画像に基づいて、前記検出手段(43)により検出された追跡対象の他、前記追跡手段(44)により認識された新たな追跡対象がある場合には、該新たな追跡対象も含む全ての追跡対象が前記指定位置に到達した時に、該判定結果を出力する。
これにより、最初に検出した追跡対象の全てが無事に渡り終えた時点で、判定結果を出力することにより、該判定結果に基づいて信号機(11)の灯色を切り替える制御を行うことが可能となる。
Further, according to the signal control device (10) described in [5] , the determination unit (45) is based on the images sequentially input from the photographing unit (20) by the detection unit (43). If there is a new tracking target recognized by the tracking means (44) in addition to the detected tracking target, the determination is made when all the tracking targets including the new tracking target have reached the designated position. Output the result.
Thereby, it is possible to perform control for switching the lamp color of the traffic light (11) based on the determination result by outputting the determination result when all of the first detected tracking objects have successfully passed. Become.

ここで、信号機(11)の灯色を切り替える制御は、前述したように信号制御装置(10)自体で行う必要はないが、信号制御装置(10)の構成の一部とする制御手段(50)によって実現しても良い。
前記[6]に記載の信号制御装置(10)によれば、前記制御手段(50)は、前記判定手段(45)からの判定結果に基づいて、歩行者向けの青信号を点滅させる制御を実行する。
あるいは、前記[7]に記載したように、前記青信号の点滅に加えて、青信号を赤信号に切り替える制御も実行するようにしても良い。
Here, the control for switching the color of the traffic light (11) does not have to be performed by the signal control device (10) itself as described above, but the control means (50) as a part of the configuration of the signal control device (10). ).
According to the signal control device (10) described in [6] , the control means (50) performs control for blinking a pedestrian green signal based on the determination result from the determination means (45). To do.
Alternatively, as described in [7] above, in addition to the blinking of the blue signal, control for switching the blue signal to a red signal may also be executed.

本発明に係る信号制御装置によれば、歩行者の実際の横断状況を追跡して歩行者向けの信号機の灯色を制御することにより、歩行者の横断に最適な青時間を確保することができると共に、車両の円滑な通行も実現することができる。   According to the signal control device of the present invention, it is possible to ensure the optimal blue time for pedestrian crossing by tracking the actual crossing situation of the pedestrian and controlling the light color of the traffic light for pedestrians. In addition, smooth traffic of the vehicle can be realized.

本発明の実施の形態に係る信号制御装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the signal control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る信号制御装置の制御で用いる係数テーブルを示す説明図である。It is explanatory drawing which shows the coefficient table used by control of the signal control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る信号制御装置による画像処理の一例を示す一連の画面遷移図である。It is a series of screen transition diagrams showing an example of image processing by the signal control device according to the embodiment of the present invention. 本発明の実施の形態に係る信号制御装置による画像処理の一例を示すイメージ図である。It is an image figure which shows an example of the image processing by the signal control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る信号制御装置の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the signal control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る信号制御装置の処理内容の変形例を示すフローチャートである。It is a flowchart which shows the modification of the processing content of the signal control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る信号制御装置の領域検出処理を示すフローチャートである。It is a flowchart which shows the area | region detection process of the signal control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る信号制御装置の追跡判定処理を示すフローチャートである。It is a flowchart which shows the tracking determination process of the signal control apparatus which concerns on embodiment of this invention.

以下、図面に基づき本発明を代表する実施の形態を説明する。
本実施の形態に係る信号制御装置10は、歩行者の道路上における横断可否を指示する信号機11の灯色を制御するものである。以下、横断歩道における歩行者専用の信号機11に適用する場合について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments representing the present invention will be described below with reference to the drawings.
The signal control device 10 according to the present embodiment controls the color of the traffic light 11 that instructs whether or not a pedestrian can cross the road. Hereinafter, the case where it applies to the traffic signal 11 only for the pedestrian in a pedestrian crossing is demonstrated.

図1は、本実施の形態に係る信号制御装置10の構成例を示すブロック図であり、信号制御装置10は、撮影部20と、設定部30と、処理部40と、それに信号制御装置50と、を備えている。ここで信号制御装置50は、信号機11の灯色の切り替え等を総合的に制御する「制御手段」であり、本来は信号制御装置10と独立して別のシステムを構成するものであるが、信号制御装置10の一部として捉えることもできる。この信号制御装置50については、周知のシステムであるので詳細な説明は省略する。   FIG. 1 is a block diagram illustrating a configuration example of a signal control device 10 according to the present embodiment. The signal control device 10 includes an imaging unit 20, a setting unit 30, a processing unit 40, and a signal control device 50. And. Here, the signal control device 50 is a “control unit” that comprehensively controls switching of the lamp color of the traffic light 11, and originally constitutes another system independently of the signal control device 10, It can also be understood as a part of the signal control device 10. Since this signal control device 50 is a known system, a detailed description thereof will be omitted.

撮影部20は、例えば、CCDイメージセンサやCMOSセンサ等を搭載した一般的なビデオカメラの他、赤外線ビデオカメラ等を主とする構成である。撮影部20は、横断歩道の周辺、例えば、信号機11を設置したポスト等の適所に、横断歩道において歩行者の横断開始側の基準位置から横断終了側の指定位置までを撮影エリアとしてカバーし得るように配置される。   The imaging unit 20 is mainly configured by, for example, an infrared video camera or the like in addition to a general video camera equipped with a CCD image sensor, a CMOS sensor, or the like. The imaging unit 20 can cover the pedestrian crossing as a shooting area from the reference position on the crossing start side to the designated position on the crossing end side of the pedestrian crossing in an appropriate place such as a post where the traffic light 11 is installed. Are arranged as follows.

撮影部20で撮影された画像(映像)は、処理部40に逐次入力されて記憶され、後述する人検出部43等によって画像処理される。なお、撮影部20を構成するビデオカメラは、例えば、1秒間に30フレームを撮影するものが一般的であるが、1秒間のフレーム数を任意に変更可能な可変フレームレートのものを用いても良い。また、ビデオカメラによる撮影は、例えば信号機11が青信号に切り替わった時点や、その少し前の時点等と、所定のタイミングで開始するように制御すると良い。   Images (videos) photographed by the photographing unit 20 are sequentially input and stored in the processing unit 40, and are subjected to image processing by a human detection unit 43 and the like described later. Note that the video camera constituting the photographing unit 20 is generally one that shoots 30 frames per second, for example, but may be one having a variable frame rate that can arbitrarily change the number of frames per second. good. In addition, it is preferable to control the video camera to start at a predetermined timing, for example, when the traffic light 11 is switched to a green signal, a point just before that, or the like.

本信号制御装置10では、撮影部20で撮影された画像の画像処理によって、追跡対象として検出した全ての歩行者が横断歩道を渡り終えたタイミングで、信号機11の灯色を切り替える契機、すなわち、信号制御装置50を介して信号機11を青信号から赤信号に替える予告の青点滅に切り替える。ただし、信号機11が赤信号から青信号に切り替わってから横断を開始する歩行者が検出されなかった場合には、信号機11が赤信号から青信号に切り替わった時から所定時間の経過に基づいて、信号機11の灯色を再び青信号から赤信号に切り替える契機としている。   In the present signal control device 10, when all the pedestrians detected as tracking targets have crossed the pedestrian crossing by the image processing of the image photographed by the photographing unit 20, an opportunity to switch the light color of the traffic light 11, that is, Via the signal control device 50, the traffic light 11 is switched to blue flashing for notice to change from a green signal to a red signal. However, if a pedestrian that starts crossing after the traffic light 11 is switched from the red signal to the green signal is not detected, the traffic light 11 is based on the passage of a predetermined time from when the traffic light 11 is switched from the red signal to the green signal. It is an opportunity to switch the lamp color from green to red again.

設定部30は、前述の所定時間を、予め定められた規定値から各種パラメータに応じて変更可能なものであり、例えば、外部入力手段としての形態で処理部40に接続されている。ここで各種パラメータとしては、規定値に乗算する係数項目として、本実施の形態では、図2の係数テーブルに示す「曜日」、「時間」、「季節」が定められている。なお、設定部30によって、後述する画像処理における検出領域や、基準位置および指定位置等についても適宜変更できるようにしても良い。   The setting unit 30 can change the above-described predetermined time from predetermined values according to various parameters. For example, the setting unit 30 is connected to the processing unit 40 in the form of an external input unit. Here, as various parameters, “day of the week”, “time”, and “season” shown in the coefficient table of FIG. 2 are defined as coefficient items to be multiplied by the specified value in the present embodiment. Note that the setting unit 30 may appropriately change a detection region, a reference position, a designated position, and the like in image processing to be described later.

各係数項目の種類、ないし各係数項目ごとの具体的な係数は、設定部30による所定の入力操作によって適宜変更することができる。例えば、「曜日」が日曜日であれば係数1.1が規定値に乗算され、「時間」が0時台であれば係数0.5がさらに乗算され、「季節」が年末年始であれば係数2.0がさらに乗算されて、具体的な所定時間が算出される。なお、規定値は、歩行者がいない場合に車両の通行の妨げとならないように、なるべく最低限の値(要は短い時間)に予め定めると良い。   The type of each coefficient item or a specific coefficient for each coefficient item can be appropriately changed by a predetermined input operation by the setting unit 30. For example, if “day of the week” is Sunday, the coefficient 1.1 is multiplied by the specified value, if “time” is in the midnight range, the coefficient 0.5 is further multiplied, and if “season” is the year-end and New Year period, the coefficient is multiplied. 2.0 is further multiplied to calculate a specific predetermined time. The prescribed value is preferably set to a minimum value (required in short time) as much as possible so as not to hinder the passage of the vehicle when there are no pedestrians.

設定部30によって設定されたパラメータ31は処理部40に記憶され、また、処理部40内にある時計41によってリアルタイムで日時や曜日、季節が計測されており、これらのデータに基づき、処理部40にある係数算出部42によって、その都度、前述の所定時間が算出される。そして、横断歩道を渡る歩行者がいなかった場合には、算出された所定時間が経過した時点で、信号制御装置50を介して信号機11が青信号から青点滅に切り替わるように制御される。   The parameters 31 set by the setting unit 30 are stored in the processing unit 40, and the date, day of the week, and season are measured in real time by a clock 41 in the processing unit 40. Based on these data, the processing unit 40 is measured. The predetermined time is calculated each time by the coefficient calculation unit 42. And when there is no pedestrian crossing a pedestrian crossing, when the calculated predetermined time passes, it is controlled via the signal control apparatus 50 that the traffic light 11 is switched from a green light to blinking blue.

処理部40は、各種制御の中枢的機能を果たすCPU(中央処理装置)と、CPUの実行するプログラムや各種の固定的データを記憶するROMと、プログラムを実行する上で一時的に必要になるデータを記憶するためのRAM、その他、インターフェース等を主要部とするマイクロコンピュータから成る。この処理部40は、代表的な機能として、人検出部43と、人追跡部44と、判定部45とを、有している。これらは、画像処理の手法によって歩行者を検出したり追跡するための機能である。   The processing unit 40 is temporarily necessary to execute a CPU (central processing unit) that performs a central function of various controls, a ROM that stores a program executed by the CPU and various fixed data, and a program. It consists of a RAM for storing data and a microcomputer whose main part is an interface. The processing unit 40 includes a human detection unit 43, a human tracking unit 44, and a determination unit 45 as representative functions. These are functions for detecting and tracking pedestrians by image processing techniques.

人検出部43は、信号機11が赤信号から青信号に切り替わってから、横断歩道の横断を開始する歩行者のうち特定の個ないし群を追跡対象として検出可能な「検出手段」である。
人追跡部44は、前記追跡対象が横断歩道(道路)上における横断開始側の基準位置から横断終了側の指定位置まで移動する状況を追跡可能な「追跡手段」である。
ここで、横断開始側の基準位置は、図3の画面遷移図に示すように、前記撮影部20から入力され画像処理を行う画像内の横断歩道上で、横断開始側に任意に定めた線が相当する。横断終了側の指定位置も、同じく画像内の横断歩道上で、横断終了側に任意に定めた線が相当する。
The human detection unit 43 is a “detection unit” that can detect a specific individual or group of pedestrians starting to cross a pedestrian crossing after the traffic light 11 switches from a red signal to a green signal as a tracking target.
The person tracking unit 44 is a “tracking unit” capable of tracking a situation in which the tracking target moves from a reference position on the crossing start side to a designated position on the crossing end side on the pedestrian crossing (road).
Here, as shown in the screen transition diagram of FIG. 3, the reference position on the crossing start side is a line arbitrarily defined on the crossing start side on the pedestrian crossing in the image inputted from the photographing unit 20 and performing image processing. Corresponds. The designated position on the crossing end side also corresponds to a line arbitrarily defined on the crossing end side on the crosswalk in the image.

判定部45は前記追跡対象が前記指定位置に到達したか否かを判定可能な「判定手段」である。
前記判定部45により前記追跡対象が前記指定位置に到達したと判定された結果に基づいて、信号機11の灯色を切り替える契機とする。すなわち、前記判定部45により前記追跡対象が前記指定位置に到達したと判定されると、判定部45から信号制御装置50に対して、信号機11の青信号の点滅を開始させる青点滅要求信号が出力されるように設定されている。ここで、青点滅要求信号の代わりに、青信号から赤信号に替える赤信号要求信号を出力しても良い。
The determination unit 45 is “determination means” capable of determining whether or not the tracking target has reached the designated position.
Based on the result of the determination unit 45 determining that the tracking target has reached the designated position, the light color of the traffic light 11 is switched. That is, when the determination unit 45 determines that the tracking target has reached the designated position, the determination unit 45 outputs a blue blinking request signal for starting the blinking of the blue light of the traffic light 11 to the signal control device 50. Is set to be. Here, instead of the blue blinking request signal, a red signal request signal for switching from the blue signal to the red signal may be output.

詳しく言えば人検出部43は、前記撮影部20から逐次入力された画像に基づいて、信号機11が赤信号から青信号に切り替わった時から所定秒経過するまでの間に、前記基準位置を通過した歩行者の個ないし群を追跡対象として検出する。ここでの具体的な画像処理については後述する。   Specifically, based on the images sequentially input from the photographing unit 20, the human detection unit 43 has passed through the reference position after a predetermined time has elapsed since the traffic light 11 switched from a red signal to a blue signal. Individuals or groups of pedestrians are detected as tracking targets. Specific image processing here will be described later.

また、人追跡部44は、前記撮影部20から逐次入力された画像に基づいて、前記人検出部43により検出された前記追跡対象が前記指定位置を通過するまでの間に、該追跡対象である歩行者の個ないし群が分離または結合した場合には、前記追跡対象の属性を引き継いだ新たな追跡対象として認識しつつ追跡する。ここでの具体的な画像処理についても後述する。   In addition, the person tracking unit 44 is based on the images sequentially input from the photographing unit 20 until the tracking target detected by the person detecting unit 43 passes through the designated position. When an individual or group of pedestrians are separated or combined, the tracking is performed while recognizing the attribute of the tracking target as a new tracking target. Specific image processing here will also be described later.

そして、判定部45は、前記撮影部20から逐次入力された画像に基づいて、前記人検出部43により検出された前記追跡対象の他、前記人追跡部44により認識された新たな追跡対象がある場合には、該新たな追跡対象も含む全ての追跡対象が前記指定位置に到達した時に、該判定結果を出力するように設定されている。ここでの具体的な画像処理についても後述する。   Based on the images sequentially input from the imaging unit 20, the determination unit 45 includes a new tracking target recognized by the human tracking unit 44 in addition to the tracking target detected by the human detection unit 43. In some cases, the determination result is set to be output when all the tracking targets including the new tracking target reach the designated position. Specific image processing here will also be described later.

また、図1において信号機11は、信号制御装置50の制御によって、図示省略した車両用信号機が青信号の時は赤信号であり、車両用信号機は所定の時間が経過すると、黄信号になってから赤信号に切り替わり、これと同時に信号機11は赤信号から青信号に切り替わる。そして、前述したように全ての追跡対象が指定位置に到達すると、青点滅してから赤信号に切り替わり、これと同時に車両用信号機は青信号に切り替わる。   Further, in FIG. 1, the traffic light 11 is a red signal when the vehicle traffic signal (not shown) is a green signal under the control of the signal control device 50, and the vehicle traffic signal becomes a yellow signal when a predetermined time elapses. At the same time, the traffic light 11 switches from a red signal to a blue signal. Then, as described above, when all the tracking targets reach the designated position, the light blinks in blue and then switches to a red signal, and at the same time, the vehicle traffic signal switches to a green signal.

次に、本実施の形態に係る信号制御装置10の作用を画像処理を中心に説明する。
図5は、処理部40の処理内容を示すフローチャートである。本ルーチンは、信号機11が赤信号から青信号に切り替わった時に開始される(ステップS100)。なお、青信号への切り替わりは、信号制御装置50から得る情報より判断する。そして、先ずステップS101で青点滅要求信号をOFFとし、次のステップS102では青点滅フラグをOFFとする。
Next, the operation of the signal control apparatus 10 according to the present embodiment will be described focusing on image processing.
FIG. 5 is a flowchart showing the processing contents of the processing unit 40. This routine is started when the traffic light 11 is switched from a red signal to a blue signal (step S100). Note that switching to the green light is determined from information obtained from the signal control device 50. First, in step S101, the blue blinking request signal is turned off, and in the next step S102, the blue blinking flag is turned off.

続いて、ステップS103に進むと、撮影部20から入力された画像(映像)を取り込み、今回の画像処理の対象とする。そして、ステップS104では、前記ステップS103で取り込んだ画像と指定フレーム前の画像との差分を取る。なお、差分を取る画像を、例えば一つ前など近いフレームとせずに、指定フレーム前の画像とするのは、歩行者の歩行速度が遅いと、近いフレームの差分では移動領域が出にくいためである。   Subsequently, when the process proceeds to step S103, an image (video) input from the photographing unit 20 is captured and set as a target of the current image processing. In step S104, the difference between the image captured in step S103 and the image before the designated frame is obtained. Note that the image that takes the difference is not the close frame, for example, the previous frame, but the image before the specified frame, because if the walking speed of the pedestrian is slow, the moving area is difficult to appear in the difference between the close frames. is there.

次いで、ステップS105に進むと、前記ステップS104で生成した差分画像を、所定の閾値で例えば輝度0と輝度2(8bit)に2値化する。このような2値化(閾値処理)により、画像内の各画素の明るさを一定の基準値で例えば黒色と白色とに択一的に変換することができる。ここで、2値化した画像内において、背景から歩行者(の個ないし群)を追跡対象として検出するためにラベリング処理を行う。   Next, in step S105, the difference image generated in step S104 is binarized into, for example, luminance 0 and luminance 2 (8 bits) with a predetermined threshold. By such binarization (threshold processing), the brightness of each pixel in the image can be alternatively converted into, for example, black and white with a constant reference value. Here, in the binarized image, a labeling process is performed in order to detect a pedestrian (an individual or a group) from the background as a tracking target.

ラベリング処理とは、2値化した画像内で互いに連結している各画素に同じラベル(番号)を属性として付加する処理であり、複数の領域をグループとして分類すると共に特定の領域を抽出することができる。そこで、ステップS106により、前記ステップS105で生成した2値画像をラベリング処理することで、歩行者(の個ないし群)に相当する領域の座標や面積を求める。これにより、画像内において、背景から歩行者(の個ないし群)を追跡対象として検出することができ、後述するが追跡対象は、所定秒ごとに区分A,B,C…というグループ属性が付加される。なお、具体的なラベリング処理の手法には様々な種類があるが、既に公知であるので詳細な説明は省略する。   The labeling process is a process of adding the same label (number) as an attribute to each pixel connected to each other in the binarized image, and classifying a plurality of areas as a group and extracting a specific area Can do. Therefore, in step S106, the binary image generated in step S105 is labeled to obtain the coordinates and area of the area corresponding to the pedestrian (or individual or group). As a result, pedestrians (individuals or groups) can be detected from the background as tracking targets in the image, and the tracking attributes are added with group attributes A, B, C... Is done. There are various types of specific labeling methods, but since they are already known, detailed description thereof is omitted.

次いで、ステップS107では領域検出処理を実行し、さらに、ステップS108では追跡判定処理を実行する。これら各処理について詳しくは後述する。その後、ステップS109に進んで、横断歩道を横断している追跡対象(例えば区分A)がいるか否かを判定する。ここで、追跡対象がいなければ(ステップS109でYes)、ステップS110に移行して所定時間が経過したか否かを判定する。一方、追跡対象がいれば(ステップS109でNo)、ステップS113に移行して追跡対象の横断が終了したか否かを判定する。   Next, in step S107, an area detection process is executed, and in step S108, a tracking determination process is executed. Details of these processes will be described later. Then, it progresses to step S109 and it is determined whether there exists the tracking target (for example, division A) crossing the pedestrian crossing. Here, if there is no tracking target (Yes in step S109), the process proceeds to step S110 to determine whether or not a predetermined time has elapsed. On the other hand, if there is a tracking target (No in step S109), the process proceeds to step S113 to determine whether or not the tracking target has been crossed.

ステップS110の判定で、所定時間が経過していれば(ステップS110でYes)、ステップS111で青点滅フラグをONにして、続くステップS112で青点滅要求信号をONにする。その後、ステップS116に移行する。一方、所定時間が経過していなければ(ステップS110でNo)、そのままステップS116にジャンプする。ここで、所定時間とは、横断歩道を渡る歩行者がいなかった場合の前述した所定時間である。   If it is determined in step S110 that the predetermined time has elapsed (Yes in step S110), the blue blinking flag is turned on in step S111, and the blue blinking request signal is turned on in the subsequent step S112. Thereafter, the process proceeds to step S116. On the other hand, if the predetermined time has not elapsed (No in step S110), the process jumps to step S116 as it is. Here, the predetermined time is the above-described predetermined time when there is no pedestrian crossing the pedestrian crossing.

また、ステップS113の判定で、追跡対象(例えば区分A)の横断が終了していれば(ステップS113でYes)、ステップS114で青点滅フラグをONにして、続くステップS115で青点滅要求信号をONにする。一方、追跡対象(例えば区分A)の横断が終了しておらず、未だ基準位置ないし指定位置の間に存在すれば(ステップS113でNo)、そのままステップS116にジャンプする。   If it is determined in step S113 that the crossing of the tracking target (for example, section A) has been completed (Yes in step S113), the blue blinking flag is turned on in step S114, and the blue blinking request signal is transmitted in the subsequent step S115. Turn it on. On the other hand, if the traversing of the tracking target (for example, section A) is not completed and still exists between the reference position and the designated position (No in step S113), the process jumps to step S116 as it is.

ステップS116に進むと、信号機11が青信号であるか否かを判定する。ここで、信号機11がまだ青信号であれば(ステップS116でYes)、前述したステップS103まで戻って、それ以降の処理を繰り返す。一方、信号機11が青信号でなければ(ステップS116でNo)、ステップS117で青点滅要求信号をONにして、本ルーチンの処理を一旦終了し(ステップS118)、再びステップS100の待機状態となる。   In step S116, it is determined whether or not the traffic light 11 is a green light. If the traffic light 11 is still a green signal (Yes in step S116), the process returns to the above-described step S103, and the subsequent processing is repeated. On the other hand, if the traffic light 11 is not a blue signal (No in step S116), the blue blinking request signal is turned ON in step S117, the processing of this routine is once ended (step S118), and the standby state of step S100 is entered again.

本ルーチンによれば、信号機11が青信号に切り替わった後、例えばx秒間に検出した渡り始めの歩行者を追跡対象(区分A)として追跡する。そして、追跡対象(区分A)の全てが渡り終えたら青点滅要求信号を伝達する。また、追跡対象(区分A)が発生しない場合には、所定時間の経過後に青点滅要求信号を伝達する。これにより、歩行者の横断に最適な青時間を確保することができると共に、車両の円滑な通行も実現することができる。   According to this routine, after the traffic light 11 is switched to a green light, for example, a pedestrian at the beginning of a transition detected in x seconds is tracked as a tracking target (section A). Then, when all of the tracking objects (section A) have been crossed, a blue blinking request signal is transmitted. When no tracking target (section A) is generated, a blue blinking request signal is transmitted after a predetermined time has elapsed. As a result, it is possible to secure the optimal green time for crossing pedestrians and to realize smooth traffic of the vehicle.

図6は、処理部40の処理内容の変形例を示すフローチャートである。本ルーチンも、前述した図5の処理と同様に、信号機11が赤信号から青信号に切り替わった時に開始される(ステップS200)。そして、先ずステップS201で青点滅要求信号をOFFとし、次のステップS202では赤信号要求信号をOFFとする。さらに、ステップS203で青点滅フラグをOFFとし、次のステップS204では赤フラグをOFFとする。   FIG. 6 is a flowchart illustrating a modification of the processing content of the processing unit 40. This routine is also started when the traffic light 11 is switched from a red signal to a blue signal, similarly to the processing of FIG. 5 described above (step S200). First, in step S201, the blue blink request signal is turned OFF, and in the next step S202, the red signal request signal is turned OFF. In step S203, the blue blinking flag is turned off, and in the next step S204, the red flag is turned off.

次いで、ステップS205に進むと、撮影部20から入力された画像(映像)を取り込み、今回の画像処理の対象とする。そして、ステップS206では、前記ステップS205で取り込んだ画像と、指定フレーム前の画像との差分を取る。ここで、差分を取る画像を、例えば一つ前など近いフレームとせずに、指定フレーム前の画像とするのは、前記ステップS104の場合と同様に、歩行者の歩行速度が遅いと近いフレームの差分では移動領域が出にくいためである。   Next, in step S205, the image (video) input from the photographing unit 20 is captured and set as a target of the current image processing. In step S206, the difference between the image captured in step S205 and the image before the designated frame is obtained. Here, the image for which the difference is taken, for example, the image before the designated frame without being a close frame such as the previous one is the same as the case of the step S104, as in the case of the step S104. This is because the movement area is difficult to appear in the difference.

そして、ステップS207に進むと、前記ステップS206で生成した差分画像を、所定の閾値で例えば輝度0と輝度2(8bit)に2値化する。さらに、ステップS208では、前記ステップS207で生成した2値画像をラベリング処理する。ここでも、前記ステップS106の場合と同様に、画像内で背景から検出した追跡対象に対して、所定秒ごとに区分A,B,C…というグループ属性を付加し、各追跡対象ごとに座標や面積を求める。   In step S207, the difference image generated in step S206 is binarized to, for example, luminance 0 and luminance 2 (8 bits) with a predetermined threshold. In step S208, the binary image generated in step S207 is labeled. Here, as in the case of step S106, a group attribute of sections A, B, C,... Is added to the tracking target detected from the background in the image every predetermined second, and coordinates and Find the area.

次いで、ステップS209では領域検出処理を実行し、さらに、ステップS210では追跡判定処理を実行する。これら各処理について詳しくは後述する。その後、ステップS211に進んで、青点滅フラグがOFFであるか否かを判定する。ここで、青点滅フラグがOFFであれば(ステップS211でYes)、ステップS212に移行して横断歩道を横断している追跡対象(区分A)がいるか否かを判定する。一方、青点滅フラグがOFFでなければ(ステップS211でNo)、ステップS219に移行して追跡対象(区分B)の横断が終了したか否かを判定する。   Next, in step S209, area detection processing is executed, and in step S210, tracking determination processing is executed. Details of these processes will be described later. Then, it progresses to step S211 and it is determined whether the blue blinking flag is OFF. Here, if the blue blinking flag is OFF (Yes in step S211), the process proceeds to step S212, and it is determined whether or not there is a tracking target (section A) crossing the pedestrian crossing. On the other hand, if the blue blink flag is not OFF (No in step S211), the process proceeds to step S219, and it is determined whether or not the tracking target (section B) has been crossed.

ステップS212の判定で、追跡対象(区分A)がいなければ(ステップS212でYes)、ステップS213に移行して所定時間が経過したか否かを判定する。一方、追跡対象(区分A)がいれば(ステップS212でNo)、ステップS216に移行して追跡対象(区分A)の横断が終了したか否かを判定する。   If it is determined in step S212 that there is no tracking target (section A) (Yes in step S212), the process proceeds to step S213 to determine whether a predetermined time has elapsed. On the other hand, if there is a tracking target (section A) (No in step S212), the process proceeds to step S216 to determine whether or not the crossing of the tracking target (section A) has ended.

ステップS213の判定で、所定時間が経過していれば(ステップS213でYes)、ステップS214で青点滅フラグをONにして、次のステップS215で青点滅要求信号をONにする。その後、ステップS223に移行する。一方、所定時間が経過していなければ(ステップS213でNo)、そのままステップS223にジャンプする。ここで、所定時間とは、横断歩道を渡る歩行者がいなかった場合の前述した所定時間である。   If it is determined in step S213 that the predetermined time has elapsed (Yes in step S213), the blue blinking flag is turned on in step S214, and the blue blinking request signal is turned on in the next step S215. Thereafter, the process proceeds to step S223. On the other hand, if the predetermined time has not elapsed (No in step S213), the process jumps to step S223 as it is. Here, the predetermined time is the above-described predetermined time when there is no pedestrian crossing the pedestrian crossing.

また、ステップS216の判定で、追跡対象(例えば区分A)の横断が終了していれば(ステップS216でYes)、ステップS217で青点滅フラグをONにして、次のステップS218で青点滅要求信号をONにする。一方、追跡対象(例えば区分A)の横断が終了しておらず、未だ基準位置ないし指定位置の間に存在すれば(ステップS216でNo)、そのままステップS223にジャンプする。   If it is determined in step S216 that the tracking target (for example, section A) has been crossed (Yes in step S216), the blue blinking flag is turned on in step S217, and the blue blinking request signal is transmitted in the next step S218. Set to ON. On the other hand, if the traversing of the tracking target (for example, section A) is not completed and still exists between the reference position and the designated position (No in step S216), the process jumps to step S223 as it is.

さらに、前記ステップS211からステップS219に移行すると、追跡対象(区分B)の横断が終了したか否かを判定する。ここで、追跡対象(区分B)の横断が終了していれば(ステップS219でYes)、ステップS220で赤フラグをONにして、次のステップS221で赤信号要求信号をONにする。さらに、ステップS222で青点滅フラグをONにして、ステップS223に移行する。一方、追跡対象(区分B)の横断が終了していなければ(ステップS219でNo)、ステップS222にジャンプして青点滅フラグをONにし、ステップS223に移行する。   Further, when the process proceeds from step S211 to step S219, it is determined whether or not the traversing of the tracking target (section B) is completed. If the traversing of the tracking target (section B) has been completed (Yes in step S219), the red flag is turned on in step S220, and the red signal request signal is turned on in the next step S221. In step S222, the blue blinking flag is turned ON, and the process proceeds to step S223. On the other hand, if the traversing of the tracking target (section B) has not ended (No in step S219), the process jumps to step S222 to turn on the blue blinking flag, and the process proceeds to step S223.

その後、ステップS223に進むと、信号機11が青信号あるいは青点滅信号であるか否かを判定する。ここで、信号機11が青信号あるいは青点滅信号であれば(ステップS223でYes)、前述したステップS205まで戻って、それ以降の処理を繰り返す。一方、信号機11が青信号あるいは青点滅信号でなければ(ステップS223でNo)、ステップS224で青点滅要求信号をONにして、次のステップS225で赤信号要求信号をONにして、本ルーチンの処理を一旦終了し(ステップS226)、再びステップS200の待機状態となる。   Then, when it progresses to step S223, it will be determined whether the traffic signal 11 is a blue signal or a blue blinking signal. Here, if the traffic light 11 is a blue signal or a blue blinking signal (Yes in step S223), the process returns to step S205 described above, and the subsequent processing is repeated. On the other hand, if the traffic light 11 is not a blue signal or a blue blinking signal (No in step S223), the blue blinking request signal is turned on in step S224, and the red signal request signal is turned on in the next step S225. Is temporarily terminated (step S226), and the standby state of step S200 is entered again.

本ルーチンによれば、信号機11が青信号に切り替わった後、例えばx秒間に検出した渡り始めの歩行者を追跡対象(区分A)として追跡する。また、x秒経過後からy秒間に検出した次の渡り始めの人を追跡対象(区分B)として追跡する。そして、追跡対象(区分A)の全てが渡り終えたら青点滅要求信号を伝達する。追跡対象(区分A)が発生しない場合には、所定時間の経過後に青点滅要求信号を伝達する。また、青点滅要求信号の伝達後、追跡対象(区分B)が全て渡り終えたら赤信号要求信号を伝達する。追跡対象(区分B)が発生しない場合には、所定時間の経過後に赤信号要求信号を伝達する。このように、追跡対象が渡り終えた判定結果に基づき、青信号の点滅を開始させるだけでなく、赤信号に切り替える契機としても良い。   According to this routine, after the traffic light 11 is switched to a green light, for example, a pedestrian at the beginning of a transition detected in x seconds is tracked as a tracking target (section A). Further, the person who starts the next transition detected in y seconds after elapse of x seconds is tracked as a tracking target (section B). Then, when all of the tracking objects (section A) have been crossed, a blue blinking request signal is transmitted. When the tracking target (section A) does not occur, a blue blinking request signal is transmitted after a predetermined time has elapsed. In addition, after the blue blink request signal is transmitted, the red signal request signal is transmitted when all the tracking targets (section B) have passed. When the tracking target (section B) does not occur, a red signal request signal is transmitted after a predetermined time has elapsed. Thus, based on the determination result that the tracking target has finished crossing, not only the blinking of the green light may be started, but also a trigger for switching to the red light.

図7は、処理部40の人検出部43ないし人追跡部44による領域検出処理を示すフローチャートである。本ルーチンは、図5で説明した処理内容におけるステップS107、図6で説明した処理内容におけるステップS209に相当する。本ルーチンは、前述した画像のラベリング処理の一環として開始され(ステップS300)、先ずはステップS301で変数iを0で初期化する。   FIG. 7 is a flowchart showing a region detection process performed by the human detection unit 43 or the human tracking unit 44 of the processing unit 40. This routine corresponds to step S107 in the processing content described in FIG. 5 and step S209 in the processing content described in FIG. This routine is started as a part of the above-described image labeling process (step S300). First, in step S301, a variable i is initialized with zero.

次いで、ステップS302に進むと、信号機11が赤信号から青信号に切り替わった時点の処理開始からx秒経過したか否かを判定する。ここで、未だx秒経過していなければ(ステップS302でYes)、ステップS303で、現在区分(変数)を(区分A)とする。一方、既にx秒経過していれば(ステップS302でNo)、ステップS304でy秒経過したか否かを判定する。   Next, in step S302, it is determined whether or not x seconds have elapsed since the start of processing at the time when the traffic light 11 was switched from a red signal to a blue signal. If x seconds have not yet elapsed (Yes in step S302), the current section (variable) is set to (section A) in step S303. On the other hand, if x seconds have already elapsed (No in step S302), it is determined in step S304 whether y seconds have elapsed.

そして、未だy秒経過していなければ(ステップS304でYes)、ステップS305に進み、現在区分(変数)を(区分B)とする。一方、既にy秒経過していれば(ステップS304でNo)、ステップS306に進んで、現在区分(変数)を(区分C)とする。   If y seconds have not yet elapsed (Yes in step S304), the process proceeds to step S305, and the current section (variable) is set to (section B). On the other hand, if y seconds have already elapsed (No in step S304), the process proceeds to step S306, and the current section (variable) is set to (section C).

このようなラベリング処理においては、後述するが図3の画面遷移図に示すように、処理開始から所定秒経過する毎にグループ属性(区分)が付加された領域は、1つずつに限られることはない。すなわち、実際の画像内において歩行者として検出された領域が互いに分離している場合には、各区分(A,B…)内でさらに枝番(A1,A2…)が付加され、それぞれ別々の個ないし群として識別される。   In such a labeling process, as will be described later, as shown in the screen transition diagram of FIG. 3, the area to which the group attribute (section) is added every predetermined second from the start of the process is limited to one at a time. There is no. That is, when the areas detected as pedestrians in the actual image are separated from each other, branch numbers (A1, A2...) Are further added in each section (A, B. They are identified as individuals or groups.

その後、ステップS307に進むと、前記変数iがラベル数に達しているか否かを判定する。ここで、前記変数iがラベル数に達していれば(ステップS307でNo)、そのまま本ルーチンの処理を終了する(ステップS331)。一方、前記変数iがラベル数に達していなければ(ステップS307でYes)、ステップS308に進み、ラベルiに一番近い追跡中の領域を検索する。なお、「一番近い」か否かを判断する距離とは、例えば、それぞれの領域毎の中点の間の距離とする。   Thereafter, when the process proceeds to step S307, it is determined whether or not the variable i has reached the number of labels. Here, if the variable i has reached the number of labels (No in step S307), the processing of this routine is terminated as it is (step S331). On the other hand, if the variable i has not reached the number of labels (Yes in step S307), the process proceeds to step S308, and the tracking area closest to the label i is searched. Note that the distance for determining whether or not it is “closest” is, for example, the distance between the midpoints of the respective regions.

次いで、ステップS309では、前記ステップS308で検索した追跡中の領域とラベルiとの距離が、予め設定した追跡距離(パラメータ)より近いか否かを判定する。ここで、距離が近ければ(ステップS309でYes)、ステップS310に進んで、前記ステップS308で検索した追跡中の領域に今回関連付けられた領域があるか否かを判定する。一方、距離が遠いか、または追跡中の領域がなければ(ステップS309でNo)、後述するステップS323に進む。   Next, in step S309, it is determined whether or not the distance between the tracked area searched in step S308 and the label i is closer than a preset tracking distance (parameter). Here, if the distance is short (Yes in step S309), the process proceeds to step S310, and it is determined whether or not there is an area currently associated with the area being tracked searched in step S308. On the other hand, if the distance is long or there is no area being tracked (No in step S309), the process proceeds to step S323 described later.

前記ステップS310の判定で、前記ステップS308で検索した追跡中の領域に今回関連付けられた領域があれば(ステップS310でYes)、ステップS311に進んで、ラベルiの領域が領域検出範囲の外枠と重なっているか否かを判定する。一方、今回関連付けられた領域がなければ(ステップS310でNo)、ステップS322に進んで、前記ステップS308で検索した追跡中の領域にラベルiを関連付けた後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。   If it is determined in step S310 that there is an area currently associated with the area being tracked searched in step S308 (Yes in step S310), the process proceeds to step S311 where the area of label i is the outer frame of the area detection range. It is determined whether or not it overlaps. On the other hand, if there is no area associated this time (No in step S310), the process proceeds to step S322, and after label i is associated with the area being tracked searched in step S308, 1 is added to variable i in step S330. Then, the process returns to step S307, and the subsequent processing is repeated.

また、前記ステップS311の判定で、ラベルiの領域が領域検出範囲の外枠と重なっていれば(ステップS311でYes)、ステップS312に進んで、ラベルiを新規検出領域として関連付け済みとして追跡中の領域に追加する。続くステップS313では、前記ステップS312で追加した領域の区分を現在区分(前記ステップS302〜S306で設定したもの)とした後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。   If it is determined in step S311 that the area of label i overlaps the outer frame of the area detection range (Yes in step S311), the process proceeds to step S312 and the label i is being tracked as being associated as a new detection area. Add to the area. In the subsequent step S313, after the area segment added in step S312 is set as the current segment (set in steps S302 to S306), 1 is added to the variable i in step S330, and the process returns to step S307. Repeat the subsequent processing.

一方、前記ステップS311の判定で、ラベルiの領域が領域検出範囲の外枠と重なっていなければ(ステップS311でNo)、ステップS314に進んで、前記ステップS308で検索した追跡中の領域とラベルiとの距離が、予め設定した結合判定距離(パラメータ)より近いか否かを判定する。   On the other hand, if it is determined in step S311 that the area of label i does not overlap the outer frame of the area detection range (No in step S311), the process proceeds to step S314, and the tracking area and label searched in step S308 It is determined whether or not the distance to i is closer than a preset combination determination distance (parameter).

ここで、結合判定距離(パラメータ)より近ければ(ステップS314でYes)、ステップS315で、前記ステップS308で検索した追跡中の領域に関連付けた領域とラベルiとを結合して、両者を組み合わせた最大矩形となるように関連付けを更新する。その後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。   Here, if it is closer than the combination determination distance (parameter) (Yes in Step S314), in Step S315, the region associated with the region being tracked searched in Step S308 and the label i are combined and combined. Update the association to be the largest rectangle. Thereafter, 1 is added to the variable i in step S330, and the process returns to step S307 to repeat the subsequent processing.

一方、結合判定距離(パラメータ)より遠ければ(ステップS314でNo)、ステップS316に進んで、前記ステップS308で検索した追跡中の領域から、ラベルiが関連付け領域よりも遠いか否かを判定する。ここで、遠ければ(ステップS316でYes)、ステップS317で、ラベルiを新規検出領域として関連付け済みとして追跡中の領域に追加し、続くステップS318で、前記ステップS317で追加した領域の区分を現在区分(前記ステップS302〜S306で設定したもの)とする。   On the other hand, if the distance is longer than the combination determination distance (parameter) (No in step S314), the process proceeds to step S316, and it is determined whether or not the label i is farther than the associated area from the tracked area searched in step S308. . If it is far (Yes in step S316), in step S317, the label i is added as a newly detected area to the area being tracked, and in step S318, the area segment added in step S317 is set to the current segment. Classification (set in steps S302 to S306).

このように、追跡中の領域(追跡対象)が分離した場合には、図4(a)のイメージ図にも示すように、それぞれ同じ区分(例えばA)の属性が引き継がれることになる。
その後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。
As described above, when the tracked area (tracking target) is separated, the attributes of the same section (for example, A) are inherited as shown in the image diagram of FIG.
Thereafter, 1 is added to the variable i in step S330, and the process returns to step S307 to repeat the subsequent processing.

また、前記ステップS316の判定で、前記ステップS308で検索した追跡中の領域から、ラベルiが関連付け領域よりも近ければ(ステップS316でNo)、ステップS319に進んで、前記ステップS308で検索した追跡中の領域に関連付けた領域を、新規検出領域として関連付け済みとして追跡中の領域に追加する。続くステップS320で、前記ステップS308で検索した追跡中の領域にラベルiを関連付けるが、ステップS321で、前記ステップS319で追加した新規領域の区分を、前記ステップS320の領域の区分と同じとする。その後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。   If it is determined in step S316 that the label i is closer to the associated area from the tracking area searched in step S308 (No in step S316), the process proceeds to step S319, and the tracking searched in step S308. The area associated with the middle area is added to the area being tracked as being associated as a new detection area. In subsequent step S320, the label i is associated with the area being tracked searched in step S308. In step S321, the new area added in step S319 is the same as the area in step S320. Thereafter, 1 is added to the variable i in step S330, and the process returns to step S307 to repeat the subsequent processing.

次に、前記ステップS309に戻って、このステップS309の判定結果がNoのときは、ステップS323に進んで、前記ステップS308で検索した追跡中の領域にラベルiの領域が重なるか否かを判定する。ここで、重なれば(ステップS323でYes)、ステップS324に進んで、前記ステップS308で検索した追跡中の領域にラベルiを関連付けた後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。一方、重ならなければ(ステップS323でNo)、ステップS325に進んで、ラベルiの領域が領域検出範囲の外枠と重なっているか否かを判定する。   Next, returning to step S309, when the determination result in step S309 is No, the process proceeds to step S323, where it is determined whether or not the area of label i overlaps the area being tracked searched in step S308. To do. Here, if they overlap (Yes in step S323), the process proceeds to step S324, and after associating the label i with the tracked area searched in step S308, 1 is added to the variable i in step S330. The process returns to step S307, and the subsequent processing is repeated. On the other hand, if they do not overlap (No in step S323), the process proceeds to step S325, and it is determined whether or not the area of label i overlaps the outer frame of the area detection range.

ここで、前記ラベルiの領域が領域検出範囲の外枠と重なっていれば(ステップS325でYes)、ステップS326で、ラベルiを新規検出領域として関連付け済みとして追跡中の領域に追加する。さらに、ステップS327で、前記ステップS326で追加した新規領域の区分を現在区分(前記ステップS302〜S306で設定したもの)とした後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。   Here, if the area of the label i overlaps with the outer frame of the area detection range (Yes in step S325), in step S326, the label i is added as a newly detected area to the area being tracked. Further, in step S327, the new area added in step S326 is set as the current category (set in steps S302 to S306), and 1 is added to the variable i in step S330, and then the step S307 is performed. And the subsequent processing is repeated.

一方、前記ラベルiの領域が領域検出範囲の外枠と重なっていなければ(ステップS325でNo)、ステップS328で、ラベルiを新規検出領域として関連付け済みとして追跡中の領域に追加する。さらに、ステップS329で、前記ステップS328で追加した新規領域の区分を現在区分(前記ステップS302〜S306で設定したもの)とした後、ステップS330で変数iに1を加算してから、前記ステップS307まで戻り、それ以降の処理を繰り返す。   On the other hand, if the area of the label i does not overlap the outer frame of the area detection range (No in step S325), in step S328, the label i is added as a newly detected area to the area being tracked. Further, in step S329, the new area added in step S328 is set as the current area (set in steps S302 to S306), 1 is added to the variable i in step S330, and then step S307 is executed. And the subsequent processing is repeated.

図8は、処理部40の人追跡部44ないし判定部45による追跡判定処理を示すフローチャートである。本ルーチンは、図5で説明した処理内容におけるステップS108、図6で説明した処理内容におけるステップS210に相当する。本ルーチンも、前述した画像のラベリング処理の一環として開始され(ステップS400)、先ずはステップS401で変数iを0で初期化する。   FIG. 8 is a flowchart showing the tracking determination process by the human tracking unit 44 through the determination unit 45 of the processing unit 40. This routine corresponds to step S108 in the processing content described in FIG. 5 and step S210 in the processing content described in FIG. This routine is also started as a part of the above-described image labeling process (step S400). First, the variable i is initialized to 0 in step S401.

次いで、ステップS402に進むと、前記変数iが追跡中の領域数より多いか否かを判定する。ここで、多ければ(ステップS402でNo)、そのまま本ルーチンの処理を終了する(ステップS415)。一方、少なければ(ステップS402でYes)、ステップS403に進んで、追跡中の領域iに関連付け領域があるか否かを判定する。   Next, in step S402, it is determined whether or not the variable i is larger than the number of areas being tracked. If there is more (No in step S402), the processing of this routine is terminated as it is (step S415). On the other hand, if it is less (Yes in Step S402), the process proceeds to Step S403, and it is determined whether or not there is an associated area in the area i being tracked.

ここで、新規検出領域であれば(ステップS403でYes)、ステップS404で、追跡中の領域iの見失い数(変数)を0で初期化してから、ステップS405に進む。一方、関連付け領域がなければ(ステップS403でNo)、ステップS407で、追跡中の領域iに一番近い追跡中の領域を検索してから、ステップS408に進む。なお、ここで「一番近い」か否かを判断する距離は、前記ステップS308の場合と同様に、例えば、それぞれの領域毎の中点の間の距離とする。   Here, if it is a new detection area (Yes in step S403), in step S404, the number of missing areas (variables) of the area i being tracked is initialized to 0, and the process proceeds to step S405. On the other hand, if there is no associated area (No in step S403), in step S407, a tracking area closest to the tracking area i is searched, and then the process proceeds to step S408. Here, the distance for determining whether or not it is “closest” is, for example, the distance between the midpoints of the respective regions, as in the case of step S308.

そして、ステップS405に進むと、追跡中の領域iが指定位置(パラメータ)を越えているか否かを判定する。ここで、指定位置を越えていれば(ステップS405でYes)、ステップS406に進み、追跡中の領域iの区分を追跡の対象外(削除しても良い)とする。その後、ステップS414で前記変数iに1を加算してから、前記ステップS402まで戻り、それ以降の処理を繰り返す。一方、追跡中の領域iが未だ指定位置を越えていなければ(ステップS405でNo)、そのままステップS414に進み前記変数iに1を加算してから、前記ステップS402まで戻り、それ以降の処理を繰り返す。   In step S405, it is determined whether the area i being tracked exceeds a specified position (parameter). Here, if the specified position is exceeded (Yes in step S405), the process proceeds to step S406, where the section of the area i being tracked is excluded from tracking (may be deleted). Thereafter, 1 is added to the variable i in step S414, and the process returns to step S402 to repeat the subsequent processing. On the other hand, if the tracked area i has not yet exceeded the specified position (No in step S405), the process proceeds to step S414, and 1 is added to the variable i. Then, the process returns to step S402, and the subsequent processing is performed. repeat.

次に、前記ステップS407に戻って、追跡中の領域iに一番近い追跡中の領域を検索してから、ステップS408に進むと、前記ステップS407で検索した領域との距離が予め設定した結合距離(パラメータ)以内であるか否かを判定する。ここで、結合距離以内であれば(ステップS408でYes)、ステップS409で、追跡中の領域iと前記ステップS407で検索した領域の区分を優位側で統一して、続くステップS410で、追跡中の領域iと前記ステップS407で検索した領域を1つの領域として結合する。   Next, returning to the step S407, searching for the tracking area closest to the tracking area i and then proceeding to the step S408, the distance to the area searched in the step S407 is set in advance. It is determined whether it is within the distance (parameter). If the distance is within the coupling distance (Yes in step S408), in step S409, the area i being tracked and the area searched in step S407 are unified on the dominant side, and in the following step S410, the track is being tracked. The area i and the area searched in step S407 are combined as one area.

前記ステップS409にて「優位側で統一」とは、図4(b)のイメージ図にも示すように、異なる領域(追跡対象)のうち、経時的に早い方の区分(A>B>C>対象外)で統一されるという意味である。また、前記ステップS410にて、1つの領域として結合することにより、その結果、追跡中の領域である追跡対象の数は1つ減ることになる。
その後、ステップS414で前記変数iに1を加算してから、前記ステップS402まで戻り、それ以降の処理を繰り返す。
In the step S409, “unification on the dominant side” means that, as shown in the image diagram of FIG. 4B, among the different regions (tracking targets), the earlier classification (A>B>C> It means that it will be unified. Further, by combining them as one area in step S410, as a result, the number of tracking objects that are areas being tracked is reduced by one.
Thereafter, 1 is added to the variable i in step S414, and the process returns to step S402 to repeat the subsequent processing.

また、前記ステップS407で検索した領域と追跡中の領域iとの距離が結合距離以内でなければ(ステップS408でNo)、ステップS411で、追跡中の領域iの見失い数(変数)が予め定めた基準値(パラメータ)以下であるか否かを判定する。ここで、基準値以下であれば(ステップS411でYes)、続くステップS412で、追跡中の領域iの見失い数(変数)に1を加える。その後、ステップS414で前記変数iに1を加算してから、前記ステップS402まで戻り、それ以降の処理を繰り返す。   If the distance between the area searched in step S407 and the area i being tracked is not within the combined distance (No in step S408), the number of missing areas (variables) in the area i being tracked is determined in advance in step S411. It is determined whether the value is equal to or less than the reference value (parameter). If it is below the reference value (Yes in step S411), 1 is added to the number of missing areas (variables) of the area i being tracked in the following step S412. Thereafter, 1 is added to the variable i in step S414, and the process returns to step S402 to repeat the subsequent processing.

一方、追跡中の領域iの見失い数(変数)が基準値以下でなければ(ステップS411でNo)、ステップS413で、追跡中の領域iを削除する(行方不明と認定する)。その後、ステップS414で前記変数iに1を加算してから、前記ステップS402まで戻り、それ以降の処理を繰り返す。   On the other hand, if the missing number (variable) of the area i being tracked is not less than or equal to the reference value (No in step S411), the area i being tracked is deleted (recognized as missing) in step S413. Thereafter, 1 is added to the variable i in step S414, and the process returns to step S402 to repeat the subsequent processing.

図3は、前述した画像処理において追跡対象が移動する状況を処理部40の表示ディスプレイ上に示すイメージ図である。図3(a)〜(h)に示すように、画面上にて追跡対象は、信号機11が青信号に切り替わった時点から所定秒ごとに検出されつつ追跡される。各画面は、撮影部20から逐次入力された画像を加工したものであり、背景である横断歩道の上辺が基準位置、下辺が指定位置となっている。これらの具体的な位置は、前述したように設定部30によって適宜変更することが可能である。   FIG. 3 is an image diagram showing a situation in which the tracking target moves in the above-described image processing on the display display of the processing unit 40. As shown in FIGS. 3A to 3H, the tracking target is tracked while being detected every predetermined second from the time when the traffic light 11 is switched to the green light. Each screen is obtained by processing images sequentially input from the photographing unit 20, and the upper side of the pedestrian crossing as the background is the reference position and the lower side is the designated position. These specific positions can be appropriately changed by the setting unit 30 as described above.

図3に示す例では、同図(a)が青信号に切り替わった時点であり、この時点では未だ横断歩道上に追跡対象は現れていない。その後、同図(b)〜(c)に示すx秒経過時点までに、追跡対象(区分A)の2つ(A1,A2)が出現し、続く同図(d)〜(e)に示すy秒経過までの間に、新たな追跡対象(区分B)の3つ(B1,B2,B3)が出現する。なお、同図(f)に示すy秒経過後に出現した新たな領域(区分C)以降については、ステップS226で終了するまで追跡対象を検出する。   In the example shown in FIG. 3, FIG. 3A is the time when the signal is switched to a green light, and at this time, the tracking target has not yet appeared on the pedestrian crossing. After that, two (A1, A2) of the tracking target (section A) appear by the elapse of x seconds shown in FIGS. (B) to (c), and the following (d) to (e) are shown. Three new tracking targets (section B) (B1, B2, B3) appear before y seconds elapse. It should be noted that the tracking target is detected until the end of the new area (section C) after y seconds shown in FIG.

そして、図3(g)に示すように、最初の追跡対象(区分A)が全て指定位置に到達した時に、当該時点で青点滅要求信号を信号制御装置50に出力する。さらに、図3(h)に示すように、次の追跡対象(区分B)が全て指定位置に到達した時に、赤信号要求信号を信号制御装置50に出力する。ここでの赤信号要求信号の出力は、前述した図6のフローチャートのステップS221に相当する。このように、前記判定部45の制御により、信号制御装置50に赤信号要求信号を出すこともできる。   Then, as shown in FIG. 3G, when all the first tracking objects (section A) reach the designated position, a blue blinking request signal is output to the signal control device 50 at that time. Further, as shown in FIG. 3 (h), when all the following tracking objects (section B) have reached the designated position, a red signal request signal is output to the signal control device 50. The output of the red signal request signal here corresponds to step S221 in the flowchart of FIG. Thus, a red signal request signal can be output to the signal control device 50 under the control of the determination unit 45.

以上に説明した本実施の形態(変形例を含む)に係る信号制御装置10によれば、人検出部43により、横断を開始する歩行者のうち特定の個ないし群を追跡対象として検出する。歩行者は横断歩道を渡る際に、一人だけで行動する場合もあるし、複数人で集団となって行動する場合もあり、これらの形態に応じて人検出部43は、特定の個ないし群を任意に選別した上で追跡対象とする。   According to the signal control apparatus 10 according to the present embodiment (including the modification) described above, the human detection unit 43 detects a specific individual or group among pedestrians that start crossing as a tracking target. When a pedestrian crosses a pedestrian crossing, the pedestrian may act alone or may act as a group of a plurality of people. Depending on these forms, the human detection unit 43 may be a specific individual or group. Are selected as a tracking target.

次いで、人追跡部44により、追跡対象が横断開始側の基準位置から横断終了側の指定位置まで移動する状況を追跡する。ここで人追跡部44は、追跡対象である個ないし群の動きをリアルタイムで把握することになる。そして、判定部45により、追跡対象が指定位置に到達したか否かを判定する。   Next, the person tracking unit 44 tracks the situation in which the tracking target moves from the reference position on the crossing start side to the designated position on the crossing end side. Here, the person tracking unit 44 grasps the movement of the individual or group to be tracked in real time. Then, the determination unit 45 determines whether or not the tracking target has reached the specified position.

判定部45によって、追跡対象が指定位置に到達したと判定されると、その判定結果に基づいて、信号機11の灯色を切り替える契機とする。ここでの信号機11の灯色の切り替えは、判定部45あるいは信号制御装置10自体で行う必要はなく、別にある信号制御装置50で行うようにしても良い。なお、灯色を切り替える契機とは、前述したように、青信号から赤信号に替える赤信号要求信号の出力のみならず、青信号の点滅を開始させる青点滅要求信号の出力も含まれる。   When the determination unit 45 determines that the tracking target has reached the specified position, the determination unit 45 sets an opportunity to switch the light color of the traffic light 11 based on the determination result. The switching of the lamp color of the traffic light 11 does not need to be performed by the determination unit 45 or the signal control device 10 itself, but may be performed by another signal control device 50. As described above, the trigger for switching the lamp color includes not only the output of the red signal request signal for changing the blue signal to the red signal but also the output of the blue blink request signal for starting the blinking of the blue signal.

このように、前記追跡対象が全て渡り終えた時点で灯色を替えることになるため、前記追跡対象に高齢者、障害者、子供等の交通弱者を含まれる場合には、交通弱者がより安全に、安心して渡れる信号制御を実現することができる。また、青信号の終盤になって駆け込みで渡る歩行者が現れたとしても、このような駆け込み歩行者を前記追跡対象に含ませないことにより、灯色の切り替えが影響を受けることがなく、切り替えが著しく遅れるような事態も生じない。   In this way, since the lighting color is changed when all of the tracking targets have been crossed, if the tracking target includes traffic weak persons such as elderly people, disabled persons, and children, the traffic weak persons are safer. In addition, signal control that can be passed with peace of mind can be realized. In addition, even if a pedestrian crossing in the last half of the green light appears, by not including such a rushed pedestrian in the tracking target, the switching of the light color is not affected, and the switching can be performed. There will be no significant delay.

また、人検出部43により、信号機11が赤信号から青信号に切り替わってから横断を開始する歩行者が検出されなかった場合には、信号機11が赤信号から青信号に切り替わった時からの所定時間の経過に基づいて、信号機11の灯色を切り替える契機とする。ここでの所定時間は、前述したように、車両の通行をなるべく妨げないように必要最低限の短い時間に設定すると良い。これにより、歩行者がいないときには、歩行者向けの青信号の点灯時間は最短となり、車両を効率良く流通させることができる。   In addition, when the pedestrian who starts crossing after the traffic light 11 is switched from the red signal to the green signal is not detected by the human detection unit 43, a predetermined time from when the traffic light 11 is switched from the red signal to the green signal is detected. Based on the progress, it is assumed that the lamp color of the traffic light 11 is switched. As described above, the predetermined time here may be set to a minimum necessary short time so as not to obstruct the passage of the vehicle as much as possible. Thereby, when there is no pedestrian, the lighting time of the green light for pedestrians becomes the shortest, and the vehicle can be distributed efficiently.

前記所定時間は、設定部30により予め定められた規定値を各種パラメータに応じて変更することができる。ここで規定値とは、初期設定された基準となる時間であり、前述したように必要最低限の短い時間とするが、図2で説明したように、その時々の曜日や時間、季節等の各種パラメータに応じて、例えば歩行者数が多いと予想される週末には規定値より長い所定時間に設定する等、臨機応変に変更することができる。   For the predetermined time, the specified value determined in advance by the setting unit 30 can be changed according to various parameters. Here, the specified value is a time set as an initial reference, and is set to the minimum necessary time as described above. However, as described with reference to FIG. 2, the day of the week, time, season, etc. Depending on various parameters, it can be changed flexibly, for example, at a weekend when the number of pedestrians is expected to be large, such as setting a predetermined time longer than a prescribed value.

前述した各手段による制御を実現するために、本実施の形態では、横断歩道の状況を1つの撮影部20だけで確認できる画像処理を行っている。すなわち、前記人検出部43は、基準位置から指定位置に亘る範囲を少なくとも撮影可能な撮影部20から逐次入力された画像に基づいて、信号機11が赤信号から青信号に切り替わった時から所定秒経過するまでの間に基準位置を通過した歩行者の個ないし群を追跡対象として検出する。   In this embodiment, in order to realize the control by each means described above, image processing is performed in which the situation of the pedestrian crossing can be confirmed by only one photographing unit 20. That is, the human detection unit 43 has passed a predetermined second from the time when the traffic light 11 is switched from a red signal to a blue signal based on images sequentially input from the photographing unit 20 capable of photographing at least a range from a reference position to a designated position. The number or group of pedestrians who have passed the reference position until the time is detected as a tracking target.

なお、追跡対象を選別する上で、信号機11が青信号に切り替わった時から所定秒経過するまでの間に基準位置を通過した歩行者とすることで、要は最初に渡り始める歩行者を対象とすることになる。一般的に交通弱者は、青信号に変わった直後に横断を始めると考えられるため、このような時間による選別によって、追跡対象に交通弱者が含まれる可能性を高めることができる。   In selecting the tracking target, the pedestrian who has passed the reference position between the time when the traffic light 11 is switched to the green light and the predetermined time has elapsed, the main point is the pedestrian who starts to cross first. Will do. In general, it is considered that a weak traffic person starts to cross immediately after changing to a green light. Therefore, the possibility of including a weak traffic person in the tracking target can be increased by such a time selection.

また、人追跡部44は、撮影部20から逐次入力された画像に基づいて、人検出部43により検出された追跡対象が指定位置を通過するまでの間に、該追跡対象である歩行者の個ないし群が分離または結合した場合には、追跡対象の属性を引き継いだ新たな追跡対象として認識しつつ追跡する。このように、追跡対象の様々な動きに応じて、最初に検出した追跡対象を漏れなく正確に追跡することができる。   In addition, the person tracking unit 44, based on the images sequentially input from the imaging unit 20, until the tracking target detected by the human detection unit 43 passes the designated position, the pedestrian that is the tracking target. When the individual or group is separated or combined, the tracking is performed while recognizing the tracking target attribute as a new tracking target. Thus, according to various movements of the tracking target, the tracking target detected first can be accurately tracked without omission.

さらに、判定部45は、撮影部20から逐次入力された画像に基づいて、人検出部43により検出された追跡対象の他、人追跡部44により認識された新たな追跡対象がある場合には、該新たな追跡対象も含む全ての追跡対象が指定位置に到達した時に、該判定結果を出力する。これにより、最初に検出した追跡対象の全てが無事に渡り終えた時点で、判定結果を出力することにより、該判定結果に基づいて信号機11の灯色を切り替える制御を行うことが可能となる。   Further, the determination unit 45, when there is a new tracking target recognized by the human tracking unit 44 in addition to the tracking target detected by the human detection unit 43 based on the images sequentially input from the imaging unit 20. When all the tracking targets including the new tracking target reach the designated position, the determination result is output. As a result, when all of the tracking targets detected first have successfully passed, it is possible to perform control to switch the color of the traffic light 11 based on the determination result by outputting the determination result.

以上、本発明の実施の形態を図面によって説明してきたが、具体的な構成はこれらの実施の形態に限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。なお、道路は横断歩道に限られることなく、歩行者が横断可能な様々な道路や踏切等も該当し、信号機11も歩行者用専用に限られることなく、車両との兼用であっても良い。また、歩行者には、車椅子や自転車等を含めても良い。   As described above, the embodiments of the present invention have been described with reference to the drawings. However, the specific configuration is not limited to these embodiments, and the present invention can be modified or added without departing from the scope of the present invention. Included in the invention. The road is not limited to a pedestrian crossing, but also includes various roads and railroad crossings that can be crossed by pedestrians, and the traffic light 11 is not limited to pedestrians but may be used as a vehicle. . Moreover, you may include a wheelchair, a bicycle, etc. in a pedestrian.

また、前述した各手段による制御を実現するための歩行者の検出に関しては、赤外線、超音波センサ、レーザー光による検出等と、画像処理以外の技術を用いても良い。
なお、歩行者向け青信号を継続する最長時間を予め設定しておき、何らかの理由で追跡対象の指定位置への到達を確認できなくても、最長時間の経過によって青点滅ないし赤信号に切り替えるように設定しても良い。
In addition, regarding detection of a pedestrian for realizing the control by each means described above, a technique other than image processing, such as detection using infrared light, an ultrasonic sensor, or laser light, may be used.
In addition, the longest time to continue the green light for pedestrians is set in advance, and even if the arrival to the specified position of the tracking target cannot be confirmed for some reason, it will switch to flashing blue light or red signal after the longest time has elapsed May be set.

本発明は、歩行者の道路上における横断可否を指示する信号機の灯色を制御する信号制御装置に広く利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be widely used for a signal control device that controls the color of a traffic light that indicates whether or not a pedestrian can cross a road.

10…信号制御装置
11…信号機
20…撮影部
30…設定部
40…処理部
41…時計
42…係数算出部
43…人検出部
44…人追跡部
45…判定部
50…信号制御装置
DESCRIPTION OF SYMBOLS 10 ... Signal control apparatus 11 ... Traffic light 20 ... Image pick-up part 30 ... Setting part 40 ... Processing part 41 ... Clock 42 ... Coefficient calculation part 43 ... Person detection part 44 ... Person tracking part 45 ... Determination part 50 ... Signal control apparatus

Claims (7)

歩行者の道路上における横断可否を指示する信号機の灯色を制御する信号制御装置において、
信号機が赤信号から青信号に切り替わってから横断を開始する歩行者のうち特定の個ないし群を追跡対象として検出可能な検出手段と、
前記追跡対象が道路上における横断開始側の基準位置から横断終了側の指定位置まで移動する状況を追跡可能な追跡手段と、
前記追跡対象が前記指定位置に到達したか否かを判定可能な判定手段と、を有し、
前記検出手段は、前記基準位置から前記指定位置に亘る範囲を少なくとも撮影可能な撮影部から逐次入力された画像に基づいて、信号機が赤信号から青信号に切り替わった時から所定秒経過するまでの間に前記基準位置を通過した歩行者の個ないし群を追跡対象として検出し、
前記判定手段により前記追跡対象が前記指定位置に到達したと判定された結果に基づいて、信号機の灯色を切り替える契機とすることを特徴とする信号制御装置。
In a signal control device that controls the color of a traffic light that indicates whether or not a pedestrian can cross a road,
Detection means capable of detecting a specific individual or group as a tracking target among pedestrians that start crossing after the traffic light switches from a red signal to a green signal;
A tracking means capable of tracking a situation in which the tracking object moves from a reference position on the crossing start side to a designated position on the crossing end side on the road;
Determination means capable of determining whether or not the tracking target has reached the specified position,
The detection means is based on an image sequentially input from a photographing unit capable of photographing at least a range from the reference position to the designated position until a predetermined second elapses from when the traffic light is switched from a red signal to a blue signal. Detecting the individual or group of pedestrians who have passed the reference position as tracking targets,
A signal control device characterized in that the signal control device triggers switching of the color of the traffic light based on the result of the determination by the determination means that the tracking target has been determined to have reached the designated position.
前記検出手段により、信号機が赤信号から青信号に切り替わってから横断を開始する歩行者が検出されなかった場合には、信号機が赤信号から青信号に切り替わった時からの所定時間の経過に基づいて、信号機の灯色を切り替える契機とすることを特徴とする請求項1に記載の信号制御装置。   When the pedestrian that starts crossing after the traffic light is switched from the red signal to the green signal is not detected by the detection means, based on the passage of a predetermined time from when the traffic signal is switched from the red signal to the green signal, The signal control apparatus according to claim 1, wherein the signal control apparatus is an opportunity to switch a lamp color of the traffic light. 前記所定時間は、予め定められた規定値を各種パラメータに応じて変更可能であることを特徴とする請求項2に記載の信号制御装置。   The signal control apparatus according to claim 2, wherein the predetermined time can change a predetermined specified value according to various parameters. 前記追跡手段は、前記撮影部から逐次入力された画像に基づいて、前記検出手段により検出された前記追跡対象が前記指定位置を通過するまでの間に、該追跡対象である歩行者の個ないし群が分離または結合した場合には、前記追跡対象の属性を引き継いだ新たな追跡対象として認識しつつ追跡することを特徴とする請求項1,2または3に記載の信号制御装置。 The tracking means is based on the images sequentially input from the imaging unit, and the individual pedestrian or the pedestrian that is the tracking target until the tracking target detected by the detection means passes through the specified position. If the group is separated or binding signal control apparatus according to claim 1, 2 or 3, characterized in that track while recognizing as the new tracking target took over attributes tracked. 前記判定手段は、前記撮影部から逐次入力された画像に基づいて、前記検出手段により検出された前記追跡対象の他、前記追跡手段により認識された新たな追跡対象がある場合には、該新たな追跡対象も含む全ての追跡対象が前記指定位置に到達した時に、該判定結果を出力することを特徴とする請求項に記載の信号制御装置。 The determination unit, when there is a new tracking target recognized by the tracking unit in addition to the tracking target detected by the detection unit based on the images sequentially input from the imaging unit, The signal control apparatus according to claim 4 , wherein the determination result is output when all tracking objects including a tracking object reach the designated position. 前記信号機の灯色の切り替えを制御する制御手段を別に有し、
前記制御手段は、前記判定手段からの判定結果に基づいて、歩行者向けの青信号を点滅させる制御を実行することを特徴とする請求項に記載の信号制御装置。
A separate control means for controlling the switching of the light color of the traffic light,
The signal control device according to claim 5 , wherein the control unit performs control for blinking a pedestrian green signal based on a determination result from the determination unit.
前記制御手段は、前記判定手段からの判定結果に基づいて、歩行者向けの赤信号に切り替える制御を実行することを特徴とする請求項に記載の信号制御装置。 The signal control apparatus according to claim 6 , wherein the control unit performs control to switch to a red signal for pedestrians based on a determination result from the determination unit.
JP2013044782A 2013-03-06 2013-03-06 Signal control device Active JP6139919B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013044782A JP6139919B2 (en) 2013-03-06 2013-03-06 Signal control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013044782A JP6139919B2 (en) 2013-03-06 2013-03-06 Signal control device

Publications (2)

Publication Number Publication Date
JP2014174646A JP2014174646A (en) 2014-09-22
JP6139919B2 true JP6139919B2 (en) 2017-05-31

Family

ID=51695840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013044782A Active JP6139919B2 (en) 2013-03-06 2013-03-06 Signal control device

Country Status (1)

Country Link
JP (1) JP6139919B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017041303A1 (en) * 2015-09-11 2017-03-16 SZ DJI Technology Co., Ltd. Systems and methods for detecting and tracking movable objects
CN105869416A (en) * 2016-06-12 2016-08-17 京东方科技集团股份有限公司 Traffic signal control device, control method and control system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1183981A (en) * 1997-09-12 1999-03-26 Toshiba Corp Radio mobile detection method and pedestrian crossing signaling system
JP2006268379A (en) * 2005-03-23 2006-10-05 Fujitsu Ltd Controller for traffic signal

Also Published As

Publication number Publication date
JP2014174646A (en) 2014-09-22

Similar Documents

Publication Publication Date Title
CN102782740B (en) Surrounding area monitoring device for vehicle
US10331956B2 (en) Vehicle vision system with detection enhancement using light control
JP5615862B2 (en) Vehicle perimeter monitoring device
WO2015131857A2 (en) Method and apparatus for aiding vision combining camera module and optical sensor
JP4853437B2 (en) Vehicle perimeter monitoring system
JP7009987B2 (en) Automatic driving system and automatic driving method
JPH11275562A (en) Moving person monitoring device
US7936904B2 (en) Image recognition device for vehicle and vehicle head lamp controller and method of controlling head lamps
JP2001236593A (en) Traffic signal controller
JP2010234851A (en) Display device for vehicle
KR101810956B1 (en) Camera device having image sensor of rolling shutter type and lighting control method
KR20160105255A (en) Smart traffic light control apparatus and method for preventing traffic accident
JP2009157492A (en) Vehicle detection device, vehicle detection system, and vehicle detection method
JP6139919B2 (en) Signal control device
JP2009219555A (en) Drowsiness detector, driving support apparatus, drowsiness detecting method
JP2003209742A (en) Imaging apparatus with infrared ray illumination
JP6267889B2 (en) Crosswalk signal system
JP2004210109A (en) Support device for traffic lane change
JP5479438B2 (en) Vehicle periphery monitoring device
JP2017030686A (en) Alert apparatus, alert method and alert system
JP2013171390A (en) Driving support device
JP2004172828A (en) Night vision device for vehicle
JP2008191785A (en) Eye closure detection apparatus, doze detection apparatus, eye closure detection method, and program for eye closure detection
US20200039437A1 (en) Image processing device
KR102516897B1 (en) System and method for controlling crosswalk traffic light

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160229

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170428

R150 Certificate of patent or registration of utility model

Ref document number: 6139919

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150