Map resource identification method and system based on deep learning, and storage medium

By using resource tags and constraint parameters for supervised training, and optimizing the model through pre-classification and pseudo-probability tags, the problem of low accuracy of map resource recognition models in the existing technology is solved, and the recognition accuracy and training efficiency are improved.

CN118658015AActive Publication Date: 2024-09-17JIANGXI HEYI TECH CO LTD

Patent Information

Application Number
CN202411141369.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-09-17
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

Existing deep learning map resource identification methods have low model accuracy under unsupervised training, especially when there are many types of data resources and many types of advanced feature annotations, and a large number of manually annotated data sets are required during the training process, which increases the workload. volume and difficulty.

Method used

By using resource tags to mark map resources, constraint parameters are generated and supervised training is performed. The model is further optimized through pre-classification and pseudo-probability tags to reduce irrelevant data interference and improve model accuracy.

Benefits of technology

It is possible to improve the accuracy of map resource identification in the absence of a large number of annotated map resources, reduce the manual annotation workload during the training process, and improve the training quality and accuracy of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658015A
    Figure CN118658015A
Patent Text Reader

Abstract

The invention discloses a map resource identification method and system based on deep learning and a storage medium, and relates to the technical field of geographic information processing. The method comprises the following steps: marking a first map resource with obvious features on a first geoscience image, and training a first learning model capable of identifying the first map resource; and extracting constraint parameters of the second map resource based on the public external map, and training a second learning model capable of identifying the second map resource according to the constraint parameters. And deleting the first map resource and the second map resource on the first geoscience image to generate a second geoscience image, and pre-classifying the second geoscience image to generate a pseudo probability tag. The pseudo probability label is used for guiding the training of a third learning model, so that the third learning model can identify a third map resource. Through the method, the recognition accuracy of the map resources can be remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of geographic information processing technology, and in particular to a map resource identification method, system and storage medium based on deep learning. Background Art

[0002] Using deep learning training, a model of key information such as buildings, roads, farmland, trees and waters can be automatically extracted from remote sensing images, which is extremely critical for many fields such as urban planning, environmental monitoring, disaster assessment and land use management. The Chinese patent application with publication number CN116091937A discloses a method for calculating a high-resolution remote sensing image object recognition model based on deep learning. The method trains a remote sensing image object recognition model based on deep learning to realize the recognition of objects in remote sensing images. However, this method produces a data set by manual visual interpretation, which makes it difficult to form a large-scale data set. Chinese patent application number CN201911332974.9 discloses a remote sensing image automatic annotation method based on deep learning, which uses a data set to train a multi-task deep learning model (MDLF), and obtains the optimal training model by adjusting the deep neural network, thereby obtaining a trained multi-task deep learning model. This method eliminates the annotation step of the model and reduces the manual production of data sets in the early stage. However, this method uses unlabeled remote sensing images for unsupervised learning, extracts abstract and advanced features from the input images and annotates the images, and finally adjusts the deep neural network to obtain the optimal training model. For map information with a large number of data resource types, there are many types of annotations for advanced features, and the accuracy of the unsupervised training model is low. Therefore, it is necessary to provide a deep learning map resource recognition method to reduce the workload of annotating data set map resources when training learning models and improve model accuracy. Summary of the invention

[0003] In order to solve the defects of the above-mentioned prior art, the present invention proposes a map resource identification method, system and storage medium based on deep learning. The method labels the first map resource according to the resource label and generates the constraint parameters of the second map resource using a public external map library, realizes the supervised training of the first learning model and the second learning model, and improves the model accuracy. Furthermore, the present invention pre-classifies the second geoscientific image after deleting the first map resource and the second map resource, and improves the accuracy of the third learning model.

[0004] In order to achieve the above object, the first aspect of the present invention provides a map resource identification method based on deep learning, comprising the following steps: Step 1: The target area has at least one or more of the first map resource, the second map resource and the third map resource. The camera unit captures a remote sensing image of the target area and detects the position parameter and the posture parameter of the camera unit. Step 2: Correcting the remote sensing image based on the attitude parameters and the position parameters to obtain a corrected image, generating error parameters between the corrected image and the remote sensing image, and dividing the corrected image into a plurality of first geoscientific images; Step 3: Obtain a resource tag of a first map resource, match the resource tag to a first geoscientific image, create a first data set according to the resource tag and the first geoscientific image, and train a first learning model according to the first data set; Step 4: Obtain a reference data set of an external map, train a basic resource model based on the reference data set, and generate constraint parameters of a second map resource according to the basic resource model; Step 5: creating a second data set based on the constraint parameters, the first geoscientific image, and the error parameters corresponding to the first geoscientific image, and training a second learning model based on the second data set; Step 6: after deleting the first map resource and the second map resource of the first geoscientific image, generate a second geoscientific image, extract the connected area of ​​the second geoscientific image, and generate a pseudo-probability label of the connected area; Step 7: creating a third data set based on the pseudo-probability labels and the second geoscientific image, and training a third learning model based on the third data set; Step 8: input a target image, identify a first map resource of the target image according to the first learning model, and identify a second map resource of the target image according to the second learning model; Step 9: After deleting the first map resource and the second map resource of the target image, an intermediate image is generated, and a third map resource of the intermediate image is identified according to the third learning model.

[0005] In the present invention, in step 2, a rotation matrix is ​​constructed according to the posture parameters of the camera unit, a collinearity equation function is generated according to the rotation matrix and the position parameters of the camera unit, initial ground coordinates corresponding to the remote sensing image coordinate points are preset, actual ground coordinates are iteratively generated according to the collinearity equation function, the corrected image coordinates are calculated according to the actual ground coordinates, and the pixel points of the remote sensing image are mapped to the corrected image according to the corrected image coordinates.

[0006] In the present invention, in step 3, the first learning model includes a backbone network module, a pyramid network module, and a full convolutional network module. When training the first learning model, an anchor point is set at the position of the resource label corresponding to the first geoscientific image, the first feature map of the first geoscientific image is extracted by the backbone network module, the enhanced feature map of the first feature map is extracted by the pyramid network module, and then the enhanced feature map is processed by the full convolutional network to obtain a return feature map, the return feature map has at least one bounding box, the intersection and union ratio of the anchor point and the bounding box is calculated, the anchor point is classified into positive samples and negative samples according to the intersection and union ratio, the classification loss of each anchor point is calculated by a first loss function, the bounding box confidence is calculated according to the bounding box and the border of the first map resource, and then the first learning model is updated according to the classification loss and the bounding box confidence.

[0007] In the present invention, in step 4, the size of the sliding window is preset, the external map is divided into multiple sub-maps based on the sliding window, a reference data set is generated according to the sub-maps, a second map resource of the reference data set is identified according to the basic resource model, and direction data of the second map resource is extracted, and the constraint parameters include the direction data.

[0008] In the present invention, in step 5, the first geological image is segmented into multiple first sub-images based on the sliding window, the first sub-images are input into the second learning model, the second loss function of the second learning model is generated according to the error parameters and the constraint parameters, and the second learning model is updated according to the second loss function.

[0009] In the present invention, in step 6, a pixel label is assigned to each pixel area of ​​the second geological image, and the neighborhood of any pixel area is searched. If the pixel label of the neighborhood is the same as that of the pixel area, the neighborhood is merged with the pixel area to generate a new pixel area, and a pixel label is assigned to the new pixel area and the neighborhood is searched again until all pixel areas cannot be merged, and the pixel areas are divided into independent connected areas.

[0010] In the present invention, in step 6, multiple reference shapes and reference pixels of the third map resources are preset, the shape similarity and pixel similarity between each connected area and the third map resource are calculated, and the pseudo-probability label of the connected area relative to the third map resource is calculated based on the shape similarity and pixel similarity.

[0011] In the present invention, in step 7, the third learning model is trained with the second geoscientific image, a cross entropy loss function is generated according to the pseudo-probability labels, and the third learning model is updated according to the cross entropy loss function.

[0012] In a second aspect of the present invention, a system for implementing the map resource identification method based on deep learning is also provided, comprising at least one processor and a memory, wherein the memory is used to store one or more programs, and when the program is executed by the processor, the processor implements the map resource identification method based on deep learning.

[0013] According to a third aspect of the present invention, a storage medium is provided, which stores one or more programs for implementing the map resource identification method based on deep learning.

[0014] The map resource identification method, system and storage medium based on deep learning implemented in the present invention have the following beneficial effects: the present invention first marks a first map resource with obvious features in a first geoscientific image, identifies a second map resource that has been stored in a public external map, identifies the second map resource of the first geoscientific image according to constraint parameters, implements supervised training of the first learning model and the second learning model, and improves model accuracy. The present invention generates a second loss function according to the error parameter to avoid affecting the training quality of the second learning model due to image correction errors. Furthermore, the present invention deletes the interference data of the first map resource and the second map resource to implement the training of the third map resource. The present invention pre-classifies the second geoscientific image after deleting the first map resource and the second map resource, generates a pseudo-probability label, and evaluates the cross-entropy loss function with the pseudo-probability label to avoid completely unsupervised model training and improve the accuracy of the third learning model. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A flowchart of a map resource identification method based on deep learning of the present invention; Figure 2 is a schematic diagram of a remote sensing image of the present invention; Figure 3 A schematic diagram of a target area for photographing according to the present invention; Figure 4 It is a schematic diagram of deformation of a remote sensing image when the pitch angle changes according to the present invention; Figure 5 It is a schematic diagram of deformation of a remote sensing image when the yaw angle changes according to the present invention; Figure 6 It is a schematic diagram of deformation of a remote sensing image when the rolling angle changes according to the present invention; Figure 7 A schematic diagram of correcting a remote sensing image according to the present invention; Figure 8 A schematic diagram of segmenting an external map according to the present invention; Fig. 9 A flow chart for generating connected regions for the present invention; Fig.10 is a schematic diagram of a first learning model of the present invention; Fig.11 is a schematic diagram of a second learning model of the present invention; Fig.12 is a schematic diagram of a third learning model of the present invention; Fig.13 Schematic diagram of the data structure of the pseudo-probability label of the present invention; Fig.14 A block diagram of a system for implementing the deep learning-based map resource identification method of the present invention. DETAILED DESCRIPTION

[0016] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0017] In the prior art, the training of deep learning models for map resources usually relies on a large number of annotated maps. For tasks such as map resource identification, the differences between different maps increase the difficulty of training high-quality models. Therefore, in the process of building a training dataset, experts are usually required to select appropriate images from historical data samples and perform fine annotations manually or semi-manually. This process often requires a lot of human resources to ensure the quality and accuracy of the dataset.

[0018] The present invention adopts a supervised training scheme for easily identifiable first map resources, such as buildings, vehicles, etc., and can quickly train a first learning model that can effectively identify the first map resources. For second map resources such as rivers and roads, the present invention uses a public external map to train a basic resource model, extracts constraint parameters of the second map resources from the basic resource model, and completes the training of the second learning model based on the constraint parameters, thereby reducing the time and sample data required for training the second learning model. For third map resources such as grasslands, woodlands, and wastelands that are unknown and difficult to annotate, the present invention first deletes the first map resources and the second map resources in the first geographic image to generate a second geographic image to reduce interference from irrelevant data. Then, according to the type of third map resources that may exist in the second geographic image, the second geographic image is pre-classified, and the third learning model is trained based on the pre-classified second geographic image. In the above manner, the accuracy of map resource recognition can be improved even in the absence of a large number of annotated maps. Embodiment 1

[0019] Reference Figures 1 to 9 The map resource identification method based on deep learning of the present invention described in detail in this embodiment includes the following steps.

