CN103414870B - A kind of multi-mode warning analytical method - Google Patents

A kind of multi-mode warning analytical method Download PDF

Info

Publication number
CN103414870B
CN103414870B CN201310299389.XA CN201310299389A CN103414870B CN 103414870 B CN103414870 B CN 103414870B CN 201310299389 A CN201310299389 A CN 201310299389A CN 103414870 B CN103414870 B CN 103414870B
Authority
CN
China
Prior art keywords
warning
region
gis
video
vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310299389.XA
Other languages
Chinese (zh)
Other versions
CN103414870A (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.)
Nanjing Normal University
Original Assignee
Nanjing Normal University
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 Nanjing Normal University filed Critical Nanjing Normal University
Priority to CN201310299389.XA priority Critical patent/CN103414870B/en
Publication of CN103414870A publication Critical patent/CN103414870A/en
Application granted granted Critical
Publication of CN103414870B publication Critical patent/CN103414870B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Alarm Systems (AREA)

Abstract

The invention discloses a kind of multi-mode warning analytical method, the steps include: to obtain monitor video in region, large-scale map and high definition remote sensing image, realize the mutual mapping of monitor video and 2D geographical spatial data; According to warning demand, in GIS, Plotted line and face warning figure, form warning region set, and set permission direction, speed, time parameter, thereby form warning rule base, mapped in each associated monitoring video; Obtain the actual motion parameter under position, direction and the GIS mapping of dynamic object by foreground detection, target following; Whether real-time judge dynamic object motion state violates multi-mode warning rule base; In the time having the regular event of the warning of violating to occur, in generalized information system, carry out Realtime Alerts with figure or the alarm audio frequency given prominence to. The method overcome traditional warning arrange single, lack geographical georeferencing, be not easy to the shortcoming that area outlook is analyzed, greatly improved flexibility, the globality of area outlook.

Description

