fire detection and smoke detection use an image capturing device to obtain images from a predetermined area and adopts an RGB (red, green, blue) color model based chromatic and disorder measurement for extracting fire pixels and smoke pixels. The extracted pixels are inputted to a fire detection fuzzy alarm system to generate an output of alarm information. Based on iterative checking on the growing ratio of the alarm information, a fire alarm is released accordingly.
|
1. A fire detection and smoke detection method based on image processing comprising following steps:
(a) capturing images of a predetermined area by an image capturing device;
(b) detecting number of flame pixels of each image by determining if each pixel of each image satisfies the following conditions:
R>RT; R≧G>B; and S≧((255−R)*ST/RT); wherein R, G, B are red, green, blue gray levels of the pixel respectively, RT is a threshold of the red gray level, S is saturation of the pixel, and ST is saturation of the pixel when the red gray level of the pixel equals RT;
(c) detecting number of smoke pixels of each image;
(d) generating a value according to the number of flame pixels and the number of smoke pixels of each image by a fuzzy system; and
(e) comparing values generated from images captured within a predetermined time interval to generate a comparison result.
9. A fire detection and smoke detection system based on image processing comprising:
an image capturing device for capturing images of a predetermined area;
means for detecting number of flame pixels and number of smoke pixels of each image captured by the image capturing device by determining if each pixel of each image satisfies the following conditions:
R>RT; R≧G>B; and S≧((255−R)*ST/RT); wherein R,G, B are red, green, blue gray levels of the pixel respectively, RT is a threshold of the red gray level, S is saturation of the pixel, and ST is saturation of the pixel when the red gray level of the pixel equals RT;
a fuzzy system for generating a value according to the number of flame pixels and the number of smoke pixels of each image; and
means for comparing values generated from images captured by the image capturing device within a predetermined time interval to generate a comparison result.
2. The method of
3. The method of
4. The method of
5. The method of
6. The method of
R>RT; R≧G>B; S≧((255−R)* ST/RT); and I>IT; wherein I is intensity of the pixel and IT is a threshold of the intensity of the pixel;
step (c) comprises updating the number of smoke pixels when red, green and blue gray levels of a pixel of the image are approximately equal, and intensity of the pixel is within a predetermined range;
the method further comprising:
checking if a ratio of number of pixels around circumference of an object formed by flame pixels of the image and number of pixels of the object is greater than a first disorder threshold; and
checking if a ratio of number of pixels around circumference of an object formed by smoke pixels of the image and number of pixels of the object is greater than a second disorder threshold.
7. The method of
8. The method of
|
1. Field of the Invention
The present invention relates to a fire detection and smoke detection method and system, and more specifically, to a fire detection and smoke detection method and system based on image processing.
2. Description of the Prior Art
Fire has caused countless casualties and damages to our society in the past decades. For years many efforts have been made trying to avoid such great and unpredictable damages with various fire detection technologies or fire prevention devices. Most of the fire detection technologies are base on particle sampling, temperature sampling, relative humidity sampling, air transparency testing, smoke analysis, in addition to the traditional ultraviolet and infrared fire detectors. However, fire detection systems using any of these technologies have so many limitations that the performance of effective fire detection is rarely satisfactory. As some of the systems are limited in applying in only some specific places, for example, the smoke sampling isn't suitable for a kitchen, others are limited in application because of the distance of the fire or the scale of the fire, for example, the detection device using temperature sampling technology can only be activated when the fire has caused a significant increase in the temperature detected by the detection device. Even some are too expensive therefore can only be utilized in important places. These fire detection devices using the above technologies either must be set in the proximity of a fire or can't provide the additional information about the process of burning, such as fire location, size, growing rate, and so on. Thus, they are not always reliable because energy emission of non-fire or byproducts of combustion, which can be yielded in other ways, may be detected by misadventure. This usually results in false alarms. To provide more reliable information about fires, the visual-based approach is becoming more and more interesting.
The prior art fire detection and smoke detection based on image processing uses images detected by an infrared camera. With smoke detection, fire expansion detection, HSI image analysis, and disorder analysis of fire, the prior art fire detection extracts the fire and validates the fire. However, the prior art fire detection method usually results in high false alarms and can't provide an early detection of a fire.
Therefore, the primary objective of the claimed invention is to provide a fire detection and smoke detection method and system to solve the above problem.
The claimed invention provides a fire detection and smoke detection method based on image processing. The method comprises capturing images of a predetermined area, detecting number of fire pixels of each image, detecting number of smoke pixels of each image, generating a value according to the number of fire pixels and the number of smoke pixels of each image, and comparing values generated from images captured within a predetermined time interval to generate a comparison result.
The claimed invention further provides a method for determining a type of an object of an image. The method comprises checking if a ratio of number of pixels around circumference of an object formed by pixels exhibiting predetermined characteristics of an image and number of pixels of the object is greater than a disorder threshold.
The claimed invention further provides a method for determining a fire pixel of an image. The method comprises checking if a pixel of the image satisfies the following conditions: R>RT, R≧G>B, S≧((255−R)*ST/RT), and I>IT, wherein R, G, B are red, green, blue gray levels of the pixel respectively, RT is a threshold of the red gray level, S is saturation of the pixel, ST is saturation of the pixel when the red gray level of the pixel equals RT, I is intensity of the pixel, and IT is a threshold of the intensity of the pixel.
The claimed invention further provides a method for determining a smoke pixel of an image. The method comprises checking if red, green and blue gray levels of a pixel of the image are approximately equal, and checking if intensity of the pixel is within a predetermined range.
The claimed invention further provides a fire detection and smoke detection system based on image processing. The system comprises an image capturing device for capturing images of a predetermined area, means for detecting number of fire pixels and number of smoke pixels of each image captured by the image capturing device, means for generating a value according to the number of fire pixels and the number of smoke pixels of each image, and means for comparing values generated from images captured by the image capturing device within a predetermined time interval to generate a comparison result.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Step S101: Capture images of a predetermined area;
Step S102: Check if the predetermined area contains any moving object;
Step S103: Check if the moving object is formed by fire pixels or smoke pixels; if so, go to step S105; if not, go to step S102;
Step S105: Detect number of fire pixels and number of smoke pixels of each image captured in the predetermined area;
Step S106: Input the number of fire pixels and the number of smoke pixels detected in Step S105 to a fire detection fuzzy system;
Step S107: Generate alarm information of each image captured in the predetermined area by the fire detection fuzzy alarm system according to the number of fire pixels and the number of smoke pixels of each image;
Step S108: Select if the moving object is a flammable object or a combustible object; if flammable, go to step S110; if combustible, go to step S112;
Step S110: Determine whether the changes of the flammable object are significant enough to release a fire alarm; if so, go to S113; if not, go to step S108;
Step S112: Determine whether the changes of the combustible object are significant enough to release a fire alarm; if so, go to S113; if not, go to step S108;
Step S113: Release a fire alarm.
First of all, the image capturing device is used to capture images of a predetermined area as in step S101. Then the images are detected to check whether there is any moving object in the image by checking differences in a plurality of consecutive frames of the predetermined area since fire or smoke is unsteady by nature in step S102. Next validation of the moving objects as fire or smoke or none of the above is carried out in step S103. In order to decide whether the detected moving object is fire/smoke or not, the present invention fire detection and smoke detection method uses image processing to validate pixel by pixel of the moving object. Since the RGB (red, green, blue) color model in image analysis is widely used in many research fields of image processing, the present invention adopts directly the RGB color model to analyze the characteristics of the fire/smoke pixels.
To simulate the color sensing properties of the human visual system, RGB color information is usually transformed into a mathematical space that decouples the brightness (or luminance) information from the color information. Among many color models, HSI (hue/saturation/intensity) color model is very suitable for providing a more people-oriented way of describing the colors, because the hue and saturation components are intimately related to the way in which human beings perceive color.
Based on the common knowledge of fire, it is reasonable to assume that the colors of general flames belong to the red-yellow range. This will map the value of hue of general flames to be distributed from 0° to 60°.
Condition 1: R≧G>B, where R, G, B are red, green, blue gray levels of the pixel respectively.
Please refer to
Condition 2: R>RT, where R is red gray level of the pixel, and RT is a threshold of the red gray level.
However, the background illumination may affect the saturation of a fire or generate a fire-like alias, and then result in a false fire-detection. To avoid being confused by the background illumination, the saturation value of the pixel detected should be over a threshold. Since the value of saturation is the value of the red gray level when the red gray level reaches RT of a pixel, and based on the basic concept, the saturation will degrade with the increasing red gray level. Thus, once the red gray level of a pixel exceeds RT, the saturation of the pixel will decrease down to zero when the red gray level increases up to the top value of 255.
Condition 3: S≧((255−R)*ST/RT), where S is saturation of a pixel, and ST is saturation of the pixel when the red gray level of the pixel equals RT.
Besides, when the fire is in a dark environment without other background illumination, the fire will be the major light source. The fire may display partial white in an image captured from an image capturing device. Thus, in such circumstances, the intensity (I) of a pixel will be considered the best parameter in validating a pixel as a fire pixel, and the intensity I of a real fire pixel should be over a threshold of the intensity of the pixel, say, IT. We then add a fourth condition of validation when the predetermined area is in a dark environment:
Condition 4: I>IT.
Based on the above analysis, we can put all the conditions together and propose that a pixel will be validated as a real fire pixel when it satisfies the following conditions:
Condition 1: R≧G>B;
Condition 2: R>RT;
Condition 3: S≧((255−R)*ST/RT); and
Condition 4: I>IT, if the predetermined area is in a dark environment.
Step S103 further comprises the validation of a smoke pixel. Since the smoke usually displays grayish color during a burning process, and such grayish color can be classified into two gray levels: light gray and dark gray, the R, G, B gray levels of a smoke pixel need to be approximately equal. And by experimental results, the intensity (I) of a smoke pixel should be lying in the range of the light gray level or the dark gray level, say, L1≦I≦L2 or D1≦I≦D2, where L1, L2 represent light gray level values and D1, D2 represent dark gray level values and all depend on the statistical data of experiments. Therefore, we introduce two conditions for validating a pixel as a smoke pixel:
Condition 5: R±α=G±α=B±α;
Condition 6: L1≦I≦L2 or D1≦I≦D2;
where R, G, B are red, green blue gray levels of the pixel respectively, α is a deviation constant, I is the intensity of the pixel, and L1, L2, D1, D2 are four experimental results of the gray level ranges.
While some fire-like regions in an image may have the same colors as fire, and these fire-similar areas are usually extracted as the real fire from an image, we should validate the moving object as fire or smoke by using the particular characteristic of dynamic disorder of fire/smoke. Since the shape of fire is changeable anytime owing to air flowing, we can use the following decision rule to check for the disorder of the moving object:
Condition 7: (FEP/FTP)≧FTD;
where the parameter FEP denotes the circumference of an object formed by fire pixels of the image, FTP is the number of pixels of the object, and FTD is a disorder threshold that distinguishes from other fire-like objects.
As applied to the moving object form by fire pixels, the moving object form by smoke pixels can also be tested by the disorder analysis decision rule.
When the moving object captured in the predetermined area validated as a real fire or smoke, then update the number of real fire pixels and the number of real smoke pixels as in Step S105 and input the number of fire pixels and the number of smoke pixels to a fire detection fuzzy system as in Step S106.
Please refer to
The present invention fire detection and smoke detection method provides an iterative growth-checking based method to check if the burning fire may spread to cause an accident. The basic concept is that if the alarm information increases with the burning time, the fire is considered to spread out and hence a fire alarm should be given in the while. Once the alarm information is obtained, Step S108 selects the burning type of the moving object. The burning types are divided into two cases: a flammable object or a combustible object. The burning type is initially set up as a flammable type. Then, the changes of the alarm information of the flammable object are determined with some predetermined thresholds as the following determining method in Step S110:
If the change of the alarm information of the flammable object is larger than a threshold to release a fire alarm, then release a fire alarm as in Step S113. If the change is smaller than a threshold to release a fire alarm but larger than another threshold to alter the burning type of the object, then go to Step S108 and change the burning type of the object to a combustible object. If the change of the alarm information is smaller than the threshold to alter the burning type of the object, then discard the outcome and repeat Step S108.
If the burning type of the object is altered in Step S108, then determine whether the variation of the alarm information of the combustible object is increasing as in Step S12. If the variation is larger than a threshold to release a fire alarm, then release a fire alarm as in Step S13, but if the variation is smaller than a threshold to release a fire alarm, then discard the outcome and repeat Step S108.
Finally, please refer
The exemplary embodiment of the present invention fire detection and smoke detection method and system use techniques of image processing to detect the growing of fire or smoke by analyzing the characteristics of fire and smoke. Once validating a fire or smoke's existence, use a fire detection fuzzy system and a comparative criterion to determine the growing characteristic of the fire or smoke for next step decision. In such combination of fire detection and smoke detection method, the method and system can precisely provide proper information of any fire instance and lower the misreport rate of a fire accident.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Patent | Priority | Assignee | Title |
11017649, | Aug 24 2020 | CLIMAX TECHNOLOGY CO., LTD. | Dynamic alarm priority system and method |
11532156, | Mar 28 2017 | ZHEJIANG DAHUA TECHNOLOGY CO., LTD. | Methods and systems for fire detection |
11651670, | Jul 18 2019 | Carrier Corporation | Flame detection device and method |
11908195, | Dec 01 2020 | Devon Energy Corporation | Systems, methods, and computer program products for object detection and analysis of an image |
8447068, | Sep 20 2006 | Forschungszentrum Karlsruhe GmbH | Method for characterizing the exhaust gas burn-off quality in combustion systems |
8538080, | Jan 27 2011 | Chang Jung Christian University | Flame identification method and device using image analyses in HSI color space |
Patent | Priority | Assignee | Title |
7155029, | May 11 2001 | Detector Electronics Corporation | Method and apparatus of detecting fire by flame imaging |
7245315, | May 20 2002 | SIMMONDS PRECISION PRODUCTS, INC | Distinguishing between fire and non-fire conditions using cameras |
7256818, | May 20 2002 | SIMMONDS PRECISION PRODUCTS, INC | Detecting fire using cameras |
7280696, | May 20 2002 | SIMMONDS PRECISION PRODUCTS, INC | Video detection/verification system |
7302101, | May 20 2002 | Simmonds Precision Products, Inc. | Viewing a compartment |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 29 2005 | CHEN, CHAO-HO | HUPER LABORATORIES CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016782 | /0977 | |
Nov 16 2005 | Huper Laboratories Co., Ltd. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Oct 02 2012 | M2551: Payment of Maintenance Fee, 4th Yr, Small Entity. |
Nov 07 2016 | M2552: Payment of Maintenance Fee, 8th Yr, Small Entity. |
Aug 21 2020 | M2553: Payment of Maintenance Fee, 12th Yr, Small Entity. |
Date | Maintenance Schedule |
Jun 02 2012 | 4 years fee payment window open |
Dec 02 2012 | 6 months grace period start (w surcharge) |
Jun 02 2013 | patent expiry (for year 4) |
Jun 02 2015 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jun 02 2016 | 8 years fee payment window open |
Dec 02 2016 | 6 months grace period start (w surcharge) |
Jun 02 2017 | patent expiry (for year 8) |
Jun 02 2019 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jun 02 2020 | 12 years fee payment window open |
Dec 02 2020 | 6 months grace period start (w surcharge) |
Jun 02 2021 | patent expiry (for year 12) |
Jun 02 2023 | 2 years to revive unintentionally abandoned end. (for year 12) |