Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6038643B2 - Background information generation apparatus and object detection apparatus - Google Patents
[go: Go Back, main page]

JP6038643B2 - Background information generation apparatus and object detection apparatus - Google Patents

Background information generation apparatus and object detection apparatus Download PDF

Info

Publication number
JP6038643B2
JP6038643B2 JP2012285237A JP2012285237A JP6038643B2 JP 6038643 B2 JP6038643 B2 JP 6038643B2 JP 2012285237 A JP2012285237 A JP 2012285237A JP 2012285237 A JP2012285237 A JP 2012285237A JP 6038643 B2 JP6038643 B2 JP 6038643B2
Authority
JP
Japan
Prior art keywords
image
background information
background
person
viewpoint
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
JP2012285237A
Other languages
Japanese (ja)
Other versions
JP2014127131A (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.)
Secom Co Ltd
Original Assignee
Secom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Secom Co Ltd filed Critical Secom Co Ltd
Priority to JP2012285237A priority Critical patent/JP6038643B2/en
Publication of JP2014127131A publication Critical patent/JP2014127131A/en
Application granted granted Critical
Publication of JP6038643B2 publication Critical patent/JP6038643B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Alarm Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、所定空間を撮影した画像から背景情報を生成する背景情報生成装置及びそれを利用して対象物を検出する対象物検出装置に関する。   The present invention relates to a background information generation apparatus that generates background information from an image of a predetermined space and an object detection apparatus that detects an object using the background information generation apparatus.

近年、共連れ入場等の不正通行を監視するために、扉付近を撮影した画像を処理して通行者を追跡する研究が行われている。このとき、扉の両側をそれぞれ別の監視カメラにより撮影して扉を通過した通行者の追跡を監視カメラ間で引き継げば、通行者の行動を厳格に監視できるためセキュリティが向上する。   In recent years, in order to monitor improper traffic such as co-entrance, research has been conducted to track passersby by processing images taken near the door. At this time, if the both sides of the door are photographed by different monitoring cameras and the tracking of the passers-by passing through the doors is taken over between the monitoring cameras, the behavior of the passers-by can be strictly monitored, so that security is improved.

例えば、特許文献1には、扉の外側である開放領域と扉の内側である待機領域のそれぞれに撮影部を設置し、背景差分処理により抽出した変化領域に基づいて人物領域を追跡する通行制御装置が開示されている。この通行制御装置では、2つの領域の間に扉領域を設定し、開放領域及び待機領域の一方から扉領域に消失した通行者と開放領域及び待機領域の他方にて扉領域から出現した通行者とを同一の通行者と判定することで追跡の引継ぎを行っている。   For example, Patent Document 1 discloses a traffic control in which a photographing unit is installed in each of an open area outside a door and a standby area inside a door, and a person area is tracked based on a change area extracted by background difference processing. An apparatus is disclosed. In this traffic control device, a door area is set between two areas, and a passerby who disappears from one of the open area and the standby area to the door area and a passerby who appears from the door area in the other of the open area and the standby area. Are taken over by the same passerby.

特開2010−157149号公報JP 2010-157149 A

しかしながら、従来技術では、扉領域にて追跡の空白期間及び空白領域が生じるため、追跡の引継ぎが正しく行えない場合があった。例えば、2名が扉領域に進入し、そのうち1名がUターンして戻った場合、また扉を開けた人物が後続の人物を先に通した場合等、扉領域に複数の人物が混在するときに引継ぎを誤る問題が生じ易い。そこで、人物が扉領域に存在している間も追跡を継続することが望まれ、追跡継続のためには当該人物の人物領域を抽出し続ける必要があった。   However, in the prior art, since tracking blank period and blank area occur in the door area, there is a case where tracking cannot be correctly taken over. For example, when two people enter the door area and one of them returns after making a U-turn, or when the person who opened the door passes the subsequent person first, there are multiple people in the door area. Sometimes a problem of erroneous takeover is likely to occur. Therefore, it is desired to continue tracking while a person is present in the door area, and it is necessary to continue extracting the person area of the person in order to continue tracking.

ところが、扉が開くとそれまで戸板によって遮蔽されていた扉の向こう側が開口部に写り込んで背景が変わる。そのため、このときの画像に背景差分処理を施すと開口部全体が変化領域となってしまうため、開口部に一部または全体が写っている人物の人物領域を抽出することが困難となる。扉が前回に開いたときの背景画像を保持したとしても、扉の向こう側での照明変動等の環境の変化に追従できず、開口部の多くが変化領域となってしまうため、やはり人物領域を抽出することが困難である。   However, when the door is opened, the other side of the door that was previously shielded by the doorboard is reflected in the opening and the background changes. For this reason, if background difference processing is performed on the image at this time, the entire opening becomes a change region, and it becomes difficult to extract a person region of a person whose part or whole is reflected in the opening. Even if the background image when the door was opened last time is retained, it cannot follow changes in the environment such as lighting fluctuations beyond the door, and many of the openings become changed areas. Is difficult to extract.

さらに、扉の開閉時には戸板が変位するので開口部に加えて戸板自体も変化領域に含まれる。このことによっても扉付近において人物領域を抽出することが困難となる。   Furthermore, since the door plate is displaced when the door is opened and closed, the door plate itself is included in the change region in addition to the opening. This also makes it difficult to extract a person area near the door.

本発明は、上記問題を解決するためになされたものであり、監視空間において戸板等の遮蔽物が変位しても、当該監視空間の背景情報を生成し続けることが可能な背景情報生成装置及び人物等の検出対象物を検出し続けることが可能な対象物検出装置を提供することを目的とする。   The present invention has been made to solve the above-described problem, and a background information generation device capable of continuously generating background information of a monitoring space even when a shielding object such as a door board is displaced in the monitoring space. An object of the present invention is to provide an object detection device capable of continuously detecting a detection object such as a person.

本発明の1つの態様は、定常位置から変位し得る遮蔽物が設置された監視空間において所定の対象物を検出するために、前記対象物を含まない前記監視空間の背景情報を生成する背景情報生成装置であって、前記監視空間を第一の視点から撮影する第一撮影部と、前記監視空間において前記遮蔽物が前記定常位置にあるときは前記第一の視点から撮影されず前記遮蔽物が前記定常位置から変位すると前記第一の視点から撮影される遮蔽空間を、少なくとも前記遮蔽物が前記定常位置にあるときに撮影可能な第二の視点から撮影する第二撮影部と、前記遮蔽物の変位を検出する変位検出部と、前記第二撮影部が撮影した第二画像から前記第二の視点での背景情報を生成する第二視点背景生成部と、前記変位検出部において変位が検出されていない場合、前記第一撮影部が撮影した第一画像から前記第一の視点での背景情報を生成し、前記変位検出部において変位が検出された場合、前記第二視点背景生成部が生成した背景情報を前記第一の視点での背景情報とする第一視点背景生成部と、を備えることを特徴とする背景情報生成装置である。   One aspect of the present invention provides background information for generating background information of the monitoring space that does not include the object in order to detect a predetermined object in the monitoring space in which a shield that can be displaced from a steady position is installed. A first imaging unit configured to capture the monitoring space from a first viewpoint; and when the shielding object is in the steady position in the monitoring space, the shielding object is not captured from the first viewpoint. A second imaging unit that captures an image of a shielding space photographed from the first viewpoint when the object is displaced from the stationary position from a second viewpoint that can be photographed at least when the shielding object is at the stationary position; A displacement detection unit that detects the displacement of the object, a second viewpoint background generation unit that generates background information at the second viewpoint from the second image captured by the second imaging unit, and displacement in the displacement detection unit Not detected In this case, the background information at the first viewpoint is generated from the first image captured by the first imaging unit, and when the displacement is detected by the displacement detection unit, the background generated by the second viewpoint background generation unit. A background information generation apparatus comprising: a first viewpoint background generation unit that uses information as background information at the first viewpoint.

また、前記変位検出部は、前記第二画像にて変位中の前記遮蔽物が現れている遮蔽物領域を当該第二画像と予め登録されている前記遮蔽物領域の形状特徴との比較から検出し、前記第二視点背景生成部は、前記第二画像から前記遮蔽物領域を除外して前記第二の視点での背景情報を生成することが好適である。   Further, the displacement detection unit detects a shielding object region in which the shielding object being displaced appears in the second image from a comparison between the second image and a shape feature of the shielding object region registered in advance. In addition, it is preferable that the second viewpoint background generation unit generates the background information at the second viewpoint by excluding the shielding object region from the second image.

また、前記第二視点背景生成部は、前記遮蔽空間を撮像した画像のヒストグラムを背景情報として生成することが好適である。   In addition, it is preferable that the second viewpoint background generation unit generates a histogram of an image obtained by imaging the shielding space as background information.

また、前記変位検出部は、前記第一画像にて前記遮蔽物の変位により前記遮蔽空間が現れている遮蔽解除領域を当該第一画像と予め登録されている前記遮蔽解除領域の形状特徴との比較から検出し、前記第一視点背景生成部は、前記第二視点背景生成部において生成された背景情報から前記遮蔽解除領域の背景情報を生成することが好適である。   In addition, the displacement detection unit may be configured such that a shielding cancellation area where the shielding space appears due to the displacement of the shielding object in the first image is a shape characteristic of the shielding cancellation area registered in advance with the first image. It is preferable that the first viewpoint background generation unit detects the background information of the occlusion cancellation region from the background information generated by the second viewpoint background generation unit.

また、前記第一視点背景生成部は、前記遮蔽物の変位が検出された場合、前記遮蔽解除領域外の背景情報を前記第一画像から生成することが好適である。   In addition, it is preferable that the first viewpoint background generation unit generates background information outside the shielding release area from the first image when the displacement of the shielding object is detected.

また、前記第一画像と前記第一視点背景生成部が生成した背景情報とを比較して当該第一画像において当該背景情報と所定以上に相違する領域を前記対象物の領域として検出する対象物検出部を備えることが好適である。   In addition, the first image and the background information generated by the first viewpoint background generation unit are compared, and an object that is different from the background information by a predetermined amount or more in the first image is detected as an area of the object. It is preferable to provide a detection unit.

本発明によれば、戸板等の遮蔽物が変位しても背景情報を生成し続けることが可能となる。また、生成した背景情報を用いることで、遮蔽物の変位有無によらず人物等の対象物を検出し続けることができる。   According to the present invention, it is possible to continue to generate background information even when a shield such as a door plate is displaced. Further, by using the generated background information, it is possible to continue to detect an object such as a person regardless of whether or not the shielding object is displaced.

本発明の実施の形態における対象物検出装置の構成及び配置を示す図である。It is a figure which shows the structure and arrangement | positioning of the target object detection apparatus in embodiment of this invention. 本発明の実施の形態における画像中の各領域を説明する図である。It is a figure explaining each area | region in the image in embodiment of this invention. 本発明の実施の形態における対象物検出装置の機能ブロック図である。It is a functional block diagram of the target object detection apparatus in embodiment of this invention. 本発明の実施の形態における対象物検出処理のフローチャートである。It is a flowchart of the target object detection process in embodiment of this invention. 本発明の実施の形態における扉パターンの例を示す図である。It is a figure which shows the example of the door pattern in embodiment of this invention. 本発明の実施の形態における人物領域検出処理のフローチャートである。It is a flowchart of the person area | region detection process in embodiment of this invention. 本発明の実施の形態における扉外/全体背景情報生成処理のフローチャートである。It is a flowchart of the outside door / whole background information generation processing in the embodiment of the present invention. 本発明の実施の形態における開口部背景情報生成処理のフローチャートである。It is a flowchart of the opening part background information generation process in embodiment of this invention. 本発明の実施の形態における開口部背景情報生成処理のフローチャートである。It is a flowchart of the opening part background information generation process in embodiment of this invention. 本発明の実施の形態における戸板部背景情報生成処理のフローチャートである。It is a flowchart of the doorboard background information generation process in the embodiment of the present invention. 本発明の実施の形態における開口部背景情報生成処理の別例のフローチャートである。It is a flowchart of another example of the opening part background information generation process in embodiment of this invention.

<対象物検出装置の構成>
対象物検出装置100は、図1に示すように、撮影部2(第一撮影部2a,第二撮影部2b)、制御部3及び表示部4を含んで構成される。
<Configuration of object detection device>
As illustrated in FIG. 1, the object detection device 100 includes an imaging unit 2 (first imaging unit 2a, second imaging unit 2b), a control unit 3, and a display unit 4.

対象物検出装置100は、部屋6(第一の部屋6a及び第二の部屋6b)に設置され、第一の部屋6a及び第二の部屋6bを撮影した画像から背景情報を生成し、それを利用して対象物を検出する処理を行う。   The object detection device 100 is installed in a room 6 (first room 6a and second room 6b), generates background information from images obtained by photographing the first room 6a and the second room 6b, and uses the background information. A process for detecting an object is performed.

第一の部屋6a及び第二の部屋6bは、扉5の戸板15及び壁で仕切られる。戸板15は蝶番等により変位可能に設置される。扉5が、閉鎖状態のときに戸板15は定常位置に留まり、戸板15が定常位置から変位することによって扉5は開放状態となる。   The first room 6a and the second room 6b are partitioned by a door plate 15 of the door 5 and a wall. The door plate 15 is installed so as to be displaceable by a hinge or the like. When the door 5 is in the closed state, the door plate 15 remains in the steady position, and the door 5 is opened by the displacement of the door plate 15 from the steady position.

第一撮影部2aは、第一の部屋6aに設置される。第一撮影部2aは、第一の視点から所定時間おきに第一の部屋6a側の空間を撮影し、撮影した画像(第一画像)を制御部3へ出力する。第二撮影部2bは、第二の部屋6bに設置される。第二撮影部2bは、第二の視点から所定時間おきに第二の部屋6b側の空間を撮影し、撮影した画像(第二画像)を制御部3へ出力する。本実施の形態では、第一撮影部2a及び第二撮影部2bは、それぞれ第一の部屋6a及び第二の部屋6bの天井に下に向けて配置される。後述するように背景情報の取得の精度と安定性の観点から、扉5が開放状態のときに第一撮影部2aの視野(画角)に含まれる第二の部屋6bの背景が床9となるように第一撮影部2aを設置することが好ましい。例えば、第一撮影部2aを扉5の近傍の天井に俯角が大きくなるように設置するとよい。   The first imaging unit 2a is installed in the first room 6a. The first photographing unit 2a photographs the space on the first room 6a side from the first viewpoint every predetermined time, and outputs the photographed image (first image) to the control unit 3. The second imaging unit 2b is installed in the second room 6b. The second photographing unit 2b photographs the space on the second room 6b side from the second viewpoint every predetermined time, and outputs the photographed image (second image) to the control unit 3. In the present embodiment, the first photographing unit 2a and the second photographing unit 2b are disposed downward on the ceilings of the first room 6a and the second room 6b, respectively. As will be described later, from the viewpoint of accuracy and stability of acquisition of background information, the background of the second room 6b included in the field of view (angle of view) of the first photographing unit 2a is the floor 9 when the door 5 is in the open state. It is preferable to install the first photographing unit 2a. For example, the first photographing unit 2a may be installed on the ceiling near the door 5 so that the depression angle is large.

ここで、第一撮影部2a及び第二撮影部2bの撮影のタイミングは同期させることが好適である。   Here, it is preferable that the shooting timings of the first shooting unit 2a and the second shooting unit 2b are synchronized.

扉5が閉鎖状態では、第一撮影部2aの視点(第一の視点)から遮蔽空間7を含む第二の部屋6bの空間は撮影されない。つまり、変位可能な遮蔽物である戸板15が変位していないとき、遮蔽空間7は、戸板15によって第一の視点から遮蔽されて撮影されない。ただし、扉5が閉鎖状態の位置にあるときも遮蔽空間7は第一撮影部2aとは別の第二撮影部2bにより第二の視点から撮影される。一方、扉5の開放により開口部8が生じると、第一撮影部2aから開口部8越しに遮蔽空間7の一部又は全部が撮影されてしまう。その結果、第一撮影部2aにより撮影された第一画像上では、扉5が閉鎖状態のときは戸板15が背景であった領域に第二の部屋6bの床9が背景として出現してしまう。このように、戸板15が変位したときに第一画像上に遮蔽空間7が背景として急に現われることによって、人物等の対象物を検出し難くなる。ちなみに、扉5が開放状態となったときに遮蔽空間7は第一撮影部2aの視野及び第二撮影部2bの視野に共通する共通視野となる。   When the door 5 is closed, the space of the second room 6b including the shielded space 7 is not photographed from the viewpoint (first viewpoint) of the first photographing unit 2a. That is, when the door plate 15 that is a displaceable shield is not displaced, the shielding space 7 is shielded from the first viewpoint by the door plate 15 and is not photographed. However, even when the door 5 is in the closed position, the shielding space 7 is imaged from the second viewpoint by the second imaging unit 2b different from the first imaging unit 2a. On the other hand, when the opening 8 is generated by opening the door 5, a part or all of the shielding space 7 is imaged from the first imaging unit 2 a through the opening 8. As a result, on the first image photographed by the first photographing unit 2a, when the door 5 is in the closed state, the floor 9 of the second room 6b appears as a background in the region where the door plate 15 is the background. . As described above, when the door plate 15 is displaced, the shielding space 7 suddenly appears as a background on the first image, so that it is difficult to detect an object such as a person. Incidentally, when the door 5 is opened, the shielding space 7 becomes a common visual field common to the visual field of the first photographing unit 2a and the visual field of the second photographing unit 2b.

図2は、戸板15が変位したときに撮影される第一画像の例を示す。開口領域11は、戸板15が変位したときに第二の部屋6bの一部が撮影される領域である。戸板領域12は、戸板15が撮影される領域である。扉外領域13は、第一画像のうち開口領域11及び戸板領域12を除いた領域である。扉5や床9、壁等は検出対象外の背景であり、これに対し検出対象物である人物10(移動物体)は前景である。人物10が現われている人物領域14は、開口領域11、戸板領域12、扉外領域13のいずれか又は複数の領域に跨って重なり得る。   FIG. 2 shows an example of a first image taken when the door plate 15 is displaced. The opening area 11 is an area where a part of the second room 6b is photographed when the door plate 15 is displaced. The door board area | region 12 is an area | region where the door board 15 is image | photographed. The outside door area 13 is an area excluding the opening area 11 and the door board area 12 in the first image. The door 5, the floor 9, the wall, and the like are backgrounds that are not detection targets, whereas the person 10 (moving object) that is a detection target is a foreground. The person area 14 in which the person 10 appears may overlap over any one or a plurality of areas of the opening area 11, the doorboard area 12, and the outside door area 13.

開口領域11では、戸板15の変位によって写り込む背景が大きく変化する。また、戸板領域12でも戸板15の変位に伴い生じる陰影の変化によって背景が変化する。なお、戸板15が変位していないとき、開口領域11は現われない。   In the opening area 11, the background reflected by the displacement of the door plate 15 changes greatly. In the door panel region 12, the background changes due to a change in shadow caused by the displacement of the door panel 15. In addition, when the door board 15 is not displaced, the opening area | region 11 does not appear.

また、第二視点背景取得領域311は、第一画像における開口領域11と対応する第二画像内の領域である。すなわち、第二画像における第二視点背景取得領域311は第一画像における開口領域11の背景情報を取得する領域である。カメラパラメータ310を用いた予めの計算により、第一画像の開口領域11を第一撮影部2a及び第二撮影部2bに共通する共通座標系(ワールド座標系)の基準面である床に逆投影し、さらに開口領域11の逆投影を第二画像に投影することで第二視点背景取得領域311を求めて記憶部3に記憶させておく。図1の床9の領域が開口領域11の逆投影の例であり、図2の第二視点背景取得領域311が開口領域11の逆投影を第二画像に投影した例である。   The second viewpoint background acquisition region 311 is a region in the second image corresponding to the opening region 11 in the first image. That is, the second viewpoint background acquisition region 311 in the second image is a region for acquiring background information of the opening region 11 in the first image. Back projection of the opening area 11 of the first image onto the floor, which is a reference plane of a common coordinate system (world coordinate system) common to the first photographing unit 2a and the second photographing unit 2b, by pre-calculation using the camera parameter 310 Further, the second viewpoint background acquisition region 311 is obtained by projecting the back projection of the opening region 11 onto the second image and stored in the storage unit 3. The area of the floor 9 in FIG. 1 is an example of back projection of the opening area 11, and the second viewpoint background acquisition area 311 in FIG. 2 is an example of projecting back projection of the opening area 11 onto the second image.

カメラパラメータ310は、第一撮影部2a及び第二撮影部2bの内部パラメータ及び外部パラメータである。事前のキャリブレーション(校正)作業により計測されたこれらの値が第一撮影部2a及び第二撮影部2bの撮影部IDと対応付けて記憶部31に予め記憶されている。内部パラメータは、焦点距離、レンズの光学中心位置等の情報である。外部パラメータは、ワールド座標系における位置及び姿勢等の情報である。カメラパラメータ310にピンホールカメラモデルなどを適用することで、第一撮影部2aと第二撮影部2bとの共通視野において対応する座標間の座標変換が可能となる。   The camera parameters 310 are internal parameters and external parameters of the first photographing unit 2a and the second photographing unit 2b. These values measured by the prior calibration (calibration) work are stored in advance in the storage unit 31 in association with the imaging unit IDs of the first imaging unit 2a and the second imaging unit 2b. The internal parameters are information such as the focal length and the optical center position of the lens. External parameters are information such as position and orientation in the world coordinate system. By applying a pinhole camera model or the like to the camera parameter 310, coordinate conversion between corresponding coordinates in the common field of view of the first imaging unit 2a and the second imaging unit 2b becomes possible.

なお、戸板15が変位すると第二画像上にも開口領域が現われる。第二画像における開口領域と対応する第二画像内の第一視点背景取得領域も予め求めて記憶部31に記憶させておく。   When the door plate 15 is displaced, an opening area appears on the second image. The first viewpoint background acquisition area in the second image corresponding to the opening area in the second image is also obtained in advance and stored in the storage unit 31.

対象物検出装置100は、制御部3であるコンピュータが対象物検出プログラムを実行することによって実現される。制御部3は、第一撮影部2a、第二撮影部2b及び表示部4と接続され、第一撮影部2a及び第二撮影部2bから順次入力される画像を処理して第一撮影部2aの第一画像及び第二撮影部2bの第二画像に現われた人物領域14を抽出し、抽出結果から人物10の位置を追跡する。抽出結果や追跡結果は表示部4に表示される。表示部4は、液晶ディスプレイやCRT等のモニター、これらのデータを受信する通信インターフェースを含む。   The object detection apparatus 100 is realized by a computer that is the control unit 3 executing an object detection program. The control unit 3 is connected to the first imaging unit 2a, the second imaging unit 2b, and the display unit 4, processes images sequentially input from the first imaging unit 2a and the second imaging unit 2b, and processes the first imaging unit 2a. The person region 14 appearing in the first image and the second image of the second photographing unit 2b is extracted, and the position of the person 10 is tracked from the extraction result. The extraction result and the tracking result are displayed on the display unit 4. The display unit 4 includes a monitor such as a liquid crystal display or a CRT, and a communication interface that receives these data.

図3は、制御部3によって実現される各機能の機能ブロック図である。制御部3は、画像取得部30、記憶部31、画像処理部32及び出力部33として機能する。   FIG. 3 is a functional block diagram of each function realized by the control unit 3. The control unit 3 functions as an image acquisition unit 30, a storage unit 31, an image processing unit 32, and an output unit 33.

画像取得部30は、第一撮影部2a、第二撮影部2bが撮影した画像を順次受信し、画像処理部32へ出力する通信インターフェースを含む。記憶部31は、ROM(Read Only Memory)、RAM(Random Access Memory)等のメモリ装置を含んで構成される。記憶部31は、カメラパラメータ310、第二視点背景取得領域311、扉パターン312、扉外/全体背景情報313、開口部背景情報314、戸板部背景情報315及び色変換関数を含む各種データや画像処理部32の処理を規定した対象物検出プログラム等を記憶する。画像処理部32は、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、MCU(Micro Control Unit)等の演算装置を含んで構成される。画像処理部32は、記憶部31から対象物検出プログラムを読み出し、実行することにより扉状態検出部320、背景情報生成部321、人物領域抽出部322、人物追跡部323の各部での処理を実行する。出力部33は、画像処理部32で処理された情報を表示部4へ出力する通信インターフェースを含む。   The image acquisition unit 30 includes a communication interface that sequentially receives images captured by the first imaging unit 2 a and the second imaging unit 2 b and outputs them to the image processing unit 32. The storage unit 31 includes a memory device such as a ROM (Read Only Memory) and a RAM (Random Access Memory). The storage unit 31 includes various data and images including a camera parameter 310, a second viewpoint background acquisition region 311, a door pattern 312, outside / overall background information 313, opening background information 314, doorboard background information 315, and a color conversion function. An object detection program that defines the processing of the processing unit 32 is stored. The image processing unit 32 includes an arithmetic device such as a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or an MCU (Micro Control Unit). The image processing unit 32 reads out the object detection program from the storage unit 31 and executes it to execute processing in each of the door state detection unit 320, the background information generation unit 321, the person area extraction unit 322, and the person tracking unit 323. To do. The output unit 33 includes a communication interface that outputs information processed by the image processing unit 32 to the display unit 4.

