CN117079167B - Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method - Google Patents

Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method Download PDF

Info

Publication number
CN117079167B
CN117079167B CN202311346513.3A CN202311346513A CN117079167B CN 117079167 B CN117079167 B CN 117079167B CN 202311346513 A CN202311346513 A CN 202311346513A CN 117079167 B CN117079167 B CN 117079167B
Authority
CN
China
Prior art keywords
curve
convex hull
sub
obtaining
end point
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
CN202311346513.3A
Other languages
Chinese (zh)
Other versions
CN117079167A (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.)
Shandong Longyi Aviation Technology Co ltd
Original Assignee
Shandong Longyi Aviation Technology Co ltd
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 Shandong Longyi Aviation Technology Co ltd filed Critical Shandong Longyi Aviation Technology Co ltd
Priority to CN202311346513.3A priority Critical patent/CN117079167B/en
Publication of CN117079167A publication Critical patent/CN117079167A/en
Application granted granted Critical
Publication of CN117079167B publication Critical patent/CN117079167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/12Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions
    • G08B17/125Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions by using a video camera to detect fire or smoke
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/462Salient features, e.g. scale invariant feature transforms [SIFT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/17Terrestrial scenes taken from planes or by drones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/176Urban or other man-made structures
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B31/00Predictive alarm systems characterised by extrapolation or other computation using updated historic data

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Computing Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to the technical field of image processing, in particular to a high-rise fire unmanned aerial vehicle monitoring method based on image processing, which comprises the steps of collecting a high-rise building image, obtaining an edge image of the high-rise building image, and obtaining the steepness of a convex hull of a first curve according to the connecting line slope and the position distance between the left end point, the right end point and an upper convex point of each convex hull curve in the edge image; obtaining the contour steepness of each sub-region according to the convex hull steepness of the first curve; obtaining the contour irregularity of each sub-region according to the contour steepness of each sub-region; obtaining a significant value of each sub-region according to the profile irregularity of each sub-region; and obtaining the smoke area in the high-rise building image according to the salient values of the subareas. Therefore, the smoke detection of the high-rise building is realized, the accuracy of the CA significance detection algorithm on the smoke detection generated by the fire disaster is improved, and the high-rise unmanned aerial vehicle monitoring precision is realized.

Description

Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method
Technical Field
The application relates to the technical field of image processing, in particular to a high-rise fire-fighting unmanned aerial vehicle monitoring method based on image processing.
Background
Along with the rapid innovation and development of unmanned aerial vehicle technology, production cost is continuously reduced, but unmanned aerial vehicle's performance is continuously improved, and the flight is more stable, convenient operation, and fly height is showing and is improving, and data signal processing, transmission also have obvious reinforcing, and modern unmanned aerial vehicle can accomplish the operation on various complex environment high efficiency. When emergency occurs, unmanned aerial vehicle has high advantage, can be easier, swift obtain effective information such as outside stranded personnel, smog, flame in the high-rise building, provide comparatively comprehensive detection visual angle, and high-rise building monitoring normal operational environment is dangerous in addition, and the injury risk is higher, uses unmanned aerial vehicle monitoring to avoid personnel to expose in dangerous environment, reduces potential risk.
When the saliency detection is carried out on the high-rise building collected by the unmanned aerial vehicle, as the traditional CA saliency algorithm is only suitable for the conditions that the color difference between a target area and a background area is large and the background color is single, in the high-rise building image, the background area is complex and the colors are not uniform, and more buildings and facilities with similar smoke colors can exist.
In summary, the invention provides a high-rise fire-fighting unmanned aerial vehicle monitoring method based on image processing, which is characterized in that high-rise building images are collected, contour irregularity construction of each subarea is constructed according to smoke contour features, the salient values of each subarea are calculated according to the contour irregularity, whether smoke generated by fire disaster exists in the high-rise building images is judged according to the salient values of each subarea, and the high-rise fire-fighting unmanned aerial vehicle monitoring method has high detection precision.
Disclosure of Invention
In order to solve the technical problems, the invention provides a high-rise fire unmanned aerial vehicle monitoring method based on image processing, which aims to solve the existing problems.
The invention discloses a high-rise fire unmanned aerial vehicle monitoring method based on image processing, which adopts the following technical scheme:
the embodiment of the invention provides a high-rise fire unmanned aerial vehicle monitoring method based on image processing, which comprises the following steps:
collecting a high-rise building image and obtaining a corresponding edge image; acquiring a convex hull curve in an edge image by a chain code method;
obtaining each suspected smoke convex hull curve in the edge image according to the length of the convex hull curve, and marking the curve as a first curve; acquiring a left end point, a right end point and an upper salient point on a first curve; obtaining a convex hull inclination index of the first curve according to the slopes of the connecting lines among the left end point, the right end point and the upper convex points; obtaining a convex hull sharp index of the first curve according to the position distances among the left end point, the right end point and the upper convex point; obtaining the steepness of the convex hull of the first curve according to the convex hull inclination index and the convex hull sharpness index of the first curve; equally dividing the high-rise building image into a plurality of sub-areas; obtaining the contour steepness of each subarea according to the convex hull steepness of the first curve in each subarea; obtaining the contour irregularity of each sub-region according to the contour steepness of each sub-region;
obtaining a significant value of each sub-region according to the profile irregularity of each sub-region; and obtaining the smoke area in the high-rise building image according to the salient values of the subareas.
Preferably, the obtaining each suspected smoke convex hull curve in the edge image according to the convex hull curve length specifically includes:
presetting a length threshold; taking the number of pixel points on each convex hull curve as the length of each convex hull curve; and taking the convex hull curve with the length larger than the length threshold value as a suspected smoke convex hull curve.
Preferably, the obtaining the left end point, the right end point and the upper bump on the first curve specifically includes:
taking the pixel point with the smallest abscissa on the first curve as a left endpoint; the pixel point with the largest abscissa is taken as the right endpoint; the pixel point with the largest ordinate is taken as the upper salient point.
Preferably, the convex hull inclination index of the first curve is obtained according to the slopes of the connecting lines among the left end point, the right end point and the upper convex point, and the method specifically includes:
recording the slope of the connecting line of the left end point and the right end point as a first slope; marking the slope of the connecting line of the left end point and the upper salient point as a second slope; marking the slope of the connecting line of the right end point and the upper salient point as a third slope; calculating an average value of absolute values of the second slope and the third slope; taking the product of the absolute value of the first slope and the average value as a convex hull inclination index of the first curve.
Preferably, the convex hull sharp index of the first curve is obtained according to the position distances among the left end point, the right end point and the upper convex point, and the method specifically includes:
taking the position distance between the left end point and the right end point as the width of the first curve; taking the position distance between the left end point and the upper salient point as the first height of a first curve; taking the position distance between the right end point and the upper salient point as the second height of the first curve; and calculating a sum value of the first height and the second height, and taking the ratio of the sum value to the width as a convex hull sharp index of the first curve.
Preferably, the steepness of the convex hull of the first curve is: and taking the product of the convex hull inclination index and the convex hull sharpness index of the first curve as the convex hull steepness of the first curve.
Preferably, the obtaining the contour steepness of each subarea according to the convex hull steepness of the first curve in each subarea specifically includes:
for each subarea, calculating the ratio of the number of pixel points on each first curve in the subarea to the number of all pixel points on the corresponding complete convex hull curve; calculating the product of the steepness of the convex hulls of the first curves and the ratio; calculating the sum of the products of all the first curves in the region; the sum is taken as the contour steepness of the sub-region.
Preferably, the obtaining the profile irregularity of each sub-region according to the profile steepness of each sub-region specifically includes: for each subarea, taking the product of the first curve number and the contour steepness in the subarea as the contour irregularity of the subarea.
Preferably, the obtaining the salient value of each sub-area according to the contour irregularity of each sub-area specifically includes:
for the firstThe first region is obtained by CA algorithmAn average value of the degree of difference between each of the sub-regions and each of the other sub-regions; calculate the firstCalculating the product of the contour irregularity of each sub-region and the average value, and calculating the reciprocal of an exponential function taking the product as an index and taking a natural constant as a base; taking the difference between 1 and the calculated result as the firstSignificant values for individual sub-regions.
Preferably, the method obtains the smoke area in the high-rise building image according to the significant value of each subarea, specifically: presetting a significant threshold; taking the subarea with the significance value larger than the significance threshold value as a smoke area; a sub-region with a significance value less than the significance threshold is taken as a non-smoke region.
The invention has at least the following beneficial effects:
according to the invention, the unmanned aerial vehicle is used for collecting the image of the high-rise building, and the smoke possibly occurring in the image is detected by adopting the improved CA significance detection algorithm to detect the smoke, so that the problem that the smoke area in the image cannot be accurately detected due to the fact that the smoke is similar to the background color under the complex background can not be considered by the traditional CA algorithm is solved, the smoke detection accuracy is improved, and the smoke monitoring precision of the high-rise building is higher;
the invention provides a high-rise fire unmanned aerial vehicle monitoring method based on image processing, which is characterized in that the steepness of a convex hull of a first curve is obtained according to the connecting line slope and the position distance between the left and right end points and the upper convex point of each convex hull curve in an edge image of a high-rise building image; obtaining the contour steepness of each sub-region according to the convex hull steepness of the first curve; obtaining the contour irregularity of each sub-region according to the contour steepness of each sub-region; obtaining the salient value of each subarea according to the outline irregularity of each subarea and a CA salient detection algorithm; and (3) obtaining the smoke areas in the high-rise building image according to the salient values of the areas, so that the smoke detection of the high-rise building is finished, and the accuracy of the CA salient detection algorithm on the smoke detection generated by the fire is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a high-rise fire unmanned aerial vehicle monitoring method based on image processing;
FIG. 2 is an exemplary diagram of a high-rise building image;
FIG. 3 is a diagram illustrating the positions of the left and right ends and the upper bump on the first curve.
Detailed Description
In order to further explain the technical means and effects adopted by the invention to achieve the preset aim, the following is a detailed description of a specific implementation, structure, characteristics and effects of the high-rise unmanned aerial vehicle monitoring method based on image processing according to the invention, which is provided by combining the accompanying drawings and the preferred embodiment. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The invention provides a high-rise fire unmanned aerial vehicle monitoring method based on image processing, which is specifically described below with reference to the accompanying drawings.
The embodiment of the invention provides a high-rise fire unmanned aerial vehicle monitoring method based on image processing.
Specifically, the following method for monitoring a high-rise fire unmanned aerial vehicle based on image processing is provided, please refer to fig. 1, and the method comprises the following steps:
and S001, collecting high-rise building images through the unmanned aerial vehicle.
Use unmanned aerial vehicle to shoot high-rise building image in the air, because high-rise air current is unstable, can lead to unmanned aerial vehicle to take photo by plane when the operation of taking photo by plane because of the impact of air current and take place the camera shake, simultaneously accelerate suddenly, the speed reduction also can lead to the organism to take place the shake when unmanned aerial vehicle, and the cloud platform camera on the market has better anti-shake function, consequently this embodiment uses the unmanned aerial vehicle of carrying on the cloud platform camera as image acquisition equipment, shoots urban high-rise building, obtains the RGB image of high-rise building. Converting the RGB image into a gray image, and denoising the gray image by adopting median filtering.
Step S002, obtaining a suspected smoke convex hull curve in the high-rise building image according to the smoke contour characteristics, and constructing contour irregularity of each subarea according to the steepness degree of the convex hull curve.
The internal condition of the high-rise building is complex, and fire inflammables are complex and various, but most of the high-rise building is a chemical product, and more substances such as particles, harmful gases, smoke and the like can be released during combustion. Smoke is one of the most obvious characteristics of a fire, and the size and the critical degree of the fire can be judged by evaluating the information such as the concentration, the diffusion degree and the like of the smoke.
When a fire disaster occurs in a high-rise building, surrounding combustible materials can be rapidly ignited to form a big fire, meanwhile, as most of combustible materials are chemical products, a large amount of black particles, ashes and other visible substances can be generated by burning the combustible materials to form thick black smoke, the smoke can flow and spread along with air, at the moment, the smoke is ignited indoors to generate smoke, and then the smoke is spread outdoors through windows and ventilation openings to form a strong black smoke pillar, and the smoke is always upwardly changed and spread due to temperature and other reasons. The smoke clouds formed by the smoke can be overlapped and spread upwards one by one, the outline curve of the smoke inside is complex, most of the smoke clouds are irregular and symmetrical, the smoke particles are more, the color is heavier, the smoke clouds are more overlapped and present an upward spreading trend, the smoke clouds gradually go upwards and flow layer by layer, most of the outline curve of the smoke inside also has a rising and protruding trend, the outline curve is presented as a plurality of upward convex hulls on the outline curve on an image, and the outline of the convex hulls of the smoke is also irregular, as shown in fig. 2. The non-smoke areas in the image, such as high-rise buildings, windows and roofs, are relatively simple in outline, relatively regular in shape, and relatively symmetrical and regular as a whole, have no upward diffusion trend, and hardly have convex hull curves.
Firstly, carrying out edge detection on a gray level image of a high-rise building image through a Canny operator, and detecting smoke and outline parts of other objects in the image to obtain an edge image of the object in the high-rise building image. The smoke integrally shows an upward diffusion trend, the smoke cloud layer by layer is upward progressive, the smoke contour curve also has an upward and convex trend, so that the contour curve inside the smoke is provided with a plurality of curved upward smoke contour convex hull curves, the smoke contour is mostly a longer curve, and a large number of smoke contour convex hulls possibly exist on one curve, so that each upward convex curve in the edge image is obtained through a chain code method and used as each convex hull curve, and the chain code method is a known technology, and is not repeated in a specific process.
Because the number of shorter convex hull curves in the edge image is too large, in order to reduce the calculation amount, the obtained convex hull curves are processed as follows: setting a length threshold value by taking the number of pixel points on each convex hull curve as the length of each convex hull curveIt should be noted that, the present invention,the value of (2) can be set by the user, and the embodiment is not particularly limited.When the length of the convex hull curve is larger than the length threshold, the convex hull curve is considered longer and is used as a suspected smoke convex hull curve in the edge image; when the length of the convex hull curve is not greater than the length threshold, the convex hull curve is considered to be shorter and is not used as a suspected smoke convex hull curve in the edge image, the convex hull curve is eliminated, and the subsequent processing analysis is not carried out. And marking the suspected smoke convex hull curve in the edge image as a first curve.
Acquiring first curves in the edge image through the processing, respectively marked asWhereinFor the number of the first curves in the edge image, taking the pixel point with the minimum abscissa value on the first curve as the left end point of the first curveThe pixel point with the largest abscissa value is taken as the right end point of the first curveThe pixel point with the largest ordinate value is taken as the upper salient point of the first curveAs shown in fig. 3.
By the first in the edge imageA first curveFor example, curveLength is recorded as. The slope of the connecting line is obtained through the coordinates of the left endpoint and the right endpoint and is recorded as a first slopeThe slope of the connecting line obtained through the coordinates of the left end point and the upper salient point is recorded as a second slopeThe slope of the connecting line obtained through the coordinates of the right end point and the upper salient point is recorded as a third slopeThe method for calculating the slope is a well-known technique and will not be described here. The absolute value of the slope can reflect the inclination degree of the straight line according to mathematical knowledge, and the larger the absolute value of the slope is, the closer the straight line is to the vertical straight line, and the larger the inclination degree is; the smaller the absolute value of the slope, the closer the line is to a horizontal line, and the smaller the degree of tilt. In the first curve of the graph, the first curve,the slope of the connecting line representing the left and right end points is taken as the slope of the whole first curve,the larger the absolute value, the more vertical the whole of the first curve, the greater the inclination of the first curve, whileAndthe slopes of the connection lines of the left and right end points and the upper convex point on the first curve respectively reflect the inclination degree of the left and right end points and the upper convex point on the convex hull curve,andthe larger the absolute value of (c), the more vertical the upper convex hull is to the line of the endpoint, and the greater the inclination of the convex hull curve. Constructing convex hull inclination index of first curve according to slopes of three connecting lines
In the method, in the process of the invention,is the firstConvex hull inclination index of the first curve,is the firstThe slope of the line connecting the left and right end points of the first curve,is the slope of the connection line between the left end point and the upper convex point,is the slope of the connection line between the right end point and the upper convex point. Absolute value of slope between left and right end pointsThe larger the first curve is, the more vertical the whole is, the more inclined the convex hull curve is, and the convex hull inclination index isThe larger the slope of the connection line between the left and right end points on the convex hull curve and the upper convex pointThe larger the end point is, the more vertical the connecting line of the upper convex hull is, the more inclined the convex hull curve is, and the convex hull inclination index isThe larger.
In the first curve, the position distance between the left and right end points is obtained as the width of the first curve in the horizontal directionThe position distance between the left end point and the upper salient point is taken as a first height in the vertical direction of a first curveTaking the position distance between the right end point and the upper salient point as the second height in the vertical direction of the first curve. The closer the distance between the left and right end points is, the farther the distance between the left and right end points and the upper salient point is, the more the whole first curve is protruded and the sharper, thus constructing the convex hull sharpness index of the first curve
In the method, in the process of the invention,is the convex hull sharp index of the first curve,for a first height in the vertical direction of the first curve,a second height in the vertical direction of the first curve,is the width of the first curve in the horizontal direction. Distance between left and right end points of first curveThe smaller the width of the first curve is, and meanwhile, the distance between the left and right end points of the curve and the upper bump isThe larger the tableThe higher the first curve is, the farther the upper salient point is from two end points on the curve, the more the upper salient point is protruded, and the more the first curve is protruded as a whole, the sharper the convex hull sharp indexThe larger.
In the first curve, the slope of the line between the left and right end points and the upper bump reflects the inclination degree of the curve, and the distance between the end points and the upper bump reflects the sharpness degree of the curve. Building the steepness of the convex hull of the first curve
In the method, in the process of the invention,is the steepness of the convex hull of the first curve,is the firstConvex hull inclination index of the first curve,is the convex hull sharp index of the first curve. Convex hull inclination indexThe larger the first curve is, the more vertical the first curve is, the greater the degree of inclination, the steeper the first curve is in inclination angle; convex hull sharp indexThe larger the width of the first curve is, the smaller the height is, the higher the sharpness of the convex hull is, and the sharpness index of the convex hull isThe larger the first curveThe steeper in height; in conclusion, the method comprises the steps of,the larger the convex hull the greater the steepness of the convex hull, the more likely the first curve is a convex hull of the smoke profile.
The environment in the high-rise building image is complex, the environment has the background of other high-rise buildings and the like, the background color is inconsistent and the difference is large, the image shot by the unmanned aerial vehicle is not a fixed scene, so that the shot image has the condition that the color and gray value of the background part and the target smoke part are similar, and if the threshold segmentation is simply adopted, the problem that the smoke cannot be distinguished from the background similar to the color is solved. In order to better detect high-rise smoke, the embodiment constructs the difference degree between smoke and background according to the characteristics of the smoke, and combines a CA visual saliency detection algorithm to detect a smoke area, specifically:
in high-rise building images, smoke is typically spread upward, forming a layer of well-contoured clouds that overlap one another. The clouds are also integrally upwardly diffused, so that a large number of the cloud profile curves have more convex hulls, and the non-smoke areas of the images, usually high-rise buildings, windows and roofs, are relatively regular, have no upward diffusion trend, and have almost no convex hull curves.
At this time, each suspected smoke convex hull curve in the high-rise building image has a convex hull steepness index, and the level of the CA saliency algorithm is regional, so that the image is divided intoThe number of sub-areas is equal to the number of sub-areas,the value of (2) can be set by the operator, and the present embodiment is not particularly limited. Each subarea is respectively marked as. Each region may have one or more convex hull curves, since the dividing manner of the region and the obtaining manner of the convex hull curves are not the sameAlso, the convex hull curve in the region may be an incomplete convex hull curve. Counting the number of the first curves in each regionObtaining the number of pixel points on each first curveAnd obtaining the number of pixel points on the complete convex hull curve corresponding to each first curve. If the first image of high-rise buildingWithin each area, shareA first curve, wherein the first curve is in the regionThe first curves shareThe number of all the pixel points on the complete convex hull curve corresponding to the first curve isConstruction of the firstAbruptness of profile of individual sub-regions
In the method, in the process of the invention,is the firstThe steepness of the profile of the individual sub-regions,is the firstThe number of first curves in the individual zones,is the firstWithin the individual partitionThe number of pixels on the first curve,is the firstThe first curves correspond to the number of all pixel points on the complete convex hull curve,is the firstThe steepness of the convex hull of the complete convex hull curve corresponding to the first curve. The first curve in the region may be incomplete, with some incomplete first curve being proportional to the complete first curveThe larger the incomplete first curve should be given a larger steepness of the convex hull, so in the formula, the incomplete convex hull curve is the proportion of the complete convex hull, i.eAs an influencing factor, the larger the duty ratio is, and at the same time, the steepness of the convex hull of the curveThe larger the split zone profileSteepness ofThe larger.
The more convex hull curves are provided in a region, the more complex the profile of each curve is, and the steeper the curve is, which means that the more irregular and symmetrical the profile in the region is, the higher the profile irregularity of the region is, and the more likely the region is a smoke region compared with other regions. Thus using the formula, a zoned profile irregularity is constructed
In the method, in the process of the invention,is the firstThe profile irregularities of the individual sub-areas,is the firstThe number of first curves in a partition,is the firstThe steepness of the profile of the individual sub-regions. The more the first curves, the greater the steepness of each convex hull curve in the region, and the steepness of the whole regionThe larger the convex hull curve, the more irregular and asymmetric the convex hull curve, the more irregular the contour of the subarea, and the irregular the contour of the subareaThe larger. The regional profile irregularityThe larger the relation between the contours of the subareas is, the more complex the relation is, the more irregular the contour of the convex hull curve in the subareas is, the more likely the subareas are smoke, and the higher the saliency of the subareas is when the smoke saliency of the image is detected.
And step S003, carrying out smoke detection on the high-rise building image according to the contour irregularity of each subarea and the CA saliency detection algorithm.
Because the traditional CA saliency algorithm is only suitable for the situations that the color difference between a target area and a background area is large and the background color is single, in the scene of the embodiment, the background area of an image is complex, the colors are not uniform, and more buildings and facilities with similar smoke colors exist. If the traditional CA algorithm is adopted, the problem that smoke and a background building cannot be distinguished exists, namely the error of the background building can be obviously enhanced, and the smoke and non-smoke areas cannot be distinguished accurately.
Therefore, according to the characteristic that the image smoke has upward diffusion trend, the smoke outline has a plurality of convex hulls, the convex hull outline is different from the background building outline, and the outline irregularity of each subarea is used for constructing the salient value of each subarea
In the method, in the process of the invention,is the firstThe significance of the individual sub-regions,is high enough toThe number of sub-areas in the image of the layer building,respectively the firstFirst, secondThe number of sub-areas is equal to the number of sub-areas,for the degree of difference between the two sub-regions acquired by the original CA algorithm,is the firstThe degree of irregularity of the profile of the individual sub-areas,to take the following measuresAn exponential function of the base. When dividing into areasThe greater the degree of irregularity of the profile, the more convex hulls the sub-region has, the more complex and irregular the profile within the sub-region, the more likely the sub-region is a smoke region, the more significant the sub-region needs to be enhanced, and the greater the significance of the sub-region.
After the CA algorithm significance detection, the significance value of each subarea is obtained. Setting a significance thresholdIt should be noted that, the present invention,the value setting implementation of (a) can be set by the user, and the embodiment willThe value of (2) is set to 0.7. Judging the significance value of each sub-area, if the significance value of each sub-area is larger than a significance threshold value, indicating that smoke generated by a fire exists in the high-rise building image, wherein the sub-area with the significance value larger than the significance threshold value is a smoke area, and sending out an alarm through an alarm at the moment to inform a firefighter of extinguishing the fire; if the significance value of each sub-area is smaller than the significance threshold value, the fact that fire disasters do not exist in the high-rise building image is indicated that each sub-area is a non-smoke area, and the unmanned aerial vehicle continues to patrol other areas and does not give an alarm.
In summary, the embodiment of the invention collects the image of the high-rise building through the unmanned aerial vehicle, detects the possible smoke in the image, and detects the smoke by adopting the improved CA significance detection algorithm, thereby avoiding the problem that the traditional CA algorithm cannot consider the problem that the smoke area in the image cannot be accurately detected due to the fact that the smoke is similar to the background color under the complex background, improving the accuracy of the smoke detection and having higher accuracy of monitoring the smoke of the high-rise building;
the embodiment provides a high-rise fire-fighting unmanned aerial vehicle monitoring method based on image processing, which is used for obtaining the steepness of convex hulls of a first curve according to the connecting line slope and the position distance between the left and right end points and the upper convex points of each convex hull curve in an edge image of a high-rise building image; obtaining the contour steepness of each sub-region according to the convex hull steepness of the first curve; obtaining the contour irregularity of each sub-region according to the contour steepness of each sub-region; obtaining the salient value of each subarea according to the outline irregularity of each subarea and a CA salient detection algorithm; and (3) obtaining the smoke areas in the high-rise building image according to the salient values of the areas, so that the smoke detection of the high-rise building is finished, and the accuracy of the CA salient detection algorithm on the smoke detection generated by the fire is improved.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and the same or similar parts of each embodiment are referred to each other, and each embodiment mainly describes differences from other embodiments.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; the technical solutions described in the foregoing embodiments are modified or some of the technical features are replaced equivalently, so that the essence of the corresponding technical solutions does not deviate from the scope of the technical solutions of the embodiments of the present application, and all the technical solutions are included in the protection scope of the present application.

Claims (5)

1. The method for monitoring the high-rise fire unmanned aerial vehicle based on image processing is characterized by comprising the following steps of:
collecting a high-rise building image and obtaining a corresponding edge image; acquiring a convex hull curve in an edge image by a chain code method;
obtaining each suspected smoke convex hull curve in the edge image according to the length of the convex hull curve, and marking the curve as a first curve; acquiring a left end point, a right end point and an upper salient point on a first curve; obtaining a convex hull inclination index of the first curve according to the slopes of the connecting lines among the left end point, the right end point and the upper convex points; obtaining a convex hull sharp index of the first curve according to the position distances among the left end point, the right end point and the upper convex point; obtaining the steepness of the convex hull of the first curve according to the convex hull inclination index and the convex hull sharpness index of the first curve; equally dividing the high-rise building image into a plurality of sub-areas; obtaining the contour steepness of each subarea according to the convex hull steepness of the first curve in each subarea; obtaining the contour irregularity of each sub-region according to the contour steepness of each sub-region;
obtaining a significant value of each sub-region according to the profile irregularity of each sub-region; obtaining a smoke area in the high-rise building image according to the salient values of the subareas;
the convex hull sharp index of the first curve is obtained according to the position distances among the left end point, the right end point and the upper convex point, and the method specifically comprises the following steps: taking the position distance between the left end point and the right end point as the width of the first curve; taking the position distance between the left end point and the upper salient point as the first height of a first curve; taking the position distance between the right end point and the upper salient point as the second height of the first curve; calculating the sum value of the first height and the second height, and taking the ratio of the sum value to the width as a convex hull sharp index of a first curve;
the steepness of the convex hull of the first curve is as follows: taking the product of the convex hull inclination index and the convex hull sharpness index of the first curve as the convex hull steepness of the first curve;
the method for obtaining the contour steepness of each subarea according to the convex hull steepness of the first curve in each subarea specifically comprises the following steps: for each subarea, calculating the ratio of the number of pixel points on each first curve in the subarea to the number of all pixel points on the corresponding complete convex hull curve; calculating the product of the steepness of the convex hulls of the first curves and the ratio; calculating the sum of the products of all the first curves in the region; taking the sum value as the abruptness of the outline of the sub-region;
the step of obtaining the profile irregularity of each sub-region according to the profile steepness of each sub-region specifically comprises the following steps: for each subarea, taking the product of the number of the first curves in the subarea and the steepness of the contour as the contour irregularity of the subarea;
the obtaining the salient value of each subarea according to the outline irregularity of each subarea specifically comprises the following steps: for the firstIndividual sub-regions, obtain +.>An average value of the degree of difference between each of the sub-regions and each of the other sub-regions; calculate->The product of the contour irregularity of each sub-region and the average value is calculated to be natural constantA calculation result of the inverse of an exponential function having the number as a base and the product as an exponent; taking the difference between 1 and the calculation result as +.>Significant values for individual sub-regions.
2. The method for monitoring the high-rise unmanned aerial vehicle based on image processing according to claim 1, wherein the method for obtaining each suspected smoke convex hull curve in the edge image according to the convex hull curve length is specifically as follows:
presetting a length threshold; taking the number of pixel points on each convex hull curve as the length of each convex hull curve; and taking the convex hull curve with the length larger than the length threshold value as a suspected smoke convex hull curve.
3. The method for monitoring the high-rise unmanned aerial vehicle based on image processing according to claim 1, wherein the steps of obtaining the left end point, the right end point and the upper salient point on the first curve are as follows:
taking the pixel point with the smallest abscissa on the first curve as a left endpoint; the pixel point with the largest abscissa is taken as the right endpoint; the pixel point with the largest ordinate is taken as the upper salient point.
4. The method for monitoring the high-rise unmanned aerial vehicle for fire control based on image processing according to claim 1, wherein the convex hull inclination index of the first curve is obtained according to the slopes of the connecting lines among the left end point, the right end point and the upper convex point, specifically comprising:
recording the slope of the connecting line of the left end point and the right end point as a first slope; marking the slope of the connecting line of the left end point and the upper salient point as a second slope; marking the slope of the connecting line of the right end point and the upper salient point as a third slope; calculating an average value of absolute values of the second slope and the third slope; taking the product of the absolute value of the first slope and the average value as a convex hull inclination index of the first curve.
5. The method for monitoring the high-rise unmanned aerial vehicle based on image processing according to claim 1, wherein the method for obtaining the smoke area in the high-rise building image according to the significant value of each sub-area is specifically as follows: presetting a significant threshold; taking the subarea with the significance value larger than the significance threshold value as a smoke area; a sub-region with a significance value less than the significance threshold is taken as a non-smoke region.
CN202311346513.3A 2023-10-18 2023-10-18 Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method Active CN117079167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311346513.3A CN117079167B (en) 2023-10-18 2023-10-18 Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311346513.3A CN117079167B (en) 2023-10-18 2023-10-18 Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method

Publications (2)

Publication Number Publication Date
CN117079167A CN117079167A (en) 2023-11-17
CN117079167B true CN117079167B (en) 2024-01-09

Family

ID=88715749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311346513.3A Active CN117079167B (en) 2023-10-18 2023-10-18 Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method

Country Status (1)

Country Link
CN (1) CN117079167B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118053531B (en) * 2024-04-16 2024-06-14 大连杰伍科技有限公司 Intelligent management method and system for clinical data of medical examination

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200113391A (en) * 2019-03-25 2020-10-07 (주)엠시오 Autonomous driving drone for fire extinguish and method for fire suppression using the same
CN113989516A (en) * 2021-10-19 2022-01-28 北京牧之科技有限公司 Smoke dynamic identification method and related device
CN115797356A (en) * 2023-02-09 2023-03-14 山东第一医科大学附属省立医院(山东省立医院) Nuclear magnetic resonance tumor region extraction method
CN115937160A (en) * 2022-12-16 2023-04-07 西北核技术研究所 Explosion fireball contour detection method based on convex hull algorithm
CN116229359A (en) * 2023-02-13 2023-06-06 杭电(丽水)研究院有限公司 Smoke identification method based on improved classical optical flow method model
CN116259005A (en) * 2023-02-04 2023-06-13 国网浙江省电力有限公司嘉兴供电公司 Intelligent monitoring system based on roof photovoltaic fire control
CN116862916A (en) * 2023-09-05 2023-10-10 常熟理工学院 Production detection method and system based on image processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11960009B2 (en) * 2020-12-30 2024-04-16 Zoox, Inc. Object contour determination

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200113391A (en) * 2019-03-25 2020-10-07 (주)엠시오 Autonomous driving drone for fire extinguish and method for fire suppression using the same
CN113989516A (en) * 2021-10-19 2022-01-28 北京牧之科技有限公司 Smoke dynamic identification method and related device
CN115937160A (en) * 2022-12-16 2023-04-07 西北核技术研究所 Explosion fireball contour detection method based on convex hull algorithm
CN116259005A (en) * 2023-02-04 2023-06-13 国网浙江省电力有限公司嘉兴供电公司 Intelligent monitoring system based on roof photovoltaic fire control
CN115797356A (en) * 2023-02-09 2023-03-14 山东第一医科大学附属省立医院(山东省立医院) Nuclear magnetic resonance tumor region extraction method
CN116229359A (en) * 2023-02-13 2023-06-06 杭电(丽水)研究院有限公司 Smoke identification method based on improved classical optical flow method model
CN116862916A (en) * 2023-09-05 2023-10-10 常熟理工学院 Production detection method and system based on image processing

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Fire Smoke Detection Based on Contextual Object Detection";Xuan Zhaa et.al.;《2018 IEEE 3rd International Conference on Image, Vision and Computing (ICIVC)》;全文 *
"真实场景下黑烟车烟雾检测算法的研究";时佳琦;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;第2023年卷(第02期);第C034-1607页 *
"面向自然场景的火焰烟雾视觉检测方法研究";李小坤;《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》;第2022年卷(第03期);第B026-38页 *
视频烟雾检测研究进展;史劲亭;袁非牛;夏雪;;中国图象图形学报;第23卷(第03期);第303-319页 *

Also Published As

Publication number Publication date
CN117079167A (en) 2023-11-17

Similar Documents

Publication Publication Date Title
CN117079167B (en) Image processing-based high-rise fire-fighting unmanned aerial vehicle monitoring method
US9047515B2 (en) Method and system for wildfire detection using a visible range camera
KR100659781B1 (en) Smoke Detecting Method and System using CCD Image
US7609856B2 (en) Smoke detection method based on video processing
CN107437318B (en) Visible light intelligent recognition algorithm
US8159539B2 (en) Smoke detecting method and system
CN106991418B (en) Winged insect detection method and device and terminal
CN109360370B (en) Robot-based smoke and fire detection method
CN114120171A (en) Fire smoke detection method, device and equipment based on video frame and storage medium
CN111461013B (en) Unmanned aerial vehicle-based real-time fire scene situation awareness method
CN115115595B (en) Real-time calibration method of airborne laser radar and infrared camera for forest fire monitoring
CN106815567B (en) Flame detection method and device based on video
CN111144465A (en) Multi-scene-oriented smoke detection algorithm and electronic equipment applying same
WO2022091577A1 (en) Information processing device and information processing method
CN112949536B (en) Fire alarm method based on cloud platform
WO2021146970A1 (en) Semantic segmentation-based distance measurement method and apparatus, device and system
CN112668389A (en) High-altitude parabolic target detection method, device, system and storage medium
KR101681282B1 (en) Apparatus and method for object detection
JP7436986B2 (en) fire extinguishing system
CN113283332A (en) Fire-fighting robot flame identification method, equipment and storage medium
JP3690695B2 (en) Fire detection equipment
CN111614903B (en) Method for removing faculae in image shooting
CN110427844B (en) Behavior anomaly video detection method based on convolutional neural network
CN114187231A (en) Viewing angle calculation method, terminal device, and storage medium
JP2024094216A (en) Visible smoke detection device, visible smoke detection method, visible smoke detection system and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant