CN103150549B - A kind of road tunnel fire detection method based on the early stage motion feature of smog - Google Patents

A kind of road tunnel fire detection method based on the early stage motion feature of smog Download PDF

Info

Publication number
CN103150549B
CN103150549B CN201310044830.XA CN201310044830A CN103150549B CN 103150549 B CN103150549 B CN 103150549B CN 201310044830 A CN201310044830 A CN 201310044830A CN 103150549 B CN103150549 B CN 103150549B
Authority
CN
China
Prior art keywords
block
image
field picture
background
motion
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
CN201310044830.XA
Other languages
Chinese (zh)
Other versions
CN103150549A (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.)
Xi'an Dewei Shitong Intelligent Technology Co ltd
Original Assignee
Changan 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 Changan University filed Critical Changan University
Priority to CN201310044830.XA priority Critical patent/CN103150549B/en
Publication of CN103150549A publication Critical patent/CN103150549A/en
Application granted granted Critical
Publication of CN103150549B publication Critical patent/CN103150549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides a kind of road tunnel fire detection method based on the early stage motion feature of smog, by background extraction image, divided block, asks for the absolute value sum of the gray scale difference value of computing block and background block and assignment obtains binary image, calibrates surveyed area, obtain the connected domain detecting target, repeat said process, obtain doubtful smoke region, to this region counter movement tracking and matching process, finally determine whether this detection target is smog, whether there occurs fire herein.Fire detection method of the present invention, compared with prior art, the event of fire occurred in video monitoring range can be detected, not by environmental restraint, can detect video in real time, and detection time short, be easy to realize, accuracy is higher, be suitable for detecting Tunnel Fire event in real time, have broad application prospects.

Description

