Method and device for extracting image information of coal gangue accumulation area based on remote sensing image

Through the combined evaluation of features of remote sensing images and digital elevation information, terrain data is optimized to identify coal gangue accumulation areas, which solves the problem of difficulty in identifying coal gangue accumulation areas in mountainous areas and improves accuracy and efficiency.

CN118675007APending Publication Date: 2024-09-20GENERAL PROSPECTING INSTITUTE OF CHINA NATIONAL ADMINISTRATION OF COAL GEOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410934281.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In mountainous areas, it is difficult to identify coal gangue accumulation areas because the shadows on slopes and asphalt roads are similar to their tones, making it difficult for existing technology to accurately extract image information of coal gangue accumulation areas.

Method used

By obtaining the spectral characteristics and digital elevation information of remote sensing images, combined with multi-scale segmentation method and feature fusion, the terrain data is optimized to extract the feature combination of the coal gangue accumulation area, and the evaluation index is used to select the most suitable feature combination for identification and extraction.

Benefits of technology

It improves the accuracy of identification and extraction of coal gangue accumulation areas in mountainous areas, reduces the amount of data calculation, improves identification efficiency, and avoids interference from asphalt roads and other surface objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675007A
    Figure CN118675007A
Patent Text Reader

Abstract

The invention discloses a method and device for extracting image information of a coal gangue accumulation area based on a remote sensing image, and the method comprises the steps: obtaining a remote sensing image of a to-be-analyzed area, and obtaining at least one spectral feature of the to-be-analyzed area based on the remote sensing image; digital elevation information of the to-be-analyzed area is acquired, at least one supplementary feature of the to-be-analyzed area is acquired based on the digital elevation information, and the at least one supplementary feature is at least one topographic feature; obtaining at least one feature combination and an evaluation index corresponding to each feature combination based on the at least one spectral feature and the at least one topographic feature; the evaluation index is used for evaluating the reliability of the coal gangue accumulation area extracted by using the feature combination; based on the feature combination with the highest evaluation index, image information of the coal gangue accumulation area is extracted, and the recognition accuracy of the coal gangue accumulation area can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of image processing, and in particular to a method and device for extracting image information of a gangue accumulation area based on remote sensing images. Background Art

[0002] Most of the gangue produced by coal mining is piled up in the open air, which has an adverse impact on the surrounding environment. Therefore, effective identification of gangue accumulation areas can provide favorable guarantees for subsequent environmental maintenance and other work. However, from the image itself, different types of objects have different colors, so the image spectral band that reflects the color characteristics is the primary parameter for distinguishing objects. However, due to the presence of more slope shadows in mountainous areas, and usually there are a large number of asphalt roads in the image, and the asphalt roads and slope shadows are similar in color to the gangue accumulation area, a method is urgently needed to accurately extract the image information of the gangue accumulation area from remote sensing image information. Summary of the invention

