CN100559887C - Utilize flame color template to carry out the method for detection - Google Patents

Utilize flame color template to carry out the method for detection Download PDF

Info

Publication number
CN100559887C
CN100559887C CNB2007100164571A CN200710016457A CN100559887C CN 100559887 C CN100559887 C CN 100559887C CN B2007100164571 A CNB2007100164571 A CN B2007100164571A CN 200710016457 A CN200710016457 A CN 200710016457A CN 100559887 C CN100559887 C CN 100559887C
Authority
CN
China
Prior art keywords
flame
image
color template
delta
fire
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
CNB2007100164571A
Other languages
Chinese (zh)
Other versions
CN101106727A (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.)
Institute of Automation Shandong Academy of Sciences
Original Assignee
Institute of Automation Shandong Academy of Sciences
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 Institute of Automation Shandong Academy of Sciences filed Critical Institute of Automation Shandong Academy of Sciences
Priority to CNB2007100164571A priority Critical patent/CN100559887C/en
Publication of CN101106727A publication Critical patent/CN101106727A/en
Application granted granted Critical
Publication of CN100559887C publication Critical patent/CN100559887C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a kind of method of utilizing flame color template to carry out detection, it adopts the colored CCD camera system, according to the regularity of distribution of flame three primary colors at color space, gather several flame samples in advance, color value to flame carries out analytic statistics, obtain the sample average and the variance of three primary colors, statistics is imported computer as parameter.During detector work, colored CCD is a digital signal with the image transitions at scene, send in the host memory by image card, after processor obtains view data, compare with pre-determined parameter, judge whether it meets the Gaussian Profile rule, the zone that satisfies condition is divided as suspicious region, and it is done difference processing, further analyze this target and whether satisfy the fire jump over time, flicker, unsettled characteristics, improve the reliability of detection, can satisfy detection, interlink warning, picture control, different demands such as fire-proof and theft-proof.

Description

