A cross-modal fine-grained relocation method based on panoramic images and remote sensing images

By employing a cross-modal fine-grained relocalization method, which utilizes feature extraction and graph matching networks, the problem of inaccurate localization accuracy and semantic information between remote sensing images and panoramic images is solved. This achieves efficient image center point correspondence and key region matching, thereby improving localization accuracy and application scope.

CN119048757BActive Publication Date: 2026-11-20CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411184787.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2026-11-20
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

Existing geolocation methods based on remote sensing and panoramic images rely on GPS tags, resulting in poor positioning accuracy. Furthermore, they ignore the correspondence between key areas in the images and cannot accurately match semantic information and object relationships between images.

Method used

A cross-modal fine-grained relocalization method based on panoramic and remote sensing images is adopted. Through feature extraction, image segmentation, graph matching and feature alignment network, key points and regional relationships between images are captured. Graph convolution and attention mechanism are used for matching. The Hungarian algorithm and Transformer network are combined to optimize the correspondence of center points to achieve fine-grained matching.

Benefits of technology

It improves the accuracy and positioning precision of image center point correspondence, expands application scenarios, enhances image interpretation capabilities, and optimizes the reliability of corresponding results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048757B_ABST
    Figure CN119048757B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on panoramic image and cross-modal fine-grained repositioning method of remote sensing image, the detection method can by mining the deep information between remote sensing image and ground panoramic image, the correlation strength between two modalities is adaptively learned, the feature information of two different modalities is extracted to the same feature space by graph convolutional neural network and feature alignment and center point corresponding network, center point is corresponded using global relationship and timely updating positioning information, to reduce the alignment error caused by inaccurate positioning.Multiple threshold values perceive the instance correspondence between different modalities and filter the corresponding instances with low confidence, and finally output reliable one-to-one instance correspondence by the Hungarian algorithm.The application upgrades the widely used point-to-point geographic positioning process to the instance-level fine-grained geographic repositioning process of center point correspondence in the same feature space, improves the resolution capability for cross-view images, and is superior to other cross-view geographic positioning methods in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of machine vision and deep learning technology, specifically relating to a cross-modal fine-grained relocalization method based on panoramic images and remote sensing images. Background Technology

[0002] Cross-View Geo-Localization (CVGL) in remote sensing is an interdisciplinary research area between remote sensing and computer vision. It has received widespread attention in the field of remote sensing in recent years. It can locate objects in remote-sensed and panoramic images using image feature information, aiming to determine the location of a ground panoramic image by retrieving the most similar GPS-marked satellite images, which is more efficient than manual analysis. Due to the rapid development of deep learning technology, it has been widely applied in various interdisciplinary fields of computer vision and remote sensing, such as UAV navigation, smart city management, autonomous driving, robot navigation, and augmented / virtual reality. The increasing amount of cross-view remote sensing data has also promoted the interpretation of deeper information in cross-view matching. Unlike visual tasks that describe changes in natural images, objects in remote-sensed images are more difficult to distinguish due to the influence of light intensity, image acquisition direction, and seasonal climate. Object recognition from a top-down perspective becomes more challenging. Therefore, the CVGL network needs to fully adapt to the characteristics of remote-sensed images and ignore irrelevant interference.

[0003] However, simple CVGL methods cannot capture the higher-level semantic information in remote sensing and panoramic images. Image-level correlations cannot directly reveal high-level semantic information between images, such as the semantic information of corresponding objects in images and the relationships between objects, requiring significant human interpretation. Furthermore, current technologies primarily rely on GPS positioning of a specific area for panoramic image localization, over-reliance on GPS information and the feature information of specific regions. This neglects to account for errors in GPS, such as misalignment of image centers leading to poor positioning accuracy. Therefore, while the rapid development of remote sensing technology has enhanced our ability to analyze ground information, the limited performance improvement at the coarse-grained level and the limited application scenarios indicate that current geolocation research has reached a bottleneck.

[0004] Currently, CVGL is gradually becoming a research hotspot in the field of remote sensing. In order to conduct in-depth research in this field, researchers have successively proposed some related studies and datasets. However, most existing methods are based on encoder-decoder frameworks from the field of feature extraction, and learn spatial correspondence by training one-to-one cross-view image pairs. This means that "class" labels are not important in the training process. This leads to two problems: (1) Ignoring the practical applicability of CVGL tasks: Simply matching satellite images with ground panoramic images is just a simple image retrieval task and cannot be truly applied to real-world scenarios. In practical applications, whether it is navigation or virtual reality, in addition to scene correspondence, strong correlation between key object pairs in the scene is needed to better serve to improve navigation accuracy and virtual reality experience; (2) Over-reliance on GPS labels without considering the positioning deviation problem that may exist in the data collection process; This situation will lead to deviations in the final learning results.

[0005] In summary, in existing geolocation methods based on remote sensing and panoramic images, GPS tag-based matching strategies struggle to learn the correspondences effectively, leading to inaccurate image correspondences and inaccurate associations between corresponding objects in image pairs. Summary of the Invention

[0006] In order to solve the technical problems existing in the background art, the present invention aims to provide a cross-modal fine-grained relocation method based on panoramic images and remote sensing images, which can solve the problems of semantic information misalignment and inaccurate representation caused by coarse-grained matching between remote sensing images and panoramic images. It can be used in cross-view geolocation tasks in unrestricted scenes, and can achieve efficient and accurate fine-grained matching effect of image center point and perform relocation.

[0007] To solve the technical problem, the technical solution of the present invention is as follows:

[0008] A cross-modal fine-grained relocalization method based on panoramic and remote sensing images, the method comprising:

[0009] S1: Obtain a dataset consisting of remote sensing images and panoramic images under different GPS tags, as well as annotation files of the corresponding key regions marked in each pair of images;

[0010] S2: The feature extraction network extracts features from the remote sensing images and corresponding panoramic images in the dataset to obtain high-level features corresponding to the input images. Then, the high-level features corresponding to the extracted images are segmented by the image segmentation model to obtain the segmentation masks and instance segmentation results corresponding to the remote sensing images and panoramic images, respectively.

[0011] S3: Input the instance segmentation result into the GM network, and represent the features of the image as a graph structure, where nodes represent key points or regions in the image, and edges represent the relationship or similarity between these nodes. Then, apply graph convolution operation with attention mechanism to aggregate the local information of the nodes and capture the relationship between the nodes. Finally, match the nodes through optimization algorithm to obtain the matching relationship between the images.

[0012] S4: Input the matching relationship and similarity matrix between the images into the feature alignment and center point correspondence network to perform center point correspondence and feature filtering alignment on the initial matching relationship to obtain a matching relationship with high confidence.

[0013] S5: Based on the matching relationship obtained through the feature filtering network, the Hungarian algorithm is used to output the permutation matrix;

[0014] S6: Fuse the permutation matrix corresponding to the object obtained in S5 with the instance segmentation result to obtain instance-level fine-grained segmentation results of key regions corresponding to remote sensing images and panoramic images.

[0015] Furthermore, step S2 includes:

[0016] S201: Input the remote sensing image and the panoramic image into the VGG16 network for feature extraction, and obtain the remote sensing image features in the feature extraction layer. and panoramic image features

[0017] S202: Input the remote sensing image features and panoramic image features into the instance segmentation network, and generate the corresponding instance segmentation mask Mask[i][j], category label and semantic vector information through convolutional layers and pooling layers.

[0018] Furthermore, step S3 includes:

[0019] The features of the segmented remote sensing image and panoramic image, including labels, categories, and semantic vector information, are input into the GM network. The image features are represented as a graph structure, where nodes represent key points or regions in the image, and the relationships or similarities between these nodes are represented. The processing can be expressed as follows:

[0020]

[0021]

[0022] Where R i and R j Represents the regions of the i-th and j-th instances in masks M1 and M2, |R i |and|R j| indicates the number of pixels in these regions;