[0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a method and device for extracting image information of coal gangue accumulation areas based on remote sensing images, which can effectively improve the accuracy of coal gangue accumulation area identification.

[0004] In a first aspect, an embodiment of the present application provides a method for extracting image information of a gangue accumulation area based on remote sensing images, comprising: Acquire a remote sensing image of the area to be analyzed, and acquire at least one spectral feature of the area to be analyzed based on the remote sensing image; Acquire digital elevation information of the area to be analyzed, and acquire at least one supplementary feature of the area to be analyzed based on the digital elevation information, wherein the at least one supplementary feature is at least one terrain feature; Based on the at least one spectral feature and the at least one terrain feature, at least one feature combination and an evaluation index corresponding to each feature combination are obtained; the evaluation index is used to evaluate the reliability of extracting the gangue accumulation area using the feature combination; Based on the feature combination with the highest evaluation index, image information of the gangue accumulation area is extracted.

[0005] In some embodiments, the obtaining of digital elevation information of the area to be analyzed, and obtaining at least one supplementary feature of the area to be analyzed based on the digital elevation information, includes: Based on the digital elevation information, a first-resolution terrain data image and a second-resolution terrain data image are generated, wherein the terrain feature accuracy of the first-resolution terrain data image is higher than that of the second-resolution terrain data image, and a spatial area corresponding to the first-resolution terrain data image is smaller than a spatial area corresponding to the second-resolution terrain data image; performing feature optimization on the second resolution terrain data image based on the first resolution terrain data image; The at least one supplementary feature is extracted based on the optimized second-resolution terrain data image.

[0006] In some embodiments, the performing feature optimization on the second resolution terrain image based on the first resolution terrain image includes: Using a multi-scale segmentation method, the second resolution terrain data image is divided according to the grid network distribution corresponding to the first resolution terrain data image, so as to obtain a second resolution raster image consistent with the spatial area corresponding to the first resolution terrain data image; Assigning values ​​to the second resolution raster image based on pixel values ​​of the second resolution terrain data image; Performing feature fusion on the first-resolution terrain data image and the assigned second-resolution raster image to obtain a feature fused image; Based on the feature fusion image, dilation convolution is performed on the second-resolution terrain data image to obtain the second-resolution terrain data image after feature optimization.

[0007] In some embodiments, obtaining at least one feature combination based on the at least one spectral feature and the at least one terrain feature, and an evaluation index corresponding to each feature combination, includes: Acquire a verification sample set, perform feature extraction on the verification sample set based on each of the feature combinations, and obtain a verification image corresponding to each of the feature combinations; the verification sample set is at least one image of a known coal gangue accumulation area; Each of the feature combinations is evaluated based on the contrast of the verification image to obtain the evaluation index.

[0008] In some embodiments, evaluating each of the feature combinations based on the contrast of the verification image to obtain the evaluation index includes: Obtaining the grayscale average value corresponding to each gangue accumulation area and the grayscale average value corresponding to the non-gangue accumulation area in the verification image; Based on the grayscale average values ​​corresponding to each of the gangue accumulation areas, determining the grayscale average values ​​of other gangue accumulation areas corresponding to each of the gangue accumulation areas; Based on the grayscale average values ​​corresponding to each gangue accumulation area, the grayscale average value corresponding to the non-gangue accumulation area and the grayscale average values ​​of other gangue accumulation areas corresponding to each gangue accumulation area, a contrast evaluation index corresponding to each feature combination is obtained; Each of the feature combinations is evaluated based on the contrast evaluation index to obtain the evaluation index.

[0009] In some embodiments, the contrast evaluation index corresponds to each feature in the feature combination, and evaluating each feature combination based on the contrast evaluation index to obtain the evaluation index includes: For each of the feature combinations, obtaining the contrast evaluation index corresponding to each feature in the feature combination; The ergodic product of the contrast evaluation indexes corresponding to the features in each feature combination is obtained and used as the evaluation index.

[0010] In a second aspect, an embodiment of the present application provides a device for extracting image information of a gangue accumulation area based on remote sensing images, comprising: A first acquisition module, used to acquire a remote sensing image of the area to be analyzed, and acquire at least one spectral feature of the area to be analyzed based on the remote sensing image; A second acquisition module is used to acquire digital elevation information of the area to be analyzed, and acquire at least one supplementary feature of the area to be analyzed based on the digital elevation information, wherein the at least one supplementary feature is at least one terrain feature; An evaluation module, used to obtain at least one feature combination based on the at least one spectral feature and the at least one terrain feature, and an evaluation index corresponding to each feature combination; the evaluation index is used to evaluate the reliability of extracting the gangue accumulation area using the feature combination; An extraction module is used to extract the image information of the gangue accumulation area based on the feature combination with the highest evaluation index.

[0011] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the embodiment of the present application when executing the program.

[0012] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the embodiment of the present application.

[0013] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, it implements the method described in the embodiment of the present application.

[0014] The method and device for extracting image information of gangue accumulation areas based on remote sensing images proposed in the embodiments of the present application can evaluate the feature combination of spectral features extracted based on remote sensing images and terrain features extracted based on digital elevation information, and then select the feature combination suitable for identifying and extracting gangue accumulation areas in mountainous areas, and perform image extraction, effectively avoiding the influence of asphalt roads and other landforms on the extraction of gangue accumulation areas, and greatly improving the accuracy of identifying and extracting gangue accumulation areas in mountainous areas. At the same time, the present application evaluates the feature combination and selects the feature combination that is most suitable for identifying and extracting gangue accumulation areas, so that there is no need to extract and calculate all spectral features and terrain features, and thus can greatly reduce the amount of data calculation in the final identification and extraction of gangue accumulation areas, thereby improving the efficiency of identifying and extracting gangue accumulation areas.

[0015] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings: Figure 1 A schematic diagram of a process for extracting image information of a gangue accumulation area based on remote sensing images provided in an embodiment of the present application is shown; Figure 2 A schematic diagram showing a flow chart of a method for extracting image information of a gangue accumulation area based on remote sensing images provided in another embodiment of the present application; Figure 3 A schematic diagram showing a flow chart of a method for extracting image information of a gangue accumulation area based on remote sensing images provided by another embodiment of the present application is shown; Figure 4 A schematic diagram showing a flow chart of a method for extracting image information of a gangue accumulation area based on remote sensing images provided in yet another embodiment of the present application; Figure 5 A schematic block diagram of a device for extracting image information of a gangue accumulation area based on remote sensing images provided in an embodiment of the present application is shown; Figure 6 A schematic diagram of the structure of a computer system of an electronic device or server suitable for implementing an embodiment of the present application is shown. DETAILED DESCRIPTION

[0017] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0018] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0019] Remote sensing image processing technology can reduce manpower field mapping in areas with complex terrain, thereby achieving large-scale regional identification. Currently, there are examples of using remote sensing image technology to identify gangue accumulation areas and surrounding features. However, because the specific image processing methods used are not dedicated to gangue accumulation areas, the identification effect is not ideal. Previous researchers mainly used the temperature enhancement and inversion of spontaneous combustion gangue to process images containing gangue information. However, based on this method, the identification of gangue accumulation areas is often interfered by asphalt roads, residential areas, and factory buildings with the same high temperature and high reflectivity, which seriously affects the accuracy of identification and extraction.