Utilize flame color template to carry out the method for detection
Technical field
The present invention relates to a kind of fire detecting method, specifically a kind of method of utilizing flame color template to carry out detection.
Background technology
We know, the sense cigarette of traditional type, temperature-sensitive, sensitive detector have been widely used in the structural fire protection, smoke detector surveys whether there is the smoke particle that is produced by fire in the monitor area usually, flue gas is the omen that fire produces, thereby the solid phase of the suspension that is comprised in the flue gas and liquid-phase particle just become a foundation of detection, but the size of particle, the dust in the environment, electromagnetism, factors such as air-flow tend to cause wrong judgement.Another feature of fire is followed the rising of temperature, also has uniform temperature in the flue gas of turbulent flow, when fire temperature parameter in official hour surpasses certain value, point type or line-type heat detector have just been triggered, occasion or the fire low in some temperature are in the stage of glowing, because still reaching the boundary that triggers warning, the rising of temperature often do not cause incuring loss through delay time of fire alarming, and the acute variation of temperature, as use in the process of air-conditioning or heating system, air-flow is directly blown over the detector that contains temperature-sensing element just might cause false alarm; Sensitive detector has ultraviolet flame type and infra red flame type, utilize ultra-violet radiation that flame produces and infrared radiation to survey flame and responded respectively, there is similar defective in sensitive detector, be not to have only fire just to launch the ultraviolet infrared light, there is X ray in the environment, electro-welding arc, perhaps detector is subjected to sunlight or the direct or indirect irradiation of other light sources all might produce wrong report.
Summary of the invention
The present invention is for overcoming above-mentioned the deficiencies in the prior art, provide a kind of colored CCD gamma camera that utilizes to take monitoring environment, according to the color model parameter of setting up in advance, isolate suspicious flame region, wait fire behavior to be further analyzed to its jump flicker then, can realize the fire detecting method of the accurate judgement of fire.
The objective of the invention is to adopt following technical proposals to realize:
A kind of method of utilizing flame color template to carry out detection may further comprise the steps:
A. the collection of flame sample;
B. the statistical analysis of flame model color parameter;
C. statistics is stored in the computer;
D. by the image signal of CCD continuous acquisition monitoring scene;
E. image signal is carried out processed and make fire and judge unusually.
The flame sample collection is to use the colored CCD camera system to gather the some width of cloth of colored flames sample in the described steps A.
The statistical analysis of the flame model color parameter among the described step B is, some width of cloth colored flames sample background of gathering in the steps A are treated to constant color, adds up the average and the variance of all visual flame pixel three primary colors.
May further comprise the steps in the described step e:
(1). the just colored video of the first step is decomposed into red (R), green (G), blue (B) three primary colors component;
Second step was calculated the distribution of color probability of each picture element
p ( A ) = 1 ( 2 π ) 3 2 · | ΣA | 1 2 · e { - 1 2 ( A - A ‾ ) T ( ΣA ) - 1 ( A - A ‾ ) }
A=in the formula (R, G, B); A=(R, G, B); ∑ A=E ((A-A) T(A-A)), ∑ A is the matrix of a 3*3;
The 3rd step compared judgement with result of calculation and preset threshold T, obtained the flame color template binary picture
F C = 1 p ( A ) &GreaterEqual; T 1 0 p ( A ) < T 1
The 4th step was calculated the flame template bianry image in a period of time
&Delta;F c = &cup; i = 1 n F c ( i )
(2) the brightness rate of change of calculating color template image:
The first step is transformed to gray scale image g with colored video.
Second step is with t 1, t 2Different gray scale image g constantly carry out calculus of differences, obtain brightness and change binary picture
D t 2 t 1 = 1 g t 2 - g t 1 &GreaterEqual; T 2 0 g t 2 - g t 1 < T 2
The 3rd step statistics [t 1, t n] interior brightness rate of change of time
&Delta;D t n t 1 = &Sigma; i = 2 n D t i t i - 1 t n - t 1
The 4th step calculated by the flame region S after the brightness variation judgement
S = 1 &Delta;D &GreaterEqual; T 3 and&Delta; F c = 1 0 &Delta;D < T 3 or&Delta; F c = 0
(3) it is unusual to judge whether there is fire: if flame region thinks that to have fire unusual during greater than given threshold value M.
T in described (1) in the 3rd step 1Be arranged between 0.3~0.6.
T in described (2) in the 3rd step 2Be 50~80.
Brightness rate of change determining step based on grey scale difference is as follows:
(1) the colored video with a width of cloth scene reads in calculator memory;
(2) reading image data is decomposed into the three primary colors component A with it (R, G B), calculates the distribution of color probability of each pixel, ask for t 1Flame color template bianry image F constantly c(t 1), deposit in calculator memory or the hard disk;
(3) ask for t 1Gray scale image g (t constantly 1), deposit in calculator memory or the hard disk;
(4) repetitive process (1) (2) (3) obtains t 2Flame color template bianry image F constantly c(t 2) and gray scale image g (t 2), calculate t 1, t 2Flame template bianry image Δ F constantly cChange bianry image with brightness
Figure C20071001645700061
(5) repeat (1)-(4) process, up to moment t n, zoning S supposes S greater than given threshold value M, then output signal thinks that to have fire unusual, otherwise repeats the step of (1)-(5).
Determining of described Fujian value M value is relevant with the focal length of visual video input window and gamma camera, and focal length increase or input window reduce the M value and should suitably reduce, on the contrary M can increase, specifically determine according to actual conditions.
The present invention proposes to utilize the colored CCD gamma camera to take monitoring environment, utilizes the color model parameter of setting up in advance, isolates suspicious flame region, and fire behaviors such as the flicker of then it being jumped are further analyzed, and have realized the accurate judgement of fire.
The present invention has the following advantages:
1. contactless, adopt the common color gamma camera that environment is monitored, as a kind of contactless detecting devices, the differentiation of fire is to be based upon the live video video is carried out on the basis of data analysis, overcome some detector and responded insensitive defective, improved the actual effect and the range of application of detector at open space.
2. dual criterion, the present invention adopts flame color template and brightness differential pair fire video imagery to discern, the color characteristic that utilizes fire is to carry out the mode of thinking that fire is judged according to the mankind by vision, there is the scholar to point out that the people is when observation one images judges whether to have fire, mainly being to differentiate according to the color of image, secondly is texture and seldom according to shape.This paper utilizes the brightness rate of change to do further to judge, is this thought of out of control burning according to fire, and flame has the characteristic of the flicker of beating, and the combination of above-mentioned two kinds of criterions has greatly improved the reliability of detection.
3. need not to add filtering apparatus, need not to add extra filtering apparatus, can carry out fire monitoring automatically by computer by existing surveillance.
4. interlink warning, the present invention can connect conventional linkage alarm device, afterwards in time takes measures finding that fire is unusual, can be connected with automatic fire protection equipment, realizes the target of in time finding, in time reporting to the police, in time put out a fire to save life and property.
5. monitoring owing to adopted the common color gamma camera to carry out fire monitoring, can be included this device in existing closed monitor system, realizes that conventional monitoring and fire alarm unite two into one.
6. keeping records, the present invention can write down on-the-spot fire image automatically after finding fire, provide the firsthand information for analyzing cause of fire.
Description of drawings
Fig. 1 is a workflow diagram of the present invention;
Fig. 2 is that hardware of the present invention is formed schematic diagram.
Embodiment
The present invention is further described below in conjunction with drawings and Examples.
As shown in Figure 1 and Figure 2, the present invention adopts mini-computer, and the Pentium series processors adopts the multimedia image capture card of company of Daheng, and as DH-CG series, color video camera adopts the LTC series gamma camera of Bosch.
Gather the flame combustion picture array under the different light situation, comburant is based on wood materials, remove background parts except that flame by program or existing software, add up the average and the variance of all visual flame part three primary colors, average deposits computer in as an important parameter of follow-up computing, variance is represented the fluctuating range of each color component of sample image around average, and it has reference role for definite following threshold value.
Many color video camera framves are loaded on around the monitored area, field range according to every gamma camera, whole system can be covered effectively to monitor area, multichannel color video camera continuous acquisition monitored area influence signal, sent into the image collection card of computer in turn by video switcher, the image that image collection card will collect is saved in the hard disc of computer frame by frame continuously, store with binary file, pre-determine the time interval that every paths is observed, desirable 2~3 seconds, after collection finishes, from hard disk, read a frame color image data, the three primary colors component of supposing pixel A for (R, G, B), A=(R, G B) is flame color average through calculating, according to the covariance ∑ A of following formula compute matrix A:
∑ A=E ((A-A) T(A-A)), ∑ A is the matrix of a 3*3, and then calculates the Probability p that this pixel is the flame color pixel (A):
p ( A ) = 1 ( 2 &pi; ) 3 2 &CenterDot; | &Sigma;A | 1 2 &CenterDot; e { - 1 2 ( A - A &OverBar; ) T ( &Sigma;A ) - 1 ( A - A &OverBar; ) }
A=in the formula (R, G, B); A=(R, G, B);
And according to given threshold value T 1Compare judgement, obtain the binary picture of the flame color template of present frame image
F C = 1 p ( A ) &GreaterEqual; T 1 0 p ( A ) < T 1
Threshold value T 1Selection can influence the size of binary picture target area, T 1The too small condition that makes is relaxed, and is differentiated for the number of picture elements of flame color increases, and crosses senior general and makes the condition harshness, may foreclose indivedual real flame pixels, and suggestion is with T 1Be arranged between 0.3~0.6, differentiating F as a result cDeposit in the computer, read in another frame image and repeat said process, preserve result of calculation, travel through all images after, statistics all possible flame region in this time period forms a total flame color two-value template Δ F c, suppose to have gathered altogether n width of cloth image data, so &Delta;F c = &cup; i = 1 n F c ( i ) .
Next change speed according to brightness again and determine suspicious region:
Read different t constantly 1, t 2Two frame chromatic imagies, make calculus of differences behind the gray processing, the brightness that obtains two frame images changes template
D t 2 t 1 = 1 g t 2 - g t 1 &GreaterEqual; T 2 0 g t 2 - g t 1 < T 2
T 2Can get 50~80, The above results is saved in computer, read t 3Chromatic image constantly calculates t 2, t 3Brightness constantly changes template
Figure C20071001645700081
And the like after the whole picture group of traversal resembles, statistics [t 1, t n] interior brightness rate of change of time
Figure C20071001645700082
&Delta;D t n t 1 = &Sigma; i = 2 n D t i t i - 1 t n - t 1 ,
The brightness rate of change is greater than set-point T under the calculating color template overlay area 3Image area S,
S = 1 &Delta;D &GreaterEqual; T 3 and&Delta; F c = 1 0 &Delta;D < T 3 or&Delta; F c = 0
S as a result judged wherein whether there is the target area (target area thresholding be represent to exist) earlier at 1 o'clock,, add up every region area S if exist iSize, work as S iThink during greater than given threshold value M that to have fire unusual.
Determining of M value is relevant with the focal length of visual video input window and gamma camera, focal length increase or input window reduce the M value and should suitably reduce, otherwise M can increase, specifically determine according to actual conditions, for example focal length is 12mm, the video output window is 300*300, and M gets 1 ‰ of input window area.
If judge to have fire, the influence of this passage immediately switches to the current picture of closed monitor system, starts linkage alarm device simultaneously, starts the intelligent fire device, thus the purpose that reaches timely discovery, in time handles.