[0020] Step 1: The target area has at least one or more of the first map resource, the second map resource and the third map resource. The camera unit takes a remote sensing image of the target area and detects the position parameters and attitude parameters of the camera unit. Figure 2 As shown, the remote sensing image contains at least one or more of the first map resource, the second map resource and the third map resource. The first map resource is, for example, man-made facility resources, including buildings, public facilities, transportation facilities, entertainment facilities and sports facilities. The second map resource is, for example, map information marked on an external map such as a road or a river, and the second map resource can usually be represented by direction data. The third map resource is, for example, natural resources that are difficult to directly identify, such as forests and wastelands. Figure 3 The drone is equipped with a camera unit and a sensor unit. The sensor unit is, for example, a gyroscope and an accelerometer. The camera unit is, for example, a high-speed camera. The sensor unit can detect the position parameters and attitude parameters of the camera unit. The position parameters are (X', Y', Z'), and the attitude parameters are (ω, κ, φ), where X' is the X-axis coordinate of the camera unit in the ground coordinate system, Y' is the Y-axis coordinate of the camera unit in the ground coordinate system, Z' is the Z-axis coordinate of the camera unit in the ground coordinate system, ω is the pitch angle, κ is the yaw angle, and φ is the roll angle.

[0021] Step 2: Correct the remote sensing image based on the attitude parameters and position parameters to obtain a corrected image, generate error parameters between the corrected image and the remote sensing image, and divide the corrected image into a plurality of first geoscientific images. Changes in attitude parameters and position parameters will cause the remote sensing image to deform. Figures 4 to 6 A schematic diagram of the deformation of remote sensing images caused by changes in several attitude parameters is given. Figure 7 , construct a rotation matrix R according to the posture parameters of the camera unit, generate a collinearity equation function according to the rotation matrix R and the position parameters of the camera unit, preset the initial ground coordinates corresponding to the remote sensing image coordinate point s, iteratively generate the actual ground coordinates S according to the collinearity equation function, calculate the corrected image coordinates according to the actual ground coordinates S, and map the pixels of the remote sensing image to the corrected image according to the corrected image coordinates.

[0022] Step 3: Obtain a resource tag of the first map resource, match the resource tag to the first geoscientific image, create a first data set based on the resource tag and the first geoscientific image, and train a first learning model based on the first data set. The resource tag is, for example, a border of the first map resource, and the location of the border of the first map resource such as a building is marked in the first geoscientific image through the border. The training method of the first learning model is described in Example 3.

[0023] Step 4: Obtain a reference dataset of an external map, train a basic resource model based on the reference dataset, and generate constraint parameters of the second map resource based on the basic resource model. Figure 8 , preset the size of the sliding window, divide the external map into multiple sub-maps based on the sliding window, generate a reference data set according to the sub-maps, and identify the second map resource of the reference data set according to the basic resource model. The reference data set is, for example, data of the external map in the target area, and the basic resource model can be a map architecture of the external map. The constraint parameters of the second map resource can be quickly extracted through the basic resource model, and the constraint parameters include the direction data of the second map resource. First, determine the position coordinates of the second map resource, and then calculate the slope angle of the position coordinates to obtain the direction data of the pixel point.

[0024] Step 5: Create a second data set based on the constraint parameters, the first geoscientific image, and the error parameters corresponding to the first geoscientific image, and train the second learning model based on the second data set. Divide the first geoscientific image into multiple first sub-images based on the sliding window. In this embodiment, the sliding window can ensure that the first sub-image is the same size as the sub-map. Furthermore, the present invention rotates and aligns the first geoscientific image according to the coordinate data of the first map resource to ensure that the first sub-image and the sub-map have the same direction. After the direction is adjusted, the coordinate data of the second map resource in the first sub-image is extracted, and then the direction data of the second map resource at any pixel point is calculated. The direction data is the tangent of the second map resource at any pixel point, that is, the slope angle of the pixel point. The first sub-image is input into the second learning model, and the method for training the second learning model can refer to Example 4.

[0025] Step 6: After deleting the first map resource and the second map resource of the first geoscientific image, generate a second geoscientific image, extract the connected area of ​​the second geoscientific image, and generate a pseudo-probability label of the connected area. Fig. 9 , assign a pixel label to each pixel area of ​​the second geoscientific image, search for the neighborhood of any pixel area, if the pixel label of the neighborhood is the same as that of the pixel area, merge the neighborhood and the pixel area to generate a new pixel area, assign a pixel label to the new pixel area and search for the neighborhood again, until all pixel areas cannot be merged, and divide the pixel area into independent connected areas. This embodiment presets multiple reference shapes and reference pixels of the third map resources, calculates the shape similarity and pixel similarity of each connected area with the third map resource, and calculates the pseudo-probability label of the connected area relative to the third map resource based on the shape similarity and pixel similarity.

[0026] Step 7: Create a third data set based on the pseudo-probability label and the second geoscientific image, and train a third learning model based on the third data set. The pseudo-probability label is a probability value that the connected area belongs to any third map resource. The third learning model is trained with the second geoscientific image, and the training method of the third learning model is described in Example 5.

[0027] Step 8: Input the target image, identify the first map resource of the target image according to the first learning model, and identify the second map resource of the target image according to the second learning model. After the first learning model, the second learning model, and the third learning model are trained, steps 8 and 9 use the corresponding models to identify the corresponding map resources. The target image is the remote sensing image to be identified.

[0028] Step 9: After deleting the first map resource and the second map resource of the target image, an intermediate image is generated, and the third map resource of the intermediate image is identified according to the third learning model. The intermediate image has multiple mutually separated connected areas, which facilitates the third learning model to identify the third map resource therein. Embodiment 2

[0029] Reference Figure 7 , this embodiment further discloses a method for generating a corrected image in step 2.

[0030] Step 201: When acquiring a remote sensing image, extract the position parameters (X', Y', Z') and the posture parameters (ω, κ, φ) of the camera unit. Construct a rotation matrix , where r 11 =cosφcosκ-sinφsinωsinκ, r 12 =-cosφsinκ-sinφsinωcosκ, r 13 = -sinφcosω, r 21 =sinφcosκ+cosφsinωsinκ, r 22 = -sinφsinκ+cosφsinωcosκ, r 23 = cosφcosω, r 31 = cosφsinκ, r 32 = cosφcosκ, r 33 = -sinω.

[0031] Step 202: Calculate the actual ground coordinates (X, Y, Z) corresponding to the remote sensing image coordinate point (x, y). Set the initial ground coordinates (X0, Y0, Z0), and use the collinear equation function to calculate the corresponding image coordinates (x0, y0) from (X0, Y0, Z0). The collinear equation function is expressed as , , where f is the focusing parameter of the camera unit, (x s ,y s ) is the center coordinate point of the remote sensing image.

[0032] Step 203: Use the Newton-Raphson method to iteratively update (X0, Y0, Z0). The ground coordinate matrix W estimated at the mth iteration m =[Xm ,Y m ,Z m ], the collinear equation function in W m The image coordinates corresponding to the position are F(W m ), then the ground coordinates W estimated at the m+1th iteration m+1 =W m -J -1 (W m )F(W m ), J -1 (W m ) is the inverse of the Jacobian matrix.

[0033] Step 204: The iteration stops when the difference between the remote sensing image coordinate point (x, y) and the image coordinate (x0, y0) is less than a preset threshold. At this time, (X0, Y0, Z0) is used as the actual ground coordinate (X, Y, Z) corresponding to the remote sensing image coordinate point (x, y).

[0034] Step 205: Obtain the upper left corner point A, the upper right corner point B, the lower left corner point C, and the lower right corner point D on the remote sensing image, and calculate the corresponding actual ground coordinates (X A , Y A , Z A )、(X B , Y B , Z B )、(X C , Y C , Z C ) and (X D , Y D , Z D ). Determine the largest Y-axis coordinate Y max , the minimum Y-axis coordinate Y min , the maximum X-axis coordinate X max , the minimum X-axis coordinate X min . Then the number of pixel rows of the corrected image is row=(Y max -Y min ) / v, the number of pixel rows of the corrected image col=(X max -X min ) / v, where v is the resolution of the remote sensing image.

[0035] Step 206: Calculate the corrected image coordinates (x', y') according to the actual ground coordinates (X, Y, Z), where x'=v(XX min ) / col,y'= v(YY min) / row. The pixel point of the remote sensing image coordinate point (x, y) is mapped to the corrected image coordinate point (x', y'). Further, the remote sensing image coordinate point (x, y) of this embodiment and the final theoretically calculated image coordinate point (x0, y0) can be used to estimate the error parameter. Embodiment 3

[0036] Reference Fig.10 This embodiment further discloses a training method for a first learning model. The first learning model of the present invention is, for example, a RetinaNet network, and the first learning model includes a backbone network module, a pyramid network module, and a full convolutional network module.

[0037] When training the first learning model, an anchor point is set at the position corresponding to the resource label of the first geological image, and the first feature map of different levels of the first geological image is extracted through the backbone network module. The enhanced feature map of the first feature map is extracted through the pyramid network module, and then the enhanced feature map is processed by the full convolution network to obtain the return feature map. The return feature map has at least one bounding box, and the intersection and union ratio of the anchor point and the bounding box is calculated, and the anchor point is classified into positive samples and negative samples according to the intersection and union ratio. When the intersection and union ratio is greater than 0.4, it means that the anchor point has sufficient overlap with the bounding box, and the anchor point is regarded as a positive sample. When the intersection and union ratio is less than or equal to 0.4, it means that the overlap between the anchor point and the bounding box is very small or almost non-existent, and the anchor point is regarded as a negative sample.

[0038] Then the classification loss L1 of each anchor point is calculated by the first loss function. The expression of the first loss function is: , where N is the number of resource tag types, u n is the true probability label of the anchor point belonging to resource label n, u' n To obtain the predicted probability label that the anchor point belongs to resource type n according to the first learning model. Calculate the bounding box confidence between the bounding box and the border of the first map resource, bounding box confidence = E / (E1+E2), where E is the area of ​​the overlapping area between the bounding box and the border of the first map resource, E1 is the bounding box coverage area, and E2 is the border coverage area of ​​the first map resource. Update the first learning model according to the classification loss and the bounding box confidence. Embodiment 4

[0039] like Fig.11 As shown, this embodiment further discloses a method for training a second learning model. Referring to the first embodiment, the constraint parameter is, for example, direction data, and the constraint parameter G of the second map resource at pixel k is determined according to the external map. k .

[0040] First, the first geoscientific image is divided into a plurality of first sub-images based on the sliding window. Due to the setting of the sliding window, the first sub-image has the same size as the sub-map, ensuring that the second map resource of the sub-map is comparable to the second map resource of the first sub-image.

[0041] Then, the constraint parameters are adjusted according to the error parameters. The error parameters of this embodiment are, for example, the coordinate error between the remote sensing image coordinate point and the image coordinate. For pixel point k, its remote sensing image coordinate point is (x k ,y k ), the image coordinates are (x 0k , y 0k ). Coordinate error , K is the number of pixels in the remote sensing image.

[0042] The first sub-image is then input into the second learning model to predict multiple second map resources of the first sub-image. The second learning model of this embodiment adopts a U-Net network, and the second learning model includes a backbone feature network module, an enhanced feature network module, and a prediction network module. The backbone feature network module obtains a multi-scale feature map through 3x3 convolution and downsampling operations, and the enhanced feature network module restores the detailed features of the first sub-image through transposed convolution and upsampling operations. The prediction network module segments the first sub-image according to the detailed features and identifies the segmented second map resources. Furthermore, this embodiment generates direction data for each second map resource. For example, when the second map resource is a road or a river, the slope angle of the second map resource at pixel point k is calculated, and the slope angle is the direction data G of the second map resource at pixel point k. k '.

[0043] Finally, the adjusted constraint parameters are incorporated into the second loss function of the second learning model, and the second learning model is updated according to the second loss function. Direction loss .in, .

[0044] In this embodiment, the second loss function L2= L dir Furthermore, the present invention can also introduce the segmentation loss L seg , L2 = L seg +λL dir λ is a hyperparameter for adjusting the weight between the two losses. In this embodiment, the direction data of the second map resource identified by the second learning model is compared with the direction data of the second map resource of the external map, the second loss function of the second learning model is evaluated, and then the second learning model is updated, so as to improve the robustness of the second learning model and improve the model accuracy. Embodiment 5

[0045] like Fig.12 and Fig.13As shown, this embodiment further discloses a method for training a third learning model. This embodiment presets the type of connected regions through pseudo-probability labels, and evaluates the recognition quality of each pseudo-probability label by the third learning model in combination with a cross-entropy loss function, thereby avoiding the third learning model from being trained in an unsupervised manner and further improving the accuracy of the third learning model.

[0046] First, multiple reference shapes and reference pixels of the third map resources are preset, and the shape similarity and pixel similarity between each connected region and the third map resource are calculated. In this embodiment, for example, the shape similarity β1 is calculated using a preselected similarity, and for example, the pixel similarity β2 is calculated using the Euclidean distance.

[0047] Then, the pseudo-probability label of the connected area relative to the third map resource is calculated based on the shape similarity and pixel similarity. For example, the pseudo-probability label of the connected area classified as the third map resource i is P i , P i =β1β2. A pseudo-probability label of a connected region in this embodiment is as follows: Fig.13 Further, since the sum of all pseudo-probability labels of connected regions is usually less than 1, the present invention can use a softmax function to adjust the pseudo-probability labels.

[0048] The third learning model is then trained with the second geoscientific image. The third learning model of this embodiment uses a convolutional neural network (CNNs). The third learning model includes a convolutional layer, a pooling layer, and a fully connected layer. The probability label P of the connected area belonging to the third map resource i is obtained according to the third learning model. i '. Usually the sum of all probability labels of connected regions is equal to 1.

[0049] Finally, a cross entropy loss function is generated according to the probability label, and the third learning model is updated according to the cross entropy loss function. , I is the number of types of third map resources. Embodiment 6

[0050] Fig.14 The present invention is a block diagram of a system for implementing the deep learning-based map resource identification method. The device includes a sensing unit, a camera unit, an external database, a processor, a memory, and an output device.

[0051] The number of processors in the system can be one or more. The sensor unit and camera unit in the device can be connected to the processor via a wireless network. The processor, external database, memory and output device can be connected via a bus or other means. Fig.14 The example of connecting through bus is taken in the following.

[0052] The sensing unit is used to detect the position parameters and posture parameters of the camera unit, such as a gyroscope and an accelerometer. The camera unit captures the remote sensing image of the target area. According to the difference of the remote sensing image, the camera unit is, for example, a high-speed camera or a spectrometer.

[0053] The memory, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the map resource identification method based on deep learning in the embodiment of the present invention. The processor executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, realizing the above-mentioned map resource identification method based on deep learning.

[0054] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application required for at least one function; the data storage area can store a first learning model, a second learning model, and a third learning model, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0055] The output device includes an image display device such as a display screen. The present invention may also include a GIS unit, an image processing unit, etc. The GIS unit is used to process vector data in the image, and the image processing unit uses methods such as homogenization and noise reduction to process the first data set, the second data set, and the third data set to improve the training efficiency of the learning model. Embodiment 7

[0056] The present embodiment discloses a storage medium storing one or more programs for implementing the map resource identification method based on deep learning. More specific examples of readable storage media include the following: an electrical connection portion (electronic device) having one or more wirings, a random access memory (RAM), a read-only memory (ROM), and the like. In addition, the readable storage medium may even be paper or other suitable medium on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or processing in other suitable ways as necessary, and then stored in a computer memory.

[0057] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A map resource identification method based on deep learning, characterized in that: The following steps are involved: Step 1: The target area has at least one or more of the first map resource, the second map resource, and the third map resource. The camera unit captures a remote sensing image of the target area and detects the position parameters and posture parameters of the camera unit. Step 2: Correcting the remote sensing image based on the attitude parameters and the position parameters to obtain a corrected image, generating error parameters between the corrected image and the remote sensing image, and dividing the corrected image into a plurality of first geoscientific images; Step 3: Obtain a resource tag of a first map resource, match the resource tag to a first geoscientific image, create a first data set based on the resource tag and the first geoscientific image, and train a first learning model based on the first data set; Step 4: Obtain a reference dataset of an external map, train a basic resource model based on the reference dataset, and generate constraint parameters of the second map resource based on the basic resource model; Step 5: creating a second data set based on the constraint parameters, the first geoscientific image, and the error parameters corresponding to the first geoscientific image, and training a second learning model based on the second data set; Step 6: Deleting the first map resource and the second map resource of the first geo-image to generate a second geo-image, extracting connected areas of the second geo-image, and generating pseudo-probability labels for the connected areas; Step 7: Creating a third data set based on the pseudo-probability labels and the second geoscientific image, and training a third learning model based on the third data set; Step 8: Input a target image, identify a first map resource of the target image according to the first learning model, and identify a second map resource of the target image according to the second learning model; Step 9: After deleting the first map resource and the second map resource of the target image, an intermediate image is generated, and a third map resource of the intermediate image is identified according to the third learning model.

2. The map resource identification method based on deep learning according to claim 1, characterized in that: In step 2, a rotation matrix is ​​constructed according to the posture parameters of the camera unit, a collinearity equation function is generated according to the rotation matrix and the position parameters of the camera unit, the initial ground coordinates corresponding to the remote sensing image coordinate points are preset, the actual ground coordinates are iteratively generated according to the collinearity equation function, the corrected image coordinates are calculated according to the actual ground coordinates, and the pixel points of the remote sensing image are mapped to the corrected image according to the corrected image coordinates.

3. The map resource identification method based on deep learning according to claim 1, characterized in that: In step 3, the first learning model includes a backbone network module, a pyramid network module, and a full convolutional network module. When training the first learning model, an anchor point is set at the position of the resource label corresponding to the first geoscientific image, the first feature map of the first geoscientific image is extracted by the backbone network module, the enhanced feature map of the first feature map is extracted by the pyramid network module, and the enhanced feature map is processed by the full convolutional network to obtain a return feature map. The return feature map has at least one bounding box, the intersection-and-union ratio of the anchor point and the bounding box is calculated, the anchor point is classified into positive samples and negative samples according to the intersection-and-union ratio, the classification loss of each anchor point is calculated by a first loss function, the bounding box confidence is calculated according to the bounding box and the border of the first map resource, and then the first learning model is updated according to the classification loss and the bounding box confidence.

4. The map resource identification method based on deep learning according to claim 1, characterized in that: In step 4, the size of the sliding window is preset, the external map is divided into multiple sub-maps based on the sliding window, a reference dataset is generated based on the sub-maps, a second map resource of the reference dataset is identified based on the basic resource model, and direction data of the second map resource is extracted, and the constraint parameters include the direction data.

5. The map resource identification method based on deep learning according to claim 4 is characterized in that: In step 5, the first geological image is segmented into multiple first sub-images based on the sliding window, the first sub-images are input into the second learning model, a second loss function of the second learning model is generated according to the error parameter and the constraint parameter, and the second learning model is updated according to the second loss function.

6. The map resource identification method based on deep learning according to claim 1, characterized in that: In step 6, a pixel label is assigned to each pixel area of ​​the second geoscientific image, and the neighborhood of any pixel area is searched. If the pixel label of the neighborhood is the same as that of the pixel area, the neighborhood is merged with the pixel area to generate a new pixel area. The pixel label is assigned to the new pixel area and the neighborhood is searched again until all pixel areas cannot be merged, and the pixel areas are divided into independent connected areas.

7. The map resource identification method based on deep learning according to claim 6, characterized in that: In step 6, multiple reference shapes and reference pixels of the third map resources are preset, the shape similarity and pixel similarity between each connected area and the third map resource are calculated, and the pseudo-probability label of the connected area relative to the third map resource is calculated based on the shape similarity and pixel similarity.

8. The map resource identification method based on deep learning according to claim 1, characterized in that: In step 7, a third learning model is trained using the second geoscientific image, a cross entropy loss function is generated according to the pseudo-probability labels, and the third learning model is updated according to the cross entropy loss function.

9. A recognition system for implementing the map resource recognition method based on deep learning according to claim 1, characterized in that: It includes at least one processor and a memory, wherein the memory is used to store one or more programs. When the program is executed by the processor, the processor implements the map resource identification method based on deep learning as described in claim 1.

10. A storage medium, characterized in that: The storage medium stores one or more programs, which are used to implement the map resource identification method based on deep learning as described in claim 1.

Citation Information

Patent Citations

  • Remote sensing time-space information fusion method

    CN108932710A

  • Remote sensing image cloud detection method based on domain transform filtering and multi-scale decomposition

    CN109191432A

  • Remote sensing image change detection method based on deep learning

    CN112016436A

  • Remote sensing image fusion method of multi-scale attention deep convolutional network based on 3D convolution

    CN112819737A

  • Image processing method and device, equipment and storage medium

    CN113486828A

Cited By

  • Natural resource measurement method and system based on remote sensing image

    CN118918482A

  • Natural resource measurement method and system based on remote sensing images

    CN118918482B

  • Unmanned aerial vehicle inspection target recognition algorithm fusing graph neural network and spatial semantics

    CN120375245A

  • A drone inspection target recognition algorithm integrating graph neural network and spatial semantics

    CN120375245B