[0020] Based on this, the present application proposes a method and device for extracting image information of coal gangue accumulation areas based on remote sensing images.

[0021] In order to further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation instruction steps shown in the following embodiments or drawings, more or less operation instruction steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed in the order of the method shown in the embodiment or drawings or in parallel during the actual processing process or when the device is executed.

[0022] Please refer to Figure 1 , Figure 1 The flowchart of the method for extracting the image information of the gangue accumulation area based on remote sensing images provided by an embodiment of the present application is shown. Figure 1 As shown, the method includes: Step 101: Acquire a remote sensing image of a region to be analyzed, and acquire at least one spectral feature of the region to be analyzed based on the remote sensing image.

[0023] It should be noted that in the embodiment of the present application, the remote sensing image of the area to be analyzed is a remote sensing image taken by a satellite sensor. Before extracting the image information of the gangue accumulation area, it is necessary to perform cropping, radiation calibration, atmospheric correction, orthorectification, image fusion and image registration on the remote sensing image taken by the satellite sensor to obtain the original remote sensing image used to extract the image information of the gangue accumulation area. Among them, the image information of the gangue accumulation area refers to the marked position information of the gangue accumulation area on the map.

[0024] It should also be noted that, from the original remote sensing image itself, there are differences in the colors of different categories of objects, so this application selects spectral dimension features as a parameter for object analysis. Specifically, the embodiment of the present application selects image spectral bands (blue band (Blue), green band (Green), red band (Red), near infrared band (NIR)) as spectral feature dimension features, that is, spectral dimension features include blue band features, green band features, red band features and near infrared band features.

[0025] In a feasible embodiment, based on the original remote sensing image, the images corresponding to the blue band, green band, red band and near infrared band are extracted respectively, that is, the blue band image, green band image, red band image and near infrared image are obtained. Specifically, the blue band, green band, red band and near infrared band are used as independent channels and the gray value of each pixel is used as a feature value for feature expression, so as to realize the extraction of the spectral dimension features of the original remote sensing image and obtain the blue band image, green band image, red band image and near infrared image.

[0026] On the other hand, since there are many mountains in southern my country, there are many slope shadows on the original remote sensing images. Due to the development of transportation in my country, there are a large number of asphalt roads in the original remote sensing images. The asphalt roads and slope shadows are both black in tone, which is similar to the gangue accumulation area. Therefore, the embodiment of the present application uses the skimage.color.rgb2hsv() function to convert the original remote sensing image from an RGB image to an HSV image for image enhancement, so that the gangue accumulation area, asphalt roads, and residential areas can be highlighted in the converted image.

[0027] In a feasible embodiment, the present application may further enhance the spectral expression of vegetation by using the red band and the near infrared band to calculate the normalized vegetation index to enhance the characteristic value of vegetation information in the remote sensing image: NDVI = (NIR-Red) / (NIR+Red) Among them, NDVI is the normalized vegetation index, NIR is the near-infrared band image data, and Red is the red band image data.

[0028] Step 102: acquiring digital elevation information of the area to be analyzed, and acquiring at least one supplementary feature of the area to be analyzed based on the digital elevation information, wherein the at least one supplementary feature is at least one terrain feature.

[0029] It should be noted that, as described in the background technology, since the asphalt roads and slope shadows are both black in tone, which is similar to the gangue accumulation area, it is difficult to meet the resolution requirements of the gangue accumulation area in mountainous areas by analyzing and extracting the image information of the gangue accumulation area only through remote sensing images. Based on this, this application proposes to use terrain features as supplementary features to assist remote sensing images in the recognition and extraction of image information of the gangue accumulation area, thereby improving the accuracy of the recognition and extraction of image information of the gangue accumulation area and providing a highly reliable data basis for subsequent planning.

[0030] Among them, the digital elevation image is an image of the digital elevation model (DEM), which is a digital simulation of the ground terrain through limited terrain elevation data, that is, a digital expression of the terrain surface morphology.