Claims (2)

1, a kind of method of utilizing flame color template to carry out detection is characterized in that taking following steps:
(1) uses the colored CCD gamma camera to gather the some width of cloth of flame sample image, add up the average and the variance of all visual flame pixel three primary colors;
(2) gather the on-site supervision signal of video signal, as follows, calculate flame color template according to distribution of color probability and known average, variance parameter;
The first step with colored video be decomposed into the red R of being, the green G of being, indigo plant is B three primary colors components;
Second step was calculated the distribution of color probability of each picture element
p ( A ) = 1 ( 2 &pi; ) 3 2 &CenterDot; | &Sigma;A | 1 2 &CenterDot; e { - 1 2 ( A - A &OverBar; ) T ( &Sigma;A ) - 1 ( A - A &OverBar; ) }
A=in the formula (R, G, B); A=(R, G, B); ∑ A=E ((A-A) T(A-A)), ∑ A is the matrix of a 3*3;
The 3rd step compared judgement with result of calculation and preset threshold T, obtained the flame color template binary picture
F C = 1 p ( A ) &GreaterEqual; T 1 0 p ( A ) < T 1
The 4th step was calculated the flame color template bianry image in a period of time
&Delta;F c = &cup; i = 1 n F c ( i )
(3) the brightness rate of change of the image under the calculating flame color template correspondence:
The first step is transformed to gray scale image g with colored video
Second step is with t 1, t 2Different gray scale image g constantly carry out calculus of differences, obtain brightness and change binary picture
D t 2 t 1 = 1 g t 2 - g t 1 &GreaterEqual; T 2 0 g t 2 - g t 1 < T 2
The 3rd step statistics [t 1, t n] interior brightness rate of change of time
&Delta;D t n t 1 = &Sigma; i = 2 n D t i t i - 1 t n - t 1
The 4th step calculated by the flame region S after the judgement of brightness rate of change
S = 1 &Delta;D &GreaterEqual; T 3 and &Delta; F c = 1 0 &Delta;D < T 3 or &Delta;F c = 0 .
2. the method for utilizing flame color template to carry out detection according to claim 1 is characterized in that, following steps are taked in the brightness rate of change judgement in the 4th step in the described step (3):
(1) the colored video with a width of cloth scene reads in calculator memory;
(2) read image data it is decomposed into the three primary colors component A, calculate the distribution of color probability of each pixel, ask for t 1Flame color template bianry image F constantly c(t 1), deposit in calculator memory or the hard disk;
(3) ask for t 1Gray scale image g (t constantly 1), deposit in calculator memory or the hard disk;
(4) repetition abovementioned steps (1), (2) and (3) obtain t 2Flame color template bianry image F constantly c(t 2) and gray scale image g (t 2), calculate t respectively 1And t 2Flame color template bianry image Δ F constantly cChange bianry image with brightness
Figure C2007100164570003C1
(5) repeat (1)-(4) process, up to moment t n, zoning S supposes S greater than given threshold value M, then output signal thinks that to have fire unusual, otherwise repeats the step of (1)-(5).
CNB2007100164571A 2007-08-09 2007-08-09 Utilize flame color template to carry out the method for detection Expired - Fee Related CN100559887C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100164571A CN100559887C (en) 2007-08-09 2007-08-09 Utilize flame color template to carry out the method for detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100164571A CN100559887C (en) 2007-08-09 2007-08-09 Utilize flame color template to carry out the method for detection