[0023] Next, graph convolution operations with an attention mechanism are applied to aggregate local information of nodes and capture the relationships between nodes. Finally, an optimization algorithm is used to match nodes and obtain the matching relationships between images. Representations of remote sensing images and panoramic images are constructed, and similarity and matching calculations are performed. The calculation formulas are as follows:

[0024]

[0025] Where S ij Let H1 and H2 represent the similarity between the i-th node and the j-th node, and H1 and H2 represent the matching features. The matching relationship is obtained using the Hungarian optimization algorithm, and the calculation formula is as follows:

[0026] M = Hungarian(S)

[0027] Further, step S4 includes: stitching the initial matching relationship between the remote sensing image and the panoramic image into a feature vector; the obtained feature vector is processed by position encoding in the network to capture the complex correspondence between global dependencies and features and to perform global representation; the image representation is adjusted through global representation to make the image correspond to the center point and avoid GPS errors; the obtained global representation is input into a fully connected layer, which outputs a probability value representing the reliability of the matching pair, wherein the probability value is processed by an activation function and limited to between 0 and 1; the feasibility of the model output is scored, and if the score is higher than the threshold, it is considered reliable, otherwise it is filtered out.

[0028] Furthermore, step S4 specifically includes:

[0029] S401: Transfer the feature vector H 1,i and H 2,j Mapping to a high-dimensional space and performing feature embedding is specifically represented as follows:

[0030] x' = TransformerEncpder(F)

[0031] Positional information in the sequence is captured through positional encoding, and then a multi-head self-attention mechanism is used to concatenate the feature vectors together to capture the global relationship between the feature vectors. The calculation formula is as follows:

[0032] x global =MeanPooling(x')

[0033] S402: The matching strength is characterized by global relation representation. During the representation process, a sampling method with fixed step size and fixed radius is used to evaluate the position of the center point. In the region centered at (cx, cy), r is the radius and k is the step size for sampling. The score corresponding to each center point and the count of matched instances are stored in the coordinate_scores list. Then, they are sorted in descending order, and the highest coordinate_scores are selected as the best center point. The image is then translated and filled around the center point.

[0034] S403: Finally, each feature vector is subjected to independent linear transformation and nonlinear activation through normalization and a feedforward neural network. The processed feature vectors are then passed through a classification layer to predict the reliability of each matching pair. The specific process is as follows:

[0035]

[0036] M reliable ={(i,j)∈M|reliability ij ≥threshhold}.

[0037] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement any of the above-described methods for cross-modal fine-grained relocalization based on panoramic and remote sensing images.

[0038] A computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the above-described methods for cross-modal fine-grained relocalization based on panoramic and remote sensing images.

[0039] The cross-view geolocation method of the present invention can perform correlation matching based on key regions of images of different modalities, and further analyze image information through fine-grained matching corresponding to the center point, thereby improving the image interpretation capability and expanding the application scenarios of the task.

[0040] To achieve the correspondence of key regions between images of different modalities, the geolocation method of this invention also uses a graph convolutional neural network to better perceive the relationship between remote sensing images and panoramic images.

[0041] The center-point-based fine-grained correspondence method of the present invention also uses a Transformer network to align and filter the initially obtained correspondences, thereby enhancing the reliability of global features and optimizing the final correspondence results.

[0042] Compared with the prior art, the advantages of the present invention are as follows:

[0043] Most existing methods rely on image retrieval for geolocation, neglecting the correspondence of key regions within the images. However, in reality, the correspondence between remote sensing images and panoramic images is not solely determined by simple image mapping. For example, if a building in a key region of a remote sensing image does not correspond to a building in the same key region of a panoramic image, it may indicate an error, requiring on-site investigation or other processing for the uncorresponding objects. Therefore, most geolocation methods lack perceptual capabilities. The method of this invention, however, employs a cross-modal fine-grained correspondence strategy to uncover potential correlation features between remote sensing and panoramic images, further analyzing image information and expanding the application scope of the task.

[0044] Existing methods rely excessively on GPS tags, leading to errors in image-based positioning. The method of this invention calculates the position and distance of key areas in remote sensing and panoramic images relative to the center point by radiating key regions from the center point. This enables instance-level object matching while simultaneously correcting the position of remote sensing images not located at the center point, thus improving the accuracy of cross-view geolocation. Attached Figure Description

[0045] Figure 1 A schematic diagram of the structural framework for instance-level fine-grained geolocation provided by the present invention;

[0046] Figure 2 A flowchart illustrating fine-grained geolocation with center point alignment provided by this invention;

[0047] Figure 3 A visualization of the dataset annotation provided by this invention;

[0048] Figure 4 This is a schematic diagram of the feature filtering and center point correspondence module provided by the present invention;

[0049] Figure 5 This is a comparison chart of the fine-grained geolocation of the center point provided by this invention and the detection results of existing SOTA models. Detailed Implementation

[0050] The specific implementation of the present invention is described below with reference to embodiments:

[0051] It should be noted that the structures, proportions, sizes, etc. shown in this specification are only used to complement the content disclosed in the specification for those skilled in the art to understand and read, and are not intended to limit the conditions under which the present invention can be implemented. Any modifications to the structure, changes in the proportions, or adjustments to the size, without affecting the effects and objectives that the present invention can produce, should still fall within the scope of the technical content disclosed in the present invention.

[0052] Furthermore, the terms such as "upper," "lower," "left," "right," "middle," and "one" used in this specification are merely for clarity of description and are not intended to limit the scope of the invention. Any changes or adjustments to their relative relationships, without substantially altering the technical content, should also be considered within the scope of the invention.

[0053] Example 1:

[0054] This invention first uses a Visual Geometry Group-16-layer network (VGG16) and a Segment Anything Model (SAM) network to extract key region features and perform instance segmentation on remote sensing and panoramic images. The segmentation results, including semantic vectors and category information, are then input into a graph matching (GM) network for further semantic parsing and mapping. The GM network parses and matches the skeleton information of image pairs to obtain preliminary correspondences of key regions. An improved Transformer network is then used to encode the location and center point of these preliminary correspondences, filtering out low-confidence correspondences to obtain strongly correlated one-to-one correspondences. Finally, the correspondences of key regions between the remote sensing and panoramic images are obtained, significantly improving the performance of instance-level fine-grained matching in cross-view geolocation tasks.

[0055] Figure 1 The diagram shown is a flowchart of some embodiments of the geolocation method based on fine-grained matching of remote sensing images and panoramic images disclosed in this invention. Figure 2 The diagram shown illustrates the flowchart for achieving fine-grained geolocation, which includes the following steps:

[0056] Step S1 obtains a training set and / or a test set consisting of remote sensing images and panoramic images under different GPS tags, as well as annotation files of the corresponding key regions marked in each pair of images;

[0057] In one specific implementation, refer to the appendix. Figure 3To increase the diversity of image application scenarios and improve the robustness of the model, this invention, S1, mainly includes: datasets of multiple cities captured using Google Maps and Open Street Maps, including Weihai and Qingdao in China, and London and San Francisco internationally. Each city dataset contains nearly 500 image pairs corresponding to GPS data; CSV files include remote sensing images and corresponding panoramic image filenames, remote sensing image rotation angles, etc.; and annotation files that annotate key regions in the image pairs, where the remote sensing images are 960×960×3 pixels and the panoramic images have a resolution of 2048×1024×3 pixels. Key regions are divided into five categories: buildings, roads, roundabouts, trees, and sports fields. The dataset separates foreground and background, and masks categories such as sky and vehicles. Finally, 1562 pairs of buildings, 348 pairs of roads, 243 pairs of roundabouts, and 264 pairs of sports fields were annotated. 1000 image pairs were randomly selected from the dataset as the training set, 600 pairs as the validation set, and the remainder as the test set.

[0058] Step S2 uses a feature extraction network to extract features from remote sensing images and corresponding panoramic images in the training set and / or test set to obtain high-level features corresponding to the input image; then, an image segmentation model is used to segment the high-level features corresponding to the extracted image to obtain the segmentation mask and the final instance segmentation result for the remote sensing image and the panoramic image, respectively.

[0059] In one specific implementation, the feature extraction and instance segmentation include: inputting the remote sensing image and the panoramic image into a VGG16 network for feature extraction, and obtaining remote sensing image features at the feature extraction layer. and panoramic image features Remote sensing image features and panoramic image features are respectively input into the instance segmentation network, and after passing through convolutional layers and pooling layers, corresponding instance segmentation mask Mask[i][j], category label, and semantic vector information are generated.

[0060] Step S3 uses the GM network to perform instance-level correspondence between remote sensing images and panoramic images, that is, to obtain consistency features between different modalities.

[0061] In one specific implementation, the features of the segmented remote sensing image and panoramic image, including information such as labels, categories, and semantic vectors, are input into the GM network. The image features are represented as a graph structure, where nodes represent key points or regions in the image, and the relationships or similarities between these nodes are represented. The processing can be expressed as follows:

[0062]

[0063]

[0064] Where R i and R j Represents the regions of the i-th and j-th instances in masks M1 and M2, |R i |and|R j | indicates the number of pixels in these regions.

[0065] Next, graph convolution operations with an attention mechanism are applied to aggregate local information of nodes and capture the relationships between nodes. Finally, an optimization algorithm is used to match the nodes and obtain the matching relationships between images. Representations of remote sensing images and panoramic images are constructed, and similarity and matching calculations are performed. The calculation formulas are as follows:

[0066]

[0067] Where S ij Let H1 and H2 represent the similarity between the i-th and j-th nodes, respectively. The matching relationship can be obtained using the Hungarian optimization algorithm, calculated as follows:

[0068] M = Hungarian(S)

[0069] Step S4 inputs the matching relationship and similarity matrix between the images into a feature filtering network to filter the initial matching relationship and obtain a matching relationship with high confidence. Specifically, this is achieved by concatenating the initial matching relationship between the remote sensing image and the panoramic image to form a feature vector F. ij =[H 1,i H 2,j The obtained feature vectors are encoded in the network to capture the complex correspondence between global dependencies and features and perform global representation. The resulting global representation is input to a fully connected layer, which outputs a probability value representing the reliability of the matching pair. This probability value is processed by an activation function to limit it to between 0 and 1. The feasibility of the model output is scored, and a score higher than a threshold is considered reliable; otherwise, it is filtered out.

[0070] In one specific implementation, refer to the appendix. Figure 4 The feature filtering process may include:

[0071] Step S41 converts the feature vector H 1,i and H 2,j Mapping to a high-dimensional space and embedding features can be specifically represented as:

[0072] x' = TransformerEncoder(F)

[0073] Positional information in the sequence is captured through positional encoding, and then a multi-head self-attention mechanism is used to concatenate the feature vectors together to capture the global relationship between the feature vectors. The calculation formula is as follows:

[0074] x global =MeanPooling(x')

[0075] Step S42 characterizes the matching strength through global relation representation. During the characterization process, a sampling method with a fixed step size and fixed radius is used to evaluate the center point position. In the region centered at (cx, cy), sampling is performed with r as the radius and k as the step size. The score corresponding to each center point and the count of matched instances are stored in the coordinate_scores list, then sorted in descending order, and the highest coordinate_score is selected as the best center point. The image is then translated around the center point and filled.

[0076] Step S43 finally applies normalization and a feedforward neural network to each feature vector, performing independent linear transformations and nonlinear activations. The processed feature vectors are then passed through a classification layer to predict the reliability of each matching pair. The specific process is as follows:

[0077]

[0078] M reliable ={(i,j)∈M|reliability ij ≥threshhold}

[0079] Step S5 uses the correspondence obtained through the feature filtering network to output the permutation matrix using the Hungarian algorithm.

[0080] Step S6 fuses the permutation matrix corresponding to the object pair obtained in step S5 with the initial segmentation result to obtain instance-level fine-grained segmentation results of the key regions corresponding to the center points of the remote sensing image and the panoramic image.

[0081] According to some preferred embodiments of the present invention, the feature extraction network uses a VGG16 network, the image segmentation network uses a SAM network, the feature filtering network uses a Transformer network, and the graph matching network uses a GCAN network.

[0082] The fine-grained correspondence method of the present invention also uses a Transformer network to align and filter the initially obtained correspondences, thereby enhancing the reliability of global features and optimizing the final correspondence results.

[0083] In one specific embodiment, based on the above specific implementation methods, the following can be obtained: Figure 5 The diagram shows a comparison of the detection results of the geolocation method based on fine-grained matching of remote sensing images and panoramic images, as proposed in this invention, with some existing state-of-the-art (SOTA) models. The existing models all suffer from a "poor perception of key areas" problem in their retrieval strategies. The visualization shows that the proposed method achieves better results in both image-retrieval-based and fine-grained matching-based geolocation methods, demonstrating the effectiveness of the "instance-level fine-grained" matching process.

[0084] Example 2:

[0085] This embodiment provides a terminal device, which includes a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve a corresponding method flow or corresponding function. The processor described in this embodiment can be used to operate a cross-modal fine-grained relocalization method based on panoramic images and remote sensing images. The method includes:

[0086] Feature extraction and instance segmentation are performed on remote sensing images and panoramic images using a feature extractor. Then, a GM network is used to extract skeleton information and obtain preliminary correspondences of objects in key regions. The results are then input into a feature alignment and center point correspondence module to perform advanced semantic parsing on the instance segmentation results. Through position encoding and self-attention mechanisms, correspondences with low confidence are filtered out, and finally, a one-to-one correspondence of objects in key regions is obtained.

[0087] Example 3:

[0088] This embodiment provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and extended storage media supported by the terminal device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device.

[0089] One or more instructions stored in a computer-readable storage medium can be loaded and executed by a processor to implement the corresponding steps of the cross-modal fine-grained relocalization method based on panoramic images and remote sensing images in the above embodiments; one or more instructions in the computer-readable storage medium are loaded and executed by the processor in the following steps:

[0090] Feature extraction and instance segmentation are performed on remote sensing images and panoramic images using a feature extractor. Then, a GM network is used to extract skeleton information and obtain preliminary correspondences of objects in key regions. The results are then input into a feature alignment and center point correspondence module to perform advanced semantic parsing on the instance segmentation results. Through position encoding and self-attention mechanisms, correspondences with low confidence are filtered out, and finally, a one-to-one correspondence of objects in key regions is obtained.

[0091] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0092] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0093] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0094] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0095] The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.