[0031] In a possible embodiment, if Figure 2 As shown, based on the original image, terrain dimension features are extracted, including: Step 201, based on digital elevation information, obtain a first resolution terrain data image and a second resolution data image, the terrain feature accuracy of the first resolution terrain data image is higher than that of the second resolution terrain data image, and the spatial area corresponding to the first resolution terrain data image is smaller than the spatial area corresponding to the second resolution terrain.

[0032] It should be noted that in the embodiment of the present application, the digital elevation information can come from different sources, so the terrain data images obtained have different spatial sizes and resolution accuracies. Among them, the 30m spatial resolution large area terrain data image can better reflect the macroscopic terrain change information, but it has a large difference in resolution from the original remote sensing image with high spatial resolution used for spectral feature extraction. Therefore, it is necessary to use terrain data with a resolution similar to that of the original remote sensing image with high spatial resolution to improve the resolution of the 30m spatial resolution large area terrain data image. It should also be noted that in practical applications, high-precision terrain data images have high precision, and it is difficult to complete the acquisition within a large spatial range. Therefore, the present application proposes to compensate the accuracy of the low-precision terrain data images in a large space by using the high-precision terrain data images in a small space, so that the large space low-resolution terrain data images can contain more high-precision information, and improve the accuracy of subsequent recognition and extraction of image information in the gangue accumulation area.

[0033] Optionally, the first-resolution terrain data image is a high-precision terrain data image with a spatial resolution of 5 m, and the second-resolution terrain data image is a low-precision terrain data image with a spatial resolution of 30 m.

[0034] Step 202: Perform feature optimization on the second resolution terrain data image based on the first resolution terrain data image.

[0035] That is, by using the first-resolution terrain data image, the second-resolution terrain data image can contain more image information (improve accuracy).

[0036] In a possible embodiment, if Figure 3 As shown, step 202 performs feature optimization on the second resolution terrain data image based on the first resolution terrain data image, including: Step 2021, using a multi-scale segmentation method, divide the second resolution terrain data image according to the grid network distribution corresponding to the first resolution terrain data image to obtain a second resolution raster image consistent with the spatial area corresponding to the first resolution terrain data image.

[0037] It should be noted that the spatial area corresponding to the first resolution terrain data image can be obtained first, and then the terrain data image to be segmented that is consistent with the spatial area corresponding to the first resolution terrain data image can be obtained from the second resolution terrain data image, and then the terrain data image to be segmented is multi-scale segmented according to the grid network corresponding to the first resolution terrain data image to obtain the second resolution raster image that is consistent with the spatial area corresponding to the first resolution terrain data image. Alternatively, the grid network corresponding to the first resolution terrain data image is obtained first, and then the second resolution terrain data image is multi-scale segmented based on the grid network, and then the second resolution raster image that is consistent with the spatial area corresponding to the first resolution terrain data image is determined from the segmented image. The grid size in the grid network can be 1m×1m.

[0038] Step 2022: assign values ​​to the second resolution raster image based on the pixel values ​​of the second resolution terrain data image.

[0039] Specifically, according to the pixel value of the second resolution terrain data image, the average pixel value G of the second resolution terrain data image is obtained, and the average pixel value G is assigned to each grid in the second resolution raster image to make the information of the second resolution raster image used for feature fusion more uniform, so that the information richness of the fused feature image comes more from the first resolution terrain data image.

[0040] In a feasible embodiment, before assigning values ​​to the second resolution raster image based on the pixel values ​​of the second resolution terrain data image, the second resolution terrain data image may be initially grid-divided, and the grid size during the initial grid division is larger than the grid size of the first resolution terrain data image. Then, the average pixel value G' in each initial grid is obtained respectively, and the average pixel value G' is assigned to the corresponding grid in the second resolution raster image corresponding to the initial grid, so that the assigned pixels in the second resolution raster image can be basically consistent with the pixel distribution of the second resolution terrain data image, and the pixels and distribution information of the second resolution terrain data image can be better preserved.

[0041] Step 2023, feature fusion is performed on the first resolution terrain data image and the assigned second resolution raster image to obtain a feature fused image.

[0042] Optionally, the first resolution terrain data image is additively fused with the assigned second resolution raster image to fully transfer the information of the first resolution terrain data image to the feature fusion image, so that when the feature fusion image is subsequently used to perform dilation convolution on the second resolution terrain data image, the information of the first resolution terrain data image can be fully retained and the information in the first resolution terrain data image can be diffused to the entire second resolution terrain data image.

[0043] Step 2024: Perform dilation convolution on the second-resolution terrain data image based on the feature fusion image to obtain a second-resolution terrain data image after feature optimization.

[0044] Preferably, in order to perform global fusion based on feature fusion, it is necessary to further determine the convolution kernel used by the dilated convolution: ; in, K is the convolution kernel, S l is the size of the second resolution terrain data image, S l-1 is the size of the feature fusion image, S is the step length, P Fill the border.