A kind of multi-mode warning analytical method
Technical field
The present invention relates to a kind of multi-mode warning analytical method, specifically, is that one can be set flexibly in single video cameraMultiple warning rule, realizes the multi-mode warning analytical method of warning as required, has overcome unicity that current warning sets and without geographyThe shortcoming of georeferencing.
Background technology
Along with socioeconomic fast development, mankind's activity is day by day frequent, because security protection disappearance causes any property loss, casualtiesAccident is of common occurrence. Therefore, lay video monitoring equipment at important place, warning rule is set, and to carry out in real time warning be region securityThe important means of management, real-time, various, warning method flexibly has important practical significance.
Current, warning analytical method is relatively single, lacks flexibility. The corresponding a kind of warning analytical method of a common video camera,Just need to set up another monitoring probe if carry out another kind warning analysis simultaneously. Each monitoring probe division of labor is clear and definite, as invasion inspectionSurvey, abandon detect, article are moved detection, detection 4 modules of hovering are independent separately. And in actual video monitoring, warning needsAsk and there is flexibility, need can set multiple warning rule in single monitoring scene, and As time goes on change flexibly, fromAnd reach " a tractor serves several purposes ". So, existing all vigilance performance modules are carried out abstract, unified rule flexibly are directly providedSet interface and will meet user flexibility, various warning demand.
Meanwhile, monitor video lacks geographical georeferencing, and under large scene, warning rule is set relatively loaded down with trivial details. When facing several monitoringWhen probe warning rule arranges, security protection personnel can complete fast. But along with socioeconomic development, monitoring probe presentsThe feature of densification. Warning rule is still set in a traditional way one by one will be very loaded down with trivial details, if lacked whole regional geography environmentUnderstanding be just easy to make mistakes. GIS gives spatial data clear and definite georeferencing, can be by geomorphological features exhibition detailed in large sceneNow in map. Therefore, GIS is incorporated in warning analysis, realizes the fusion of monitor video and 2D geographical spatial data, willMake to guard against regular setting facilitation.
Summary of the invention
Key issue to be solved by this invention is to overcome the unicity that in video monitoring, warning rule is set, and builds geographical space numberAccording to the mutual mapping model of monitor video, realize multi-mode warning and analyze, from traditional single warning, rank are set thereby warning is analyzedSection is moved towards flexible, multimodal warning the stage is set, from without geographical space with reference to the stage move towards GIS leading be suitable for large scene,The warning rule of densification video monitoring arranges the stage. Therefore, the present invention proposes multi-mode warning analytical method.
Basic ideas of the present invention: realize the mutual mapping of geographical spatial data and monitor video, make monitor video have clear and definite groundReason georeferencing; Taking geographical spatial data as main, set warning rule, and mapped in each associated monitoring video; Each relevantVideo camera performance objective detects, target following, according to the warning in real time of warning rule.
The basic step of a kind of multi-mode warning of the present invention analytical method is:
The first step, obtain monitor video in region, large-scale map and high definition remote sensing image, according to mapping matrix, realize monitoringThe mutual mapping of video and 2D geographical spatial data;
Under second step, GIS, warning region is set: according to warning demand, draw alert based on map and remote sensing image in GIS platformGuard against line and face, form warning region set;
Under the 3rd step, GIS, warning rule is set: the warning region set based on drawing in second step, set flexibly the direction of motion,Speed and time parameter, thus structure multi-mode is built warning rule base; Wherein, if user specifies one to allow direction, in the time of warning, needSet the direction that forms broken line and polygonal each selections, according to allowing direction and warning region to draw all line segments of direction calculatingDirection; After warning rule sets, based on the mapping matrix of the first step, these warning rules are mapped to each relevant monitoringIn video;
The 4th step, warning in real time: obtain under the position, direction of dynamic object and GIS mapping by foreground detection, target followingActual motion parameter; Whether real-time judge dynamic object motion state violates multi-mode warning rule base; Violate warning rule when havingWhen event occurs, in generalized information system, carry out Realtime Alerts with figure or the alarm audio frequency given prominence to.
In the described first step, realize the mutual mapping of monitor video and 2D geographical spatial data, its concrete steps are:
(a) obtain height, inclination angle, horizontal view angle and the azimuth of each video camera, based on these 4 each monitoring of calculation of parameterThe ground monitoring region of probe, i.e. trapezoidal guarded region corresponding to each monitoring probe;
(b) according to the position of video camera, by the Coordinate Conversion of each trapezoidal guarded region to 2D map of living in or remote sensing imageCoordinate, and form guarded region figure layer;
(c) according to trapezoidal geographical coordinate and the corresponding image coordinate of trapezoidal each point, resolve homography matrix, look thereby realize monitoringFrequently the mutual mapping of image and 2D geographical spatial data.
A kind of multi-mode warning analytical method of the present invention is the mutual mapping method based on monitor video and geographical spatial data, userDraw warning line and face and possess clear and definite georeferencing, warning arranges and can under unified interface, complete, and has overcome traditional warning settingSingle, lack geographical georeferencing, be not easy to the shortcoming that area outlook is analyzed, greatly improved flexibility, the entirety of area outlookProperty.
Brief description of the drawings
Fig. 1 is camera supervised area schematic, is (a) camera supervised area schematic in local coordinate system; (b) be to throwCamera supervised area schematic in shadow coordinate system;
Fig. 2 is trapezoidal guarded region figure layer schematic diagram;
Fig. 3 monitors the ken and image coordinate corresponding relation schematic diagram;
Fig. 4 (a) draws warning line and allows direction schematic diagram on remote sensing image; (b) be on remote sensing image, to draw warningPolygon schematic diagram;
Fig. 5 (a) is that warning allows direction setting procedure figure; (b) be that warning line allows direction setting method and each line segment permission sideTo schematic diagram;
In Fig. 6 (a) map, ray mode warning rule maps to video schematic diagram; (b) in map, polygon Mode warning rule is reflectedBe incident upon video schematic diagram;
Fig. 7 guards against flow chart in real time.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The first step, monitor video and geographical spatial data shine upon mutually concrete steps and are:
(1) obtain photo centre's geographical coordinate of each video monitoring probe, highly, inclination angle, horizontal view angle, azimuth, andObtain the detailed 2D geographical spatial data in region, comprise map and remote sensing image; According to the relevant parameter of video camera, calculate its groundFace guarded region, i.e. a trapezoid area, its coordinate is projection coordinate's system, as Fig. 1;
(2) in GIS, create guarded region figure layer, corresponding each monitoring probe ground monitoring region polygon is added toIn this figure layer, as Fig. 2.
(3) calculate homography matrix according to the coordinate of trapezoidal each point and corresponding image coordinate thereof, this matrix is monitor video and 2DSpatial data is the core of mapping mutually.
Second step, under GIS, warning region setting concrete steps are:
(1) in GIS platform, create the figure layer of line and Noodles type;
(2) draw warning line and polygon with remote sensing image according to the map. According to warning demand, in map, draw warning line andFace, forms warning region set, as Fig. 4. System provides warning line and face that interface is set, can setpoint color, line style, fillingType.
The 3rd step, under GIS, warning rule setting concrete steps are:
(1), according to warning demand, taking warning region set as basis, specify and allow direction, speed, time parameter. For oftenThe warning analytical method of seeing, concrete setting means is as follows:
Intrusion detection: specify the figure in warning region set; Direction initialization in GIS (unidirectional, two-way).
The detection of hovering: specify the region of hovering in warning region set; Setting is hovered the time.
Abandon detects: specify the surveyed area in warning region set; Specify the abandon time of staying.
Other warning rules are set, and the rest may be inferred.
Wherein, if user specifies one to allow direction, in the time of warning, need to set the direction that forms broken line and polygonal each selections,Detailed process is as Fig. 5. The concrete steps of each line segment direction assignment are as follows:
First, broken line and the judgement of polygonal drafting direction. Mainly form vector according to two initial line segments herein, pitch by vectorTake advantage of and can judge broken line and polygonal drafting direction.
Then, judge that user draws the position relationship of direction and broken line. Set user and draw vector for V1, crossing line segment institute with itCorresponding vector is V2, judge V1With V2Relation, makes V2To V1The direction rotation 90 of vector is spent, and forms vectorial V3,V3BeV2The permission vector of vector. According to said method, obtain the permission vector that each line segment vector is corresponding.
(2), according to the homography matrix resolving in the first step, warning rule is mapped in the monitor video of each video camera, as figure6;
The 4th step, guard against in real time concrete steps and be:
(1) in each monitor video, carry out foreground detection, fresh target detection, target following operation, the position that obtains dynamic objectPut and direction. Foreground detection has adopted mixed Gauss model background subtraction, and tracking adopts Meanshift algorithm.
(2) according to the warning rule of the kinematic parameter of dynamic object and the mapping of the 3rd step, guard against in real time.
(3) dynamic object is presented in generalized information system in real time, when there being target to violate warning rule, generalized information system highlighting andAuditory tone cues security protection personnel, simultaneously the time to event, place, break the rules and carry out record.
Embodiment:
The first step: relevant device is prepared. Prepare a monitor video server, some video cameras, high accuracy map and remote sensing image.
Second step: monitor video and 2D geographical spatial data shine upon mutually.
(1) in GIS software, open high accuracy map and remote sensing image, these data have clear and definite geographical space reference, buildView adopts WGS84UTM projected coordinate system. The figure layer of newly-built vertex type is used for managing each video camera, and positional information comprises shootingX under projected coordinate system and the Y of machine, attribute field comprises height, inclination angle, azimuth and the horizontal field of view angle of video camera.
(2) according to camera height, inclination angle, azimuth and horizontal field of view angle, calculate the corresponding guarded region of ground level, asFig. 1. Specific formula for calculation, as follows:
In Fig. 1, the coordinate of c point in local coordinate system calculates, as formula 1, (xc,yc) be the seat in local coordinate system corresponding to c pointMark, H is camera height, Pitch is inclination angle.
x c = H * tan ( Pitch * pi 180 ) y c = 0 - - - ( 1 )
The coordinate of c point in projected coordinate system, as formula 2, (Xc,Yc) be the coordinate of c point under projected coordinate system, Azimuth isAzimuth.
X c = X s + x c * cos ( Azimuth * pi 180 ) Y c = Y s + x c * sin ( Azimuth * pi 180 ) - - - ( 2 )
Trapezoidal other each points, according to the method that is similar to c and orders, calculate respectively local coordinate, and then calculate geographical coordinate, therebyGet the geographical coordinate of those trapezoidal and middle points, amount to 9 points.
(3) calculate homography matrix. Trapezoid area is corresponding with whole image-region, therefore just can calculate list according to respective pointAnswer matrix. In application, choosing of trapezoidal point can be selected flexibly according to the distribution of ground level in image. Homograph can be based onOpenCV open source software is realized.
The 3rd step: under GIS, warning region is drawn and the setting of warning rule.
Draw warning line and face, specify and allow direction, speed, time parameter, and be mapped in each monitor video. MultimodeFormula guards against regular setting and computer expression can be realized according to described in Fig. 5, and core is vectorial related operation. Warning rule is on groundMapping in reason spatial data and monitor video, the homography matrix mainly calculating based on second step.
The 4th step: warning in real time.
(1) dynamic object is carried out to real-time tracking, and based on it mapping target in map, obtain its actual kinematic parameter.The algorithm of following the tracks of can call OpenCV correlation function, and the mapping of target and track thereof realizes by homography matrix, the obtaining of actual parameterGet mainly the mapping target based in map and time acquisition of information. Dynamic object is expressed in GIS, newly-built dynamic layer, in real timeReceive relevant information.
(2) warning: according to the kinematic parameter of dynamic object, comprise position, speed, track, in real-time judge itself and rule baseThe dependency rule of defined, comprises position, direction, time.