[0096] Many other changes and modifications can be made without departing from the concept and scope of this invention. It should be understood that this invention is not limited to the specific embodiments, and the scope of this invention is defined by the appended claims.

Claims

1. A cross-modal fine-grained relocalization method based on panoramic images and remote sensing images, characterized in that, The method includes: S1: Obtain a dataset consisting of remote sensing images and panoramic images under different GPS tags, as well as annotation files of the corresponding key regions marked in each pair of images; S2: The feature extraction network extracts features from the remote sensing images and corresponding panoramic images in the dataset to obtain high-level features corresponding to the input images. Then, the high-level features corresponding to the extracted images are segmented by the image segmentation model to obtain the segmentation masks and instance segmentation results corresponding to the remote sensing images and panoramic images, respectively. S3: Input the instance segmentation result into the graph matching network, and represent the features of the image as a graph structure, where nodes represent key points or regions in the image, and edges represent the relationship or similarity between these nodes. Then, apply graph convolution operation with attention mechanism to aggregate the local information of the nodes and capture the relationship between the nodes. Finally, match the nodes through optimization algorithm to obtain the initial matching relationship between the images. S4: Input the initial matching relationship and similarity matrix between the images obtained in S3 into the feature alignment and center point correspondence network, perform center point correspondence and feature filtering alignment on the initial matching relationship, and obtain a matching relationship with high confidence. S5: Based on the high-confidence matching relationship obtained through the feature alignment and the corresponding network of the center point, the Hungarian algorithm is used to output the permutation matrix; S6: Fuse the object-corresponding permutation matrix obtained in S5 with the instance segmentation results to obtain instance-level fine-grained segmentation results of key regions corresponding to remote sensing images and panoramic images.

2. The cross-modal fine-grained relocalization method based on panoramic images and remote sensing images according to claim 1, characterized in that, Step S2 includes: S201: Input the remote sensing image and the panoramic image into the VGG16 network for feature extraction, and obtain the remote sensing image features in the feature extraction layer. and panoramic image features , ; S202: Input the remote sensing image features and panoramic image features into the instance segmentation network respectively, and generate the corresponding instance segmentation mask Mask[i][j], category and semantic vector information through convolutional layer and pooling layer.

3. The cross-modal fine-grained relocalization method based on panoramic images and remote sensing images according to claim 1, characterized in that, Step S3 includes: The features of the segmented remote sensing image and panoramic image, including labels, categories, and semantic vector information, are input into a graph matching network. The image features are represented as a graph structure, where nodes represent key points or regions in the image, and edges represent the relationships or similarities between these nodes. The processing can be represented as follows: , , in, and They represent masks respectively. and The regions of the i-th and j-th instances, and Representing regions and The number of pixels contained; Next, graph convolution operations with an attention mechanism are applied to aggregate local information of nodes and capture the relationships between nodes. Finally, an optimization algorithm is used to match nodes and obtain the matching relationships between images. Representations of remote sensing images and panoramic images are constructed, and similarity and matching calculations are performed. The calculation formulas are as follows: , in, This represents the similarity between the i-th node and the j-th node. and The matching features are represented; the matching relationships are obtained using the Hungarian optimization algorithm, and the calculation formula is as follows: 。 4. The cross-modal fine-grained relocalization method based on panoramic images and remote sensing images according to claim 3, characterized in that, Step S4 includes: concatenating the initial matching relationship between the remote sensing image and the panoramic image to form a feature vector; the obtained feature vector is processed by position encoding in the network to capture the complex correspondence between global dependencies and features and to perform global representation; the image representation is adjusted through global representation to make the image correspond to the center point and avoid GPS errors; the obtained global representation is input to a fully connected layer, which outputs a probability value representing the reliability of the matching pair, wherein the probability value is processed by an activation function and limited to between 0 and 1; the feasibility of the model output is scored, and if the score is higher than the threshold, it is considered reliable, otherwise it is filtered out.