A kind of road tunnel fire detection method based on the early stage motion feature of smog
Technical field
The invention belongs to field of video detection, be specifically related to a kind of road tunnel fire detection method based on the early stage motion feature of smog.
Background technology
In recent years, the safety problem of vcehicular tunnel is day by day by common people are paid close attention to, and in the security incident that vcehicular tunnel occurs, fire endangers a maximum class.But in the place that this large space, large area, environment are more severe, traditional fire detector cannot carry out fire alarm in time, nor can provide such as catch fire particular location, scale, flame the information such as diffusion, bring inconvenience to rescue operation, result in serious economic loss and casualties.False alarm phenomenon also happens occasionally.
Along with developing rapidly of computer technology and machine vision technique, create a kind of brand-new fire detector, namely based on the fire detection system of video.At present, imaging-based fire smoke detection technology is still in the starting stage with traditional fire detection technology relatively.Existing technology is: detect smog by smog texture self-similarity; In conjunction with hidden Markov model, modeling is carried out to the change of smog scene marginal information, thus judge the existence whether having smog in scene; The existence etc. of smog is judged whether according to the spectral signature of smog.But tunnel environment more complicated, tone is more gloomy, and the impact of light is particularly remarkable, and detect smog by means of only texture and be inaccurate, edge feature is also not obvious.
Summary of the invention
For shortcomings and deficiencies of the prior art, the object of the invention is to, provide a kind of road tunnel fire detection method based on smog getting up early motion feature, the method can carry out detecting in real time, reliably to the event of fire occurred in range of video.
In order to realize above-mentioned task, the present invention adopts following technical scheme to be achieved:
Based on a road tunnel fire detection method for the early stage motion feature of smog, the method is carried out according to following steps:
Step one, by camera acquisition realtime graphic, obtains and upgrades the background of this image, i.e. background image;
Step 2, is all divided into multiple pieces with the background image of the first two field picture by the first two field picture under identical block coordinate system;
Step 3, to each piece in the first two field picture, finds the background block identical with this block position in background image, and calculates the absolute value sum of the gray scale difference value of each same pixel position between this block its corresponding background block;
When the absolute value sum of gained is greater than the threshold value A of setting, the value of described threshold value A is area × 255 of (3/4) × block, then this block is object block, is 255 by the gray-scale value assignment of pixels all in this object block;
When the absolute value sum of gained is less than or equal to the threshold value A of setting, then this block is background block, is 0 by the gray-scale value assignment of pixels all in background block;
Finally the background in the first two field picture and target are separated, obtain the binary image of the first two field picture;
Step 4, for the binary image of the first two field picture, calibrates surveyed area in the upper half area of image, connected component labeling is carried out to the object block occurred in surveyed area, adjacent object block is labeled as same target, obtains the connected domain detecting target, and determine and record delimitation;
Step 5, the method repeating step 2, step 3 and step 4 processes all continuous print images from the second two field picture;
Step 6, the up-and-down boundary of a certain connected domain detected when continuous n two field picture overlaps with the up-and-down boundary of surveyed area, and the side-play amount of centre of gravity place is less than certain distance L, then using this target area as doubtful smoke region, wherein:
N ∈ [80,100], n is positive integer;
The value of L is 5 times of the width of block of dividing in step 2;
Step 7, when in continuous n two field picture, the i-th two field picture detects doubtful smoke region, the process of counter movement tracking and matching, obtain the i-th-j (i>j, i and j is positive integer) gray level image of frame, target area is divided into again each fritter of fritter of m ' × n ' as a template, think that the motion of fritter each pixel interior is consistent, and with the center of each fritter for starting point delimit hunting zone in image to be searched, position in traversal search region, calculating is centered by each position and size is similarly the fritter of m ' × n ' and the similarity of template, the fritter the most similar to template is match block, and the direction of logging template motion, simultaneously using match block as mating required formwork next time, j is added 2, namely image to be searched differs 2 frames that can distinguish obvious motion change with the image as formwork,
Step 8, as i>j, the process repeating step 7 processes, as i=j, coupling terminates, and obtains the direction of motion of each match block, the motion principal direction as target area block that selecting frequency is the highest, when there being the motion principal direction of the object block of 3/4 to be between 45° angle and 135 ° of angles, namely this detection target is smog, herein breaking out of fire.
Road tunnel fire detection method based on the early stage motion feature of smog of the present invention, compared with prior art, the event of fire occurred in video monitoring range can be detected, not by environmental restraint, can detect video in real time, and detection time short, be easy to realize, accuracy is higher, be suitable for detecting Tunnel Fire event in real time, have broad application prospects.
Accompanying drawing explanation
Fig. 1 is the 1st two field picture.
Fig. 2 has demarcated the image of surveyed area.
Fig. 3 is the 985th two field picture occurred smog first time.
Fig. 4 (a), Fig. 4 (b) and Fig. 4 (c) are followed successively by the binaryzation marking image of the 1110th, 1120 and 1130 frame three width images, in figure, white object is the binaryzation target-marking of present frame, white rectangle frame is connected domain border, and large rectangle frame is smoke target, and little rectangle frame is jamming target.
Fig. 5 is the video image having demarcated smog movement principal direction, and black line is direction, and in figure, the motion principal direction of most of object block is between 45° angle and 135 ° of angles.
Below in conjunction with drawings and Examples, content of the present invention is described in further detail.
Embodiment
The present embodiment provides a kind of road tunnel fire detection method based on the early stage motion feature of smog, differentiates vcehicular tunnel whether breaking out of fire by block-based binarization segmentation, connected component labeling and target travel principal direction.It should be noted that, image handled in procedure of the present invention be in video along positive seasonal effect in time series first two field picture, the second two field picture, the 3rd two field picture ..., m (m is positive integer) two field picture.
If the size of each frame video image is W*H, the size of each piece is w*h, and wherein W is the pixel in each frame video video image level direction, and H is the pixel of each frame video image vertical direction, w is the width in each piece of region, and h is the height in each piece of region.
The method of the present embodiment specifically adopts following steps to realize:
Step one, by camera acquisition realtime graphic, obtains and upgrades the background of this image, i.e. background image;
Step 2, is all divided into multiple pieces with the background image of the first two field picture by the first two field picture under identical block coordinate system;
Step 3, to each piece in the first two field picture, finds the background block identical with this block position in background image, and calculates the absolute value sum of the gray scale difference value of each same pixel position between this block its corresponding background block;
When the absolute value sum of gained is greater than the threshold value A of setting, the value of described threshold value A is (3/4) × (w*h) × 255, then this block is object block, is 255 by the gray-scale value assignment of pixels all in this object block;
When the absolute value sum of gained is less than or equal to the threshold value A of setting, then this block is background block, is 0 by the gray-scale value assignment of pixels all in background block;
Finally the background in the first two field picture and target are separated, obtain the binary image of the first two field picture;
Step 4, for the binary image of the first two field picture, calibrates surveyed area in the upper half area of image, connected component labeling is carried out to the object block occurred in surveyed area, adjacent object block is labeled as same target, obtains the connected domain detecting target, and determine and record delimitation;
Step 5, the method repeating step 2, step 3 and step 4 processes all continuous print images from the second two field picture;
Step 6, the up-and-down boundary of a certain connected domain detected when continuous n two field picture overlaps with the up-and-down boundary of surveyed area, and the side-play amount of centre of gravity place is less than certain distance L, then using this target area as doubtful smoke region, wherein:
N ∈ [80,100], n is positive integer;
The value of L is 5 times of the width of block of dividing in step 2;
Step 7, when in continuous n two field picture, the i-th two field picture detects doubtful smoke region, the process of counter movement tracking and matching, obtain the i-th-j (i>j, i and j is positive integer) gray level image of frame, target area is divided into again each fritter of fritter of m ' × n ' as a template, think that the motion of fritter each pixel interior is consistent, and with the center of each fritter for starting point delimit hunting zone in image to be searched, position in traversal search region, calculating is centered by each position and size is similarly the fritter of m ' × n ' and the similarity of template, the fritter the most similar to template is match block, and the direction of logging template motion, simultaneously using match block as mating required formwork next time, j is added 2, namely image to be searched differs 2 frames that can distinguish obvious motion change with the image as formwork,
Step 8, as i>j, the process repeating step 7 processes, as i=j, coupling terminates, and obtains the direction of motion of each match block, the motion principal direction as target area block that selecting frequency is the highest, when there being the motion principal direction of the object block of 3/4 to be between 45° angle and 135 ° of angles, namely this detection target is smog, herein breaking out of fire.
Below provide specific embodiments of the invention, it should be noted that the present invention is not limited to following specific embodiment, all equivalents done on technical scheme basis all fall into protection scope of the present invention.
Embodiment:
In embodiment, in processing procedure, the sample frequency of video is that 25 frames are per second, two field picture size is 720 × 288, the size in every block region is 4 × 3, two field picture is divided into 180 × 96 block regions, target area binarization segmentation threshold value is 2295, after obtaining suspected target region, by this region again piecemeal, the size of every block is 5 × 5, and region of search is 10 × 12, processes successively according to method of the present invention to the 1st frame to the 1982nd two field picture.
Known video positive sowing time, Fig. 1 is the 1st two field picture of this video; Fig. 2 has demarcated the image of surveyed area; Smoke target first time appears in the 985th two field picture, as shown in Figure 3; As can be seen from Figure 4 the morphological feature of smoke target motion, continual continuously from top to bottom, and barycentre offset is less, Fig. 4 (a), Fig. 4 (b) and Fig. 4 (c) are followed successively by the binaryzation marking image of the 1110th, 1120 and 1130 frame three width images, in figure, white object is the binaryzation target-marking of present frame, white rectangle frame is connected domain border, and large rectangle frame is smoke target, and little rectangle frame is jamming target.Fig. 5 is the video image having demarcated smog movement principal direction, and black line is direction, and in figure, the motion principal direction of most of object block is between 45° angle and 135 ° of angles.

