Ship local fire early warning method based on smoke monitoring
Through smoke monitoring technology, combined with visible light and infrared image fusion processing and mixed Gaussian model, the problem of false alarm in ship fire early warning system is solved, and accurate distinction and early warning of smoke and fire is achieved.
Patent Information
- Application Number
- CN202410988733.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Ship fire warning systems are prone to false alarms due to misjudgment of smoke and high temperatures, which affects normal operation and is difficult to accurately distinguish between smoke and fire.
Using a smoke monitoring method, through visible light and infrared image fusion processing, combined with a mixed Gaussian model and feature matching, the smoke area is determined and the brightness and chromaticity characteristics are extracted to prevent false alarms.
It improves the accuracy of smoke and fire warning, avoids system false alarms, and ensures accurate monitoring during normal operation of the ship.
Smart Images

Figure CN119048949A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of ship fire emergency treatment, and in particular relates to a ship local fire early warning method based on smoke monitoring. Background Art
[0002] For ships sailing far from land for a long time, fire warning is an important emergency response. At present, various types of fire warning systems or devices, including video monitoring systems and smoke alarms, have been widely used in ship fire warning systems. However, for some ships, their equipment or systems will also produce smoke and high temperature during operation, which will be misjudged as fire smoke, causing fire and smoke warning systems to be prone to false alarms, which will not only occupy limited system resources, but also directly affect the smooth progress of various ship operations. Summary of the invention
[0003] The purpose of the present invention is to provide a ship local fire warning method based on smoke monitoring, which can scientifically and reasonably analyze the ship smoke state, determine the smoke state, and then effectively confirm the smoke and fire based on the drawbacks of the ship smoke fire warning system.
[0004] To achieve the above purpose, the present invention adopts the following technical solution.
[0005] A method for early warning of local fire on a ship based on smoke monitoring of the present invention comprises the following steps:
[0006] Step 1: Data acquisition;
[0007] Acquire a local monitoring video image of the ship, wherein the video image includes a visible light image acquired from a visible light camera and an infrared image acquired from an infrared camera;
[0008] Step 2: Image fusion;
[0009] Fusion processing of visible light image and infrared image;
[0010] The fused image can be expressed as Pi,j=k1ai,j+k2bi,j;
[0011] Where k1 and k2 are weight coefficients and k1 ≥ k2, ai,j is a visible light image, and bi,j is an infrared image;
[0012] Step 3: Sports area monitoring;
[0013] Count the video images, obtain the pixel values of the corresponding pixel positions of the image Pi,j, and obtain the pixel value set I = {It,I2...It...I T}, where t is the image time node and T is the sampling period; the probability density of the discrete mixed Gaussian distribution of the pixel value of the current image at this moment is determined based on the mixed Gaussian model; the probability density function of the discrete mixed Gaussian distribution is k is the number of Gaussian distributions, ωi,t is the weight coefficient of the i-th Gaussian distribution at time t; Ii,t is the mean of the i-th Gaussian distribution at time t, is the variance of the i-th Gaussian distribution at time t; according to the probability of the Gaussian distribution of each pixel value in the current image and the matching degree of each Gaussian distribution and the foreground or background attribute to which the corresponding Gaussian distribution belongs, the foreground or background attribute of the pixel value is determined;
[0014] Step 4: feature matching of smoke area: feature matching is performed based on the foreground area that has been determined in the image to screen out the effective smoke area;
[0015] D1. For any determined foreground area S, obtain the area of the foreground area in the continuous image and calculate its area change rate
[0016] Where St refers to the area of the foreground region at time t, It refers to the area of the foreground region at the initial time t0;
[0017] If α S >0, the foreground area is considered to be a smoke area, otherwise it is not;
[0018] D2, segmenting the image in the smoke area and removing the pixel information in the non-smoke area; that is, removing the pixel information in the background area;
[0019] D3. For images that are determined to have smoke areas, extract the corresponding RGB image and convert it into a brightness and chromaticity diagram, extract the brightness and chromaticity components for matching, and the matching function can be expressed as:
[0020]
[0021] Where Pr represents the rth RGB image, Ur represents the brightness value of Pr, and UVr represents the chromaticity value of Pr;
[0022] Y' is the brightness threshold of smoke in the image, and UV' is the positive chromaticity threshold of smoke in the image;
[0023] Step 5: Smoke and fire warning
[0024] The corresponding areas of the above-mentioned smoke image are divided through manual or machine recognition, and corresponding fire warnings are issued according to the changes in the smoke area.
[0025] A further improvement or preferred implementation of the above-mentioned ship local fire early warning method based on smoke monitoring, wherein the step three further comprises:
[0026] C1, pixel interleaving processing, for the obtained image P i,j , a single pixel or a pixel block composed of multiple adjacent pixels is used as a judgment unit, the number of pixels in each judgment unit is kept consistent, and all judgment units are divided into class A or class B, so that any adjacent judgment units belong to different categories;
[0027] As a preferred solution, a multi-pixel judgment unit generally adopts a square pixel block having the same number of pixels in two mutually perpendicular directions;
[0028] C2. Get image P i,j The pixel values of the corresponding pixel positions of all the A-type units in the image are obtained to obtain a pixel value set I in the time series, and the probability density is determined based on the mixed Gaussian model; the foreground or background attribute of the pixel value is determined according to the probability of the Gaussian distribution of each pixel value in the current image and the matching degree of each Gaussian distribution and the foreground or background attribute of the corresponding Gaussian distribution;
[0029] C3. Get image P i,j The attributes of the four A-type cells around all the B-type cells in the image are as follows: if at least two of the four A-type cells around the B-type cell are background pixels, the B-type cell is designated as a background pixel.
[0030] In a further improvement or preferred implementation of the aforementioned smoke monitoring-based ship local fire warning method, the fusion processing of the two pairs of visible light images and infrared images refers to superimposing their pixel values.
[0031] A further improvement or preferred implementation of the aforementioned ship local fire warning method based on smoke monitoring, the step two bi,j uses the grayscale edge image of the infrared image; the grayscale edge image is obtained based on the following method: obtain the infrared image bi,j and convert it into a grayscale image, extract the edge features in the image, and delete the non-edge pixels in the image.
[0032] A further improvement or preferred implementation of the aforementioned smoke monitoring-based ship local fire warning method, the visible light image should contain the brightness and color information of each element in the area to facilitate the extraction of smoke and flame brightness and color information features; the infrared image should contain infrared information in the area.
[0033] A further improvement or preferred implementation of the aforementioned ship local fire warning method based on smoke monitoring, wherein the visible light image is obtained based on a visible light camera in a video monitoring system, and the infrared image is obtained by an infrared camera. It should be ensured that the distance between the camera lenses of the visible light camera and the infrared camera is as small as possible, and the shooting angles are kept as consistent as possible.
[0034] As a further improvement or preferred implementation of the aforementioned ship local fire warning method based on smoke monitoring, the step two also includes a step for realizing spatial alignment and repair of visible light images and infrared images, specifically: based on the difference in shooting angles, the two cameras should be kept consistent through spatial conversion, angle correction, etc. according to their positional relationship and imaging principles; if there are differences in shooting distance and resolution, the resolution of the common area should be unified by cutting and clearing the non-public area.
[0035] Its beneficial effects are:
[0036] The ship local fire warning method based on smoke monitoring of the present invention combines the current mature smoke and fire monitoring system technology, verifies and analyzes the characteristic information of smoke elements in video data, and confirms the smoke elements in the time-frequency image according to the continuous diffusion of fire smoke and color characteristics, so as to prevent the smoke generated during the normal operation or operation of the ship from being misjudged as fire smoke, thereby avoiding system false alarms and improving the accuracy of smoke fire warnings. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the ship local fire early warning method based on smoke monitoring. DETAILED DESCRIPTION
[0038] The present invention is described in detail below in conjunction with specific embodiments.
[0039] The present invention provides a method for early warning of local fire on ships based on smoke monitoring, which is mainly used to provide a means for monitoring and early warning of emergency events such as smoke and fire on ships by using video image data, and to establish a processing plan that can be used for automatic execution.
[0040] like Figure 1 As shown, the ship local fire early warning method based on smoke monitoring mainly includes the following steps:
[0041] Step 1: Data acquisition;
[0042] It mainly refers to obtaining local monitoring video images of the ship, which include visible light images obtained from visible light cameras and infrared images obtained from infrared cameras; the visible light images should contain information such as brightness and color of each element in the area to facilitate the extraction of characteristics based on smoke and flame brightness and color information; the infrared images should contain infrared information in the area;
[0043] In the actual implementation process, visible light images are mainly acquired by various visible light cameras in the existing video monitoring system, and infrared images are acquired by infrared cameras. At the same time, the distance between the camera lenses of the visible light camera and the infrared camera should be kept as small as possible, and the shooting angles should be kept as consistent as possible.
[0044] Step 2: Image fusion;
[0045] The visible light image and the infrared image are fused; this step is used to combine the smoke element information in the visible light image with the smoke element information in the infrared image, and to superimpose their pixel values, so as to enhance the specific features of the smoke area in different images so that they can be better fused and displayed. The fused image can be expressed as Pi,j=k1ai,j+k2bi,j;
[0046] Where k1 and k2 are weight coefficients and k1 ≥ k2, ai,j is a visible light image, and bi,j is an infrared image;
[0047] In particular, for some areas of the ship, the surface coating of the internal structure of the ship or light control can be used to make the smoke area in the video image and the ship background have a clear boundary line. At this time, edge detection can be used to more efficiently and simply determine the area range of the smoke. At this time, bi,j uses the grayscale edge image of the infrared image; the grayscale edge image is obtained based on the following method: obtain the infrared image bi,j and convert it into a grayscale image, extract the edge features in the image, and delete the non-edge pixels in the image.
[0048] In certain cases, due to the installation angle position and camera parameters of the visible light camera and the infrared camera, there are spatial errors in the visible light image and the infrared image. For example, due to the limitation of the installation space, the distance between the two cameras is large, and the distance difference between the same target is too large, which leads to inconsistency between the long and short distances of the same target in the image. In addition, due to different resolutions and shooting angles, the image information obtained by the two cameras does not completely match. Therefore, if necessary, step 2 should include steps for realizing spatial alignment and repair of the visible light image and the infrared image, which specifically refers to:
[0049] If there are differences in shooting angles, they should be kept consistent through space conversion, angle correction, etc. based on the positional relationship of the two cameras and their imaging principles;
[0050] If there are differences in shooting distance and resolution, the resolution of the common areas should be unified by cutting and clearing the non-public areas.
[0051] Step 3: Sports area monitoring;
[0052] Count the video images, obtain the pixel values of the corresponding pixel positions of the image Pi,j, and obtain the pixel value set I = {It,I2...It...I T}, where t is the image time node and T is the sampling period; the probability density of the discrete mixed Gaussian distribution of the pixel value of the current image at this moment is determined based on the mixed Gaussian model; the probability density function of the discrete mixed Gaussian distribution is k is the number of Gaussian distributions, ωi,t is the weight coefficient of the i-th Gaussian distribution at time t; Ii,t is the mean of the i-th Gaussian distribution at time t, is the variance of the i-th Gaussian distribution at time t; according to the probability of the Gaussian distribution of each pixel value in the current image and the matching degree of each Gaussian distribution and the foreground or background attribute to which the corresponding Gaussian distribution belongs, the foreground or background attribute of the pixel value is determined;
[0053] Considering that some areas of the ship, such as the control cabin and the wheelhouse, contain a large number of information signs such as warning lights and marker lights, such information signs often have high contrast in the image and may cause segmentation of the smoke area. The above lights can penetrate the smoke with the naked eye.
[0054] At the same time, further analysis of the fire smoke characteristics shows that it has short-term continuous variability in the region. For the foreground characteristics of smoke, adjacent regions have consistent or similar regional attributes in the images corresponding to two or more consecutive time nodes.
[0055] Therefore, considering the above problems, in the above specific area or when there are more foreground and background cuts, the above step three can be further improved to have better detection efficiency in the above situation and reduce the influence of interference factors. Specifically, it can be divided into the following steps:
[0056] C1, pixel interleaving processing, for the obtained image P i,j , a single pixel or a pixel block composed of multiple adjacent pixels is used as a judgment unit, the number of pixels in each judgment unit is kept consistent, and all judgment units are divided into class A or class B, so that any adjacent judgment units belong to different categories;
[0057] As a preferred solution, a multi-pixel judgment unit generally adopts a square pixel block having the same number of pixels in two mutually perpendicular directions;
[0058] C2. Get image P i,j The pixel values of the corresponding pixel positions of all the A-type units in the image are obtained to obtain a pixel value set I in the time series, and the probability density is determined based on the mixed Gaussian model; the foreground or background attribute of the pixel value is determined according to the probability of the Gaussian distribution of each pixel value in the current image and the matching degree of each Gaussian distribution and the foreground or background attribute of the corresponding Gaussian distribution;
[0059] C3. Get image P i,j The attributes of the four A-type cells around all the B-type cells in the image are as follows: if at least two of the four A-type cells around the B-type cell are background pixels, the B-type cell is designated as a background pixel.
[0060] Step 4: Smoke area feature matching: feature matching is performed based on the foreground area that has been determined in the image to screen out the effective smoke area.
[0061] Although the exhaust from power system, equipment launch, and periodic emission from cooling system generated during normal operation of ships have smoke characteristics, they are generally short-term and periodic, and change from strong to weak, and from large to small until they disappear. For fire smoke, the development speed usually changes from slow to fast, and the area changes from small to large, showing a continuous "production" characteristic. Therefore, by observing the continuous change characteristics of the smoke area in the continuous image, fire smoke and other smoke gases can be effectively distinguished. Specifically, it can be described as step D1:
[0062] D1. For any determined foreground area S, obtain the area of the foreground area in the continuous image and calculate its area change rate
[0063] Where St refers to the area of the foreground region at time t, It refers to the area of the foreground region at the initial time t0;
[0064] If α S >0, the foreground area is considered to be a smoke area, otherwise it is not;
[0065] D2, segment the image in the smoke area and remove the pixel information in the non-smoke area;
[0066] For the background or non-fire smoke area that has been determined as a non-smoke area, clearing its pixel information in step D2 can effectively reduce the subsequent data processing volume and improve system efficiency.
[0067] Further analysis of the fire smoke characteristics shows that the key elements such as the fire source and flame in the smoke area have obvious brightness and chromaticity characteristics. With the help of the human brain's extraction and recognition of color information, the naked eye can easily distinguish the cause of the fire smoke through RGB. Based on this principle, in order to facilitate simulation and recognition in an automated manner, the present invention converts the existing RGB image and directly extracts the corresponding brightness and chromaticity signal data, which can achieve rapid identification and judgment based on the computer system. The specific steps are D3:
[0068] D3. For images that are determined to have smoke areas, extract the corresponding RGB image and convert it into a brightness and chromaticity diagram, extract the brightness and chromaticity components for matching, and the matching function can be expressed as:
[0069]
[0070] Where Pr represents the rth RGB image, Ur represents the brightness value of Pr, and UVr represents the chromaticity value of Pr;
[0071] Y' is the brightness threshold of smoke in the image, and UV' is the positive chromaticity threshold of smoke in the image;
[0072] Step 5: Smoke and fire warning
[0073] The corresponding areas of the above-mentioned smoke image are divided through manual or machine recognition, and corresponding fire warnings are issued according to the changes in the smoke area.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.
Claims
1. A ship local fire early warning method based on smoke monitoring, characterized in that: The steps include: Step 1, data acquisition, specifically refers to: acquiring a local monitoring video image of the ship, the video image including a visible light image acquired from a visible light camera and an infrared image acquired from an infrared camera; Step 2: Image fusion, specifically refers to: fusing the visible light image and the infrared image; the fused image can be expressed as P i,j =k1a i,j +k2b i,j ; where k1 and k2 are weight coefficients and k1 ≥ k2, a i,j is the visible light image, b i,j is an infrared image; Step 3: Motion area monitoring, specifically: counting video images, obtaining image P i,j The pixel value of the corresponding pixel position in the corresponding image is obtained, and the pixel value set I={I t ,I2...I t ...I T }, where t is the image time node and T is the sampling period; the probability density of the discrete mixed Gaussian distribution of the pixel value of the current image at this moment is determined based on the mixed Gaussian model; the probability density function of the discrete mixed Gaussian distribution can be expressed as k is the number of Gaussian distributions, ω i,t is the weight coefficient of the i-th Gaussian distribution at time t; I i,t is the mean of the i-th Gaussian distribution at time t, is the variance of the i-th Gaussian distribution at time t; Determine the foreground or background attribute of the pixel value according to the probability of the Gaussian distribution of each pixel value in the current image and the matching degree of each Gaussian distribution and the foreground or background attribute to which the corresponding Gaussian distribution belongs; Step 4: Smoke area feature matching: feature matching is performed based on the foreground area that has been determined in the image to screen out the effective smoke area. The specific steps include the following: D1. For any determined foreground area S, obtain the area of the foreground area in the continuous image and calculate its area change rate Where S t refers to the area of the foreground region at time t, It refers to the area of the foreground region at the initial time t0; If α S If >0, the foreground area is considered to be a smoke area, otherwise it is not; D2, segment the image in the smoke area and remove the pixel information in the non-smoke area; D3. For images that are determined to have smoke areas, extract the corresponding RGB image and convert it into a brightness and chromaticity diagram, extract the brightness and chromaticity components for matching, and the matching function can be expressed as: Where P r represents the rth RGB image, U r Indicates P r Brightness value, UV r Indicates P r The chromaticity value of Y' is the brightness threshold of smoke in the image, and UV' is the positive chromaticity threshold of smoke in the image; Step 5: Smoke and fire warning The corresponding areas of the above-mentioned smoke image are divided through manual or machine recognition, and corresponding fire warnings are issued according to the changes in the smoke area.
2. The ship local fire early warning method based on smoke monitoring according to claim 1 is characterized in that: The step three also includes: C1, pixel interleaving processing, for the obtained image P i,j , a single pixel or a pixel block composed of multiple adjacent pixels is used as a judgment unit, the number of pixels in each judgment unit is kept consistent, and all judgment units are divided into class A or class B, so that any adjacent judgment units belong to different categories; C2. Get image P i,j The pixel values of the corresponding pixel positions of all the A-type units in the image are obtained to obtain a pixel value set I in the time series, and the probability density is determined based on the mixed Gaussian model; the foreground or background attribute of the pixel value is determined according to the probability of the Gaussian distribution of each pixel value in the current image and the matching degree of each Gaussian distribution and the foreground or background attribute of the corresponding Gaussian distribution; C3. Get image P i,j The attributes of the four A-type cells around all the B-type cells in the image are as follows: if at least two of the four A-type cells around the B-type cell are background pixels, the B-type cell is designated as a background pixel.
3. The ship local fire early warning method based on smoke monitoring according to claim 1 is characterized in that: The fusion processing of the two pairs of visible light images and infrared images refers to superimposing their pixel values.
4. The ship local fire early warning method based on smoke monitoring according to claim 1 is characterized in that: Step 2b i,j Use the grayscale edge image of the infrared image; the grayscale edge image is obtained based on the following method: obtain the infrared image b i,j And convert it into a grayscale image, extract the edge features in the image, and delete the non-edge pixels in the image.
5. The ship local fire early warning method based on smoke monitoring according to claim 1 is characterized in that: The visible light image should contain the brightness and color information of each element in the area so as to realize the extraction based on the brightness and color information features of smoke and flame; The infrared image should contain infrared information within the area.
6. The method for early warning of local fire on a ship based on smoke monitoring according to claim 1, characterized in that: The visible light image is acquired based on the visible light camera in the video monitoring system, and the infrared image is acquired through the infrared camera. It should be ensured that the distance between the camera lenses of the visible light camera and the infrared camera is as small as possible, and the shooting angles are kept as consistent as possible.
7. The method for early warning of local fire on a ship based on smoke monitoring according to claim 1, characterized in that: The step 2 also includes steps for realizing spatial alignment and repair of visible light images and infrared images, which specifically means: if there are differences in shooting angles, they should be kept consistent through spatial conversion, angle correction, etc. according to the positional relationship of the two cameras and their imaging principles; if there are differences in shooting distances and resolutions, the resolution of the common areas should be unified by cutting and clearing the non-public areas.
Citation Information
Patent Citations
Smoke and fire identification method and device, computer equipment and storage medium
CN112560657A
Infrared image smoking detection method and system based on deep learning
CN114202646A
Fire monitoring method and device
CN118212143A
Foreground detector for video analytics system
US20160125245A1