Claims (2)

1. a multi-mode warning analytical method, the steps include:
The first step, obtain monitor video in region, large-scale map and high definition remote sensing image, according to mapping matrix, realize monitoringThe mutual mapping of video and 2D geographical spatial data;
Under second step, GIS, warning region is set: according to warning demand, draw alert based on map and remote sensing image in GIS platformGuard against line and face, form warning region set;
Under the 3rd step, GIS, warning rule is set: the warning region set based on drawing in second step, set flexibly the direction of motion,Speed and time parameter, thus build multi-mode warning rule base; Wherein, if user specifies one to allow direction, in the time of warning, needSet the direction that forms broken line and polygonal each selections, according to allowing direction and warning region to draw all line segments of direction calculatingDirection, be specially: set user and draw vector for V1, the corresponding vector of crossing line segment is V with it2, judge V1With V2Relation, makes V2To V1The direction rotation 90 of vector is spent, and forms vectorial V3,V3Be V2The permission vector of vector, according to said method,Obtain the permission vector that each line segment vector is corresponding; After warning rule sets, based on the mapping matrix of the first step, by these warning ruleBe mapped in each relevant monitor video;
The 4th step, warning in real time: obtain under the position, direction of dynamic object and GIS mapping by foreground detection, target followingActual motion parameter; Whether real-time judge dynamic object motion state violates multi-mode warning rule base; Violate warning rule when havingWhen event occurs, in generalized information system, carry out Realtime Alerts with figure or the alarm audio frequency given prominence to.
2. a kind of multi-mode warning analytical method according to claim 1, is characterized in that, realizes prison in the described first stepThe mutual mapping of control video and 2D geographical spatial data, its concrete steps are:
(a) obtain height, inclination angle, horizontal view angle and the azimuth of each video camera, based on these 4 each monitoring of calculation of parameterThe ground monitoring region of probe, i.e. trapezoidal guarded region corresponding to each monitoring probe;
(b) according to the position of video camera, by the Coordinate Conversion of each trapezoidal guarded region to 2D map of living in or remote sensing imageCoordinate, and form guarded region figure layer;
(c) according to trapezoidal geographical coordinate and the corresponding image coordinate of trapezoidal each point, resolve homography matrix, look thereby realize monitoringFrequently the mutual mapping of image and 2D geographical spatial data.
CN201310299389.XA 2013-07-16 2013-07-16 A kind of multi-mode warning analytical method Expired - Fee Related CN103414870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310299389.XA CN103414870B (en) 2013-07-16 2013-07-16 A kind of multi-mode warning analytical method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310299389.XA CN103414870B (en) 2013-07-16 2013-07-16 A kind of multi-mode warning analytical method

Publications (2)

Publication Number Publication Date
CN103414870A CN103414870A (en) 2013-11-27
CN103414870B true CN103414870B (en) 2016-05-04

Family

ID=49607852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310299389.XA Expired - Fee Related CN103414870B (en) 2013-07-16 2013-07-16 A kind of multi-mode warning analytical method

Country Status (1)

Country Link
CN (1) CN103414870B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717462A (en) * 2014-01-03 2015-06-17 杭州海康威视系统技术有限公司 Supervision video extraction method and device
CN105224905A (en) * 2014-05-26 2016-01-06 中兴通讯股份有限公司 The reverse violation detection method of a kind of multiple goal, Apparatus and system
US10623236B2 (en) 2014-12-08 2020-04-14 Tata Consultancy Services Limited Alert management system for enterprises
EP3392852A4 (en) 2015-12-16 2019-08-21 Nec Corporation Intrusion detection device, setting assistance device, intrusion detection method, setting assistance method, and program recording medium
CN113068000B (en) * 2019-12-16 2023-07-18 杭州海康威视数字技术股份有限公司 Video target monitoring method, device, equipment, system and storage medium
CN111540009A (en) * 2020-04-23 2020-08-14 北京字节跳动网络技术有限公司 Method, apparatus, electronic device, and medium for generating detection information
CN112382032A (en) * 2020-11-13 2021-02-19 珠海大横琴科技发展有限公司 Monitoring method and device, electronic equipment and storage medium
CN112954271B (en) * 2021-01-28 2023-04-21 浙江大华技术股份有限公司 Video monitoring and defense deployment method and system, storable medium and computer equipment
CN115050152A (en) * 2022-05-23 2022-09-13 山东国子软件股份有限公司 Fence monitoring method and system based on warning line category

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045549A (en) * 2010-12-28 2011-05-04 天津市亚安科技电子有限公司 Method and device for controlling linkage-tracking moving target of monitoring device
CN102724482A (en) * 2012-06-18 2012-10-10 西安电子科技大学 Intelligent visual sensor network moving target relay tracking system based on GPS (global positioning system) and GIS (geographic information system)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045549A (en) * 2010-12-28 2011-05-04 天津市亚安科技电子有限公司 Method and device for controlling linkage-tracking moving target of monitoring device
CN102724482A (en) * 2012-06-18 2012-10-10 西安电子科技大学 Intelligent visual sensor network moving target relay tracking system based on GPS (global positioning system) and GIS (geographic information system)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Video Surveillance GIS:A Novel Application;Xingguo Zhang,Xuejun Liu,Hongquan Song;《Geoinformatic,2013 21st International Conference on》;20130622;全文 *

Also Published As

Publication number Publication date
CN103414870A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103414870B (en) A kind of multi-mode warning analytical method
Han et al. Potential of big visual data and building information modeling for construction performance analytics: An exploratory study
Zhang et al. A critical review of vision-based occupational health and safety monitoring of construction site workers
CN102036054B (en) Intelligent video monitoring system based on three-dimensional virtual scene
Golparvar-Fard et al. D4AR–a 4-dimensional augmented reality model for automating construction progress monitoring data collection, processing and communication
Shan et al. Research on 3D urban landscape design and evaluation based on geographic information system
CN107122910A (en) A kind of river course wisdom management platform based on BIM+GIS
CN108917712A (en) A kind of Tunnel automation monitoring system and method based on three-dimensional laser scanning technique
CN104899922A (en) Three-dimensional holographic generation method for intelligent power grid visualization application
CN111222190B (en) Ancient building management system
CN103778566A (en) Heat-engine plant monitoring and measuring method based on three-dimensional visualization demonstration
CN106412526A (en) Police oblique-photography real 3D platform system and interface system thereof
CN102750618A (en) {0>Auxiliary management system for subway integrated pipeline construction and implementation method thereof
CN103136738A (en) Registering method of fixing vidicon surveillance video and three-dimensional model in complex scene
CN103260015A (en) Three-dimensional visual monitoring system based on RGB-Depth camera
CN110188989A (en) One kind being based on three-dimensional visualization outdoor scene wisdom municipal administration system
CN115496398A (en) Electric power operation safety control method and system
CN103136739B (en) Controlled camera supervised video and three-dimensional model method for registering under a kind of complex scene
Ioannidis et al. 5D Multi-Purpose Land Information System.
CN112328666A (en) Intelligent building supervision operation and maintenance system based on cloud platform technology
KR20160120955A (en) Module for multi diensional vedio information visualization
CN110097245A (en) A kind of outdoor Immovable Cultural Relics inspection management system and method
Zhang et al. Video surveillance GIS: A novel application
CN104183168A (en) Building construction 4D remote assessment system
KR20220104874A (en) Digital Twin Dam Facilities Safety Inspection Management and Data Visualization Devices and Methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160504

Termination date: 20190716

CF01 Termination of patent right due to non-payment of annual fee