Digital Video-based Vessel Fire Alarm System
- Author
- AnYue
- Advisor
- ZhangXianKu
- School
- Dalian Maritime University
- Major
- Navigation Science and Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 199
- Citations
- 0
- digital video-based fire detection
- split block algorithm
- color intensity composition detection algorithm
- PSF parameters estimation
- video transmission over LAN
Abstract
Fire on board is one of the most dangerous disasters at sea as it can damage the cargos, can cause water and air pollutions and even can cause loss of lives. Although there are many ways to prevent or fight against fire, there have been many fire accidents on board in recent years.The main purpose of this research is to investigate the feasibility of digital video-based vessel fire detection system which is more robust, reliable and capable of flame recognition even in the camera shaking conditions that are unavoidable in rough seas. Besides, the system is to be implemented for the detection of fire flame in more distant places. In order to accomplish the research objectives, the hardware equipments including personal computer (PC), Universal Serial Bus (USB) video camera, fire ignition box as well as the software tools including Visual C++ programming, DirectShow and OpenCV are used.The digital video-based fire detection systems have many advantages over the traditional fire detection systems such as low equipment cost, faster response, being capable of monitoring a large area and being able to confirm the existence of a fire through the surveillance monitor without visiting the location. Based on the fire information detected by such system, the most effective fire fighting method can be chosen and applied properly to extinguish the fire.The tested fire flame is mainly light blue in color. Except the white color flame, the blue flame which is produced from the complete combustion due to the pre-mixing of sufficient oxygen and fuel is the hottest and it has more heat energy than any other colors such as red and yellow in a flame. For example, the temperature of more bluish oxyacetylene flame is about 3000℃while that of the candle flame is about 1400℃. Early detection of the more dangerous light blue flame is essential for choosing a proper fire fighting method, and hence, the light blue flame detection is mainly carried out in this research. The program in this research is divided into three parts:flame recognition algorithms, anti-shake filtering and real time video transmission over LAN.For the flame image recognition, two flame detection algorithms:split block algorithm and region of interest based (ROI-based) color intensity composition detection algorithm are proposed. Both algorithms can distinguish well between the fire and non-fire objects as the detection of fire character pixels is considered under the four different background lights:dark, dim, normal and bright. Compared with the split block algorithm, the ROI-based fire detection method save the program execution time since it needs to check only within the selected ROIs and it doesn’t check the whole image for fire character pixels.If the digital video-based fire detection system is used on board, shakings of the camera or scene are usually unavoidable because the ship is moving in dynamic sea states such as waves, wind, current and tide or inclement weather conditions. In case a motion blurred scene image is detected by the digital video-based fire detection system, the undesirable false alarms will be raised. In order to prevent or reduce the false alarms, image blurring effects must be removed from the detected images. Therefore, image deblurring filters must be properly applied in the image pre-processing stage of fire detection before analyzing the scene image for fire character pixels in the image processing stage of those vision-based vessel fire detection systems. To restore a motion blurred image to its near original form, the motion blurring parameters (blur length and blur angle) of its point spread function (PSF) must be properly estimated. In this research, new estimation methods of PSF parameters are proposed. In order to get the best PSF, the motion blur length and blur angle estimations are made by using the Discrete Fourier Transform (DFT) spectrum.For the estimation of the motion blur length, two new simple approaches are proposed. In the first approach, the image is first rotated counterclockwise according to the inclination angle of the DFT spectrum stripes. Then the maximum pixel value in each column of the image is checked vertically from top to bottom of the image. In order to reduce the iteration time, the central part of the image that is the most pixel intensity concentration area is selected. The second approach is considered without rotating the spectrum matrix. According to the results, the second algorithm is better than the first one. Then a simple Wiener filter is used for deblurring.As the final part of this research, the real time video transmission over LAN is investigated. Since a ship is a relatively large space and it is required to setup many video cameras in all of the shipboard compartments linked with a unique monitoring station on the bridge, the local area network (LAN) connection of video cameras is a very important stage for the digital video-based fire detection systems.The real time video is captured from the camera of a remote computer and then the video stream is transmitted to another computer over LAN using TCP/IP protocol. The received video images are sampled and analyzed in the second computer and then the existence of fire is determined by using the fire character pixel detection algorithms. All fire detection experiments are carried out under the four different surrounding light conditions:bright, normal, dim and dark with and without fire.Frame rate of 15 frames per second (fps) is used for the transmission of video stream and therefore there are about 27 Mb/s of data flow rate which is within the available LAN Ethernet speed ranges. According to the results, no obvious network errors are found.
Table of contents
Innovation Points 5-6
Abstract 6-9
Summary 9-15
Chapter 1 Introduction 15-28 <br / > 1.1 Aims and objectives 15
1.2 Fire disasters on board 15-20
1.3 Importance of shipboard fire detection 20-22
1.4 Fire detection research 22-24
1.4.1 Research in China 22-23
1.4.2 Research in other countries 23-24
1.5 Research methodology and research scope 24-27
1.5.1 Research methodology 24-26
1.5.2 Research scope 26-27
1.6 Outline of thesis 27-28
Chapter 2 Programming Tools and Techniques 28-47
2.1 DirectShow 28-36
2.1.1 The challenge of multimedia 28-29
2.1.2 The DirectShow solution 29-30
2.1.3 DirectShow filters 30-32
2.1.4 Filter graph manager 32-33
2.1.5 Starting DirectShow programming 33-36
2.2 Multi-threading technique 36-38
2.3 Bitmap image structure 38-43
2.4 OpenCV library functions 43-47
Chapter 3 Shipboard Fire Alarm System 47-65
3.1 Traditional fire alarm systems 47 - 50
3.1.1 Optical sensors 47-48
3.1.2 Ionization sensor 48-49
3.1.3 Air-sampling sensor 49 - 50
3.1.4 Carbon monoxide and carbon dioxide sensors 50
3.2 Vision-sensor based fire alarm systems 50-54
3.2.1 Hardware system 51-52
3.2.2 Software system 52-54
3.3 Software modules 54-65
3.3.1 Video capturing and image sampling module 54-58
3.3.2 Image recognition module 58-60
3.3.3 Audio-visual alarm module 60-63
3.3.4 Other assistant modules 63-65
Chapter 4 Fire Detection Algorithms 65-90
4.1 Digital image characteristics of fire flame 65-69
4.2 Split block fire detection algorithm 69-78
4.2.1 Flowchart of split block algorithm 72-77
4.2.2 Results and discussions 77-78
4.2. 3 Conclusion 78
4.3 ROI-based color intensity composition detection algorithm 78-90
4.3.1 Detection of fire-suspected ROIs 78-82 <br / > 4.3.2 Detection of composition of RGB color intensities within the ROIs 82-83
4.3.3 Calculation of background light intensities 83-85
4.3.4 Determining the candidate fire ROI 85-87
4.3.5 Results and discussions 87-89
4.3.6 Conclusion 89-90
Chapter 5 Anti-shake Filtering 90-106
5.1 Image deblurring concept 90-92
5.2 Estimation of PSF parameters by direct detection methods 92-102
5.2.1 Estimation of motion blur direction 94-95
5.2.2 Motion direction detection algorithm 95-96
5.2.3 Inclination angle deviation (δ) 96-97
5.2.4 Estimation of motion blur length 97-98
5.2.5 Motion blur length detection algorithms 98-102
5.3 Deblurring of motion blurred images using Wiener filter 102-103
5.4 Results and discussions 103-105
5.5 Conclusion 105-106
Chapter 6 Real time Video Transmission over LAN 106-119
6.1 Introduction to video transmission 106-107
6.2 Shipboard fire detection system 107-116
6.2.1 Differences between TCP and UDP 108-109
6.2.2 Server-client model TCP / IP transmission . 109-110
6.2 3 CSocket class of Visual C 6.0 110-114
6.2.4 Fire detection algorithm 114-116
6.3 Results and discussions 116-118
6.4 Conclusion 118-119
Chapter 7 Conclusions and Future Works 119-123
7.1 Summaries and conclusions 119-121
7.2 Future works 121-123
References 123 - 130
List of Published Papers 130-131
Acknowledgements 131-132