Claims (1)

1. based on a road tunnel fire detection method for the early stage motion feature of smog, it is characterized in that, the method is carried out according to following steps:
Step one, by camera acquisition realtime graphic, obtains and upgrades the background of this image, i.e. background image;
Step 2, is all divided into multiple pieces with the background image of the first two field picture by the first two field picture under identical block coordinate system;
If the size of each frame video image is W*H, the size of each piece is w*h, and wherein W is the pixel in each frame video video image level direction, and H is the pixel of each frame video image vertical direction, w is the width in each piece of region, and h is the height in each piece of region;
Step 3, to each piece in the first two field picture, finds the background block identical with this block position in background image, and calculates the absolute value sum of the gray scale difference value of each same pixel position between this block its corresponding background block;
When the absolute value sum of gained is greater than the threshold value A of setting, the value of described threshold value A is area × 255 of (3/4) × block, then this block is object block, is 255 by the gray-scale value assignment of pixels all in this object block;
When the absolute value sum of gained is less than or equal to the threshold value A of setting, then this block is background block, is 0 by the gray-scale value assignment of pixels all in background block;
Finally the background in the first two field picture and target are separated, obtain the binary image of the first two field picture;
Step 4, for the binary image of the first two field picture, calibrates surveyed area in the upper half area of image, connected component labeling is carried out to the object block occurred in surveyed area, adjacent object block is labeled as same target, obtains the connected domain detecting target, and determine and record delimitation;
Step 5, the method repeating step 2, step 3 and step 4 processes all continuous print images from the second two field picture;
Step 6, the up-and-down boundary of a certain connected domain detected when continuous n two field picture overlaps with the up-and-down boundary of surveyed area, and the side-play amount of centre of gravity place is less than certain distance L, then using this target area as doubtful smoke region, wherein:
N ∈ [80,100], n is positive integer;
The value of L is 5 times of the width of block of dividing in step 2;
Step 7, when in continuous n two field picture, the i-th two field picture detects doubtful smoke region, the process of counter movement tracking and matching, obtain the i-th-j (i>j, i and j is positive integer) gray level image of frame, target area is divided into again each fritter of fritter of m ' × n ' as a template, think that the motion of fritter each pixel interior is consistent, and with the center of each fritter for starting point delimit hunting zone in image to be searched, position in traversal search region, calculating is centered by each position and size is similarly the fritter of m ' × n ' and the similarity of template, the fritter the most similar to template is match block, and the direction of logging template motion, simultaneously using match block as mating required formwork next time, j is added 2, namely image to be searched differs 2 frames that can distinguish obvious motion change with the image as formwork,
Step 8, as i>j, the process repeating step 7 processes, as i=j, coupling terminates, and obtains the direction of motion of each match block, the highest direction of motion of selecting frequency is as the motion principal direction of target area block, when there being the motion principal direction of the object block of 3/4 to be between 45° angle and 135 ° of angles, namely this detection target is smog, herein breaking out of fire.
CN201310044830.XA 2013-02-05 2013-02-05 A kind of road tunnel fire detection method based on the early stage motion feature of smog Active CN103150549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310044830.XA CN103150549B (en) 2013-02-05 2013-02-05 A kind of road tunnel fire detection method based on the early stage motion feature of smog

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310044830.XA CN103150549B (en) 2013-02-05 2013-02-05 A kind of road tunnel fire detection method based on the early stage motion feature of smog