Publications (2)

Publication Number Publication Date
CN101106727A CN101106727A (en) 2008-01-16
CN100559887C true CN100559887C (en) 2009-11-11

Family

ID=39000357

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100164571A Expired - Fee Related CN100559887C (en) 2007-08-09 2007-08-09 Utilize flame color template to carry out the method for detection

Country Status (1)

Country Link
CN (1) CN100559887C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101245057B1 (en) * 2012-10-16 2013-03-18 (주)아이아이에스티 Method and apparatus for sensing a fire
CN103116746B (en) * 2013-03-08 2016-08-03 中国科学技术大学 A kind of video flame detection method based on multiple features fusion technology
CN107169966B (en) * 2017-06-27 2020-03-20 国网湖南省电力公司 Power transmission line forest fire identification method based on temperature distribution
CN109360369B (en) * 2018-09-19 2021-09-28 王杰 Method and device for analyzing fire hazard based on clustering result
CN111460983B (en) * 2020-03-30 2023-01-24 重庆特斯联智慧科技股份有限公司 Intelligent fire fighting method and system based on target tracking

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5289275A (en) * 1991-07-12 1994-02-22 Hochiki Kabushiki Kaisha Surveillance monitor system using image processing for monitoring fires and thefts
CN1112702A (en) * 1995-03-08 1995-11-29 中国科学技术大学 Method for detecting and positioning fire by using colour image three-primary colors difference

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5289275A (en) * 1991-07-12 1994-02-22 Hochiki Kabushiki Kaisha Surveillance monitor system using image processing for monitoring fires and thefts
CN1112702A (en) * 1995-03-08 1995-11-29 中国科学技术大学 Method for detecting and positioning fire by using colour image three-primary colors difference