5. The cross-modal fine-grained relocalization method based on panoramic images and remote sensing images according to claim 4, characterized in that, Step S4 specifically includes: S401: Transfer the feature vector and Mapping to a high-dimensional space and performing feature embedding is specifically represented as follows: , Positional information in the sequence is captured through positional encoding, and then a multi-head self-attention mechanism is used to concatenate the feature vectors together to capture the global relationship between the feature vectors. The calculation formula is as follows: , S402: The matching strength is characterized by global relation representation. During the representation process, a sampling method with fixed step size and fixed radius is used to evaluate the position of the center point. In the region centered at (cx, cy), r is the radius and k is the step size for sampling. The score corresponding to each center point and the count of matched instances are stored in the coordinate_scores list. Then, they are sorted in descending order, and the highest coordinate_scores are selected as the best center point. The image is then translated and filled around the center point. S403: Finally, each feature vector is subjected to independent linear transformation and nonlinear activation through normalization and a feedforward neural network. The processed feature vectors are then passed through a classification layer to predict the reliability of each matching pair. The specific process is as follows: , , Where M represents the matching relationship obtained by the graph matching network based on the similarity matrix S using the Hungarian optimization algorithm.

6. A computer device, characterized in that, The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements a cross-modal fine-grained relocalization method based on panoramic images and remote sensing images as described in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements a cross-modal fine-grained relocation method based on panoramic images and remote sensing images, as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Cross-view cross-modal image geographic positioning method based on cooperation of CNN and cross-layer interaction Transform

    CN116310866A

  • Visual positioning method based on multi-scale difference information and centralized Transform network

    CN117788845A