以下、図4のフローチャートに沿って、対象物検出プログラムによって実現される対象物検出処理について説明する。対象物検出処理は、監視空間である第一の部屋6a及び第二の部屋6b内に人物は存在していないことを確認したうえで開始される。対象物検出処理では、画像を取得するたびに以下のステップS1〜S9を繰り返す。   Hereinafter, the object detection process realized by the object detection program will be described with reference to the flowchart of FIG. The object detection process is started after confirming that no person exists in the first room 6a and the second room 6b, which are monitoring spaces. In the object detection process, the following steps S1 to S9 are repeated each time an image is acquired.

ステップS1では、第一撮影部2a及び第二撮影部2bから第一画像及び第二画像が取得される。第一撮影部2a及び第二撮影部2bでは所定の周期で第一画像及び第二画像を撮影して画像取得部30へ出力する。画像取得部30は、第一画像及び第二画像を受けて、記憶部31に記憶させる。   In step S1, the first image and the second image are acquired from the first photographing unit 2a and the second photographing unit 2b. The first imaging unit 2a and the second imaging unit 2b capture the first image and the second image at a predetermined cycle and output them to the image acquisition unit 30. The image acquisition unit 30 receives the first image and the second image and stores them in the storage unit 31.

ステップS2では、扉5の状態が検出される。扉状態検出部320は、第一画像と扉パターン312とのパターンマッチングを行って戸板15の開度を検出する。   In step S2, the state of the door 5 is detected. The door state detection unit 320 detects the opening degree of the door plate 15 by performing pattern matching between the first image and the door pattern 312.

扉パターン312は、戸板15が定常位置であるとき及び変位中であるときに開口領域11と戸板領域12がとり得る形状特徴を表す画像パターンである。扉パターン312として、戸板15の開度毎の形状特徴を予め登録しておく(記憶部31に記憶させておく)。具体的には、扉パターン312は、戸板15の各開角度における開口領域11の輪郭画素の位置、戸板領域12の輪郭画素の位置を示したパターン画像と開口領域11に属する画素及び戸板領域12に属する画素を示したパターン画像を含む。例えば、図5に示すように、0度(定常位置)から120度(完全開放)まで10度毎に13段階の画像パターンが登録される。扉パターン312は、扉5を模した3次元モデルを用いたシミュレーションなどにより事前に作成され、予め登録される。また、開口領域11の形状特徴と戸板領域12の形状特徴を別々に分けて登録してもよい。扉状態検出部320は、各開角度の形状特徴と現フレームの第一画像とを比較し、形状特徴が最も一致する開角度を扉状態として検出する。具体的には、扉状態検出部320は、第一画像からエッジ画像を生成して各開角度の扉パターン312とエッジ画像のパターンマッチングを行って、一致度が最大である開角度を検出する。これにより、現フレームの第一画像に現れている扉5の状態に一致する戸板15の変位状態を検出できる。扉状態検出部320は、検出した開角度を背景情報生成部321及び人物領域抽出部322に出力すると共に、次フレームでの処理のために記憶部31に記憶させる。   The door pattern 312 is an image pattern that represents the shape characteristics that the opening area 11 and the door board area 12 can take when the door board 15 is in a steady position and is being displaced. As the door pattern 312, a shape characteristic for each opening degree of the door plate 15 is registered in advance (stored in the storage unit 31). Specifically, the door pattern 312 includes a pattern image showing the position of the contour pixel in the opening area 11 at each opening angle of the door plate 15, the position of the contour pixel in the door board area 12, the pixels belonging to the opening area 11, and the door plate area 12. The pattern image which showed the pixel which belongs to is included. For example, as shown in FIG. 5, 13 levels of image patterns are registered every 10 degrees from 0 degrees (steady position) to 120 degrees (fully open). The door pattern 312 is created in advance by a simulation using a three-dimensional model imitating the door 5 and registered in advance. Further, the shape feature of the opening region 11 and the shape feature of the door plate region 12 may be separately registered. The door state detection unit 320 compares the shape feature of each open angle with the first image of the current frame, and detects the open angle that most closely matches the shape feature as the door state. Specifically, the door state detection unit 320 generates an edge image from the first image, performs pattern matching between the door pattern 312 at each opening angle and the edge image, and detects the opening angle having the maximum degree of coincidence. . Thereby, the displacement state of the door plate 15 which corresponds to the state of the door 5 appearing in the first image of the current frame can be detected. The door state detection unit 320 outputs the detected opening angle to the background information generation unit 321 and the person area extraction unit 322, and stores the detected opening angle in the storage unit 31 for processing in the next frame.

また、扉状態は、第二画像と扉パターン312とのパターンマッチングにより検出してもよい。この場合、扉パターン312は、第二画像に対して戸板15の各開角度において予め登録しておけばよい。第一画像と第二画像における開角度は共通であるから、ステップS2の処理はいずれか一方に対して行えばよい。   The door state may be detected by pattern matching between the second image and the door pattern 312. In this case, the door pattern 312 may be registered in advance at each opening angle of the door plate 15 with respect to the second image. Since the opening angle in the first image and the second image is common, the process in step S2 may be performed on either one.

ステップS3では、第一画像及び第二画像の各画素に領域属性が設定される。扉状態検出部320は、検出された開角度の扉パターン312に設定されている領域属性に従って第一画像及び第二画像上に開口領域11と戸板領域12とそれ以外の扉外領域13を設定する。   In step S3, a region attribute is set for each pixel of the first image and the second image. The door state detection unit 320 sets the opening region 11, the door plate region 12, and the other outside door region 13 on the first image and the second image according to the region attribute set in the door pattern 312 with the detected opening angle. To do.

例えば、開角度が0度以外であれば、第一画像及び第二画像の各画素には開口領域11、戸板領域12及び扉外領域13のいずれかの領域属性が設定され、第一画像及び第二画像はそれぞれ3領域に区分される。開角度が0度なら、第一画像及び第二画像には戸板領域12及び扉外領域13の領域属性が設定され、第一画像及び第二画像はそれぞれ2領域に区分される。   For example, if the opening angle is other than 0 degree, the region attribute of any one of the opening region 11, the doorboard region 12, and the outside door region 13 is set for each pixel of the first image and the second image, Each of the second images is divided into three regions. If the opening angle is 0 degree, the region attributes of the doorboard region 12 and the outside door region 13 are set in the first image and the second image, and the first image and the second image are each divided into two regions.

このように、扉状態検出部320(変位検出部)は、戸板15(遮蔽物)の変位により第一画像において遮蔽空間7が現われている開口領域11(遮蔽解除領域)を予め登録されている開口領域11の形状特徴(扉パターン312)との比較から検出する。これにより、第一画像において戸板15の変位に伴って生じる開口領域11の形状変化に追従できる。そのため、第一画像において開口部背景情報314を適用すべき開口領域11が正確に得られるので高精度な背景情報の生成と高精度な人物領域の検出が可能となる。   As described above, the door state detection unit 320 (displacement detection unit) registers in advance the opening region 11 (shielding release region) where the shielding space 7 appears in the first image due to the displacement of the door plate 15 (shielding object). It detects from the comparison with the shape characteristic (door pattern 312) of the opening area | region 11. FIG. Thereby, the shape change of the opening area | region 11 which arises with the displacement of the doorplate 15 in a 1st image can be tracked. Therefore, since the opening area 11 to which the opening background information 314 is to be applied is accurately obtained in the first image, it is possible to generate highly accurate background information and detect a highly accurate person area.

また、扉状態検出部320(変位検出部)は、第二画像において変位中の戸板15が現われている戸板領域12(遮蔽物領域)を予め登録されている戸板領域12の形状特徴(扉パターン312)との比較から検出する。これにより、第二画像において生じる戸板領域12の形状変化に追従できる。そのため、第二画像において第二視点背景取得領域311から除外すべき戸板領域12が正確に得られるので高精度な背景情報の生成と高精度な人物領域の検出が可能となる。   Moreover, the door state detection part 320 (displacement detection part) is the shape characteristic (door pattern) of the doorplate area | region 12 which has registered beforehand the doorboard area | region 12 (shielding object area | region) where the doorboard 15 currently displaced in the 2nd image has appeared. 312). Thereby, the shape change of the doorboard area | region 12 which arises in a 2nd image can be tracked. Therefore, since the doorboard region 12 to be excluded from the second viewpoint background acquisition region 311 is accurately obtained in the second image, it is possible to generate highly accurate background information and detect a highly accurate person region.

ステップS4では、第一画像及び第二画像から人物領域が抽出される。まず、人物領域抽出部322は、図6に示すフローチャートに沿って第一画像を処理する。ステップS30〜S40では、各画素を順次注目画素に設定して第一画像の全画素に対するループ処理を行う。   In step S4, a person region is extracted from the first image and the second image. First, the person region extraction unit 322 processes the first image according to the flowchart shown in FIG. In steps S30 to S40, each pixel is sequentially set as a target pixel, and a loop process is performed on all pixels of the first image.

ステップS30では、第一画像中に注目画素が設定される。すなわち、人物領域抽出部322は、ステップS30に処理が戻ってくる度に第一画像に含まれる1画素を順次選択して注目画素に設定する。   In step S30, the target pixel is set in the first image. That is, the person region extraction unit 322 sequentially selects one pixel included in the first image and sets it as a target pixel each time the processing returns to step S30.

ステップS31では、扉5の状態が開放状態であるか否かが確認される。人物領域抽出部322は、扉状態検出部320が検出した開角度が0度でなければ扉5の状態が開放状態であるとして(ステップS31にてYES)、ステップS32に処理を移行させ、そうでなければステップS38に処理を移行させる(ステップS31にてNO)。   In step S31, it is confirmed whether the state of the door 5 is an open state. If the opening angle detected by the door state detection unit 320 is not 0 degree, the person region extraction unit 322 determines that the state of the door 5 is an open state (YES in step S31), and shifts the process to step S32. Otherwise, the process proceeds to step S38 (NO in step S31).

ステップS32では、注目画素が開口領域11であるか否かが判定される。人物領域抽出部322は、ステップS4にて扉状態検出部320が判定した各画素の領域属性を参照して、注目画素の領域属性が開口領域11である場合にはステップS33に処理を移行させ(ステップS32にてYES)、そうでない場合にはステップS36に処理を移行させる(ステップS32にてNO)。   In step S <b> 32, it is determined whether or not the target pixel is the opening area 11. The person area extraction unit 322 refers to the area attribute of each pixel determined by the door state detection unit 320 in step S4, and shifts the process to step S33 when the area attribute of the target pixel is the opening area 11. (YES in step S32), otherwise, the process proceeds to step S36 (NO in step S32).

ステップS33〜S35では、人物領域抽出部322は開口領域11おける第二画像の各画素を開口部背景情報314と比較して、当該画素の開口部背景情報314に対する相違の程度を表わす指標である人物尤度(相違するほど値が大きくなる)を算出する。   In steps S33 to S35, the person area extraction unit 322 compares each pixel of the second image in the opening area 11 with the opening background information 314 and is an index representing the degree of difference of the pixel with respect to the opening background information 314. A person likelihood (a value increases as the difference is calculated) is calculated.

開口部背景情報314は、第一画像及び第二画像における開口領域11の背景情報である。各画素の開口部背景情報314は、開口領域11の色ヒストグラム(開口部色ヒストグラム)と開口領域11の各画素に対応する背景画素値(開口部背景画素値)の2種類を含む情報であり、記憶部31に記憶される。開口部色ヒストグラムは、例えばYUV各8ビンの3次元配列とされる。開口部背景情報314は、背景情報生成部321により生成され、適宜更新される。開口部背景情報314の生成処理については後述する。   The opening background information 314 is background information of the opening area 11 in the first image and the second image. The opening background information 314 of each pixel is information including two types of color histogram (opening color histogram) of the opening area 11 and a background pixel value (opening background pixel value) corresponding to each pixel of the opening area 11. And stored in the storage unit 31. The opening color histogram is, for example, a three-dimensional array of 8 bins each of YUV. The opening background information 314 is generated by the background information generation unit 321 and updated as appropriate. The generation process of the opening background information 314 will be described later.

ステップS33では、注目画素の背景画素値が既に生成されているか否かが判定される。人物領域抽出部322は、開口部背景情報314に既に背景画素値が記憶されている場合にはステップS35に処理を移行させ(ステップS33にてYES)、そうでない場合にはステップS34へ処理を移行させる(ステップS33にてNO)。   In step S33, it is determined whether or not the background pixel value of the target pixel has already been generated. If the background pixel value is already stored in the opening background information 314, the person area extraction unit 322 moves the process to step S35 (YES in step S33), and otherwise moves the process to step S34. Shift (NO in step S33).

ステップS34では、開口部色ヒストグラムに対する注目画素の人物尤度が算出される。人物領域抽出部322は、開口部背景情報314から第一画像の開口部色ヒストグラムH0、人物情報316から扉5付近の人物の色ヒストグラムHPをそれぞれ読み出し、数式(1)及び(2)にしたがって注目画素xの人物尤度LO(x)を算出する。

Figure 0006038643
Figure 0006038643
In step S34, the person likelihood of the pixel of interest for the aperture color histogram is calculated. The person area extraction unit 322 reads the opening color histogram H 0 of the first image from the opening background information 314 and the color histogram H P of the person near the door 5 from the person information 316, respectively, and formulas (1) and (2) The person likelihood L O (x) of the pixel of interest x is calculated as follows.
Figure 0006038643
Figure 0006038643

ここで、xは注目画素、PO(x)は注目画素xの人物確率、cxは注目画素xの色、HO(cx)は開口部色ヒストグラムにおける色cxのビンの頻度、HP(cx)は人物情報316から読みだした色ヒストグラムにおける色cxのビンの頻度、LO(x)は注目画素xの人物尤度、βO1は予めの実験を通じ適切に調整した定数である。人物尤度LO(x)は、人物確率PO(x)に対して単調増加する。よって、開口部色ヒストグラムにおいて注目画素の画素値の頻度が低いほど人物尤度は高くなる。 Here, x is the pixel of interest, P O (x) is the person probability of the pixel of interest x, c x is the color of the pixel of interest x, H O (c x ) is the frequency of bins of the color c x in the aperture color histogram, H P (c x ) is the bin frequency of the color c x in the color histogram read from the person information 316, L O (x) is the person likelihood of the pixel of interest x, and β O1 is appropriately adjusted through previous experiments. It is a constant. The person likelihood L O (x) increases monotonously with respect to the person probability P O (x). Therefore, the lower the frequency of the pixel value of the target pixel in the aperture color histogram, the higher the person likelihood.

このように人物領域抽出部322は、第一画像における開口領域11の各画素が開口部色ヒストグラムと相違するほど当該画素の人物尤度を高く算出する。また、人物領域抽出部322は、第一画像における開口領域11の各画素が人物情報316と類似するほど当該画素の人物尤度を高く算出する。   As described above, the person area extraction unit 322 calculates the person likelihood of the pixel so high that each pixel of the opening area 11 in the first image is different from the opening color histogram. In addition, the person area extraction unit 322 calculates the person likelihood of the pixel higher as the pixels of the opening area 11 in the first image are more similar to the person information 316.

ここで、人物情報316とは、監視空間に存在する各人物(すなわち追跡中の人物)の人物領域14の画像特徴量及び位置の履歴を示す情報である。各人物には当該人物を一意に識別する人物IDが付与され、人物IDに人物領域と画像特徴量と位置の履歴が対応付けて記憶部31に記憶される。ここで、画像特徴量は、色ヒストグラムであり、例えばYUV各8ビンの3次元配列で表される。また、人物領域14は、第一画像を構成する各画素において人物が存在することの尤もらしさを表す尤度で表される。人物領域の情報は、共通座標系における3次元形状モデルの形式で記憶される。3次元形状モデルとは、頭部、胴部及び足部を回転楕円体で近似したデータとすることができる。3次元形状モデルは、カメラパラメータ310を用いて画像の座標系に投影することで人物のマスク画像となる。   Here, the person information 316 is information indicating a history of image feature amounts and positions of the person area 14 of each person (that is, a person being tracked) existing in the monitoring space. Each person is assigned a person ID that uniquely identifies the person, and the person ID, the image feature amount, and the position history are associated with the person ID and stored in the storage unit 31. Here, the image feature amount is a color histogram, and is represented by, for example, a three-dimensional array of 8 bins of YUV. The person area 14 is represented by a likelihood representing the likelihood that a person exists in each pixel constituting the first image. The information on the person area is stored in the form of a three-dimensional shape model in the common coordinate system. The three-dimensional shape model can be data obtained by approximating the head, torso and feet with a spheroid. The three-dimensional shape model becomes a human mask image by projecting it onto the image coordinate system using the camera parameters 310.

ステップS35では、開口部背景画素値に対する注目画素の人物尤度が算出される。人物尤度は、数式(3)を用いて算出される。具体的には、人物領域抽出部322は、注目画素の画素値I(x)と背景画素値BO(x)との背景差分を算出し、差分値(I(x)−BO(x))を人物尤度LO(x)に変換する。

Figure 0006038643
In step S35, the person likelihood of the target pixel with respect to the aperture background pixel value is calculated. The person likelihood is calculated using Equation (3). Specifically, the person region extraction unit 322 calculates a background difference between the pixel value I (x) of the target pixel and the background pixel value B O (x), and calculates the difference value (I (x) −B O (x )) Is converted into person likelihood L O (x).
Figure 0006038643

ここで、βO2は予めの実験を通じ適切に調整した定数である。 Here, β O2 is a constant adjusted appropriately through previous experiments.

人物尤度LO(x)は、差分値(I(x)−B0(x))に対して単調増加する。よって、注目画素の画素値と開口部背景画素値の差が大きいほど人物尤度は高くなる。 The person likelihood L O (x) monotonously increases with respect to the difference value (I (x) −B 0 (x)). Therefore, the person likelihood increases as the difference between the pixel value of the target pixel and the opening background pixel value increases.

このように人物領域抽出部322は、第一画像における開口領域11の各画素が開口部背景情報314と相違するほど当該画素の人物尤度を高く算出する。   As described above, the person region extraction unit 322 calculates the person likelihood of the pixel so high that each pixel of the opening region 11 in the first image is different from the opening background information 314.

ステップS36,S37では、人物領域抽出部322は、戸板領域における第一画像の各画素を戸板部背景情報315と比較して、当該画素が背景情報と相違する程度を表わす指標である人物尤度を算出する。   In steps S36 and S37, the person area extraction unit 322 compares each pixel of the first image in the doorboard area with the doorboard background information 315, and the person likelihood that is an index representing the degree to which the pixel differs from the background information. Is calculated.

ここで、戸板部背景情報315は、第一画像及び第二画像における戸板領域12の背景情報であり、色ヒストグラム(戸板部色ヒストグラム)で表される。各画像の戸板部色ヒストグラムは、例えばYUV各8ビンの3次元配列で表され、記憶部31に記憶される。戸板部背景情報315は、戸板15の変位が検出されている間、背景情報生成部321により生成され、適宜更新される   Here, the doorboard background information 315 is background information of the doorboard region 12 in the first image and the second image, and is represented by a color histogram (doorboard color histogram). The door panel color histogram of each image is expressed in, for example, a three-dimensional array of 8 bins of YUV and stored in the storage unit 31. The door board background information 315 is generated by the background information generator 321 while the displacement of the door board 15 is detected, and is updated as appropriate.

ステップS36では、注目画素が戸板領域12であるか否かが判定される。人物領域抽出部322は、注目画素の領域属性が戸板領域12である場合(ステップS36にてYES)にはステップS37に処理を移行させ、そうでない場合(ステップS36にてNO)にはステップS38へ処理を移行させる。   In step S <b> 36, it is determined whether or not the target pixel is the door panel region 12. If the region attribute of the pixel of interest is the doorboard region 12 (YES in step S36), the person region extraction unit 322 shifts the process to step S37, and otherwise (NO in step S36), step S38. Shift processing to.

ステップS37では、戸板部色ヒストグラムに対する注目画素の人物尤度が算出される。人物領域抽出部322は、注目画素xの色すなわち画素値を第一画像の戸板部色ヒストグラム及び扉5付近の人物の色ヒストグラムと比較して、数式(4)及び(5)にしたがって注目画素xの人物尤度LD(x)を算出する。

Figure 0006038643
Figure 0006038643
In step S37, the person likelihood of the pixel of interest for the door panel color histogram is calculated. The person area extraction unit 322 compares the color of the pixel of interest x, that is, the pixel value, with the door panel color histogram of the first image and the color histogram of the person near the door 5, and the pixel of interest according to equations (4) and (5). The person likelihood L D (x) of x is calculated.
Figure 0006038643
Figure 0006038643

ここで、PD(x)は注目画素xの人物確率、HD(cx)は戸板部色ヒストグラムにおける色cxのビンの頻度、LD(x)は注目画素xの人物尤度、βDは予めの実験を通じ適切に調整した定数である。人物尤度LD(x)は、人物確率PD(x)に対して単調増加する。 Here, P D (x) is the human probability of the pixel of interest x, H D (cx) is the frequency of the bin of the color c x in the door panel color histogram, L D (x) is the human likelihood of the pixel of interest x, β D is a constant adjusted appropriately through previous experiments. The person likelihood L D (x) monotonically increases with respect to the person probability P D (x).

すなわち、人物領域抽出部322は、第一画像における戸板領域12の各画素が戸板部背景情報315と相違するほど当該画素の人物尤度を高く算出する。また、人物領域抽出部322は、第一画像の戸板領域12を構成する画素が人物情報316と類似するほど当該画素の人物尤度を高く算出する。   In other words, the person region extraction unit 322 calculates the person likelihood of the pixel so high that each pixel of the doorboard region 12 in the first image is different from the doorboard background information 315. In addition, the person area extraction unit 322 calculates the person likelihood of the pixel higher as the pixel constituting the door board area 12 of the first image is more similar to the person information 316.

ステップS38では、開口領域11及び変位中の戸板領域12のいずれでもない注目画素について扉外/全体背景画素値に対する人物尤度が算出される。人物領域抽出部322は、扉外/全体背景情報313から注目画素xに対応する背景輝度値BG(x)を読み出し、注目画素xの画素値I(x)と背景画素値BG(x)との差分値(I(x)−BG(x))を算出して人物尤度LG(x)に変換する。具体的には、数式(6)により人物尤度LG(x)を算出する。

Figure 0006038643
In step S38, the person likelihood is calculated for the pixel of interest that is neither the opening area 11 nor the door panel area 12 being displaced with respect to the outside / overall background pixel value. The person region extraction unit 322 reads the background luminance value B G (x) corresponding to the target pixel x from the outside / overall background information 313, and the pixel value I (x) of the target pixel x and the background pixel value B G (x ) And the difference value (I (x) −B G (x)) is calculated and converted into a person likelihood L G (x). Specifically, the person likelihood L G (x) is calculated according to Equation (6).
Figure 0006038643

ここで、LG(x)は注目画素xの人物尤度、βGは予めの実験を通じ適切に調整した定数である。人物尤度LG(x)は、差分値(I(x)−BG(x))に対して単調増加する。よって、注目画素の画素値と全体背景画素値又は扉外背景画素値の差が大きいほど人物尤度は高くなる。 Here, L G (x) is a person likelihood of the pixel of interest x, and β G is a constant adjusted appropriately through a prior experiment. The person likelihood L G (x) monotonically increases with respect to the difference value (I (x) −B G (x)). Therefore, the person likelihood increases as the difference between the pixel value of the target pixel and the overall background pixel value or the outside background pixel value increases.

このように、人物領域抽出部322は、戸板15が変位していないときは第一画像の画素総てに対して当該画素の人物尤度を全体背景画素値と相違するほど高く算出し、戸板15が変位しているときは扉外領域13における第一画像の各画素の人物尤度を当該画素が扉外背景画素値と相違するほど高く算出する。   As described above, when the door panel 15 is not displaced, the person region extraction unit 322 calculates the person likelihood of the pixel as high as it differs from the overall background pixel value with respect to all the pixels of the first image. When 15 is displaced, the person likelihood of each pixel of the first image in the outside door region 13 is calculated so high that the pixel differs from the outside background pixel value.

ここで、扉外/全体背景情報313は、第一画像全体における背景情報及び第二画像全体における背景情報である。扉外/全体背景情報313としては第一画像の各画素に対応する背景画素値及び第二画像の各画素に対応する背景画素値が記憶部31に記憶される。扉外/全体背景情報313は、背景情報生成部321により生成され、適宜更新される。戸板15が変位していないときは全画素の背景画素値が全体背景画素値として利用され、戸板15が変位中のときは扉外領域13の画素に対応する背景画素値が扉外背景画素値として利用される。   Here, the outside / overall background information 313 is background information in the entire first image and background information in the entire second image. As the outside / overall background information 313, a background pixel value corresponding to each pixel of the first image and a background pixel value corresponding to each pixel of the second image are stored in the storage unit 31. The outside / overall background information 313 is generated by the background information generation unit 321 and updated as appropriate. When the door plate 15 is not displaced, the background pixel values of all the pixels are used as the entire background pixel value. When the door plate 15 is displaced, the background pixel value corresponding to the pixel in the outside door region 13 is the background pixel value outside the door. Used as

ステップS39では、第一画像の全画素について人物尤度の算出処理が終了したか否かが判定される。人物領域抽出部322は、第一画像の全画素について処理が終了していればステップS40に処理を移行させ、そうでなければステップS30に処理を戻して、次の注目画素について人物尤度の算出を行う。ここまでの処理によって、第一画像の全画像について算出された人物尤度を各画素の値とした人物尤度画像が得られる。   In step S39, it is determined whether or not the process of calculating the person likelihood has been completed for all the pixels of the first image. The person area extraction unit 322 shifts the process to step S40 if the process has been completed for all the pixels of the first image, and returns the process to step S30 if not, and returns the person likelihood of the next target pixel. Perform the calculation. Through the processing up to this point, a person likelihood image having the person likelihood calculated for all the images of the first image as the value of each pixel is obtained.