[0045] That is to say, a convolution kernel for dilated convolution is obtained based on the feature fusion image, and then the convolution kernel is used to perform a global convolution operation on the second resolution terrain data image to obtain a second resolution terrain data image after feature optimization. At this time, the target terrain image contains both the terrain change information of the 30m spatial resolution low-precision terrain data image and the resolution accuracy of the 5m spatial resolution high-precision terrain data image.

[0046] Step 203: extract at least one supplementary feature based on the optimized second-resolution terrain data image.

[0047] It should be noted that at least one of the supplementary features is a slope feature, an aspect feature and an elevation feature.

[0048] In a feasible embodiment, based on the fitting surface method, the slope characteristics and the aspect characteristics are extracted from the optimized second resolution terrain data image.

[0049] Specifically, a 3×3 quadratic surface window is used to calculate the slope in the X direction and the slope in the Y direction of the elevation point at the center of each window. The following formula can be used: ; Among them, Slope is the slope of the center point of the window, Aspect is the slope direction of the center point of the window, x Slope is the slope of the window center in the X direction. y It is the slope of the window center in the Y direction.

[0050] It should also be understood that the elevation data can be obtained based on remote sensing images or digital elevation information, and this application does not make any specific limitation.

[0051] It should also be noted that when conditions permit, for example, when high-precision terrain data images that are consistent with the spatial range of the area to be analyzed can be directly obtained, the high-precision terrain data images can also be directly used to extract supplementary features to further improve the accuracy of the supplementary features.

[0052] Step 103: obtaining at least one feature combination based on at least one spectral feature and at least one terrain feature, and an evaluation index corresponding to each feature combination.

[0053] It should be noted that since spectral features (blue band, green band, red band, near infrared band (NIR)) and terrain features (slope, aspect and elevation) can both characterize the characteristics of gangue accumulation areas, they can all be used to classify and identify gangue accumulation areas and non-gangue accumulation areas in the image. However, based on the ability of various features to characterize gangue accumulation areas and the combined effects of multiple features, different combinations of feature combinations will lead to different effects of the final gangue accumulation area extraction. Therefore, the present application proposes a method of evaluating each feature combination to select the feature combination that is most suitable for identifying and extracting gangue accumulation areas in mountainous areas.

[0054] In the embodiment of the present application, the number of feature combinations consisting of at least one spectral feature and at least one topographic feature can be determined by the number of combinations, that is, the number of feature combinations includes but is not limited to , and then the corresponding feature combination method can be obtained, and each combination method can be evaluated to obtain the evaluation index.

[0055] In a possible embodiment, if Figure 4 As shown, step 103, based on at least one spectral feature and at least one terrain feature, at least one feature combination and an evaluation index corresponding to each feature combination are obtained, including: Step 1031, obtain a verification sample set, perform feature extraction on the verification sample set based on each feature combination, and obtain a verification image corresponding to each feature combination; the verification sample set is at least one image of a known coal gangue accumulation area.

[0056] It should be noted that the verification sample set is a high-quality sample obtained after using a support vector machine to screen data from known gangue accumulation areas and non-gangue accumulation areas collected in the field, as the verification sample set, where high-quality samples refer to image samples that can better distinguish between gangue accumulation areas and non-gangue accumulation areas when classified by a support vector machine.

[0057] In a feasible embodiment, feature extraction is performed on the verification sample set based on each feature combination, including performing feature extraction on each image in the verification sample set for at least one feature in each feature combination, and obtaining a verification image corresponding to each image, that is, the number of final verification images corresponding to each image in the verification sample set is 1. Alternatively, feature extraction is performed on each image in the verification sample set for at least one feature in each feature combination, so that each feature obtains a verification image corresponding to each image, that is, the number of final verification images corresponding to each image in the verification sample set is the number of features in the feature combination.

[0058] Step 1032, evaluating each feature combination based on the contrast of the verification image to obtain an evaluation index.

[0059] It should be understood that when extracting features for binary classification of gangue accumulation areas and non-gangue accumulation areas, colors with relatively high contrast are usually selected to express the two, or colors that can be effectively distinguished, in order to achieve the purpose of highlighting the gangue accumulation area. Based on this, the present application selects the contrast information after feature extraction to verify the classification results after feature extraction, which not only meets the objective and reliable requirements, but also can achieve the purpose of automated verification.

[0060] Specifically, obtain the grayscale average value corresponding to each gangue accumulation area in the verification image i n The gray value corresponding to the non-gangue accumulation area j m, and based on the grayscale average value corresponding to each gangue accumulation area i n , determine the grayscale average of other gangue accumulation areas corresponding to each gangue accumulation area i s Then based on the grayscale average value corresponding to each gangue accumulation area i n , the gray value corresponding to the non-gangue accumulation area j m and the grayscale average of other gangue accumulation areas corresponding to each gangue accumulation area i s , and obtain the contrast evaluation index corresponding to each feature combination.

[0061] Specifically, the contrast evaluation index can be expressed as follows: ; Among them, T is the contrast evaluation index corresponding to the verification image, i n In order to verify the grayscale average value corresponding to each gangue accumulation area in the image, j m is the average grayscale value corresponding to the non-gangue accumulation area, i s is the average grayscale value of other gangue accumulation areas corresponding to each gangue accumulation area, l To verify the actual number of gangue accumulation areas in the image, m is the actual number of samples in non-gangue accumulation areas, N is i n and i s Same quantity.

[0062] In a feasible embodiment, when the number of final verification images corresponding to each image in the verification sample set is 1, the contrast evaluation index of the verification image corresponding to the verification sample set is used as the evaluation index of the feature combination.

[0063] In another feasible embodiment, when the number of final verification images corresponding to each image in the verification sample set is the number of features in the feature combination, it further includes: for each feature combination, obtaining the contrast evaluation index corresponding to each feature in the feature combination, and then obtaining the ergodic product of the contrast evaluation indexes corresponding to each feature in each feature combination, and using it as the evaluation index.

[0064] Specifically, the evaluation index can be calculated using the following formula: ; in, Td is the contrast evaluation index of the verification image corresponding to each feature, and D is the evaluation index.

[0065] Step 104: extracting image information of the gangue accumulation area based on the feature combination with the highest evaluation index.

[0066] That is to say, the evaluation index determined by contrast can characterize the effect of the feature combination in classifying and extracting gangue accumulation areas and non-gangue accumulation areas. The higher the evaluation index of the feature combination, the more reliable its classification result. Therefore, the feature combination with the highest evaluation index is used to extract image information of gangue accumulation areas, and then the feature combination is used to extract image information of gangue accumulation areas in mountainous areas.

[0067] Thus, the image processing method for extracting gangue accumulation area based on remote sensing image proposed in the embodiment of the present application can evaluate the feature combination of spectral features extracted based on remote sensing image and terrain features extracted by digital elevation information, and then select the feature combination suitable for identifying and extracting gangue accumulation area in mountainous area and perform image extraction, effectively avoiding the influence of asphalt road and other landforms on the extraction of gangue accumulation area, and greatly improving the accuracy of identifying and extracting gangue accumulation area in mountainous area. At the same time, the present application enriches the terrain detail information as much as possible when high-resolution terrain data is not easy to obtain by optimizing low-resolution terrain data, and enhances the effectiveness of terrain information in the extraction process of gangue accumulation area. In addition, the present application selects the most suitable feature combination for identifying and extracting gangue accumulation area by evaluating the feature combination, so that there is no need to extract and calculate all spectral features and terrain features, and then can greatly reduce the amount of data calculation when the final gangue accumulation area is identified and extracted, and improve the efficiency of identifying and extracting image information of gangue accumulation area.

[0068] It should be noted that although the operations of the method of the present invention are described in a particular order in the drawings, this does not require or imply that the operations must be performed in this particular order or that all illustrated operations must be performed to achieve the desired results.

[0069] Figure 5 A block diagram of a device for extracting image information of a gangue accumulation area based on remote sensing images provided in one embodiment of the present application is shown.

[0070] like Figure 5 As shown, the device 10 for extracting image information of a gangue accumulation area based on remote sensing images proposed in the embodiment of the present application includes: A first acquisition module 11 is used to acquire a remote sensing image of the area to be analyzed, and acquire at least one spectral feature of the area to be analyzed based on the remote sensing image; A second acquisition module 12 is used to acquire digital elevation information of the area to be analyzed, and acquire at least one supplementary feature of the area to be analyzed based on the digital elevation information, wherein the at least one supplementary feature is at least one terrain feature; An evaluation module 13, used to obtain at least one feature combination based on the at least one spectral feature and the at least one terrain feature, and an evaluation index corresponding to each feature combination; the evaluation index is used to evaluate the reliability of extracting the gangue accumulation area using the feature combination; The extraction module 14 is used to extract the image information of the gangue accumulation area based on the feature combination with the highest evaluation index.

[0071] In some embodiments, the second acquisition module 12 is further used to: Based on the digital elevation information, a first-resolution terrain data image and a second-resolution terrain data image are generated, wherein the terrain feature accuracy of the first-resolution terrain data image is higher than that of the second-resolution terrain data image, and a spatial area corresponding to the first-resolution terrain data image is smaller than a spatial area corresponding to the second-resolution terrain data image; performing feature optimization on the second resolution terrain data image based on the first resolution terrain data image; The at least one supplementary feature is extracted based on the optimized second-resolution terrain data image.