Also Published As

Publication number Publication date
CN101106727A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN101833838B (en) Large-range fire disaster analyzing and early warning system
US20190244504A1 (en) Fire monitoring system
CN102201146B (en) Active infrared video based fire smoke detection method in zero-illumination environment
CN106650584B (en) Flame detecting method and system
CN100559887C (en) Utilize flame color template to carry out the method for detection
CN102208018A (en) Method for recognizing fire disaster of power transmission line based on video variance analysis
Venetianer et al. Performance evaluation of an intelligent video surveillance system–A case study
CN109598700A (en) Using the incipient fire detection method of convolutional neural networks
CN101493980A (en) Rapid video flame detection method based on multi-characteristic fusion
CN105844659A (en) Moving part tracking method and device
CN101908142A (en) Feature analysis-based video flame detecting method
CN102682303A (en) Crowd exceptional event detection method based on LBP (Local Binary Pattern) weighted social force model
Verstockt et al. State of the art in vision-based fire and smoke dectection
CN101576952A (en) Method and device for detecting static targets
KR102521726B1 (en) Fire detection system that can predict direction of fire spread based on artificial intelligence and method for predicting direction of fire spread
CN109377713A (en) A kind of fire alarm method and system
CN111476964A (en) Remote forest fire prevention monitoring system and method
CN113963301A (en) Space-time feature fused video fire and smoke detection method and system
CA3081967C (en) Method and system for connected advanced flare analytics
Zen et al. Development of a field deployable firebrand flux and condition measurement system
CN102509414A (en) Smog detection method based on computer vision
CN106611165A (en) Automobile window detection method and device based on correlation filtering and color matching
CN102542673A (en) Automatic teller machine (ATM) pre-warning method and system based on computer vision
Kumar et al. Computer vision-based early fire detection using machine learning
Mazur-Milecka et al. Smart city and fire detection using thermal imaging

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

Termination date: 20140809

EXPY Termination of patent right or utility model