こうして得られた人物尤度画像が人物領域を表す情報となる。すなわち、人物尤度の高い画素が人型に密集している領域が人物領域14として得られる。ステップS40では、人物尤度画像から人物領域14を決定する処理が行われる。   The person likelihood image obtained in this way becomes information representing a person region. That is, an area where pixels having high person likelihood are densely arranged in a human shape is obtained as the person area 14. In step S40, a process of determining the person region 14 from the person likelihood image is performed.

具体的には、人物領域抽出部322は、人物尤度が高い画素が人型に密集している領域を通行領域に決定する。人物領域抽出部322は、人物尤度画像上の各位置に3次元人物形状モデルを投影して人型のマスク画像を生成し、マスク画像内の画素に設定された人物尤度の合計値が検出閾値T1以上であるときに当該位置のマスク画像が示す領域を人物領域14として抽出する。または、人物尤度画像の各画素を所定の検出閾値T2と比較し、人物尤度が検出閾値T2以上である画素が人物サイズの範囲で互いに隣接している領域を人物領域14として抽出してもよい。   Specifically, the person area extraction unit 322 determines an area where pixels having high person likelihood are densely arranged in a human shape as a passing area. The person area extraction unit 322 generates a humanoid mask image by projecting a three-dimensional human shape model at each position on the person likelihood image, and the total value of the person likelihoods set for the pixels in the mask image is An area indicated by the mask image at the position when the detection threshold value is equal to or greater than the detection threshold T1 is extracted as the person area 14. Alternatively, each pixel of the person likelihood image is compared with a predetermined detection threshold T2, and an area in which pixels having a person likelihood equal to or greater than the detection threshold T2 are adjacent to each other within a person size range is extracted as the person area 14. Also good.

なお、上記サブルーチンでは第一画像内に含まれる人物領域14の抽出処理のみを説明したが、第二画像内に含まれる人物領域14も同様に求める。すなわち人物領域抽出部322は、第二画像の各画素に対する人物尤度を算出して第二画像に対応する人物尤度画像を生成し、人物尤度の高い画素が人型に密集している領域を通行領域に決定する。このとき、人物領域抽出部322は、戸板15が変位中であれば、開口領域11における第二画像の画素を開口部背景情報314と比較して人物尤度を算出し、戸板領域12における第二画像の画素を戸板部背景情報315と比較して人物尤度を算出し、扉外領域13における第二画像の画素を扉外/全体背景情報313と比較して人物尤度を算出する。また人物領域抽出部322は、戸板15が変位していなければ、第二画像の全画素を扉外/全体背景情報313と比較して人物尤度を算出する。   In the above subroutine, only the extraction process of the person area 14 included in the first image has been described, but the person area 14 included in the second image is obtained in the same manner. That is, the person region extraction unit 322 calculates a person likelihood for each pixel of the second image to generate a person likelihood image corresponding to the second image, and pixels having a high person likelihood are densely arranged in a human shape. The area is determined as a traveling area. At this time, if the door plate 15 is being displaced, the person region extraction unit 322 calculates the person likelihood by comparing the pixels of the second image in the opening region 11 with the opening background information 314, and calculates the person likelihood in the door plate region 12. The person likelihood is calculated by comparing the pixels of the two images with the door panel background information 315, and the person likelihood is calculated by comparing the pixels of the second image in the outside door region 13 with the outside / overall background information 313. In addition, if the door panel 15 is not displaced, the person region extraction unit 322 compares all the pixels of the second image with the outside / overall background information 313 to calculate a person likelihood.

上記人物領域抽出部322における処理が終了するとメインルーチンのステップS5に処理が戻される。   When the process in the person area extraction unit 322 is completed, the process returns to step S5 of the main routine.

ステップS5では、人物の追跡処理が行われる。人物追跡部323は、各人物領域14の位置及び人物領域14における第一画像の色ヒストグラムを当該人物の特徴量として抽出し、抽出した特徴量と人物情報316に記憶された各人物の特徴量との照合を行う。人物追跡部323は、この照合により一致が得られた人物領域を人物情報316の人物と同一と判定して対応付ける。第二画像から抽出した人物領域についても同様に人物情報との同定を行う。さらに、人物追跡部323はカメラパラメータ310を用いて第一画像から抽出した人物領域14と第二画像から抽出した人物領域14のうち、ワールド座標系において位置が対応する人物領域を同一人物と対応付ける。人物追跡部323は、人物情報316の色ヒストグラムを対応が得られた人物領域14の色ヒストグラムにより更新し、当該人物の人物情報316の位置履歴に一致が得られた人物領域14の位置を追記する。また、対応が得られなかった人物領域に対して新規人物の人物情報316を生成し、対応が得られなかった人物情報316は消失したとして削除する。   In step S5, a person tracking process is performed. The person tracking unit 323 extracts the position of each person area 14 and the color histogram of the first image in the person area 14 as the feature quantity of the person, and the extracted feature quantity and the feature quantity of each person stored in the person information 316. Is checked. The person tracking unit 323 determines that the person area obtained by the collation is the same as the person in the person information 316 and associates it. The person area extracted from the second image is similarly identified with the person information. Further, the person tracking unit 323 uses the camera parameter 310 to associate the person area 14 extracted from the first image and the person area 14 extracted from the second image with the same person corresponding to the position in the world coordinate system. . The person tracking unit 323 updates the color histogram of the person information 316 with the color histogram of the person area 14 for which the correspondence has been obtained, and adds the position of the person area 14 for which the position history of the person information 316 of the person has been matched. To do. Further, the person information 316 of a new person is generated for the person area for which no correspondence is obtained, and the person information 316 for which no correspondence is obtained is deleted as it disappears.

なお、人物の追跡処理はこれらに限定されるものではなく、既存の種々の画像追跡処理を適用することができる。   The person tracking process is not limited to these, and various existing image tracking processes can be applied.

ステップS6では、人物領域14の画素から人物の色ヒストグラムを生成する。扉5の近辺に存在するK人の人物のヒストグラムH1〜HKを足し合わせ、正規化したものを人物の色ヒストグラムHPとして人物情報316に含めて記憶部31に記憶させる。

Figure 0006038643
In step S <b> 6, a person color histogram is generated from the pixels in the person region 14. The histograms H 1 to H K of the K persons existing in the vicinity of the door 5 are added and normalized, and the person color histogram H P is included in the person information 316 and stored in the storage unit 31.
Figure 0006038643

ステップS7では、図7のフローチャートに沿って、扉外/全体背景情報313の生成処理が行われる。背景情報生成部321は、現フレームの第一画像の各画素を順次注目画素に設定して(ステップS50)、ステップS50〜S55のループ処理を実行する。   In step S <b> 7, generation processing of the outside door / entire background information 313 is performed according to the flowchart of FIG. 7. The background information generation unit 321 sequentially sets each pixel of the first image of the current frame as a target pixel (Step S50), and executes the loop processing of Steps S50 to S55.

ステップS51では、扉5の状態が開放状態であるか否かが確認される。背景情報生成部321は、扉状態検出部320が検出した開角度が0度以外なら扉5が開放状態であるとしてステップS52に処理を移行させ(ステップS51にてYES)、そうでなければステップS53に処理を移行させる(ステップS51にてNO)。   In step S51, it is confirmed whether the state of the door 5 is an open state. If the opening angle detected by the door state detection unit 320 is other than 0 degrees, the background information generation unit 321 shifts the process to step S52 assuming that the door 5 is in the open state (YES in step S51). The process proceeds to S53 (NO in step S51).

ステップS52では、注目画素の領域属性が扉外領域13であるか否かが確認される。背景情報生成部321は、扉状態検出部320が注目画素に対して設定した領域属性が扉外領域13であればステップS53に処理を移行させ(ステップS52にてYES)、そうでなければステップS55に処理を移行させる(ステップS52にてNO)。   In step S52, it is confirmed whether or not the region attribute of the target pixel is the outside door region 13. If the region attribute set for the target pixel by the door state detection unit 320 is the outside door region 13, the background information generation unit 321 moves the process to step S 53 (YES in step S 52). The process proceeds to S55 (NO in step S52).

ステップS53では、注目画素が人物領域14の画素か否かが確認される。背景情報生成部321は、人物領域抽出部322が第一画像から抽出した人物領域14を参照して、注目画素が人物領域14の画素であればステップS55に処理を移行させ(ステップS53にてYES)、そうでなければステップS54に処理を移行させる(ステップS53にてNO)。   In step S53, it is confirmed whether or not the pixel of interest is a pixel in the person area 14. The background information generation unit 321 refers to the person region 14 extracted from the first image by the person region extraction unit 322, and shifts the process to step S55 if the target pixel is a pixel of the person region 14 (in step S53). YES), otherwise, the process proceeds to step S54 (NO in step S53).

ステップS54では、背景情報生成部321は、現フレームの注目画素の画素値で扉外/全体背景情報313に記憶している注目画素の背景画素値を更新する。   In step S54, the background information generation unit 321 updates the background pixel value of the target pixel stored in the outside / overall background information 313 with the pixel value of the target pixel of the current frame.

具体的には、背景情報生成部321は、式(8)にしたがって、現フレームの注目画素の画素値I(x)と扉外/全体背景情報313の背景画素値BG(x,t−1)をαG:(1−αG)の割合で重み付け平均した背景画素値BG(x,t)を求めて扉外/全体背景情報313に書き込む。

Figure 0006038643
ただし0<αG<1であり、例えばαG=0.3と設定する Specifically, the background information generation unit 321 determines the pixel value I (x) of the target pixel of the current frame and the background pixel value B G (x, t− of the outside / overall background information 313) according to Expression (8). A background pixel value B G (x, t) obtained by weighting and averaging 1) at a ratio of α G : (1−α G ) is obtained and written in the outside / overall background information 313.
Figure 0006038643
However, 0 <α G <1, and for example, α G = 0.3 is set.

ステップS55では、背景情報生成部321は、第一画像の全画素を注目画素として処理したか確認する。全画素を処理していなければ、次の画素を処理するために処理をステップS50に戻す(ステップS55にてNO)。全画素を注目画素として処理すると図7の処理は終了する。   In step S55, the background information generation unit 321 checks whether all pixels of the first image have been processed as the target pixel. If all the pixels have not been processed, the process returns to step S50 to process the next pixel (NO in step S55). When all the pixels are processed as the target pixel, the process in FIG. 7 ends.

以上のように、背景情報生成部321は、人物領域14、開口領域11及び変位中の戸板領域12を除いた領域について、現フレームの第一画像を用いて第一の視点での扉外/全体背景情報313を生成・更新する。   As described above, the background information generation unit 321 uses the first image of the current frame for the area excluding the person area 14, the opening area 11, and the displacing doorboard area 12. The entire background information 313 is generated / updated.

また、背景情報生成部321は、第二画像に対しても同様にして扉外/全体背景情報313を生成する。すなわち、背景情報生成部321は、扉が開放状態であれば、現フレームの第二画像において人物が検出されなかった扉外領域13の画素値と扉外/全体背景情報313の対応する背景画素値との重み付け平均値を第二画像における開口領域11の新たな背景画素値として記憶部31に書き込む。また、背景情報生成部321は、扉5が閉鎖状態であれば、現フレームの第二画像において人物が検出されなかった領域の画素値と扉外/全体背景情報313の対応する背景画素値との重み付け平均値を第二画像に対する新たな背景画素値として記憶部31に書き込む。この処理が第二視点背景生成部での処理に相当する。   Further, the background information generation unit 321 generates the outside / overall background information 313 in the same manner for the second image. In other words, if the door is in the open state, the background information generation unit 321 corresponds to the pixel value of the outside area 13 where no person is detected in the second image of the current frame and the corresponding background pixel of the outside / overall background information 313. The weighted average value with the value is written in the storage unit 31 as a new background pixel value of the opening area 11 in the second image. Further, if the door 5 is in the closed state, the background information generation unit 321 determines the pixel value of the area where no person is detected in the second image of the current frame and the corresponding background pixel value of the outside / overall background information 313. Are written in the storage unit 31 as new background pixel values for the second image. This process corresponds to the process in the second viewpoint background generation unit.

扉外/全体背景情報313が生成されると、処理は図4のステップS8に進み、背景情報生成部321は開口部背景情報314の生成を行う。   When the outside door / overall background information 313 is generated, the process proceeds to step S8 in FIG. 4, and the background information generation unit 321 generates the opening background information 314.

