Abnormal point marking method and device, equipment and medium
By configuring a dual-light pod module and a laser mapping module on a drone to collect infrared and visible light images and laser point cloud data, the accurate detection of abnormal points and the establishment of a three-dimensional model during embankment inspections are achieved, solving the problems in the existing technology. The problem of low efficiency has been improved by improving the efficiency of drone inspections.
Patent Information
- Application Number
- CN202410562850.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult for existing drones to accurately detect abnormal points during embankment inspections at night, in heavy fog, and other environments, and they require multiple flights to change loads, resulting in low work efficiency and the inability to analyze and obtain the inspection site conditions in a timely manner.
The UAV is equipped with a dual-light pod module and a laser mapping module to collect infrared images, first visible light images and laser point cloud data, and uses an abnormal point marking device to mark abnormal points in the real-life 3D model to achieve abnormal point detection and 3D modeling. Establishment to improve inspection efficiency.
A drone inspection can simultaneously detect abnormal points and establish a real-life three-dimensional model, which improves inspection efficiency, reduces the number of inspections, and achieves accurate and intuitive marking of abnormal points by comprehensively utilizing multi-source data.
Smart Images

Figure CN118570669A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of drone technology, and in particular to an abnormal point marking method, device, equipment and medium. Background Art
[0002] Unmanned aircraft, also known as drones, are unmanned aircraft that are controlled by radio remote control equipment and self-contained program control devices. In recent years, drone sensor technology has developed rapidly, and drones have been widely used in areas such as inspection.
[0003] In the related art, levees can be inspected by drones, but the drones need to be inspected multiple times, and it is difficult to accurately and intuitively mark abnormal points. Summary of the invention
[0004] In order to solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides an outlier marking method, device, equipment and medium.
[0005] The present disclosure provides an outlier marking method, the method comprising:
[0006] Acquire an infrared image and a first visible light image collected by a dual-light pod module of the drone during the inspection process, as well as a second visible light image and laser point cloud data collected by a laser mapping module of the drone;
[0007] If an abnormal point is detected in the infrared image, determining a detection position of the abnormal point in the infrared image;
[0008] The detected position is converted into a marking position in a real-scene three-dimensional model, and the abnormal point is marked in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed according to the first visible light image, the second visible light image, and the laser point cloud data.
[0009] The present disclosure also provides an abnormal point marking device, the device comprising:
[0010] An acquisition module, used to acquire the infrared image and the first visible light image collected by the dual-light pod module of the drone during the inspection process, as well as the second visible light image and laser point cloud data collected by the laser mapping module of the drone;
[0011] a detection module, configured to determine a detection position of an abnormal point in the infrared image if an abnormal point is detected in the infrared image;
[0012] A marking module is used to convert the detection position into a marking position in a real-scene three-dimensional model, and mark the abnormal point in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed based on the first visible light image, the second visible light image, and the laser point cloud data.
[0013] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the outlier marking method provided in the embodiment of the present disclosure.
[0014] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the outlier marking method provided by the embodiment of the present disclosure.
[0015] The technical solution provided by the embodiments of the present disclosure has the following advantages over the prior art: the abnormal point marking solution provided in the embodiments of the present disclosure obtains the infrared image and the first visible light image collected by the dual-light pod module of the drone during the inspection process, as well as the second visible light image and laser point cloud data collected by the laser mapping module of the drone; if an abnormal point is detected in the infrared image, the detection position of the abnormal point in the infrared image is determined; the detection position is converted into a marking position in the real-scene three-dimensional model, and the abnormal point is marked in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed based on the first visible light image, the second visible light image, and the laser point cloud data. By adopting the above technical solution, the UAV is equipped with a dual-light pod module and a laser mapping module. A single inspection of the UAV can simultaneously realize two tasks: detecting abnormal points and establishing a real-scene three-dimensional model, thereby improving the inspection efficiency of the UAV and reducing the number of inspections of the UAV. The real-scene three-dimensional model is established based on the first visible light image, the second visible light image, laser point cloud data, etc., and comprehensively utilizes the data collected by the dual-light pod module and the laser mapping module, so that the abnormal points determined based on the infrared image of the dual-light pod module can be accurately and intuitively marked in the real-scene three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] Figure 1 A flowchart of an abnormal point marking method provided in an embodiment of the present disclosure;
[0019] Figure 2 A schematic diagram of a drone provided in the disclosed embodiment;
[0020] Figure 3 A schematic diagram of a drone fuselage provided by an embodiment of the present disclosure;
[0021] Figure 4 A schematic diagram of a laser mapping module provided in an embodiment of the present disclosure;
[0022] Figure 5 A schematic diagram of a dual-light pod module provided in an embodiment of the present disclosure;
[0023] Figure 6 A flowchart of another outlier marking method provided by an embodiment of the present disclosure;
[0024] Figure 7 A schematic diagram of the interaction between a drone and a control platform provided in an embodiment of the present disclosure;
[0025] Figure 8 A schematic diagram of the structure of an abnormal point marking device provided by an embodiment of the present disclosure;
[0026] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0028] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0029] Unmanned aircraft, also known as drones, are unmanned aircraft that are controlled by radio remote control equipment and self-contained program control devices. They involve sensor technology, communication technology, information processing technology, intelligent control technology, and aviation propulsion technology, and are high-tech products of the information age.
[0030] In recent years, drone sensor technology has developed rapidly, and drones have been widely used in inspection and other fields. When drones perform specific flight missions, they need to carry sensors for specific tasks. By carrying different sensors, drones have been widely used in various fields such as topographic and geological surveys, power and oil and gas inspections, embankment and slope inspections, agricultural and forestry plant protection, and security monitoring.
[0031] Due to the limitations of drone payload and onboard computing resources, existing drones are mostly equipped with a single sensor for flight missions and external perception, and mainly use visible light sensors with low power consumption, light weight and low cost. However, visible light sensors themselves have rigid requirements on target distance and light intensity, and are difficult to work in environments such as night and foggy weather. There is a window of operation, and their application scenarios are greatly limited.
[0032] In related technologies, levees can be inspected by drones. If drones are equipped with visible light sensors for inspection tasks, it is difficult to carry out flight operations in night environments with weak light. When it is necessary to collect infrared images and laser point cloud data, it is necessary to change the load and fly multiple times during the flight operation, which is inefficient. At the same time, it is difficult to collect and monitor sensor data in real time, and it is impossible to analyze and obtain the inspection site situation in a timely manner.
[0033] In order to solve the above problems, the present disclosure provides an outlier marking method, which is introduced below in conjunction with a specific embodiment.
[0034] Figure 1 The present invention provides a flowchart of an outlier marking method provided by an embodiment of the present invention. The method can be performed by an outlier marking device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:
[0035] Step 101, obtaining an infrared image and a first visible light image collected by a dual-light pod module of the drone during an inspection process, as well as a second visible light image and laser point cloud data collected by a laser mapping module of the drone.
[0036] The UAV may be a UAV with a load weight that satisfies the requirement of carrying both the dual-light pod module and the laser mapping module. This embodiment does not limit the type and model of the UAV. Figure 2 A schematic diagram of a drone provided by an embodiment of the present disclosure, such as Figure 2 As shown, the UAV includes a UAV body 1, a dual-light pod module 2, and a laser mapping module 3.
[0037] The drone fuselage 1 includes a power system, a flight control system, and a communication link system. The drone fuselage can be the main skeleton of the drone, and other components can be installed according to the layout of the drone fuselage, and then all the components are combined together to form a complete drone fuselage. The power system may include a power module and a power output system. The power module can provide energy for the drive of the motor, and the motor can drive the blades to rotate and provide flight power for the drone. The flight control system can receive instructions from the drone control platform and send the instructions to each control module of the drone, and then receive feedback information from each control module, and transmit the feedback information back to the drone control platform. The drone can fly normally through the information interaction between the drone control platform and the control module. The communication link system may include at least one of a mobile communication module and a satellite communication module. By performing electromagnetic compatibility design, the modules in the communication link system can work in an integrated manner at the same time. When the signal of the mobile communication module is interrupted, the satellite communication module is used to perform message communication to achieve emergency communication. The satellite communication module can support multi-card rotation to increase the update frequency.
[0038] Figure 3 A schematic diagram of a drone fuselage provided by an embodiment of the present disclosure, such as Figure 3 As shown, a plurality of support rods 11 are evenly and fixedly connected to the top of the side wall of the drone body 1, a drive motor 12 is installed inside the other end of the support rod 11, and a propeller 13 is fixedly connected to the top of the drive motor 12. The drone control platform sends a command to the flight control system and transmits the command to the corresponding control module, and the drive motor 12 starts to work and drives the propeller 13 to rotate, so that the drone can fly. The bottom of the drone body 1 is connected to a mounting plate 14, which is used to fix and connect a multi-source sensor system such as a dual-light pod module and a laser mapping module. The bottom of the two side walls of the drone body 1 are respectively fixedly connected to two sets of support legs 15.
[0039] The laser mapping module may be a functional module for implementing laser mapping. Figure 4 A schematic diagram of a laser mapping module provided in an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the laser mapping module may include a laser radar 21 and a second visible light camera 22. The laser radar 21 may be installed in the laser mapping module 2 near the dual light pod module, and the visible light camera 22 may be installed in the laser mapping module 2 far from the dual light pod module.
[0040] The laser radar of the laser mapping module can collect laser point cloud data, which can be used to characterize the distance between the drone and one or more ground objects such as the ground surface, dam, and house below the drone. The second visible light camera can collect a second visible light image, which can be a visual image of the ground object below the drone collected by the second visible light camera. The laser point cloud data and the second visible light image can have the same or similar viewing angles.
[0041] The laser surveying and mapping module may also include one or more of a second inertial combined navigation unit, a second trajectory time synchronization module, a second storage and transmission unit, and a second structural member. The second inertial combined navigation unit, the second trajectory time synchronization module, and the second storage and transmission unit may be installed inside the laser surveying and mapping module 2. Among them, the second inertial combined navigation unit is used to measure the real-time position and attitude of the laser surveying and mapping module and generate second real trajectory data. The second trajectory time synchronization module is used to synchronize and output the laser point cloud data, the second visible light data, and the second real trajectory data. The second storage and transmission unit can realize one or more functions of data storage, data link load adjustment, and data transmission logic adjustment.
[0042] Figure 5 A schematic diagram of a dual-light pod module provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the dual-light pod module includes a thermal imaging camera 31 and a first visible light camera 32. The dual-light pod module may include a two-axis stabilization platform and a pod sphere, the pod sphere is connected to the UAV fuselage through the two-axis stabilization platform, the pod sphere can rotate 360°, and when the UAV is flying, the pod sphere can be adjusted to a target angle and then locked, so that the pod sphere cannot rotate.
[0043] The thermal imaging camera 31 can be used to capture infrared images, which can be images formed by infrared rays reflected by or emitted by an object. The first visible light camera can be used to capture a first visible light image, which can be a visual image of the ground below the drone captured by the first visible light camera. The first visible light camera can have an optical zoom function, and this embodiment does not limit the optical zoom multiple. Figure 3 As shown, the dual-light pod module can be fixedly connected to the front side of the mounting plate 14 , and the mounting bayonet of the dual-light pod module is connected to the mounting plate 14 .
[0044] The dual-light pod module may also include one or more of a first inertial combined navigation unit, a first trajectory time synchronization module, a first storage and transmission module, and a first structural member. The first inertial combined navigation unit, the first trajectory time synchronization module, and the first storage and transmission unit may be installed inside the dual-light pod module. The first inertial combined navigation unit is used to measure the real-time position and attitude of the dual-light pod module and generate first real trajectory attitude data. The first trajectory time synchronization module is used to time-align the infrared image, the first visible light image, and the first real trajectory attitude data and re-encode them into a data packet. The first storage and transmission module is used to implement one or more functions of data storage, data link load adjustment, and data transmission logic adjustment. The signal output end of each multi-source sensor system can communicate with the data receiving end of the communication link system.
[0045] In the disclosed embodiment, the drone can inspect dikes, rivers and other areas along the inspection route. During the drone inspection, the dual-light pod module of the drone collects infrared images and first visible light images, and the laser mapping module of the drone collects second visible light images and laser point cloud data. In addition, the drone transmits the infrared image, the first visible light image, the second visible light image, and the laser point cloud data to the abnormal point marking device through the communication link system. The abnormal point marking device receives the infrared image, the first visible light image, the second visible light image, and the laser point count data.
[0046] In some embodiments of the present disclosure, the dual-light pod module and the laser mapping module are installed adjacent to each other at the bottom of the drone. Figure 3 As shown, the dual-light pod module and the laser mapping module can be installed adjacent to each other on the mounting plate 14, and the viewfinder lenses of the dual-light pod module and the laser mapping module can both face away from the drone body and downward.
[0047] Step 102: If an abnormal point is detected in the infrared image, the detection position of the abnormal point in the infrared image is determined.
[0048] Among them, the abnormal point can be a location that characterizes the existence of an abnormal situation. This embodiment does not limit the type of the abnormal point, and the type of the abnormal point can be associated with the inspection area of the drone. For example, if the inspection area includes a dike, the type of the abnormal point can include a piping point; if the inspection area includes a river, the type of the abnormal point can include a sewage discharge point. Among them, the piping point can be a location where a piping burst is identified. Piping burst can be a phenomenon in which fine soil particles form pores along skeleton particles under the action of seepage, and the flow rate of water in the pores increases, causing fine soil particles to be washed away. The sewage discharge point can be a location where illegal discharge or sewage leakage occurs. This embodiment does not limit the number of the abnormal points. For example, the number of the abnormal points can be multiple.
[0049] The detection position may represent the position of the pixel corresponding to the abnormal point in the infrared image. The detection position may be a position coordinate, or the detection position may be a position range composed of multiple position coordinates.
[0050] In the disclosed embodiment, since the water leaking from the piping point comes from underground, and the water discharged from the sewage point comes from the factory, etc., there is a temperature difference between the water discharged from the abnormal point and the surrounding environment. If there are abnormal points such as piping points and sewage points, there will be a sudden change in temperature. Infrared images can represent temperature distribution, so the abnormal point marking device can perform color detection and analysis on the infrared image to determine whether there is an abnormal point in the infrared image. If an abnormal point is detected in the infrared image, the abnormal point is further located to obtain the detection position of the abnormal point in the infrared image.
[0051] In some embodiments of the present disclosure, the abnormal point includes a piping point. If the abnormal point is detected in the infrared image, determining the detection position of the abnormal point in the infrared image includes:
[0052] The infrared image is divided into multiple sub-images. For each sub-image, the color change gradient between the sub-image and the adjacent image is calculated. If the color change gradient is greater than a preset gradient threshold, the detection position is determined according to the position of the sub-image.
[0053] The sub-image may be a partial image of the infrared image. The present embodiment does not limit the size of the sub-image, and the size may be set according to user requirements. A plurality of sub-images may form a complete infrared image. An adjacent image may be another sub-image adjacent to the current sub-image in the infrared image, and the number of the adjacent images may be multiple. The color change gradient may be a parameter characterizing the color change between sub-images. The preset gradient threshold may be a preset maximum value of the color change gradient when there is no piping point.
[0054] In this embodiment, the abnormal point marking device can divide the infrared image into multiple sub-images according to the preset number of segmentation rows and the number of segmentation columns. The abnormal point marking device can use each sub-image as the current sub-image, and determine multiple sub-images adjacent to the current sub-image as multiple adjacent images. The color change gradient of the current sub-image and each adjacent image is calculated to obtain multiple color change gradients. If at least one color change gradient among the multiple color change gradients is greater than a preset gradient threshold, the center position of the current sub-image is determined as the detection position.
[0055] Step 103, converting the detected position into a marking position in the real-scene three-dimensional model, and marking the abnormal point in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed according to the first visible light image, the second visible light image, and the laser point cloud data.
[0056] The marked position can be used to represent the position of the abnormal point in the real-life 3D model, and the marked position can be a latitude and longitude position. The real-life 3D model can be a 3D model established for all or part of the inspection area, and the real-life 3D model can be used to represent the real situation of all or part of the inspection area.
[0057] In this embodiment, the abnormal point marking device can construct a real-life three-dimensional model of all or part of the inspected area based on the first visible light image, the second visible light image, and the laser point cloud data, and perform position conversion on the detection position to obtain the marking position of the abnormal point in the real-life three-dimensional model, and mark the abnormal point with a marking icon in the real-life three-dimensional model based on the marking position.
[0058] In some embodiments of the present disclosure, converting the detected position into a marked position in the real-scene 3D model includes:
[0059] According to the positional relationship between the infrared sensor and the first visible sensor in the dual-light pod module, the detection position is converted into the middle position of the abnormal point on the first visible light image; according to the matching relationship between the first visible light image and the real-scene three-dimensional model, the middle position is converted into the marking position.
[0060] The positional relationship may include a position conversion relationship and a posture conversion relationship between the infrared sensor and the first visible light sensor. The positional relationship may be pre-calibrated. The intermediate position may be a position on the first visible light image determined in an intermediate process of determining the calibration position according to the detection position. The matching relationship may be a position matching relationship between the first visible light image and the real-scene three-dimensional model.
[0061] In this embodiment, the abnormal point marking device can calculate the pixel position conversion relationship based on the pre-calibrated position relationship between the infrared sensor and the first visible light sensor, and the pixel position conversion relationship represents the conversion relationship of the pixels in the infrared image to the pixels on the first visible light image. The detection position is converted according to the pixel position conversion relationship to obtain the middle position. In an optional implementation, since the distance between the infrared sensor and the first visible light sensor is very close, it can be approximately considered that the pixels in the infrared image and the pixels at the same position in the first visible light image represent the same object, so the detection position can be directly determined as the middle position.
[0062] Furthermore, since the real-scene 3D model is established based on the first visible light image, the inverse process of establishing the real-scene 3D model based on the first visible light image can determine the matching relationship between the first visible light image and the 3D map model, and the matching relationship can be understood as the conversion relationship between the pixel points on the first visible light image and the 3D points in the real-scene 3D model. According to the matching relationship, the middle position on the first visible light image is converted into the marked position in the real-scene 3D model.
[0063] In the above solution, the automatic conversion between the position on the infrared image and the position in the real-scene three-dimensional model is realized.
[0064] In some embodiments of the present disclosure, the abnormal point includes a piping point, and the abnormal point marking method further includes:
[0065] Determine a piping region image in a first visible light image based on an intermediate position; determine color values of a plurality of pixels in the piping region image, and determine the number of matches of pixel color values that match each pre-set calibration color value; the calibration color values correspond one to one with candidate prompt levels; determine a target color value in the calibration color value based on the number of matches, and determine the candidate prompt level corresponding to the target color value as the target prompt level.
[0066] Among them, the piping area image can be a partial image of the first visible light image corresponding to the area where the piping point exists. The pixel color value can be a parameter characterizing the pixel color. The calibrated color value can be a pre-set standard color value, and the number of the calibrated color values can be multiple. The candidate prompt level can be a level characterizing the degree of hazard of the piping point determined based on the color value. The number of candidate prompt levels can be multiple, and the specific prompt level can be set according to user needs, etc., and this embodiment does not impose any restrictions. The number of matches can be the number of pixel color values that satisfy the color matching relationship with the calibrated color value. The color matching relationship can be set according to the application scenario, etc., and this embodiment does not impose any restrictions. For example, the color matching relationship can be a relationship characterizing a small color difference. The target prompt level can be the prompt level of the piping point that is finally determined.
[0067] In this implementation example, a one-to-one corresponding calibration color value and candidate prompt level are preset, and the abnormal point marking device can use the middle position as the center of the area frame and determine the first visible light image located inside the area frame as the piping area image.
[0068] For each calibrated color value, determine the target pixel whose color difference between the pixel color value in the piping area image and the calibrated color value is less than the preset color difference threshold, count the number of target pixels, obtain the number of matches, and then obtain the number of matches corresponding to each calibrated color value. Determine the number of matches greater than the preset number threshold as the intermediate number; determine the calibrated color value corresponding to the intermediate number as the intermediate color value, and determine the candidate prompt level corresponding to the intermediate color value as the intermediate prompt level. Determine the highest intermediate prompt level as the target prompt level.
[0069] In the above scheme, the warning level of the danger degree of the piping point is determined by the color of the piping area image, thereby realizing the automatic determination and automatic reminder of the piping danger degree.
[0070] The abnormal point marking method provided by the embodiment of the present disclosure includes: obtaining an infrared image and a first visible light image collected by a dual-light pod module of the drone during an inspection process, as well as a second visible light image and laser point cloud data collected by a laser mapping module of the drone; if an abnormal point is detected in the infrared image, determining the detection position of the abnormal point in the infrared image; converting the detection position into a marking position in a real-scene three-dimensional model, and marking the abnormal point in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed based on the first visible light image, the second visible light image, and the laser point cloud data. By adopting the above technical solution, the UAV is equipped with a dual-light pod module and a laser mapping module. A single inspection of the UAV can simultaneously realize two tasks: detecting abnormal points and establishing a real-scene three-dimensional model, thereby improving the inspection efficiency of the UAV and reducing the number of inspections of the UAV. The real-scene three-dimensional model is established based on the first visible light image, the second visible light image, laser point cloud data, etc., and comprehensively utilizes the data collected by the dual-light pod module and the laser mapping module, so that the abnormal points determined based on the infrared image of the dual-light pod module can be accurately and intuitively marked in the real-scene three-dimensional model.
[0071] Figure 6 A flowchart of another outlier marking method provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the outlier marking method also includes:
[0072] Step 601 : extract feature points from a plurality of first visible light images to obtain a first feature point group corresponding to each first visible light image.
[0073] The first feature point group may include a plurality of first feature points, and the first feature points may be points that characterize essential features of the first visible light image. The first visible light image corresponds to the first feature point group one by one.
[0074] In this embodiment, the abnormal point marking device can extract feature points from each first visible light image to obtain a first feature point group corresponding to each first visible light image.
[0075] Step 602 : determining first feature points of the same name representing the same object between a plurality of first feature point groups, and splicing the first visible light images into a first overall image according to the first feature points of the same name.
[0076] The first feature points with the same name may be at least two first feature points of the same feature point, and the first feature points with the same name may be first feature points that characterize the same object. The first overall image may be an image obtained by stitching together a plurality of first visible light images, the first overall image may be an image obtained by stitching together all first visible light images during the drone inspection process, or the first overall image may be an image obtained by stitching together some first visible light images during the drone inspection process.
[0077] In this embodiment, after determining the first feature point group corresponding to each first visible light image, the abnormal point marking device can track the feature points between the first feature point groups corresponding to the two first visible light images that are adjacent in shooting time sequence, and determine the substantially identical first feature points contained in the two first feature point groups as the first feature points with the same name. Further, the adjacent two first visible light images are spliced according to the first feature points with the same name to obtain the first overall image.
[0078] Step 603 : extract feature points from the plurality of second visible light images to obtain a second feature point group corresponding to each second visible light image.
[0079] The second feature point group may include a plurality of second feature points, and the second feature points may be points that characterize essential features of the second visible light image. The second visible light image corresponds to the second feature point group in a one-to-one manner.
[0080] In this embodiment, the abnormal point marking device can extract feature points from each second visible light image to obtain a second feature point group corresponding to each second visible light image.
[0081] Step 604 : determining second feature points of the same name representing the same object in a plurality of second feature point groups, and splicing the second visible light images into a second overall image according to the second feature points of the same name.
[0082] The second feature points with the same name may be at least two second feature points of the same feature point, and the second feature points with the same name may be second feature points that characterize the same object. The second overall image may be an image obtained by stitching together a plurality of second visible light images, the second overall image may be an image obtained by stitching together all second visible light images during the drone inspection process, or the second overall image may be an image obtained by stitching together some second visible light images during the drone inspection process.
[0083] In this embodiment, after determining the second feature point groups corresponding to each second visible light image, the abnormal point marking device can track the feature points between the second feature point groups corresponding to the two second visible light images that are adjacent in shooting time sequence, and determine the substantially identical second feature points contained in the two second feature point groups as the second feature points with the same name. Furthermore, the two adjacent second visible light images are spliced according to the second feature points with the same name to obtain the second overall image.
[0084] Step 605: construct a real-scene three-dimensional model based on the first overall image, the second overall image, and the laser point cloud data.
[0085] In some embodiments of the present disclosure, constructing a real-scene three-dimensional model according to the first overall image, the second overall image, and the laser point cloud data includes:
[0086] Step a1, determining a first overall feature point corresponding to the first overall image, and determining a second overall feature point corresponding to the second overall image.
[0087] The first overall feature point may be a point that represents an essential feature of the first overall image, and the second overall feature point may be a point that represents an essential feature of the second overall image.
[0088] In this embodiment, there are multiple methods for determining the first overall feature point, which are not limited in this embodiment. For example, the outlier marking device can extract feature points from the first overall image to obtain the first overall feature point, or the outlier marking device can retain only one of the multiple first feature points that are substantially the same in the first feature point group based on the first same-name point to obtain the first overall feature point. There are multiple methods for determining the second overall feature point, which are not limited in this embodiment. For example, the outlier marking device can extract feature points from the second overall image to obtain the second overall feature point, or the outlier marking device can retain only one of the multiple second feature points that are substantially the same in the second feature point group based on the second same-name point to obtain the second overall feature point.
[0089] Step a2, summarizing and fusing the first overall feature points, the second overall feature points, and the laser point cloud data to obtain summarized point cloud data.
[0090] The summarized point cloud data may be a combination of the first overall feature points, the second overall feature points, and the laser point cloud data.
[0091] In this embodiment, the abnormal point marking device can first perform feature point matching on the first overall feature point and the second feature point, and for each pair of successfully matched first overall feature points and second overall feature points, retain one of them, and retain the other unmatched first overall feature points and second overall feature points to obtain summary feature points. Further, the summary feature points and laser point count data are aggregated and fused to obtain summary point cloud data.
[0092] Step a3: Fill the summary point cloud data with textures according to the first overall image or the second overall image to obtain a real-scene three-dimensional model.
[0093] In this embodiment, after determining the aggregated point cloud data, the abnormal point marking device can construct a triangulated network based on the aggregated point cloud data, and use the first overall image to fill the triangulated network with textures according to the association between the aggregated point cloud data and the first overall feature points, thereby obtaining a real-scene three-dimensional model. Alternatively, the abnormal point marking device can use the second overall image to fill the triangulated network with textures according to the association between the aggregated point cloud data and the second overall feature points, thereby obtaining a real-scene three-dimensional model.
[0094] In the above scheme, joint modeling is achieved based on the first visible light image collected by the dual-light pod module, the second visible light image collected by the laser mapping module, and the laser point cloud data, so that the obtained real-scene three-dimensional model is associated with both the dual-light pod module and the laser mapping module, and the accuracy of three-dimensional modeling is improved by using laser point cloud data.
[0095] In an optional implementation, the abnormal point marking device can be integrated into the control platform of the UAV. Figure 7 A schematic diagram of an interaction between a drone and a control platform provided in an embodiment of the present disclosure, such as Figure 7As shown, firstly, the UAV is powered on, and a control command for ascending is sent to the flight control system through the control platform of the UAV. The flight control system transmits the control command to the control module of the UAV, so that the drive motor in the UAV starts to work, and the drive motor drives the propeller to rotate and make the UAV take off. The UAV control platform sends a control command for moving flight to the flight control system, and the flight control system transmits the control command to the control module, so that the UAV moves and flies along the dike. During the flight of the UAV, data on the levee environment is collected through the dual-light pod module and the laser mapping module to obtain data information such as the first visible light image, infrared image, laser point cloud data, and the second visible light image. The collected data information is transmitted back to the UAV control platform in real time through the communication link system. The UAV control platform analyzes and processes the infrared image to identify the piping points in the levee, and builds a real-life three-dimensional model based on the first visible light image, the second visible light image, and the laser point cloud data. When the UAV reaches the end of the planned inspection route, it is determined that the UAV has completed the collection of information data, and the UAV control platform issues a control command to the flight control system to return. The flight control system sends the control command to the UAV, controls the UAV to maintain the current altitude and return to the take-off point in a straight line, then lands at the take-off point, and controls the drive motor to stop working, and the UAV completes the levee inspection.
[0096] Through this control platform, the flight control of the drone and the real-time transmission of the collected data can be realized, and the collected data can be processed to realize the identification of targets such as abnormal points, the positioning and tracking of the target points, and the measurement of the three-dimensional position. The location of the abnormal points can also be marked in the real-life three-dimensional model.
[0097] The UAV control platform can realize one or more functions of UAV information management, flight mission planning, flight situation monitoring, data storage management, and data processing display. Through UAV information management, it is possible to manage and display information such as UAV model, sensor type, endurance time, cruising speed, wind and rain resistance level, etc. Through flight mission planning, it is possible to realize flight mission reporting, mission route planning, communication link planning, etc. Through flight situation monitoring, it is possible to realize mission information display, flight trajectory display, UAV geographic location display, communication link display, communication network status display, weather warning display, etc. Through data storage management, it is possible to receive visible light images, infrared images, laser point cloud data, and flight trajectory data collected by the UAV sensor system and upload them to the server for storage and management. Through data processing display, it is possible to realize the synchronous display and analysis of UAV flight trajectory, laser point cloud data, visible light images, infrared images, etc. through multi-source data fusion processing algorithms based on the high-precision positioning and time synchronization characteristics of the collected data information.
[0098] The abnormal point marking method provided in the embodiment of the present disclosure integrates sensors such as visible light cameras, thermal imaging cameras and laser radars into the drone body, and makes targeted improvements to the specific layout of multiple component systems, which can accordingly achieve the integrated integration of multi-source sensors in a compact structure, easy to operate, and highly environmentally adaptable manner. The drone involved in the embodiment of the present disclosure integrates multi-source sensors and optimizes the layout. On the one hand, it is possible to obtain a variety of data more comprehensively, avoiding frequent load replacement and multiple flights. On the other hand, since there is no need to reinstall the sensor, the influence of sensor installation errors on the final marking results is avoided, and the determination of the real-scene three-dimensional model integrates the detection data of different modules such as the dual-light pod module and the laser mapping module, thereby improving the accuracy of the real-scene three-dimensional model and the accuracy of the marking position.
[0099] Figure 8 This is a schematic diagram of the structure of an abnormal point marking device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 8 As shown, the device comprises:
[0100] The acquisition module 801 is used to acquire the infrared image and the first visible light image collected by the dual-light pod module of the drone during the inspection process, as well as the second visible light image and laser point cloud data collected by the laser mapping module of the drone;
[0101] A detection module 802, configured to determine a detection position of an abnormal point in the infrared image if an abnormal point is detected in the infrared image;
[0102] The marking module 803 is used to convert the detection position into a marking position in the real-scene three-dimensional model, and mark the abnormal point in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed based on the first visible light image, the second visible light image, and the laser point cloud data.
[0103] Optionally, the dual-light pod module and the laser mapping module are installed adjacent to each other at the bottom of the UAV.
[0104] Optionally, the abnormal point includes a piping point, and the detection module 802 is used to:
[0105] The infrared image is divided into a plurality of sub-images, and for each of the sub-images, a color change gradient between the sub-image and an adjacent image is calculated. If the color change gradient is greater than a preset gradient threshold, a detection position is determined according to the position of the sub-image.
[0106] Optionally, the marking module 803 is used to:
[0107] According to the positional relationship between the infrared sensor and the first visible light sensor in the dual-light pod module, converting the detection position to the middle position of the abnormal point on the first visible light image;
[0108] The intermediate position is converted into the marked position according to a matching relationship between the first visible light image and the real-scene three-dimensional model.
[0109] Optionally, the abnormal point includes a piping point, and the device further includes:
[0110] A first determining module, configured to determine a piping region image in the first visible light image according to the intermediate position;
[0111] A second determination module is used to determine the color values of a plurality of pixels in the piping region image, and determine the number of pixel color values that match each preset calibration color value; the calibration color values correspond one to one with the candidate prompt levels;
[0112] The third determination module is used to determine a target color value in the calibrated color value according to the matching quantity, and determine the candidate prompt level corresponding to the target color value as the target prompt level.
[0113] Optionally, the device further comprises:
[0114] A first extraction module, configured to extract feature points from the plurality of first visible light images to obtain a first feature point group corresponding to each of the first visible light images;
[0115] A first stitching module, configured to determine first feature points of the same name representing the same object between a plurality of the first feature point groups, and stitch the first visible light images into a first overall image according to the first feature points of the same name;
[0116] A second extraction module, configured to extract feature points from the plurality of second visible light images to obtain a second feature point group corresponding to each of the second visible light images;
[0117] A second stitching module, configured to determine second feature points of the same name representing the same object in a plurality of the second feature point groups, and stitch the second visible light images into a second overall image according to the second feature points of the same name;
[0118] A construction module is used to construct the real-scene three-dimensional model according to the first overall image, the second overall image, and the laser point cloud data.
[0119] Optionally, the building block is used to:
[0120] Determine a first overall feature point corresponding to the first overall image, and determine a second overall feature point corresponding to the second overall image;
[0121] Aggregate and fuse the first overall feature point, the second overall feature point, and the laser point cloud data to obtain aggregated point cloud data;
[0122] The summarized point cloud data is texture filled according to the first overall image or the second overall image to obtain the real-scene three-dimensional model.
[0123] The outlier marking device provided in the embodiments of the present disclosure can execute the outlier marking method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] Fig. 9 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Fig. 9 As shown, the electronic device 900 includes one or more processors 901 and a memory 902 .
[0125] The processor 901 may be a central processing unit (CPU) or other forms of processing units having anomaly marking capability and / or instruction execution capability, and may control other components in the electronic device 900 to perform desired functions.
[0126] The memory 902 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 901 may run the program instructions to implement the outlier marking method of the embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0127] In one example, the electronic device 900 may further include: an input device 903 and an output device 904 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0128] In addition, the input device 903 may also include, for example, a keyboard, a mouse, and the like.
[0129] The output device 904 can output various information to the outside, including the determined distance information, direction information, etc. The output device 904 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0130] Of course, to simplify, Fig. 9 Only some of the components related to the present disclosure in the electronic device 900 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 900 may also include any other appropriate components.
[0131] In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions, and when the computer program instructions are executed by a processor, the processor executes the outlier marking method provided by the embodiments of the present disclosure.
[0132] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0133] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the outlier marking method provided by the embodiment of the present disclosure.
[0134] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0135] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0136] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for marking an outlier, characterized in that: include: Acquire an infrared image and a first visible light image collected by a dual-light pod module of the drone during the inspection process, as well as a second visible light image and laser point cloud data collected by a laser mapping module of the drone; If an abnormal point is detected in the infrared image, determining a detection position of the abnormal point in the infrared image; The detected position is converted into a marking position in a real-scene three-dimensional model, and the abnormal point is marked in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed according to the first visible light image, the second visible light image, and the laser point cloud data.
2. The method according to claim 1, characterized in that The dual-light pod module and the laser mapping module are installed adjacent to each other at the bottom of the UAV.
3. The method according to claim 1, characterized in that: The abnormal point includes a piping point, and if the abnormal point is detected in the infrared image, determining the detection position of the abnormal point in the infrared image includes: The infrared image is divided into a plurality of sub-images, and for each of the sub-images, a color change gradient between the sub-image and an adjacent image is calculated. If the color change gradient is greater than a preset gradient threshold, a detection position is determined according to the position of the sub-image.
4. The method according to claim 1, characterized in that: The step of converting the detected position into a marked position in the real-scene three-dimensional model comprises: According to the positional relationship between the infrared sensor and the first visible light sensor in the dual-light pod module, converting the detection position to the middle position of the abnormal point on the first visible light image; The intermediate position is converted into the marked position according to a matching relationship between the first visible light image and the real-scene three-dimensional model.
5. The method according to claim 4, characterized in that The abnormal point includes a piping point, and the method further includes: Determine a piping region image in the first visible light image according to the intermediate position; Determining color values of a plurality of pixels in the piping region image, and determining the number of pixel color values that match each pre-set calibrated color value; wherein the calibrated color values correspond one to one with the candidate prompt levels; A target color value in the calibrated color value is determined according to the matching quantity, and a candidate prompt level corresponding to the target color value is determined as a target prompt level.
6. The method according to claim 1, characterized in that The method further comprises: Extracting feature points from the plurality of first visible light images to obtain first feature point groups corresponding to the first visible light images; determining first feature points of the same name representing the same object between a plurality of the first feature point groups, and splicing the first visible light images into a first overall image according to the first feature points of the same name; Extracting feature points from the plurality of second visible light images to obtain a second feature point group corresponding to each of the second visible light images; determining second feature points of the same name representing the same object in a plurality of the second feature point groups, and splicing the second visible light images into a second overall image according to the second feature points of the same name; The real-scene three-dimensional model is constructed according to the first overall image, the second overall image, and the laser point cloud data.
7. The method according to claim 6, characterized in that The step of constructing the real-scene three-dimensional model according to the first overall image, the second overall image, and the laser point cloud data includes: Determine a first overall feature point corresponding to the first overall image, and determine a second overall feature point corresponding to the second overall image; Aggregate and fuse the first overall feature point, the second overall feature point, and the laser point cloud data to obtain aggregated point cloud data; The summarized point cloud data is texture filled according to the first overall image or the second overall image to obtain the real-scene three-dimensional model.
8. An abnormal point marking device, characterized in that: include: An acquisition module, used to acquire the infrared image and the first visible light image collected by the dual-light pod module of the drone during the inspection process, as well as the second visible light image and laser point cloud data collected by the laser mapping module of the drone; a detection module, configured to determine a detection position of an abnormal point in the infrared image if an abnormal point is detected in the infrared image; A marking module is used to convert the detection position into a marking position in a real-scene three-dimensional model, and mark the abnormal point in the real-scene three-dimensional model according to the marking position; wherein the real-scene three-dimensional model is constructed based on the first visible light image, the second visible light image, and the laser point cloud data.
9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the outlier marking method described in any one of claims 1-7 above.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the outlier marking method described in any one of claims 1 to 7.
Citation Information
Cited By
Abnormality identification method, device and equipment applied to underground pipe network
CN121115157A