Publications (2)

Publication Number Publication Date
CN103150549A CN103150549A (en) 2013-06-12
CN103150549B true CN103150549B (en) 2015-12-02

Family

ID=48548612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310044830.XA Active CN103150549B (en) 2013-02-05 2013-02-05 A kind of road tunnel fire detection method based on the early stage motion feature of smog

Country Status (1)

Country Link
CN (1) CN103150549B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400111B (en) * 2013-07-10 2017-02-08 重庆大学 Method for detecting fire accident on expressway or in tunnel based on video detection technology
CN103870818B (en) * 2014-03-31 2017-02-15 中安消技术有限公司 Smog detection method and device
CN105469069A (en) * 2015-12-09 2016-04-06 上海工业自动化仪表研究院 Safety helmet video detection method for production line data acquisition terminal
CN105628192A (en) * 2015-12-22 2016-06-01 湖南联智桥隧技术有限公司 Tunnel ambient exterior luminance detection system and detection method by using detection system
CN106228150B (en) * 2016-08-05 2019-06-11 南京工程学院 Smog detection method based on video image
CN106448161A (en) * 2016-09-30 2017-02-22 广东中星微电子有限公司 Road monitoring method and road monitoring device
CN107085714B (en) * 2017-05-09 2019-12-24 北京理工大学 Forest fire detection method based on video
CN107945209B (en) * 2017-11-29 2021-03-05 中国人民解放军火箭军工程大学 Accurate automatic calibration method of sequence image target point based on reverse structure matching tracking
CN110501914B (en) * 2018-05-18 2023-08-11 佛山市顺德区美的电热电器制造有限公司 Security monitoring method, equipment and computer readable storage medium
CN108898782B (en) * 2018-07-20 2020-12-11 湖北烽火平安智能消防科技有限公司 Smoke detection method and system for infrared image temperature information identification for tunnel fire prevention
CN110749599A (en) * 2019-09-29 2020-02-04 四川捷祥医疗器械有限公司 Method and device for analyzing surgical smoke and storage medium
CN112036411B (en) * 2020-08-26 2024-07-02 广东宝利建设有限公司 Method for cyclic error correction of intelligent fire-fighting monitoring and early-warning system
CN112447020B (en) * 2020-12-15 2022-08-23 杭州六纪科技有限公司 Efficient real-time video smoke flame detection method
CN114648852B (en) * 2022-05-24 2022-08-12 四川九通智路科技有限公司 Tunnel fire monitoring method and system
CN116311000A (en) * 2023-05-16 2023-06-23 合肥中科类脑智能技术有限公司 Firework detection method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349091A (en) * 2000-10-16 2002-05-15 中国科学技术大学 Relative smog density image detector and its detection method
CN101395643A (en) * 2006-09-25 2009-03-25 西门子瑞士有限公司 Detection of smoke with a video camera
CN101441771A (en) * 2008-12-19 2009-05-27 中国科学技术大学 Video fire hazard smoke detecting method based on color saturation degree and movement mode

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137906A1 (en) * 2006-12-12 2008-06-12 Industrial Technology Research Institute Smoke Detecting Method And Device
TWI385602B (en) * 2008-10-17 2013-02-11 Ind Tech Res Inst Smoke detecting method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349091A (en) * 2000-10-16 2002-05-15 中国科学技术大学 Relative smog density image detector and its detection method
CN101395643A (en) * 2006-09-25 2009-03-25 西门子瑞士有限公司 Detection of smoke with a video camera
CN101441771A (en) * 2008-12-19 2009-05-27 中国科学技术大学 Video fire hazard smoke detecting method based on color saturation degree and movement mode

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于运动累积和半透明的视频烟雾探测模型;袁非牛;《数据采集与处理》;20071231;第22卷(第4期);全文 *
长大隧道内火灾烟雾运动和温度分布数值模拟;李婷婷等;《武汉理工大学学报》;20100630;第32卷(第12期);全文 *