ステップS8では、図8及び図9に示すフローチャートに沿って開口部背景情報の生成処理が行われる。   In step S8, opening background information generation processing is performed according to the flowcharts shown in FIGS.

まず、背景情報生成部321は、図8のフローチャートに従い、第二画像を用いて第一画像における開口部色ヒストグラムを生成する。   First, the background information generation unit 321 generates an opening color histogram in the first image using the second image according to the flowchart of FIG.

ステップS60〜S64のループ処理では、現フレームの第二視点背景取得領域311における色ヒストグラムが生成される。ステップS60では、現フレームの第二画像の各画素が順次注目画素に設定される。すなわち、背景情報生成部321は、ステップS50に処理が戻ってくる度に第二画像に含まれる画素を順次選択して注目画素に設定する。また、ループ処理開始にあたり、背景情報生成部321は現フレームの色ヒストグラムを蓄積する記憶領域を用意し、各ビンの度数を0に初期化する。   In the loop processing of steps S60 to S64, a color histogram in the second viewpoint background acquisition region 311 of the current frame is generated. In step S60, each pixel of the second image of the current frame is sequentially set as the target pixel. That is, the background information generation unit 321 sequentially selects the pixels included in the second image and sets them as the target pixel every time the process returns to step S50. At the start of the loop processing, the background information generation unit 321 prepares a storage area for storing the color histogram of the current frame, and initializes the frequency of each bin to zero.

ステップS61では、注目画素が第二視点背景取得領域311の画素であるか否かが確認される。背景情報生成部321は、注目画素が第二画像に対して設定された第二視点背景取得領域311の画素であればステップS62に処理を移行させ(ステップS61にてYES)、そうでなければステップS66へ処理を移行させる(ステップS61にてNO)。   In step S61, it is confirmed whether or not the target pixel is a pixel in the second viewpoint background acquisition region 311. If the target pixel is a pixel in the second viewpoint background acquisition region 311 set for the second image, the background information generation unit 321 moves the process to step S62 (YES in step S61), otherwise. The process proceeds to step S66 (NO in step S61).

ステップS62では、注目画素が戸板領域12の画素か否かが確認される。背景情報生成部321は、注目画素が戸板領域12内にあればステップS66に処理を移行させ(ステップS62にてYES)、そうでなければステップS63へ処理を移行させる(ステップS62にてNO)。この判定により、背景情報生成部321は、第二視点からみて扉5が手前開きの場合に第二視点背景取得領域311からこれに重なった戸板領域12を除外する。この除外によって戸板15が背景に混入しなくなるので、開口部色ヒストグラムの精度を高く維持することができる。   In step S62, it is confirmed whether or not the target pixel is a pixel in the door plate region 12. The background information generation unit 321 shifts the process to step S66 if the pixel of interest is in the doorboard region 12 (YES in step S62), otherwise shifts the process to step S63 (NO in step S62). . By this determination, the background information generation unit 321 excludes the overlapping door panel area 12 from the second viewpoint background acquisition area 311 when the door 5 is opened forward as viewed from the second viewpoint. By this exclusion, the door plate 15 is not mixed with the background, so that the accuracy of the opening color histogram can be maintained high.

ステップS63では、注目画素が人物領域14内の画素か否かが確認される。背景情報生成部321は、人物領域抽出部322が第二画像から抽出した人物領域14を参照して、注目画素が人物領域14内にあればステップS66に処理を移行させ(ステップS63にてYES)、そうでなければステップS64へ処理を移行させる(ステップS63にてNO)。   In step S63, it is confirmed whether or not the target pixel is a pixel in the person region 14. The background information generation unit 321 refers to the person area 14 extracted from the second image by the person area extraction unit 322, and shifts the process to step S66 if the target pixel is in the person area 14 (YES in step S63). If not, the process proceeds to step S64 (NO in step S63).

ステップS64では、色変換処理が行われる。背景情報生成部321は、第二画像の平均輝度値及び分散を第一画像の平均輝度値及び分散と一致させるように予め設定された色変換関数を用いて第二画像の注目画素の画素値を変換する。   In step S64, a color conversion process is performed. The background information generation unit 321 uses a color conversion function set in advance so that the average luminance value and variance of the second image match the average luminance value and variance of the first image, and the pixel value of the target pixel of the second image Convert.

ステップS65では、注目画素の値が現フレームの色ヒストグラムに蓄積される。背景情報生成部321は、記憶部31に用意した現フレームの色ヒストグラムにおいて注目画素の色と対応するビンの度数を1だけ増加させる。   In step S65, the value of the target pixel is accumulated in the color histogram of the current frame. The background information generation unit 321 increases the frequency of the bin corresponding to the color of the pixel of interest in the current frame color histogram prepared in the storage unit 31 by one.

ステップS66では、背景情報生成部321は、第二画像の全画素を注目画素として処理したか確認する。全画素を処理していなければ次の画素を処理するために処理をステップS60に戻し(ステップ66にてNO)、処理が終わっていればステップS67に処理を移行させる。   In step S66, the background information generation unit 321 confirms whether all the pixels of the second image have been processed as the target pixel. If all the pixels have not been processed, the process returns to step S60 to process the next pixel (NO in step 66), and if the process has been completed, the process proceeds to step S67.

ステップS67では、背景情報生成部321は、現フレームの色ヒストグラムを用いて開口部背景情報314に記憶している色ヒストグラムを更新する。具体的には背景情報生成部321は、現フレームの色ヒストグラムを処理対象とした画素数で正規化し、式(9)にしたがって現フレームの色ヒストグラムHの各ビンの値と開口部背景情報314の色ヒストグラムHO(t−1)の対応するビンの値をαO1:(1−αO1)の割合で重み付け平均した色ヒストグラムHO(t)を求めて背景情報生成部321に書き込む。

Figure 0006038643
ただし0<αO1<1であり、例えばαO1=0.3と設定する。 In step S67, the background information generation unit 321 updates the color histogram stored in the opening background information 314 using the color histogram of the current frame. Specifically, the background information generation unit 321 normalizes the color histogram of the current frame with the number of pixels to be processed, and the value of each bin of the color histogram H of the current frame and the opening background information 314 according to Expression (9). the color histogram H O (t-1) corresponding to the value of the bin alpha O1: write to background information generation unit 321 obtains the (1-α O1) color histogram H O (t) weighted average rate.
Figure 0006038643
However, 0 <α O1 <1 and, for example, α O1 = 0.3 is set.

なお、開口部背景情報314に色ヒストグラムが記憶されていない起動直後の場合は、現フレームの色ヒストグラムHをそのままHOとして記憶させる。 If the color histogram is not stored in the opening background information 314, the color histogram H of the current frame is stored as H 2 O as it is.

第二画像から遮蔽空間7の背景情報を生成するステップS60〜S66は第二視点背景生成部の処理に該当し、この背景情報から第一画像で用いる開口部色ヒストグラムを生成するステップS67は第一視点背景生成部の処理に該当する。このように、戸板15(遮蔽物)が変位していないときも第二視点背景生成部が遮蔽空間7の背景情報を生成することにより遮蔽空間7の照明変動に適応でき、この背景情報を利用して第一視点背景生成部が開口部色ヒストグラムを生成することにより戸板15が変位してそれまで第一視点から撮影されていなかった遮蔽空間7が第一画像の開口領域11(遮蔽解除領域)が第一視点から撮影されるようになっても照明変動に適応した開口部色ヒストグラムを用いて高精度に人物10(移動物体)の領域を検出し続けることができる。また、遮蔽空間7の背景情報を画素単位の情報とせず、領域単体の情報(ヒストグラム)としたことで、カメラパラメータ310や色変換関数の誤差が希釈されて精度低下を防止できる。   Steps S60 to S66 for generating the background information of the shielding space 7 from the second image correspond to the processing of the second viewpoint background generation unit, and step S67 for generating the opening color histogram used in the first image from the background information is the first. This corresponds to the processing of the single viewpoint background generation unit. As described above, even when the door panel 15 (the shielding object) is not displaced, the second viewpoint background generation unit can adapt to the illumination variation of the shielding space 7 by generating the background information of the shielding space 7, and this background information is used. Then, the first viewpoint background generation unit generates the opening color histogram so that the door 15 is displaced and the shielding space 7 that has not been photographed from the first viewpoint until now is the opening area 11 (shielding cancellation area) of the first image. ) Can be detected from the first viewpoint, and the region of the person 10 (moving object) can be continuously detected with high accuracy using the aperture color histogram adapted to the illumination variation. In addition, since the background information of the shielding space 7 is not information on a pixel basis but information on a single region (histogram), errors in the camera parameters 310 and the color conversion function are diluted, and a reduction in accuracy can be prevented.

次に、背景情報生成部321は、図9のフローチャートに従い、第一画像における開口部背景画素値を生成する。   Next, the background information generation unit 321 generates an opening background pixel value in the first image according to the flowchart of FIG.

ステップS70では、扉5が開放状態であるか否かが確認される。背景情報生成部321は、扉状態検出部320が検出した開角度が0度以外であれば扉5が開放状態であるとしてステップS71に処理を移行させ(ステップS70にてYES)、そうでなければステップS76に処理を移行させる(ステップS70にてNO)。   In step S70, it is confirmed whether or not the door 5 is open. If the opening angle detected by the door state detection unit 320 is other than 0 degrees, the background information generation unit 321 determines that the door 5 is in the open state and shifts the process to step S71 (YES in step S70). If so, the process proceeds to step S76 (NO in step S70).

ステップS71では、背景情報生成部321は、現フレームの第一画像の各画素を順次注目画素に設定する。ステップS71〜75のループ処理では、現フレームの第一画像により開口部背景画素値が生成・更新される。   In step S71, the background information generation unit 321 sequentially sets each pixel of the first image of the current frame as a target pixel. In the loop processing in steps S71 to S75, the opening background pixel value is generated / updated from the first image of the current frame.

ステップS72では、注目画素が開口領域11の画素か否かが確認される。背景情報生成部321は、扉状態検出部320が第一画像に対して設定した注目画素の領域属性が開口領域11であればステップS73に処理を移行させ(ステップS72にてYES)、そうでなければステップS75に処理を移行させる(ステップS72にてNO)。   In step S72, it is confirmed whether or not the target pixel is a pixel in the opening area 11. If the region attribute of the target pixel set for the first image by the door state detection unit 320 is the opening region 11, the background information generation unit 321 moves the process to step S73 (YES in step S72). If not, the process proceeds to step S75 (NO in step S72).

ステップS73では、注目画素が人物領域14の画素か否かが確認される。背景情報生成部321は、人物領域抽出部322が第一画像から抽出した人物領域14を参照して、注目画素が人物領域14の画素にあればステップS75に処理を移行させ(ステップS73にてYES)、そうでなければステップS74へ処理を移行させる(ステップS73にてNO)。   In step S <b> 73, it is confirmed whether or not the target pixel is a pixel in the person area 14. The background information generation unit 321 refers to the person region 14 extracted from the first image by the person region extraction unit 322, and shifts the process to step S75 if the target pixel is in the pixel of the person region 14 (in step S73). YES), otherwise, the process proceeds to step S74 (NO in step S73).

ステップS74では、注目画素の背景画素値が更新される。背景情報生成部321は、現フレームの注目画素の画素値で開口部背景情報314に記憶している注目画素の背景画素値を更新する。具体的には、背景情報生成部321は、式(10)にしたがって現フレームの注目画素の画素値I(x)と開口部背景情報314の背景画素値BO(x,t−1)をαO2:(1−αO2)の割合で重み付け平均した背景画素値BO(x,t)を求めて開口部背景情報314に書き込む。

Figure 0006038643
ただし0<αO2<1であり、例えばαO2=0.3と設定する。 In step S74, the background pixel value of the target pixel is updated. The background information generation unit 321 updates the background pixel value of the target pixel stored in the aperture background information 314 with the pixel value of the target pixel of the current frame. Specifically, the background information generation unit 321 calculates the pixel value I (x) of the pixel of interest in the current frame and the background pixel value B O (x, t−1) of the opening background information 314 according to Expression (10). A background pixel value B O (x, t) obtained by weighted averaging at a ratio of α O2 : (1−α O2 ) is obtained and written in the opening background information 314.
Figure 0006038643
However, 0 <α O2 <1 and, for example, α O2 = 0.3 is set.

ステップS75では、第一画像の全画素を注目画素として処理したかが確認される。背景情報生成部321は、全画素を処理していなければ次の画素を処理するために処理をステップS71に戻し(ステップS75にてNO)、そうでなければ図4のステップS7へと処理を戻す(ステップS75にてYES)。ステップS71〜S75の処理により開口領域11において人物が現れていない部分では遮蔽空間7の背景画素値が生成され、色ヒストグラムに代えて利用可能となる。   In step S75, it is confirmed whether all pixels of the first image have been processed as the target pixel. If all the pixels have not been processed, background information generation unit 321 returns the process to step S71 to process the next pixel (NO in step S75), otherwise the process proceeds to step S7 in FIG. Return (YES in step S75). By the processing of steps S71 to S75, the background pixel value of the shielding space 7 is generated in a portion where no person appears in the opening area 11, and can be used instead of the color histogram.