[0072] In some embodiments, the second acquisition module 12 is further used to: Using a multi-scale segmentation method, the second resolution terrain data image is divided according to the grid network distribution corresponding to the first resolution terrain data image, so as to obtain a second resolution raster image consistent with the spatial area corresponding to the first resolution terrain data image; Assigning values ​​to the second resolution raster image based on pixel values ​​of the second resolution terrain data image; Performing feature fusion on the first-resolution terrain data image and the assigned second-resolution raster image to obtain a feature fused image; Based on the feature fusion image, dilation convolution is performed on the second-resolution terrain data image to obtain the second-resolution terrain data image after feature optimization.

[0073] In some embodiments, the evaluation module 13 is further configured to: Acquire a verification sample set, perform feature extraction on the verification sample set based on each of the feature combinations, and obtain a verification image corresponding to each of the feature combinations; the verification sample set is at least one image of a known coal gangue accumulation area; Each of the feature combinations is evaluated based on the contrast of the verification image to obtain the evaluation index.

[0074] In some embodiments, the evaluation module 13 is further configured to: Obtaining the grayscale average value corresponding to each gangue accumulation area and the grayscale average value corresponding to the non-gangue accumulation area in the verification image; Based on the grayscale average values ​​corresponding to each of the gangue accumulation areas, determining the grayscale average values ​​of other gangue accumulation areas corresponding to each of the gangue accumulation areas; Based on the grayscale average values ​​corresponding to each gangue accumulation area, the grayscale average value corresponding to the non-gangue accumulation area and the grayscale average values ​​of other gangue accumulation areas corresponding to each gangue accumulation area, a contrast evaluation index corresponding to each feature combination is obtained; Each of the feature combinations is evaluated based on the contrast evaluation index to obtain the evaluation index.

[0075] In some embodiments, the contrast evaluation index corresponds to each feature in the feature combination, and the evaluation module 13 is further used to: For each of the feature combinations, obtaining the contrast evaluation index corresponding to each feature in the feature combination; The ergodic product of the contrast evaluation indexes corresponding to the features in each feature combination is obtained and used as the evaluation index.

[0076] It should be understood that the units or modules recorded in the device 10 for extracting image information of coal gangue accumulation area based on remote sensing images are the same as those in the reference Figure 1 The various steps in the described method correspond to each other. Therefore, the operations and features described above for the method are also applicable to the device 10 for extracting image information of a gangue accumulation area based on remote sensing images and the units contained therein, which will not be repeated here. The device 10 for extracting image information of a gangue accumulation area based on remote sensing images can be pre-implemented in a browser or other security application of an electronic device, or can be loaded into the browser of an electronic device or its security application by downloading or the like. The corresponding units in the device 10 for extracting image information of a gangue accumulation area based on remote sensing images can cooperate with the units in the electronic device to implement the solution of the embodiment of the present application.

[0077] For the several modules or units mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0078] Reference below Figure 6 , Figure 6 A schematic diagram of the structure of a computer system of an electronic device or server suitable for implementing an embodiment of the present application is shown. like Figure 6 As shown, the computer system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. Various programs and data required for the operation instructions of the system are also stored in the RAM 603. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0079] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0080] In particular, according to an embodiment of the present application, the above reference flow chart Figure 2 The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.

[0081] It should be noted that the computer-readable medium shown in the present application 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 application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium such as a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0082] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operating instructions of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the aforementioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operating instruction, or can be implemented with a combination of dedicated hardware and computer instructions.

[0083] The units or modules involved in the embodiments described in the present application may be implemented by software or by hardware. The units or modules described may also be arranged in a processor, for example, they may be described as: a processor includes a first acquisition module, a second acquisition module, an evaluation module, and an extraction module. Among them, the names of these units or modules do not constitute a limitation on the units or modules themselves under certain circumstances. For example, the first acquisition module may also be described as "acquiring a remote sensing image of the area to be analyzed, and acquiring at least one spectral feature of the area to be analyzed based on the remote sensing image."

[0084] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the method described in the present application for extracting image information of coal gangue accumulation area based on remote sensing images.

[0085] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present application (but not limited to) by each other to form a technical solution.

Claims

1. A method for extracting image information of coal gangue accumulation area based on remote sensing images, It is characterized in that include: Acquire a remote sensing image of the area to be analyzed, and acquire at least one spectral feature of the area to be analyzed based on the remote sensing image; Acquire digital elevation information of the area to be analyzed, and acquire at least one supplementary feature of the area to be analyzed based on the digital elevation information, wherein the at least one supplementary feature is at least one terrain feature; Based on the at least one spectral feature and the at least one terrain feature, at least one feature combination and an evaluation index corresponding to each feature combination are obtained; the evaluation index is used to evaluate the reliability of extracting the gangue accumulation area using the feature combination; Based on the feature combination with the highest evaluation index, the image information of the gangue accumulation area is extracted.

2. The method for extracting image information of coal gangue accumulation area based on remote sensing images according to claim 1, It is characterized in that The step of obtaining digital elevation information of the area to be analyzed, and obtaining at least one supplementary feature of the area to be analyzed based on the digital elevation information, includes: Based on the digital elevation information, a first-resolution terrain data image and a second-resolution terrain data image are obtained, wherein the terrain feature accuracy of the first-resolution terrain data image is higher than that of the second-resolution terrain data image, and a spatial area corresponding to the first-resolution terrain data image is smaller than a spatial area corresponding to the second-resolution terrain data image; performing feature optimization on the second resolution terrain data image based on the first resolution terrain data image; The at least one supplementary feature is extracted based on the optimized second-resolution terrain data image.

3. The method for extracting image information of coal gangue accumulation area based on remote sensing images according to claim 2, It is characterized in that The performing feature optimization on the second-resolution terrain image based on the first-resolution terrain image includes: Using a multi-scale segmentation method, the second resolution terrain data image is divided according to the grid network distribution corresponding to the first resolution terrain data image, so as to obtain a second resolution raster image consistent with the spatial area corresponding to the first resolution terrain data image; Assigning values ​​to the second resolution raster image based on pixel values ​​of the second resolution terrain data image; Performing feature fusion on the first-resolution terrain data image and the assigned second-resolution raster image to obtain a feature fused image; Based on the feature fusion image, dilation convolution is performed on the second-resolution terrain data image to obtain the second-resolution terrain data image after feature optimization.

4. The method for extracting image information of coal gangue accumulation area based on remote sensing images according to claim 1, It is characterized in that At least one feature combination is obtained based on the at least one spectral feature and the at least one terrain feature, and an evaluation index corresponding to each feature combination includes: Acquire a verification sample set, perform feature extraction on the verification sample set based on each of the feature combinations, and obtain a verification image corresponding to each of the feature combinations; the verification sample set is at least one image of a known coal gangue accumulation area; Each of the feature combinations is evaluated based on the contrast of the verification image to obtain the evaluation index.

5. The method for extracting image information of coal gangue accumulation area based on remote sensing images according to claim 4, It is characterized in that The step of evaluating each of the feature combinations based on the contrast of the verification image to obtain the evaluation index comprises: Obtaining the grayscale average value corresponding to each gangue accumulation area and the grayscale average value corresponding to the non-gangue accumulation area in the verification image; Based on the grayscale average values ​​corresponding to each of the gangue accumulation areas, determining the grayscale average values ​​of other gangue accumulation areas corresponding to each of the gangue accumulation areas; Based on the grayscale average values ​​corresponding to each gangue accumulation area, the grayscale average value corresponding to the non-gangue accumulation area, and the grayscale average values ​​of other gangue accumulation areas corresponding to each gangue accumulation area, a contrast evaluation index corresponding to each feature combination is obtained; Each of the feature combinations is evaluated based on the contrast evaluation index to obtain the evaluation index.

6. The method for extracting image information of coal gangue accumulation area based on remote sensing images according to claim 5, It is characterized in that The contrast evaluation index corresponds to each feature in the feature combination, and each feature combination is evaluated based on the contrast evaluation index to obtain the evaluation index, including: For each of the feature combinations, obtaining the contrast evaluation index corresponding to each feature in the feature combination; The ergodic product of the contrast evaluation indexes corresponding to the features in each feature combination is obtained and used as the evaluation index.

7. A device for extracting image information of coal gangue accumulation area based on remote sensing images, It is characterized in that include: A first acquisition module, used to acquire a remote sensing image of the area to be analyzed, and acquire at least one spectral feature of the area to be analyzed based on the remote sensing image; A second acquisition module is used to acquire digital elevation information of the area to be analyzed, and acquire at least one supplementary feature of the area to be analyzed based on the digital elevation information, wherein the at least one supplementary feature is at least one terrain feature; An evaluation module, used to obtain at least one feature combination based on the at least one spectral feature and the at least one terrain feature, and an evaluation index corresponding to each feature combination; the evaluation index is used to evaluate the reliability of extracting the gangue accumulation area using the feature combination; An extraction module is used to extract the image information of the gangue accumulation area based on the feature combination with the highest evaluation index.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, it implements the method for extracting image information of coal gangue accumulation area based on remote sensing images as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, it implements the method for extracting image information of a gangue accumulation area based on remote sensing images as described in any one of claims 1 to 6.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, it implements the method for extracting image information of coal gangue accumulation area based on remote sensing images as described in any one of claims 1 to 6.