Automatic extraction method, device and storage medium for coal mining subsidence ground cracks
Through drone photogrammetry and Gaussian matching filtering technology, the automated extraction of coal mining subsidence ground fissures has been achieved, solving the problems of traditional surveying and mapping methods being time-consuming and labor-intensive and the automated methods being ineffective, improving extraction accuracy and monitoring efficiency, and supporting complex terrain Coal mining safety and ecological restoration in the region.
Patent Information
- Application Number
- CN202111373863.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-11-19
AI Technical Summary
Traditional coal mining subsidence ground fissure mapping methods are time-consuming and labor-intensive, and cannot accurately reflect the true shape of ground fissures. Moreover, automated extraction methods are not effective in areas with complex terrain, resulting in threats to mine safety and production.
UAV photogrammetry is used to obtain images, and technologies such as Gaussian matching filtering, geometric correction, and morphological filtering are used to realize automatic extraction of ground fissures, reduce manual intervention, and improve extraction accuracy.
It achieves fast, efficient and accurate acquisition of coal mining subsidence ground fissure distribution and morphological information. It is suitable for areas with complex topography, significantly reduces the workload of field surveys, and supports long-term large-scale monitoring and ecological restoration.
Smart Images

Figure CN114155378B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle photogrammetry and image processing, and in particular to a method, device and storage medium for automatically extracting ground fissures caused by coal mining subsidence. Background Art
[0002] China is a major energy producer and consumer. Coal resources have long dominated the structure of energy production and consumption. In 2018, China's total coal production reached 3.95 billion tons. The ecological environment in the arid northwest of China is fragile. It is also a key construction area for China's coal industry. The impact of underground coal mining activities in this area on the surface ecological environment is mainly the large number of ground fissures caused by surface deformation. Studies have shown that the emergence of coal mining subsidence cracks leads to changes in soil properties, reduced soil quality, and a decrease in surface soil moisture in the cracked area, which aggravates the surface soil erosion and seriously threatens mine safety production. Therefore, rapid investigation and mapping of coal mining subsidence cracks in arid areas is very necessary for ecological restoration of mining areas.
[0003] Traditionally, the mapping of ground fissures in coal mining subsidence is mainly done by manual ground surveys, using total stations, GPS and other means to measure the plane position of ground fissures and draw ground fissure distribution maps. Due to the dense distribution of cracks in mining areas, ground survey methods are time-consuming and labor-intensive, and the workload is large. At the same time, traditional measurement methods can only obtain a rough distribution of cracks, and cannot fully reflect the true form of cracks. According to actual ground fissure survey data, the width of ground fissures is usually sub-meter, and the resolution of current optical satellite images cannot clearly reflect the situation of ground fissures. At present, UAV photogrammetry and remote sensing technology are developing rapidly, showing great application potential in the field of ground fissure investigation in mining areas. However, most of the ground fissure extraction applications based on UAV photogrammetry and remote sensing still use visual interpretation, that is, manually draw ground fissure distribution maps from UAV high-resolution images, and fail to achieve automated extraction, consuming a lot of manpower and material resources. The existing automatic detection methods for ground fissures in mining areas are mostly experimental studies, and no regional verification experiments at the scale of coal mining working faces have been carried out. Only a few automatic detection methods have been successfully applied to the extraction of ground fissures in coal mining subsidence in the aeolian sand area in western my country. However, the topography and landforms in the western aeolian sand region are relatively simple. When faced with areas with complex topography and landforms, such as the loess gully area, this type of automatic extraction method may not be applicable or may have poor results. Summary of the invention
[0004] The present disclosure aims to solve one of the above-mentioned problems.
[0005] To this end, the first aspect of the present disclosure provides an automated method for extracting ground fissures in coal mining subsidence that can quickly, efficiently and relatively accurately obtain the distribution and morphological information of ground fissures in coal mining subsidence, including:
[0006] Determine the image acquisition range of drone photogrammetry based on the underground coal mining location and mining subsidence information, lay out ground image control points and measure the three-dimensional coordinates of the ground image control points;
[0007] Collect multiple drone images within the image acquisition range, obtain an orthophoto of the ground fissure monitoring area after image stitching, perform geometric correction on the orthophoto of the ground fissure monitoring area using the three-dimensional coordinates of the ground image control points, and convert the orthophoto of the ground fissure monitoring area after geometric correction into a first grayscale image;
[0008] Performing Gaussian matched filtering processing at different rotation angles on the first grayscale image to achieve the adaptability of the Gaussian matched filtering processing, obtaining a second grayscale image with the maximum response of the ground fissure information to the Gaussian matched filtering processing at the corresponding rotation angle, and recording the corresponding rotation angle as the target rotation angle;
[0009] Performing Gaussian first-order derivative filtering processing on the first grayscale image at the target rotation angle to weaken the erroneous response to non-ground fissure structures in the Gaussian matched filter, thereby obtaining a third grayscale image;
[0010] Performing a linear operation on the second grayscale image and the third grayscale image to enhance ground fissure information and suppress non-ground fissure information, thereby obtaining a fourth grayscale image;
[0011] Segmenting the fourth grayscale image to achieve preliminary extraction of ground fissures;
[0012] The noise in the initially extracted ground fissures is eliminated by the morphological filtering method of path opening operation to achieve accurate extraction of ground fissures.
[0013] The method for automatically extracting ground fissures from coal mining subsidence provided by the first embodiment of the present disclosure has the following characteristics and beneficial effects:
[0014] The automated extraction method for ground fissures caused by coal mining subsidence provided in the first aspect of the embodiment of the present disclosure can quickly, efficiently and relatively accurately obtain the distribution and morphological information of ground fissures caused by coal mining subsidence. In particular, this method is designed for monitoring needs in areas with complex topography and landforms. In such areas, it can obtain higher automatic extraction accuracy, and can greatly reduce the workload of field investigations. Compared with traditional ground measurement methods, it is more time-saving and labor-saving. The advantages are more obvious when the local cracks are densely distributed. It can realize long-term and large-scale monitoring of ground fissures caused by coal mining subsidence, and is of great significance to the study of the dynamic changes of ground fissures with underground coal mining activities, the mechanism of surface damage and the ecological restoration of ecologically fragile areas.
[0015] In some embodiments, the range of the Gaussian matched filter in the Y direction is set according to the median value of the statistical analysis of the ground crack segment length in the first grayscale image, and the range of the Gaussian matched filter in the X direction is set according to the median value of the statistical analysis of the ground crack width in the ground crack monitoring area.
[0016] In some embodiments, the rotation angles are set at equal intervals.
[0017] In some embodiments, the mathematical expression of the linear operation used is:
[0018]
[0019] in, represents the fourth grayscale image; R represents the second grayscale image; D represents the third grayscale image; C t Set the sensitivity adjustment parameter coefficient according to the desired crack detection sensitivity.
[0020] In some embodiments, the segmentation threshold is set according to a global mean and a standard deviation of the fourth grayscale image.
[0021] In some embodiments, when the noise in the initially extracted ground fissures is removed by the morphological filtering method of the path opening operation, a noise tolerance value is set to enhance the robustness of the morphological filtering method of the path opening operation.
[0022] The second aspect of the present disclosure provides an automatic extraction device for coal mining subsidence ground fissures, comprising:
[0023] The image acquisition and preprocessing module is used to define the image acquisition range of the drone photogrammetry according to the underground coal mining location and the mining subsidence information of the mining area, arrange the ground image control points and measure the three-dimensional coordinates of the ground image control points; collect multiple drone images within the image acquisition range, obtain the orthophoto of the ground fissure monitoring area after image stitching, use the three-dimensional coordinates of the ground image control points to geometrically correct the orthophoto of the ground fissure monitoring area, and convert the orthophoto of the ground fissure monitoring area after geometric correction into a first grayscale image;
[0024] An adaptive Gaussian matched filter processing module is used to perform Gaussian matched filter processing at different rotation angles on the first grayscale image to achieve the adaptability of the Gaussian matched filter processing, obtain a second grayscale image with the maximum response of the ground fissure information to the Gaussian matched filter processing at the corresponding rotation angle, and record the corresponding rotation angle as the target rotation angle;
[0025] A Gaussian first-order derivative filter processing module is used to perform Gaussian first-order derivative filter processing on the first grayscale image at the target rotation angle to weaken the erroneous response to non-ground fissure structures in the Gaussian matched filter, and obtain a third grayscale image;
[0026] A linear processing module, used for performing a linear operation on the second grayscale image and the third grayscale image to enhance ground fissure information and suppress non-ground fissure information, thereby obtaining a fourth grayscale image;
[0027] A coarse extraction module, used for segmenting the fourth grayscale image to achieve preliminary extraction of ground fissures;
[0028] The fine extraction module is used to remove the noise in the initially extracted ground fissures through the morphological filtering method of path opening operation, so as to achieve fine extraction of the ground fissures.
[0029] The computer-readable storage medium provided in the third aspect of the present disclosure stores computer instructions for enabling the computer to execute the above-mentioned method for automated extraction of ground fissures caused by coal mining subsidence. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 An overall flow chart of the method for automated extraction of ground fissures caused by coal mining subsidence provided in the first aspect of the embodiment of the present disclosure.
[0031] Figure 2 (a), (b), and (c) are schematic diagrams of the first grayscale image and the transverse and longitudinal sections of the ground fissures therein in the extraction method provided in the embodiment of the first aspect of the present disclosure.
[0032] Figure 3 A schematic diagram of a directed graph designed for the extraction method provided in the embodiment of the first aspect of the present disclosure.
[0033] Figure 4 These are images obtained at each stage of the extraction method provided in the first aspect of the present disclosure, wherein (a) is the original image, (b) is the preliminary extraction result of cracks, and (c) is the refined extraction result after crack denoising.
[0034] Figure 5 The extraction results of coal mining subsidence ground fissures are obtained by using the extraction method provided by the embodiment of the first aspect of the present disclosure.
[0035] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the third aspect of the present disclosure. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0037] On the contrary, the present application covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present application as defined by the claims. Further, in order to make the public have a better understanding of the present application, some specific details are described in detail in the detailed description of the present application below. Those skilled in the art can fully understand the present application without the description of these details.
[0038] See also Figure 1 The method for automatically extracting ground fissures from coal mining subsidence provided by the first embodiment of the present disclosure specifically comprises the following steps:
[0039] Determine the image acquisition range of UAV photogrammetry based on the underground coal mining location and mining subsidence information, lay out ground image control points and measure the three-dimensional coordinates of the ground image control points;
[0040] Collect multiple drone images within the image acquisition range, obtain an orthophoto of the ground fissure monitoring area after image stitching, perform geometric correction on the orthophoto of the ground fissure monitoring area using the three-dimensional coordinates of the ground image control points, and convert the geometrically corrected orthophoto of the ground fissure monitoring area into a first grayscale image;
[0041] Performing Gaussian matched filtering processing at different rotation angles on the first grayscale image to achieve the adaptability of the Gaussian matched filtering processing, obtaining a second grayscale image having the maximum response of the ground fissure information to the Gaussian matched filtering processing at the corresponding rotation angle, and recording the corresponding rotation angle as the target rotation angle;
[0042] Performing Gaussian first-order derivative filtering processing on the first grayscale image at a target rotation angle to weaken the erroneous response to non-ground fissure structures in the Gaussian matched filter, thereby obtaining a third grayscale image;
[0043] Performing a linear operation on the second grayscale image and the third grayscale image to enhance ground fissure information and suppress non-ground fissure information, thereby obtaining a fourth grayscale image;
[0044] The fourth grayscale image is segmented to achieve preliminary extraction of ground fissures, which are represented by a binary image (pixel values are only 0 and 1, 1 is a crack image, and 0 is a non-crack image);
[0045] The noise in the initially extracted ground fissures is removed by the morphological filtering method of path opening operation to achieve fine extraction of ground fissures.
[0046] In one embodiment, the underground coal mining location and mining subsidence information of a certain working face of the Ningtiaota Coal Mine in Shenmu City are obtained based on the mining system data, the image acquisition range of the drone photogrammetry is set, the ground image control points are arranged, and the three-dimensional coordinates of the ground image control points are measured using a total station or RTK.
[0047] In some embodiments, a drone equipped with a visible light camera is used to set the drone's image acquisition flight parameters, including: altitude, heading overlap, lateral overlap, flight speed, etc., image data is collected under good lighting conditions, no wind or light wind conditions, and images with poor imaging quality are eliminated. Image stitching software (such as Pix4D mapper, Photoscan, Inpho, etc.) or related stitching algorithms (such as Structure-from-Motion, abbreviated as SfM) are used to generate orthophotos of the ground fissure monitoring area, and the three-dimensional coordinates of the ground image control points are used to perform geometric correction on the orthophotos of the ground fissure monitoring area to obtain the precise geographical location of the extracted cracks.
[0048] In some embodiments, the geometrically corrected orthophoto image (RGB orthophoto image) of the ground fissure monitoring area is converted into a grayscale image, which is recorded as the first grayscale image. Figure 2 As shown in (a). According to the characteristics of the ground fissure in the first grayscale image (such as Figure 2 As shown in (b) and (c), they are the longitudinal and transverse grayscale curves of the ground fissures in the first grayscale image, respectively. The horizontal axis in the figure is the position on the profile line, in pixels, and the vertical axis is the grayscale value of the corresponding position, without units). An adaptive Gaussian matched filter is performed on the first grayscale image to enhance the ground fissure information in the first grayscale image. Among them, according to the median value of the statistical analysis of the length of the ground fissure fragments in the first grayscale image, the range of the Gaussian matched filter in the Y direction is set to L (such as L is set to 20); the range of the Gaussian matched filter in the X direction is set to B, B∈[-3σ, 3σ], σ is the standard deviation of the Gaussian function, which is determined according to the median value of the statistical analysis of the ground fissure width in the ground fissure monitoring area (such as σ is set to 2). See Figure 2(a), (b), and (c) are the first grayscale image of the example ground fissure fragment and the grayscale change curves of the longitudinal profile line l1 and the transverse profile line l2 of the ground fissure in the image. Since the initial filter used has the best enhancement effect (maximum response) only for the cracks extending in the Y direction, it is necessary to rotate the filter by several angles to filter the first grayscale image multiple times, that is, to perform adaptive Gaussian matched filtering processing at different rotation angles on each area in the first grayscale image through a sliding filter window, so as to obtain the maximum response image of the ground fissure information to the adaptive Gaussian matched filtering, which is recorded as the second grayscale image, and the corresponding rotation angle is recorded as the target rotation angle, and the rotation angle interval is preferably 15°. The crack information in the first grayscale image can be enhanced by adaptive Gaussian matched filtering.
[0049] In some embodiments, the mathematical expression of the adaptive Gaussian matched filtering process is:
[0050]
[0051] Wherein, GMF represents the Gaussian matched filter used, and its independent variables are the position x, y of each pixel in the first grayscale image and the standard deviation σ of the Gaussian function.
[0052] In some embodiments, the filter rotation angle corresponding to the maximum response of the crack information at (x, y) of the first grayscale image, that is, the target rotation angle, is calculated according to the following formula:
[0053]
[0054]
[0055] in, is the convolution operator; θ max(x,y) I is the target rotation angle; (x,y) is the block corresponding to the Gaussian filter at position (x, y) in the first grayscale image; The rotation angle is θ i Gaussian matched filter; is the Gaussian matched filter under the target rotation angle; R (x,y) is the maximum response value of the crack information at the position (x, y). After completing the adaptive Gaussian matched filtering on the first grayscale image, the maximum response image of the crack information, that is, the second grayscale image, is obtained, which is recorded as R.
[0056] In some embodiments, the first grayscale image is subjected to Gaussian first-order derivative filtering to weaken the erroneous response to non-ground fissure structures in Gaussian matched filtering. The rotation angle θ of the Gaussian first-order derivative filter at (x, y) of image I corresponds to the maximum response of the Gaussian matched filter. max(x,y)Similarly, the first grayscale image I is subjected to Gaussian first-order derivative filtering and mean filtering in sequence and the absolute value is taken to obtain a corresponding response image, i.e., a third grayscale image, denoted as D. The Gaussian first-order derivative filtering process can greatly weaken the error response in the grayscale image after the adaptive Gaussian matched filtering.
[0057] In one embodiment, the mathematical expression of Gaussian first-order derivative filtering is:
[0058]
[0059] Here, FDOG represents the Gaussian first-order guide filter used.
[0060] In some embodiments, a linear operation is performed on the image after Gaussian matched filtering, i.e., the second grayscale image, and the image after Gaussian first-order derivative filtering, i.e., the third grayscale image, to obtain a filtered image in which ground fissure information is greatly enhanced and non-ground fissure information is well suppressed, which is recorded as the fourth grayscale image. The calculation formula of the linear operation is: R, D are the fourth grayscale image, the second grayscale image and the third grayscale image respectively, C t The sensitivity adjustment parameter coefficient is set according to the required crack detection sensitivity, and its typical value range is between 3 and 4, and preferably 3.
[0061] In some embodiments, segmenting the fourth grayscale image to achieve preliminary extraction of ground fissures includes the following steps:
[0062] According to the fourth grayscale image The global mean of and standard deviation To set the segmentation threshold T, For the fourth grayscale image Segmentation is performed to extract ground fissures, thereby completing the rough extraction of ground fissures.
[0063] In some embodiments, due to the complex surface background information of the mining area (such as the presence of vegetation, erosion gullies and / or landslides, etc.), the initially extracted ground fissures still contain a small amount of non-ground fissure noise. Considering the crack characteristics in the initial extraction results (the noise is usually disorderly distributed, while the small fragments of the ground fissures are closely arranged and have an obvious extension trend), the morphological filtering method of the path opening operation is used to further remove the noise, which specifically includes the following steps:
[0064] A directed graph is constructed using the coordinate set E of all pixel positions in the binary image of the initial crack extraction result. The constructed directed graph is as follows: Figure 3 As shown, there is a binary adjacency relationship in this directed graph Indicates that there is an edge connecting pixel a to pixel b, then pixel b is defined as the successor of pixel a, and pixel a is the predecessor of pixel b. The successor set of all pixels m in the fourth grayscale image is expressed as:
[0065]
[0066] The set of all pixel position coordinates belonging to the crack in the pixel position coordinate set E is defined as the set N, then the successor set of pixels in the set N can be expressed as:
[0067]
[0068] If there is an adjacency relationship Then the path δ of length l can be defined as a tuple a = (a1, a2, a3, ..., a l ), where a1, a2, a3, ..., a l are the elements in path δ. The set of all elements of path a in the pixel position coordinate set E is expressed as:
[0069] ρ(a)={a1, a2, a3,...,a l}
[0070] Let all paths δ of length l be denoted as Π l , where the set of paths δ of length l in the set N of crack pixels is l (X) is denoted as:
[0071]
[0072] Let all paths δ of length l in the set N be denoted as α l (N), α l (N) is the path opening operation of the set N with a length of l. The mathematical expression is:
[0073] α l (N)=∪{ρ(a):a∈Π l (N)}
[0074] The noise tolerance value K is set, that is, the missing of some pixels on the path (the number of missing pixels is less than K) does not affect the calculation of the entire path length, and the robustness of the path morphology is enhanced. The K value is set according to the number of pixels between the actual crack fragments, and K is generally set between 5 and 10. At the same time, the minimum value of the path length (i.e. the crack length) is set, and the preferred setting value is 50. The pixels contained in the path below the minimum value will be judged as noise, thereby completing the fine extraction of ground cracks. Figure 4(a), (b), and (c) are the orthophoto of the ground fissure monitoring area after local geometric correction, the binary image after rough extraction of ground fissures, and the binary image after fine extraction of ground fissures, respectively. They are all local images of the ground fissure monitoring area. The extraction results of ground fissures in the coal mining subsidence area in this experimental study area can be found in Figure 5 .
[0075] The second aspect of the present disclosure provides an automatic extraction device for coal mining subsidence ground fissures, comprising:
[0076] The image acquisition and preprocessing module is used to define the image acquisition range of the drone photogrammetry according to the underground coal mining location and mining subsidence information of the mining area, arrange the ground image control points and measure the three-dimensional coordinates of the ground image control points; collect multiple drone images within the image acquisition range, obtain the orthophoto of the ground fissure monitoring area after image stitching, use the three-dimensional coordinates of the ground image control points to geometrically correct the orthophoto of the ground fissure monitoring area, and convert the geometrically corrected orthophoto of the ground fissure monitoring area into a first grayscale image;
[0077] An adaptive Gaussian matched filter processing module is used to perform Gaussian matched filter processing at different rotation angles on the first grayscale image to achieve the adaptability of the Gaussian matched filter processing, obtain a second grayscale image with the maximum response of the ground fissure information to the Gaussian matched filter processing at the corresponding rotation angle, and record the corresponding rotation angle as the target rotation angle;
[0078] A Gaussian first-order derivative filter processing module is used to perform Gaussian first-order derivative filter processing on the first grayscale image at a target rotation angle to weaken the erroneous response to non-ground fissure structures in the Gaussian matched filter, and obtain a third grayscale image containing ground fissure information;
[0079] A linear processing module, used for performing a linear operation on the second grayscale image and the third grayscale image to enhance ground fissure information and suppress non-ground fissure information, thereby obtaining a fourth grayscale image;
[0080] A coarse extraction module, used for segmenting the fourth grayscale image to achieve preliminary extraction of ground fissures;
[0081] The fine extraction module is used to remove the noise in the initially extracted ground fissures through the morphological filtering method of path opening operation, so as to achieve fine extraction of the ground fissures.
[0082] In order to implement the above embodiment, the embodiment of the present disclosure further proposes a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to execute the method for identifying geometric errors of machine tool rotary axes of the above embodiment.
[0083] Reference below Figure 6, which shows a schematic diagram of the structure of an electronic device 100 suitable for implementing the embodiment of the present disclosure. It should be noted that the electronic device 100 in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, servers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0084] like Figure 6 As shown, the electronic device 100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage device 108 to a random access memory (RAM) 103. In the RAM 103, various programs and data required for the operation of the electronic device 100 are also stored. The processing device 101, the ROM 102, and the RAM 103 are connected to each other via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.
[0085] Typically, the following devices may be connected to the I / O interface 105: an input device 106 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, etc.; an output device 107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the electronic device 100 to communicate with other devices wirelessly or by wire to exchange data. Figure 6 The electronic device 100 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0086] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present embodiment includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 109, or installed from the storage device 108, or installed from the ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0087] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0088] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0089] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: defines the image acquisition range of drone photogrammetry according to the underground coal mining location and mining subsidence information in the mining area, arranges ground image control points and measures the three-dimensional coordinates of the ground image control points; collects multiple drone images within the image acquisition range, obtains an orthophoto of the ground fissure monitoring area after image stitching, uses the three-dimensional coordinates of the ground image control points to geometrically correct the orthophoto of the ground fissure monitoring area, and converts the geometrically corrected orthophoto of the ground fissure monitoring area into a first grayscale image; performs Gaussian matched filtering processing on the first grayscale image at different rotation angles to achieve Gaussian matching. The adaptability of the filtering process is used to obtain a second grayscale image with the maximum response of the ground crack information to the Gaussian matched filtering process of the corresponding rotation angle, and the corresponding rotation angle is recorded as the target rotation angle; the first grayscale image is subjected to Gaussian first-order derivative filtering at the target rotation angle to weaken the erroneous response to the non-ground crack structure in the Gaussian matched filtering to obtain a third grayscale image; the second grayscale image and the third grayscale image are subjected to linear operations to enhance the ground crack information and suppress the non-ground crack information to obtain a fourth grayscale image; the fourth grayscale image is segmented to achieve preliminary extraction of the ground cracks; the noise in the preliminary extracted ground cracks is eliminated by the morphological filtering method of the path opening operation to achieve precise extraction of the ground cracks.
[0090] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, python, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0091] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0092] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0093] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0094] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0095] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0096] A person of ordinary skill in the art may understand that all or part of the steps carried out in the above-mentioned embodiment method may be completed by instructing the relevant hardware through a program, and the developed program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0097] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0098] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for automatically extracting ground fissures caused by coal mining subsidence, characterized in that: include: Determine the image acquisition range of drone photogrammetry based on the underground coal mining location and mining subsidence information, lay out ground image control points and measure the three-dimensional coordinates of the ground image control points; Collect multiple drone images within the image acquisition range, obtain an orthophoto of the ground fissure monitoring area after image stitching, perform geometric correction on the orthophoto of the ground fissure monitoring area using the three-dimensional coordinates of the ground image control points, and convert the orthophoto of the ground fissure monitoring area after geometric correction into a first grayscale image; Performing Gaussian matched filtering processing at different rotation angles on the first grayscale image to achieve the adaptability of the Gaussian matched filtering processing, obtaining a second grayscale image with the maximum response of the ground fissure information to the Gaussian matched filtering processing at the corresponding rotation angle, and recording the corresponding rotation angle as the target rotation angle; Performing Gaussian first-order derivative filtering processing on the first grayscale image at the target rotation angle to weaken the erroneous response to non-ground fissure structures in the Gaussian matched filter, thereby obtaining a third grayscale image; Performing a linear operation on the second grayscale image and the third grayscale image to enhance ground fissure information and suppress non-ground fissure information, thereby obtaining a fourth grayscale image; Segmenting the fourth grayscale image to achieve preliminary extraction of ground fissures; The noise in the initially extracted ground fissures is eliminated by the morphological filtering method of path opening operation to achieve accurate extraction of ground fissures.
2. The method for automatically extracting ground fissures caused by coal mining subsidence according to claim 1, characterized in that: The range of the Gaussian matched filter in the Y direction is set according to the median value of the statistical analysis of the ground fissure segment length in the first grayscale image, and the range of the Gaussian matched filter in the X direction is set according to the median value of the statistical analysis of the ground fissure width in the ground fissure monitoring area.
3. The method for automatically extracting ground fissures caused by coal mining subsidence according to claim 1, characterized in that: The rotation angles are set at equal intervals.
4. The method for automatically extracting ground fissures caused by coal mining subsidence according to claim 1, characterized in that: The mathematical expression of the linear operation adopted is: in, represents the fourth grayscale image; R represents the second grayscale image; D represents the third grayscale image; C t Set the sensitivity adjustment parameters according to the desired crack detection sensitivity.
5. The method for automatically extracting ground fissures caused by coal mining subsidence according to claim 1, characterized in that: A segmentation threshold is set according to a global mean and a standard deviation of the fourth grayscale image.
6. The method for automatically extracting ground fissures caused by coal mining subsidence according to claim 1, characterized in that: When the noise in the initially extracted ground fissures is removed by the morphological filtering method of the path opening operation, a noise tolerance value is set to enhance the robustness of the morphological filtering method of the path opening operation.
7. An automatic extraction device for coal mining subsidence ground fissures, characterized in that: include: The image acquisition and preprocessing module is used to define the image acquisition range of the drone photogrammetry according to the underground coal mining location and the mining subsidence information of the mining area, arrange the ground image control points and measure the three-dimensional coordinates of the ground image control points; collect multiple drone images within the image acquisition range, obtain the orthophoto of the ground fissure monitoring area after image stitching, use the three-dimensional coordinates of the ground image control points to geometrically correct the orthophoto of the ground fissure monitoring area, and convert the orthophoto of the ground fissure monitoring area after geometric correction into a first grayscale image; An adaptive Gaussian matched filter processing module is used to perform Gaussian matched filter processing at different rotation angles on the first grayscale image to achieve the adaptability of the Gaussian matched filter processing, obtain a second grayscale image with the maximum response of the ground fissure information to the Gaussian matched filter processing at the corresponding rotation angle, and record the corresponding rotation angle as the target rotation angle; A Gaussian first-order derivative filter processing module is used to perform Gaussian first-order derivative filter processing on the first grayscale image at the target rotation angle to weaken the erroneous response to non-ground fissure structures in the Gaussian matched filter, and obtain a third grayscale image; A linear processing module, used for performing a linear operation on the second grayscale image and the third grayscale image to enhance ground fissure information and suppress non-ground fissure information, thereby obtaining a fourth grayscale image; A coarse extraction module, used for segmenting the fourth grayscale image to achieve preliminary extraction of ground fissures; The fine extraction module is used to remove the noise in the initially extracted ground fissures through the morphological filtering method of path opening operation, so as to achieve fine extraction of the ground fissures.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for automatically extracting ground fissures caused by coal mining subsidence according to any one of claims 1 to 6.