ステップS76では、扉5が開放状態から閉鎖状態に変化したか否かが確認される。背景情報生成部321は、記憶部31に記憶されている1フレーム前の開角度が0度以外であり且つ現フレームの開角度が0度であれば、扉5の状態が現フレームにおいて開放状態から閉鎖状態に変化したとしてステップS77へ処理を移行させ(ステップS76にてYES)、そうでなければ処理を図4のステップS8に移行させる(ステップS76にてNO)。   In step S76, it is confirmed whether or not the door 5 has changed from the open state to the closed state. If the opening angle of the previous frame stored in the storage unit 31 is other than 0 degree and the opening angle of the current frame is 0 degree, the background information generation unit 321 is in the open state in the current frame. If it is changed from the closed state to the closed state, the process proceeds to step S77 (YES in step S76). Otherwise, the process proceeds to step S8 in FIG. 4 (NO in step S76).

ステップS77では、開口部背景画素値がクリアされる。背景情報生成部321は、開口部背景情報314の背景画素値を総てクリアする。これにより、遮蔽空間7の背景情報が座標変換や色変換の誤差なく最新の状態に更新できるので照明変動に対応したより高精度な対象物の検出が可能となる。つまり、ステップS70にて扉5が閉鎖状態であると判定された場合、開口領域11における最新の背景画素値が第一画像から得られなくなり、閉鎖状態の間の照明変動に対応できなくなるため、閉鎖状態が継続している間においては、背景情報生成部321は、開口領域11における背景画素値の生成を行わず、さらに開口部背景画素値をクリアして開口部背景画素値を扉5が開放状態にある間だけ利用可能とする。   In step S77, the aperture background pixel value is cleared. The background information generation unit 321 clears all the background pixel values of the opening portion background information 314. As a result, the background information of the shielded space 7 can be updated to the latest state without any error in coordinate conversion or color conversion, so that it is possible to detect an object with higher accuracy corresponding to illumination variations. That is, when it is determined in step S70 that the door 5 is in the closed state, the latest background pixel value in the opening region 11 cannot be obtained from the first image, and the illumination fluctuation during the closed state cannot be handled. While the closed state continues, the background information generation unit 321 does not generate the background pixel value in the opening region 11, and further clears the opening background pixel value so that the door 5 receives the opening background pixel value. It can be used only while it is open.

また、背景情報生成部321は、第二画像における開口領域11に対しても同様にして開口部背景情報314を生成する。すなわち、背景情報生成部321は、扉5が開放状態であれば、現フレームの第一画像において人物が検出されなかった開口領域11の画素から現フレームの色ヒストグラムを算出して、当該色ヒストグラムと開口部背景情報314に記憶されている色ヒストグラムとの重み付け平均値を第二画像における開口領域11の新たな色ヒストグラムとして記憶部31に書き込む。また、背景情報生成部321は、扉5が開放状態であれば、現フレームの第二画像において人物が検出されなかった開口領域11の画素値と開口部背景情報314の対応する背景画素値との重み付け平均値を第二画像における開口領域11の新たな背景画素値として記憶部31に書き込む。また、背景情報生成部321は、現フレームにおいて扉5が開放状態から閉鎖状態に変化した場合に開口部背景情報314の背景画素値をクリアする。   The background information generation unit 321 also generates the opening background information 314 in the same manner for the opening area 11 in the second image. That is, if the door 5 is in the open state, the background information generation unit 321 calculates a color histogram of the current frame from the pixels of the opening area 11 where no person is detected in the first image of the current frame, and the color histogram And the weighted average value of the color histogram stored in the opening portion background information 314 are written in the storage unit 31 as a new color histogram of the opening region 11 in the second image. In addition, if the door 5 is in the open state, the background information generation unit 321 includes the pixel value of the opening area 11 in which no person is detected in the second image of the current frame and the corresponding background pixel value of the opening background information 314. Is written in the storage unit 31 as a new background pixel value of the opening area 11 in the second image. The background information generation unit 321 clears the background pixel value of the opening background information 314 when the door 5 changes from the open state to the closed state in the current frame.

開口部背景情報314が生成されると、処理は図4のステップS9に進み、背景情報生成部321は戸板部背景情報315の生成を行う。背景情報生成部321は、ステップS80〜S84のループ処理を実行し、現フレームの戸板領域12における色ヒストグラムを生成する。   When the opening background information 314 is generated, the process proceeds to step S9 in FIG. 4, and the background information generation unit 321 generates the doorboard background information 315. The background information generation unit 321 executes the loop process of steps S80 to S84 to generate a color histogram in the door panel region 12 of the current frame.

ステップS80では、背景情報生成部321は、現フレームの第一画像の各画素を順次注目画素に設定する。また、背景情報生成部321は、現フレームの色ヒストグラムを蓄積する記憶領域を用意し、各ビンの度数を0に初期化する。   In step S80, the background information generation unit 321 sequentially sets each pixel of the first image of the current frame as a target pixel. Further, the background information generation unit 321 prepares a storage area for storing the color histogram of the current frame, and initializes the frequency of each bin to zero.

ステップS81では、背景情報生成部321は、注目画素が第一画像に対して設定された戸板領域12の画素であるか否かを確認する。注目画素が戸板領域12内にあればステップS82に処理を移行させ(ステップS81にてYES)、そうでなければステップS84へ処理を移行させる(ステップS81にてNO)。   In step S81, the background information generation unit 321 confirms whether or not the target pixel is a pixel of the doorboard region 12 set for the first image. If the pixel of interest is within door panel region 12, the process proceeds to step S82 (YES in step S81), otherwise the process proceeds to step S84 (NO in step S81).

ステップS82では、背景情報生成部321は、人物領域抽出部322が第一画像から抽出した人物領域14を参照して、注目画素が人物領域14内の画素か否かを確認する。注目画素が人物領域14内にあればステップS84に処理を移行させ(ステップS82にてYES)、そうでなければステップS83へ処理を移行させる(ステップS82にてNO)。   In step S <b> 82, the background information generation unit 321 refers to the person region 14 extracted from the first image by the person region extraction unit 322 and confirms whether the pixel of interest is a pixel in the person region 14. If the pixel of interest is in person area 14, the process proceeds to step S84 (YES in step S82), otherwise the process proceeds to step S83 (NO in step S82).

ステップS83では、背景情報生成部321は、注目画素を色ヒストグラム生成の対象とし、注目画素の色と対応するビンの度数を1だけ増加させることで現フレームの色ヒストグラムHを記憶部31に蓄積する。   In step S <b> 83, the background information generation unit 321 accumulates the color histogram H of the current frame in the storage unit 31 by increasing the frequency of the bin corresponding to the color of the target pixel by 1 by setting the target pixel as the target of color histogram generation. To do.

ステップS84では、背景情報生成部321は、第一画像の全画素を注目画素として処理したか確認する。全画素を処理していなければ次の画素を処理するために処理をステップS80に戻し(ステップS84にてNO)、そうでなければステップS85に処理を移行させる(ステップS84にてYES)。   In step S84, the background information generation unit 321 checks whether all pixels of the first image have been processed as the target pixel. If all the pixels have not been processed, the process returns to step S80 to process the next pixel (NO in step S84). If not, the process proceeds to step S85 (YES in step S84).

ステップS85では、背景情報生成部321は、現フレームの色ヒストグラムを用いて戸板部背景情報315に記憶している色ヒストグラムを更新する。具体的には、背景情報生成部321は、現フレームの色ヒストグラムを処理対象とした画素数で正規化し、式(11)にしたがって現フレームの色ヒストグラムHの各ビンの値と戸板部背景情報315の色ヒストグラムHD(t−1)の対応するビンの値をαD1:(1−αD1)の割合で重み付け平均した色ヒストグラムHD(t)を求めて戸板部背景情報315に書き込む。なお、戸板部背景情報315に色ヒストグラムが記憶されていない起動直後の場合は、現フレームの色ヒストグラムHをそのままHDとして記憶させる。

Figure 0006038643
ただし0<αD<1であり、例えばαD=0.3と設定する。 In step S85, the background information generation unit 321 updates the color histogram stored in the doorboard background information 315 using the color histogram of the current frame. Specifically, the background information generation unit 321 normalizes the color histogram of the current frame with the number of pixels targeted for processing, and the value of each bin of the color histogram H of the current frame and the doorboard background information according to the equation (11). A color histogram H D (t) obtained by weighting and averaging the bin values corresponding to the color histogram H D (t−1) 315 at a ratio of α D1 : (1−α D1 ) is written in the door panel background information 315. . If the color histogram is not stored in the door panel background information 315 immediately after the start-up, the color histogram H of the current frame is stored as HD as it is.
Figure 0006038643
However, 0 <α D <1 and, for example, α D = 0.3 is set.

また、背景情報生成部321は、第二画像における戸板領域に対しても同様にして戸板部背景情報315を生成する。すなわち、背景情報生成部321は、現フレームの第二画像において人物が検出されなかった戸板領域12の画素から現フレームの色ヒストグラムを算出して、当該色ヒストグラムと戸板部背景情報315に記憶されている色ヒストグラムとの重み付け平均値を第二画像における戸板領域12の新たな色ヒストグラムとして記憶部31に書き込む。   In addition, the background information generation unit 321 similarly generates the door panel background information 315 for the door panel region in the second image. That is, the background information generation unit 321 calculates a color histogram of the current frame from the pixels in the door panel area 12 where no person is detected in the second image of the current frame, and stores the color histogram and the door panel background information 315. The weighted average value with the current color histogram is written in the storage unit 31 as a new color histogram of the doorboard region 12 in the second image.

以上の処理を終えると、処理は図4のステップS1へと戻され、次のフレームの処理が行われる。   When the above process is completed, the process returns to step S1 in FIG. 4 to process the next frame.

なお、図8のフローチャートに代えて、図11のフローチャートに沿って第二画像を用いて第一画像における開口部色ヒストグラムを生成してもよい。   Instead of the flowchart of FIG. 8, an opening color histogram in the first image may be generated using the second image according to the flowchart of FIG.

ステップS90〜S94では、第二画像から生成した扉外/全体背景情報313の各画素を順次注目画素に設定して全画素に対するループ処理により開口部色ヒストグラムが生成される。ステップS90では、背景情報生成部321は、現フレームの第二画像から生成した扉外/全体背景情報313の背景画素値を順次注目画素値に設定する。また、ループ処理開始にあたり、背景情報生成部321は開口部色ヒストグラムの各ビンの度数を0に初期化する。   In steps S90 to S94, each pixel of the outside / overall background information 313 generated from the second image is sequentially set as the pixel of interest, and an aperture color histogram is generated by loop processing for all the pixels. In step S90, the background information generation unit 321 sequentially sets the background pixel value of the outside / overall background information 313 generated from the second image of the current frame as the target pixel value. At the start of the loop processing, the background information generation unit 321 initializes the frequency of each bin in the opening color histogram to 0.

ステップS91では、注目画素が第二視点背景取得領域の画素であるかが確認される。ステップS93では、開口部色ヒストグラムが生成される。注目背景画素値の色と対応するビンの度数を1だけ増加させることで開口部色ヒストグラムを生成する。   In step S91, it is confirmed whether the pixel of interest is a pixel in the second viewpoint background acquisition region. In step S93, an opening color histogram is generated. The aperture color histogram is generated by increasing the frequency of the bin corresponding to the color of the target background pixel value by one.

背景情報生成部321は、注目画素値が第二画像に対して設定された第二視点背景取得領域311の画素値であればステップS92に処理を移行させ(ステップS91にてYES)、そうでなければステップS94に処理を移行させる(ステップS91にてNO)。   If the target pixel value is the pixel value of the second viewpoint background acquisition region 311 set for the second image, the background information generation unit 321 shifts the process to step S92 (YES in step S91), and so on. If not, the process proceeds to step S94 (NO in step S91).

ステップS92では、色変換が行われる。背景情報生成部321は、第二画像から第一画像への色変換関数を用いて注目背景画素値を変換する。   In step S92, color conversion is performed. The background information generation unit 321 converts the target background pixel value using a color conversion function from the second image to the first image.

ステップS94では、第二画像から生成した扉外/全体背景情報313の全画素を注目画素として処理したか確認する。全画素を処理していなければ次の画素を処理するために処理をステップS90に戻し(ステップ94にてNO)、処理が終わっていれば背景情報生成部321は、開口部色ヒストグラムを正規化し、ステップS70に処理を移行させる。   In step S94, it is confirmed whether all the pixels in the outside / overall background information 313 generated from the second image have been processed as the target pixel. If all the pixels have not been processed, the process returns to step S90 to process the next pixel (NO in step 94). If the process has been completed, the background information generation unit 321 normalizes the aperture color histogram. Then, the process proceeds to step S70.

図11のフローチャートに従う場合、第二画像から遮蔽空間7の背景情報を生成する第二視点背景生成部の処理は扉外/全体背景情報313を生成する図7に準じた処理が該当し、第二画像の扉外/全体背景情報313から開口部色ヒストグラムを生成する図11の処理が第一視点背景生成部の処理に該当する。   When the flowchart of FIG. 11 is followed, the process of the second viewpoint background generation unit that generates the background information of the shielded space 7 from the second image corresponds to the process according to FIG. The process of FIG. 11 for generating the opening color histogram from the outside / outdoor background information 313 of the two images corresponds to the process of the first viewpoint background generation unit.

以上のように、本実施の形態によれば、扉などの変位可能な遮蔽物が設置された空間にて人物等の対象物を検出する際に、遮蔽物の変位に伴って遮蔽されていた空間が写り込んだ背景情報を適切に更新することができる。これによって、背景差分処理を施したときに開口部全体が変化領域となることを防ぐことができ、開口部に一部または全体が写っている対象物を適切に検出することができる。また、遮蔽されていた空間での照明変動等の環境の変化があった場合であっても開口部の背景情報を適切に更新することができ、対象物を検出することが可能となる。さらに、開口部を対象物が通過している間も追跡を継続することが可能となり、対象物の追跡処理を確実に行うことが可能となる。   As described above, according to the present embodiment, when an object such as a person is detected in a space in which a displaceable shielding object such as a door is installed, the object is shielded with the displacement of the shielding object. The background information in which the space is reflected can be appropriately updated. Accordingly, it is possible to prevent the entire opening from becoming a change area when the background difference process is performed, and it is possible to appropriately detect an object in which a part or the whole is reflected in the opening. Moreover, even when there is a change in the environment such as illumination fluctuation in the shielded space, the background information of the opening can be appropriately updated, and the object can be detected. Furthermore, it is possible to continue tracking while the object passes through the opening, and the object tracking process can be reliably performed.

なお、本実施の形態では、手前に開く開き戸の例を示したが、扉パターン312を適合させることで奥に開く開き戸、引き戸、折戸など各種の扉に適用可能である。さらに、扉の他に物品庫のコンテナ、操車場の列車などの遮蔽物に対しても適用可能である。   In the present embodiment, an example of a hinged door that opens to the front is shown, but the present invention can be applied to various doors such as a hinged door, a sliding door, and a folding door that are opened to the back by adapting the door pattern 312. Furthermore, in addition to the door, the present invention can also be applied to a shield such as a container of an article storehouse or a train at a yard.

また、本実施の形態では、対象物検出装置の各部の機能を1つのコンピュータで実現する態様を説明したがこれに限定されるものではない。対象物検出装置の各部の機能は一般的なコンピュータをプログラムにより制御することによって実現できるものであり、これらの装置の各機能を適宜組み合わせて1つのコンピュータで処理させてもよいし、各機能をネットワーク等で接続された複数のコンピュータで分散処理させてもよい。   Moreover, although this Embodiment demonstrated the aspect which implement | achieves the function of each part of a target object detection apparatus with one computer, it is not limited to this. The functions of each part of the object detection device can be realized by controlling a general computer by a program, and each function of these devices may be appropriately combined and processed by one computer. Distributed processing may be performed by a plurality of computers connected via a network or the like.

2 撮影部、2a 第一撮影部、2a 第二撮影部、3 制御部、4 表示部、5 扉、6 部屋、6a 第一の部屋、6b 第二の部屋、7 開口部、7 遮蔽空間、8 開口部、9 床、10 人物、11 開口領域、12 戸板領域、13 戸外領域、14 人物領域、30 画像取得部、31 記憶部、32 画像処理部、33 出力部、100 対象物検出装置、310 カメラパラメータ、311 第二視点背景取得領域、312 扉パターン、313 扉外/全体背景情報、314 開口部背景情報、315 戸板部背景情報、316 人物情報、320 扉状態検出部、321 背景情報生成部、322 人物領域抽出部、323 人物追跡部。   2 shooting unit, 2a first shooting unit, 2a second shooting unit, 3 control unit, 4 display unit, 5 door, 6 rooms, 6a first room, 6b second room, 7 opening, 7 shielding space, 8 opening part, 9 floor, 10 person, 11 opening area, 12 doorboard area, 13 outdoor area, 14 person area, 30 image acquisition part, 31 storage part, 32 image processing part, 33 output part, 100 object detection device, 310 camera parameters, 311 second viewpoint background acquisition region, 312 door pattern, 313 outside / overall background information, 314 opening background information, 315 doorboard background information, 316 person information, 320 door state detection unit, 321 background information generation Part, 322 person area extraction part, 323 person tracking part.

Claims (6)

定常位置から変位し得る遮蔽物が設置された監視空間において所定の対象物を検出するために、前記対象物を含まない前記監視空間の背景情報を生成する背景情報生成装置であって、
前記監視空間を第一の視点から撮影する第一撮影部と、
前記監視空間において前記遮蔽物が前記定常位置にあるときは前記第一の視点から撮影されず前記遮蔽物が前記定常位置から変位すると前記第一の視点から撮影される遮蔽空間を、少なくとも前記遮蔽物が前記定常位置にあるときに撮影可能な第二の視点から撮影する第二撮影部と、
前記遮蔽物の変位を検出する変位検出部と、
前記第二撮影部が撮影した第二画像から前記第二の視点での背景情報を生成する第二視点背景生成部と、
前記変位検出部において変位が検出されていない場合、前記第一撮影部が撮影した第一画像から前記第一の視点での背景情報を生成し、前記変位検出部において変位が検出された場合、前記第二視点背景生成部が生成した背景情報を前記第一の視点での背景情報とする第一視点背景生成部と、
を備えることを特徴とする背景情報生成装置。
A background information generating device that generates background information of the monitoring space that does not include the object in order to detect a predetermined object in the monitoring space in which a shield that can be displaced from a steady position is installed,
A first photographing unit for photographing the monitoring space from a first viewpoint;
When the shielding object is in the steady position in the monitoring space, at least the shielding space captured from the first viewpoint when the shielding object is displaced from the steady position without being photographed from the first viewpoint. A second photographing unit for photographing from a second viewpoint that can be photographed when the object is in the stationary position;
A displacement detector for detecting the displacement of the shield;
A second viewpoint background generation unit that generates background information at the second viewpoint from the second image captured by the second imaging unit;
When no displacement is detected in the displacement detection unit, the first image capturing unit generates background information from the first image captured, and when the displacement detection unit detects displacement, A first viewpoint background generation unit that uses the background information generated by the second viewpoint background generation unit as background information at the first viewpoint;
A background information generating apparatus comprising:
請求項1に記載の背景情報生成装置であって、
前記変位検出部は、前記第二画像にて変位中の前記遮蔽物が現れている遮蔽物領域を当該第二画像と予め登録されている前記遮蔽物領域の形状特徴との比較から検出し、
前記第二視点背景生成部は、前記第二画像から前記遮蔽物領域を除外して前記第二の視点での背景情報を生成することを特徴とする背景情報生成装置。
The background information generating apparatus according to claim 1,
The displacement detection unit detects a shielding object region in which the shielding object being displaced appears in the second image from a comparison between the second image and a shape characteristic of the shielding object region registered in advance.
The second viewpoint background generation unit generates background information at the second viewpoint by excluding the shield region from the second image.
請求項1又は2に記載の背景情報生成装置であって、
前記第二視点背景生成部は、前記遮蔽空間を撮像した画像のヒストグラムを背景情報として生成することを特徴とする背景情報生成装置。
The background information generation apparatus according to claim 1 or 2,
The second viewpoint background generation unit generates a histogram of an image obtained by imaging the shielding space as background information.
請求項1〜3のいずれか1項に記載の背景情報生成装置であって、
前記変位検出部は、前記第一画像にて前記遮蔽物の変位により前記遮蔽空間が現れている遮蔽解除領域を当該第一画像と予め登録されている前記遮蔽解除領域の形状特徴との比較から検出し、
前記第一視点背景生成部は、前記第二視点背景生成部において生成された背景情報から前記遮蔽解除領域の背景情報を生成することを特徴とする背景情報生成装置。
The background information generation device according to any one of claims 1 to 3,
The displacement detection unit compares the first image with a shape characteristic of the shield release area registered in advance in the first image and the shield release area where the shield space appears due to the displacement of the shield. Detect
The first viewpoint background generation unit generates background information of the shielding release area from background information generated by the second viewpoint background generation unit.
請求項4に記載の背景情報生成装置であって、
前記第一視点背景生成部は、前記遮蔽物の変位が検出された場合、前記遮蔽解除領域外の背景情報を前記第一画像から生成することを特徴とする背景情報生成装置。
The background information generation device according to claim 4,
The first viewpoint background generation unit generates background information outside the shielding release area from the first image when displacement of the shielding object is detected.
請求項1〜5のいずれか1項に記載の背景情報生成装置と、
前記第一画像と前記第一視点背景生成部が生成した背景情報とを比較して当該第一画像において当該背景情報と所定以上に相違する領域を前記対象物の領域として検出する対象物検出部を備えることを特徴とする対象物検出装置。
The background information generation device according to any one of claims 1 to 5,
An object detection unit that compares the first image with the background information generated by the first viewpoint background generation unit and detects an area that differs from the background information by a predetermined amount or more in the first image as the area of the object. An object detection apparatus comprising:
JP2012285237A 2012-12-27 2012-12-27 Background information generation apparatus and object detection apparatus Active JP6038643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012285237A JP6038643B2 (en) 2012-12-27 2012-12-27 Background information generation apparatus and object detection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012285237A JP6038643B2 (en) 2012-12-27 2012-12-27 Background information generation apparatus and object detection apparatus

Publications (2)

Publication Number Publication Date
JP2014127131A JP2014127131A (en) 2014-07-07
JP6038643B2 true JP6038643B2 (en) 2016-12-07

Family

ID=51406537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012285237A Active JP6038643B2 (en) 2012-12-27 2012-12-27 Background information generation apparatus and object detection apparatus

Country Status (1)

Country Link
JP (1) JP6038643B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE547530C2 (en) * 2023-10-23 2025-10-14 Assa Abloy Ab Detecting when people pass through a doorway

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3883250B2 (en) * 1997-04-28 2007-02-21 三菱電機株式会社 Surveillance image recording device
JP2000073657A (en) * 1998-09-01 2000-03-07 Mitsubishi Electric Corp Automatic door system
JP5170731B2 (en) * 2007-02-01 2013-03-27 株式会社メガチップス Traffic monitoring system
JP2010157149A (en) * 2008-12-29 2010-07-15 Secom Co Ltd Passage controller

Also Published As

Publication number Publication date
JP2014127131A (en) 2014-07-07

Similar Documents

Publication Publication Date Title
US10417503B2 (en) Image processing apparatus and image processing method
JP6352208B2 (en) 3D model processing apparatus and camera calibration system
JP5487298B2 (en) 3D image generation
US10445887B2 (en) Tracking processing device and tracking processing system provided with same, and tracking processing method
US9213896B2 (en) Method for detecting and tracking objects in image sequences of scenes acquired by a stationary camera
JP2020107349A (en) Object tracking system, object tracking method, program
JP7092615B2 (en) Shadow detector, shadow detection method, shadow detection program, learning device, learning method, and learning program
TW201025193A (en) Method for automatic detection and tracking of multiple targets with multiple cameras and system therefor
CN108200334A (en) Image shooting method and device, storage medium and electronic equipment
CN109905641B (en) A target monitoring method, device, equipment and system
CN104092991A (en) Image signal comprehensive processing device and implementation method for target tracking control
JP6080572B2 (en) Traffic object detection device
JP5027758B2 (en) Image monitoring device
Snidaro et al. Automatic camera selection and fusion for outdoor surveillance under changing weather conditions
JP5101429B2 (en) Image monitoring device
JP6374812B2 (en) 3D model processing apparatus and camera calibration system
CN111879414A (en) Infrared temperature measurement method and device, computer equipment and medium
CN203968271U (en) A kind of picture signal Integrated Processing Unit of controlling for target following
JP6038643B2 (en) Background information generation apparatus and object detection apparatus
KR101311728B1 (en) System and the method thereof for sensing the face of intruder
KR102782627B1 (en) Camera calibration method based on single vanishing point recognition
JP5217917B2 (en) Object detection and tracking device, object detection and tracking method, and object detection and tracking program
CN113992904A (en) Information processing method and device, electronic equipment and readable storage medium
CN115731258A (en) Method for moving target recognition and shooting equipment
Konieczka et al. Smart real-time multi-camera people locating system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160914

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161102

R150 Certificate of patent or registration of utility model

Ref document number: 6038643

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250