Also Published As

Publication number Publication date
CN103150549A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103150549B (en) A kind of road tunnel fire detection method based on the early stage motion feature of smog
CN100589561C (en) Dubious static object detecting method based on video content analysis
CN107705288B (en) Infrared video detection method for dangerous gas leakage under strong interference of pseudo-target motion
CN103971380B (en) Pedestrian based on RGB-D trails detection method
CN104504388B (en) A kind of pavement crack identification and feature extraction algorithm and system
CN101794385B (en) Multi-angle multi-target fast human face tracking method used in video sequence
CN104978567B (en) Vehicle checking method based on scene classification
CN110378179B (en) Subway ticket evasion behavior detection method and system based on infrared thermal imaging
CN105512720A (en) Public transport vehicle passenger flow statistical method and system
CN102915433B (en) Character combination-based license plate positioning and identifying method
CN104616275A (en) Defect detecting method and defect detecting device
CN103761529A (en) Open fire detection method and system based on multicolor models and rectangular features
CN103605967A (en) Subway fare evasion prevention system and working method thereof based on image recognition
CN109911550A (en) Scratch board conveyor protective device based on infrared thermal imaging and visible light video analysis
Lian et al. A novel method on moving-objects detection based on background subtraction and three frames differencing
CN104537688A (en) Moving object detecting method based on background subtraction and HOG features
CN102663778B (en) A kind of method for tracking target based on multi-view point video and system
CN108898782B (en) Smoke detection method and system for infrared image temperature information identification for tunnel fire prevention
CN101719280B (en) Method for detecting petty infrared target
CN110147748A (en) A kind of mobile robot obstacle recognition method based on road-edge detection
US9727780B2 (en) Pedestrian detecting system
CN102610104A (en) Onboard front vehicle detection method
CN101950352B (en) Target detection method capable of removing illumination influence and device thereof
CN102663350A (en) Road tunnel fire detection method based on video
CN106845498A (en) With reference to the single width mountain range remote sensing images landslide detection method of elevation

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211228

Address after: 710000 room d4405, 4th floor, free trade bonded building, No. 1, free trade Avenue, airport new town, Xixian new area, Xi'an, Shaanxi a44

Patentee after: Xi'an Dewei Shitong Intelligent Transportation Co.,Ltd.

Address before: 710064 middle section of south 2nd Ring Road, Xi'an, Shaanxi

Patentee before: CHANG'AN University

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 710000 room d4405, 4th floor, free trade bonded building, No. 1, free trade Avenue, airport new town, Xixian new area, Xi'an, Shaanxi a44

Patentee after: Xi'an Dewei Shitong Intelligent Technology Co.,Ltd.

Address before: 710000 room d4405, 4th floor, free trade bonded building, No. 1, free trade Avenue, airport new town, Xixian new area, Xi'an, Shaanxi a44

Patentee before: Xi'an Dewei Shitong Intelligent Transportation Co.,Ltd.