Heterogeneous remote sensing image block matching method and system based on descriptor consistency constraint

By introducing descriptor consistency constraints and multi-loss function optimization into heterogeneous remote sensing image matching, the problem of discriminative information loss in the process of eliminating image differences is solved, and the precision and accuracy of heterosource image matching are improved.

CN114445640BActive Publication Date: 2024-09-06XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210101839.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2024-09-06
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

Existing heterosource remote sensing image matching technology easily loses discriminative information in the process of eliminating image differences, resulting in reduced matching accuracy, and traditional methods have poor adaptability to different types of images.

Method used

Using a method based on descriptor consistency constraints, the knowledge learned from high-level features guides low-level feature learning, and combines triplet matching loss, descriptor consistency loss and reconstruction loss to optimize the heterogeneous remote sensing image block matching network and extract shared features and retain discriminative information.

Benefits of technology

It improves the accuracy of heterosource remote sensing image matching, reduces the impact of image differences on matching, maintains the discriminability of image features, and enhances the accuracy of matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114445640B
    Figure CN114445640B
Patent Text Reader

Abstract

The present invention discloses a heterogeneous remote sensing image block matching method and system based on descriptor consistency constraints, which guides low-level feature learning by using knowledge containing more similarity rankings learned from high-level features, optimizes feature networks with the help of richer supervisory information in high-level features, thereby improving the accuracy of heterogeneous remote sensing image matching. When eliminating the differences between heterogeneous images, a large amount of discriminative information is easily lost, which affects the discriminativeness of heterogeneous image features and increases the error of heterogeneous image matching. It is proposed to maintain the discriminativeness of heterogeneous image features with the help of reconstruction constraints, thereby improving the accuracy of heterogeneous remote sensing image matching. The steps are: making a data set; image preprocessing; extracting image block features with a heterogeneous image feature learning network; extracting shared features of image blocks with a heterogeneous shared feature learning network; dimensionality reduction network; reconstructing image blocks with a decoder; network optimization; predicting matching probability; and evaluating network performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image processing, and in particular relates to a heterogeneous remote sensing image block matching method and system based on descriptor consistency constraints. Background Art

[0002] Image matching refers to predicting the relationship between two images, whether they match or not. The two images to be matched often contain the content of the same scene, but may be acquired at different times, through different sensors, from different perspectives, under different lighting conditions, etc. The different imaging mechanisms of heterogeneous images lead to great differences in the representation of the same scene or the same target by heterogeneous images, which greatly increases the difficulty of heterogeneous image matching. Because heterogeneous image matching not only needs to consider illumination transformation, geometric transformation, and perspective changes, but also needs to consider the differences caused by different sensors. The present invention proposes a new heterogeneous remote sensing image block matching method based on descriptor consistency constraints, which uses a deep network to learn the shared features of heterogeneous images, and proposes a descriptor consistency loss to further enhance the learning of shared features and the discriminability of features, thereby improving the accuracy of heterogeneous remote sensing image matching.

[0003] Traditional manually designed feature operators have limited applicability and poor adaptability to different types of images. In contrast, deep learning can automatically extract features from images based on the characteristics of the image, expanding the applicability of image matching methods. In recent years, feature extraction methods based on deep learning have gradually replaced manually designed feature operators and have achieved significant advantages in image matching tasks. Most heterogeneous image matching algorithms focus on how to reduce the differences between heterogeneous images. However, in the process of eliminating the differences between heterogeneous images, a large amount of discriminative information is usually lost, which reduces the accuracy of local feature matching and increases the error of image matching. Therefore, how to overcome the influence of the differences between heterogeneous images on image matching while maintaining the discriminativeness of heterogeneous image features and achieving accurate matching of heterogeneous images is of great research significance.

[0004] A difficult sample mining strategy has been proposed. By mining difficult negative samples in a batch, better matching results are achieved compared to previous deep learning-based methods. Another method is to propose an exponential triplet loss function based on HardNet, which has better results than HardNet, but it also does not constrain intermediate features, and the network is fully shared, which is not completely suitable for heterogeneous image matching. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a heterogeneous remote sensing image block matching method and system based on descriptor consistency constraints in response to the deficiencies in the above-mentioned prior art, which utilizes the knowledge containing more similarity rankings learned from high-level features to guide low-level feature learning, and optimizes the feature network with the help of richer supervision information in high-level features, thereby improving the accuracy of heterogeneous remote sensing image matching.

[0006] The present invention adopts the following technical solutions:

[0007] A heterogeneous remote sensing image block matching method based on descriptor consistency constraint comprises the following steps:

[0008] S1. Crop the optical image patch p from the paired optical image and SAR image oi and SAR image patch p si , create a heterogeneous remote sensing image block dataset, divide the heterogeneous remote sensing image block dataset into training samples and test samples, and preprocess the training samples and the test samples respectively;

[0009] S2, the optical image block p in the training sample obtained in step S1 oi and SAR image patch p si Send it to the heterogeneous image feature learning network to extract the image block features and obtain the optical image feature f oi and SAR image features f si ;

[0010] S3, the optical image feature f obtained in step S2 oi and SAR image features f si Send it to the shared feature learning mapping network to obtain the optical image block p oi The shared features of oi and SAR image patch p si The shared features of si ;

[0011] S4, the optical image feature f obtained in step S2 oi and SAR image features f si Send it to the dimensionality reduction network to obtain the shared feature e obtained in step S3 oi , e si The shared features f′ with consistent dimensions oi and f′ si ;

[0012] S5, using the decoder to obtain the shared features f of the optical image blocks in step S4 o ′ i and the shared features f′ of the SAR image patch si Reconstructing optical image patches and SAR image patches

[0013] S6, shared feature e obtained according to step S3 oi and e si Calculate the triplet matching loss based on the shared feature e obtained in step S3 oi and e si and f′ obtained in step S4 oi and f′ si Calculate the descriptor consistency constraint loss based on the reconstructed optical image block obtained in step S5 and SAR image patches With the input optical image patch p oi and SAR image patch p si Calculate the reconstruction loss, obtain the final loss function L according to the triple matching loss, descriptor consistency loss and reconstruction loss, optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints, and save the weights of the heterogeneous remote sensing image block matching network;

[0014] S7, sequentially read the optical image blocks p in the test sample divided in step S1. oi and SAR image patch p si , load the weights of the heterogeneous remote sensing image block matching network trained in step S6 into the heterogeneous image feature learning network in step S2 and the shared feature learning mapping network in step S3, obtain the feature descriptors of the corresponding heterogeneous images, and judge whether the input image blocks match according to the feature distances between the descriptors.

[0015] Specifically, in step S1, 11586 pairs of pixel-level aligned optical images and SAR images of size 256×256 are randomly selected from the data set SEN1-2, SIFT key points in the optical image are detected, and optical image blocks of size 64×64 are cropped from the optical image with the SIFT key points of the optical image as the center. oi , according to the SIFT key point position of the optical image, the corresponding SIFT key point of the SAR image is obtained, and the SAR image block p of size 64×64 is cropped in the SAR image with the SIFT key point of the SAR image as the center si , 583180 pairs of optical and SAR image patches are randomly selected as training samples, and 248274 pairs of optical and SAR image patches are used as test samples for image patch matching.

[0016] Specifically, step S2 is as follows:

[0017] Input a pair of matched optical and SAR image patches (p oi ,p si), using an optical image feature learning network F with the same network structure and no shared network parameters o and SAR image feature learning network F s Feature extraction is performed on optical image blocks and SAR image blocks respectively. The heterogeneous image feature learning network contains 2 convolutional layers with a convolution kernel size of 3×3. The number of convolution kernels in each convolution layer is 32 and 32 respectively, and each convolution layer is followed by batch normalization.

[0018] Specifically, in step S5, the decoding network De includes three deconvolution layers, and a convolution layer is set behind each deconvolution layer.

[0019] Specifically, step S6 is as follows: S601, according to the shared feature e obtained in step S3 oi and e si Calculate the triplet matching loss and optimize the heterogeneous image feature learning network in step S2 and the shared feature learning mapping network in step S3

[0020] S602: Shared feature e obtained in step S3 oi and e si and f′ obtained in step S4 oi and f′ si Calculate the descriptor consistency constraint loss, optimize the heterogeneous image feature learning network in step S2 and the shared feature learning mapping network in step S3; use the intra-domain consistency constraint and the inter-domain consistency constraint to represent the descriptor consistency constraint loss L con ;

[0021] S603: Reconstruct the optical image block obtained in step S5 and SAR image patches With the input optical image patch p oi and SAR image patch p si Calculate the reconstruction loss, optimize the heterogeneous image feature learning network in step S2, the dimensionality reduction network in step S4, and the decoder in step S5; reconstruct the original input image based on the extracted image features to minimize the reconstruction error;

[0022] S604, jointly optimize the losses of step S601, step S602 and step S603, obtain the final loss function L according to the triple matching loss in step S601, the descriptor consistency loss in step S602 and the reconstruction loss in step S603, and optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints.

[0023] Furthermore, in step S601, the triple matching loss function L match as follows:

[0024] Lmatch =[m+D(e oi ,e si )-D(e oi ,e sj )] +

[0025] Where [x] + =max(x,0),D(e oi ,e si ) represents the matched optical image feature e oi and SAR image features si The characteristic distance between oi ,e sj ) represents the mismatched optical image feature e oi and SAR image features sj The characteristic distance between them, and i≠j, m represents the distance interval.

[0026] Furthermore, in step S602, the descriptor consistency constraint loss L con for:

[0027] L con =L intra +L intre

[0028] Among them, L intra is the domain consistency loss function, L intre is the inter-domain consistency constraint loss function.

[0029] Furthermore, in step S603, the reconstruction error L is minimized. recon for:

[0030]

[0031] Among them, p oi is the input optical image patch, is the reconstructed optical image patch, p si is the input SAR image block, is the reconstructed SAR image block.

[0032] Furthermore, in step S604, the loss function L is:

[0033] L=L match +αL con +βL recon

[0034] Among them, α represents the weight coefficient of the descriptor consistency constraint loss function, β represents the weight coefficient of the reconstruction error loss function, and L match is the triple matching loss function, Lcon is the descriptor consistency constraint loss, L recon To minimize the reconstruction error.

[0035] Another technical solution of the present invention is a heterogeneous remote sensing image block matching system based on descriptor consistency constraints, comprising:

[0036] The processing module crops the optical image patch p from the paired optical image and SAR image oi and SAR image patch p si , create a heterogeneous remote sensing image block dataset, divide the heterogeneous remote sensing image block dataset into training samples and test samples, and preprocess the training samples and the test samples respectively;

[0037] The extraction module extracts the optical image block p in the training sample obtained by the processing module. oi and SAR image patch p si Send it to the heterogeneous image feature learning network to extract the image block features and obtain the optical image feature f oi and SAR image features f si ;

[0038] The learning module extracts the optical image features f obtained by the extraction module. oi and SAR image features f si Send it to the shared feature learning mapping network to obtain the optical image block p oi The shared features of oi and SAR image patch p si The shared features of si ;

[0039] The dimension reduction module extracts the optical image features f oi and SAR image features f si Send it to the dimensionality reduction network to obtain the shared features e obtained by the learning module oi , e si The shared features f′ with consistent dimensions oi and f′ si ;

[0040] The reconstruction module uses the decoder to obtain the shared features f′ of the optical image blocks obtained by the dimensionality reduction module. oi and the shared features f′ of the SAR image patch si Reconstructing optical image patches and SAR image patches

[0041] Matching module, based on the shared features e obtained by the learning module oi and e si Calculate the triplet matching loss based on the shared features e obtained from the learning module oiand e si And f′ obtained by the dimension reduction module oi and f′ si Calculate the descriptor consistency constraint loss, based on the reconstructed optical image patch obtained by the reconstruction module and SAR image patches With the input optical image patch p oi and SAR image patch p si Calculate the reconstruction loss, obtain the final loss function L according to the triplet matching loss, descriptor consistency loss and reconstruction loss, optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints, and save the weights of the heterogeneous remote sensing image block matching network.

[0042] Compared with the prior art, the present invention has at least the following beneficial effects:

[0043] The invention discloses a heterogeneous remote sensing image block matching method based on descriptor consistency constraint, which maps the features of heterogeneous remote sensing images to a shared feature space for matching, thereby reducing the influence of heterogeneous image differences on image matching and improving the accuracy of heterogeneous image matching; at the same time, based on the descriptor consistency loss function, the descriptor learning network is optimized, and the final loss function L is obtained according to the triple matching loss, the descriptor consistency loss and the reconstruction loss; according to the shared feature e oi and e si Calculate the triplet matching loss based on the shared feature e oi and e si and f′ oi and f′ si The descriptor consistency constraint loss is calculated, and the knowledge learned from high-level features is used to guide the learning of low-level features. During the network optimization process, the descriptor learning network is trained by combining heterogeneous image matching loss, descriptor consistency loss and reconstruction loss to obtain the shared features of heterogeneous images while retaining the discriminative information of heterogeneous images to improve the image block matching accuracy.

[0044] Furthermore, 11,586 pairs of pixel-level aligned visible light and SAR images of size 256×256 were randomly selected from the dataset SEN1-2, 583,180 pairs of optical-SAR image patches were randomly generated as training samples, and 248,274 pairs of optical-SAR image patches were randomly generated as test samples for image patch matching. A large number of training samples were used for model fitting, and a large number of test samples were used to evaluate the effectiveness of the method.

[0045] Furthermore, feature learning is performed on heterogeneous images separately through heterogeneous feature learning networks that do not share network weights to obtain low-level features of the images, which are then sent to the shared feature mapping network.

[0046] Furthermore, the decoding network De includes three deconvolution layers for improving the resolution of features. A convolution layer is set after each deconvolution layer. The reconstruction ability of the decoding network De can be further improved through the convolution layer.

[0047] Furthermore, the network is jointly optimized using triplet matching loss, descriptor consistency loss and reconstruction loss to extract shared features of heterogeneous images while maintaining the discriminability of heterogeneous image features.

[0048] Furthermore, through the triple matching loss function L match The network parameters are optimized so that the matching image features are close and the unmatched image features are far away, so that the optimal matching point pair can be found based on the similarity of the image features extracted by the network.

[0049] Furthermore, the descriptor consistency constraint loss L is used con To constrain the consistency of the similarity between the features in the domain before and after learning in the shared feature space, and use high-level features containing more supervisory information to guide the learning of low-level features.

[0050] Furthermore, while constraining the consistency of heterogeneous features, a large amount of discriminative information may be lost. Therefore, minimizing the reconstruction error L recon To ensure that the network extracts features containing discriminative information.

[0051] Furthermore, the loss function L is used to optimize the entire network of the heterogeneous image block matching method based on descriptor consistency to obtain the consistent features of the heterogeneous images while containing discriminative information.

[0052] In summary, the heterogeneous remote sensing image block matching method based on descriptor consistency constraint proposed in the present invention maps the features of heterogeneous images to a shared feature space for matching, thereby reducing the influence of the differences of heterogeneous images on image matching. At the same time, the proposed descriptor consistency loss function uses the knowledge learned from high-level features to guide the learning of low-level features.

[0053] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 is a flow chart of the present invention;

[0055] Figure 2 It is a network framework diagram of the present invention;

[0056] Figure 3 are some example diagrams of heterogeneous data sets used in simulation experiments of the present invention;

[0057] Figure 4 is a matching result graph of the present invention;

[0058] Figure 5 It is a result diagram of distribution visualization of the descriptors extracted by HardNet and the present invention. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0061] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0062] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects are in an "or" relationship.

[0063] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0064] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0065] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.

[0066] Image matching is a very important issue in the field of image processing and is a prerequisite for other image processing tasks, such as image fusion, change detection, target tracking, etc. As a basic problem in image processing, the accuracy of image matching often affects the accuracy of subsequent image processing tasks.

[0067] Heterogeneous remote sensing image matching is the basis for the fusion and utilization of heterogeneous remote sensing image information and has very important research significance. However, due to the different imaging mechanisms of heterogeneous remote sensing images, there are significant differences between heterogeneous remote sensing images, which increases the difficulty of heterogeneous remote sensing image matching. How to eliminate the differences between heterogeneous images, learn the shared features between heterogeneous images, and at the same time maintain the discriminability of heterogeneous image features is a very critical issue.

[0068] The present invention provides a heterogeneous remote sensing image block matching method based on descriptor consistency constraints. In order to reduce the significant differences between heterogeneous images due to different imaging mechanisms, it is proposed to use a deep convolutional network to extract shared features in heterogeneous images. In the feature network optimization process, only matching and non-matching labels are relied on, and the available supervisory information is limited, and the optimization and guidance of the network needs to be improved. Therefore, the present invention proposes a descriptor consistency constraint loss, including consistency loss within the domain and consistency loss between domains, and uses the knowledge learned from high-level features containing more similarity rankings to guide low-level feature learning, and optimizes the feature network with the help of richer supervisory information in high-level features, thereby improving the accuracy of heterogeneous remote sensing image matching. When eliminating the differences between heterogeneous images, a large amount of discriminative information is easily lost, which affects the discriminativeness of heterogeneous image features and increases the error of heterogeneous image matching. It is proposed to maintain the discriminativeness of heterogeneous image features with the help of reconstruction constraints, thereby improving the accuracy of heterogeneous remote sensing image matching. The steps are: making a data set; image preprocessing; extracting image block features using a heterogeneous image feature learning network; extracting shared features of image blocks using a heterogeneous shared feature learning network; reducing the network dimension; reconstructing image blocks using a decoder; network optimization; predicting matching probability; and evaluating network performance. The effectiveness of the invention has been verified on a large number of heterogeneous image matching tasks based on visible light and SAR images.

[0069] See also Figure 1 The present invention provides a heterogeneous remote sensing image block matching method based on descriptor consistency constraint, comprising the following steps:

[0070] S1, make data set and image preprocessing;

[0071] 11586 pairs of pixel-level aligned visible light and SAR images of size 256×256 were randomly selected from the dataset SEN1-2. Based on the SIFT feature points of the optical images in the SEN1-2 dataset, 583180 pairs of optical-SAR image patches were randomly generated as training samples, and 248274 pairs of optical-SAR image patches were randomly generated as test samples for image patch matching. The size of the image patch is 64×64.

[0072] The image is mean normalized, that is, the mean is subtracted and the variance is divided. The processed data conforms to the standard normal distribution, that is, the mean is 0 and the standard deviation is 1.

[0073] S2, extract image patch features using heterogeneous image feature learning network;

[0074] Input a pair of matched optical and SAR image patches (p oi ,p si), a heterogeneous image feature learning network with the same network structure but without sharing network parameters is used to extract features from the optical image block and the SAR image block respectively, and the optical image feature f is obtained. oi and SAR image features f si .

[0075] Optical Image Feature Learning Network F o and SAR image feature learning network F s They have the same network structure but do not share network parameters. The heterogeneous image feature learning network contains two convolutional layers, the convolution kernel size is 3×3, the number of convolution kernels in each convolution layer is 32 and 32 respectively, and each convolution layer is followed by batch normalization (BN).

[0076] S3. Extracting shared features of image blocks using heterogeneous shared feature learning networks

[0077] The optical image feature f obtained in step S2 oi and SAR image features f si Send it to the shared feature learning mapping network to obtain the optical image block p oi The shared features of oi and SAR image patch p si The shared features of si and SAR image patch p si The shared features of si , F c It mainly contains 5 convolutional layers.

[0078] S4. Dimensionality reduction network

[0079] In order to constrain the consistency of the descriptor similarity before and after the heterogeneous shared feature learning, the optical image feature f obtained in step S2 is oi and SAR image features f si Send it to the dimensionality reduction network to obtain and share features e oi , e si Features f′ with consistent dimensions oi and f′ si .

[0080] S5. Reconstruct image blocks using decoder

[0081] In order to extract effective image information from heterogeneous images and retain discriminative feature information, the decoder is used to extract the shared features f′ of the optical image blocks obtained in step S4. oi and the shared features f′ of the SAR image patch si Reconstruct optical image blocks or SAR image blocks.

[0082] The decoding network De contains 3 deconvolution layers, each of which is followed by a convolution layer.

[0083] S6. Network Optimization

[0084] The entire network parameters are jointly optimized based on the triplet matching loss function, the descriptor consistency constraint loss function and the reconstruction loss function;

[0085] The matching loss function makes the similarity of matched image features large and the similarity of unmatched image features small, so that the optimal matching point pair can be found according to the similarity of image features extracted by the network; in order to ensure the consistency of the similarity between the features in the domain before and after learning the shared feature space, the present invention proposes a descriptor consistency constraint loss function, which uses high-level knowledge containing rich supervisory information to guide the optimization of the low-level feature network, and further improves the image matching effect; in order to extract features containing discriminative information, the reconstruction loss is introduced, and it is expected that the original input image can be reconstructed as much as possible according to the extracted image features.

[0086] S601. Use triple matching loss function to optimize feature learning network

[0087] It makes the similarity of matched image features large and the similarity of unmatched image features small, so that the optimal matching point pair can be found according to the similarity of image features extracted by the network; the triplet matching loss function is as follows:

[0088] L match =[m+D(e oi ,e si )-D(e oi ,e sj )] +

[0089] Where [x] + =max(x,0),D(e oi ,e si ) represents the matched optical image feature e oi and SAR image features si The characteristic distance between oi ,e sj ) represents the mismatched optical image feature e oi and SAR image features sj The feature distance between them, and i≠j, m represents the distance interval, and generally m=1. The goal of the triplet loss function optimization is to expect the unmatched image feature distance to be greater than the matched image feature distance by at least one distance interval m.

[0090] S602, descriptor consistency constraint loss

[0091] For ideal descriptor learning, the similarity between features in the domain should be consistent before and after learning in the shared feature space. This invention proposes intra-domain consistency constraints and inter-domain consistency constraints:

[0092] Intra-domain consistency constraints:

[0093] Based on the optical image feature f′ oi , the cosine similarity S between optical image features after Softmax normalization can be calculated fo ; Based on the shared features of optical images oi , the cosine similarity S after Softmax normalization between shared features of optical images can be calculated eo The objective of the optical image domain consistency constraint proposed in this invention is to maximize S fo With S eo The distribution similarity between them, that is, minimizing S fo With S eo The KL divergence between . The domain consistency loss function L based on the optical image intra,o It is expressed as:

[0094] L intra,o =D KL (S fo ‖S eo )

[0095] Similarly, based on the SAR image feature f′ si , the cosine similarity S between SAR image features after Softmax normalization can be calculated fs , based on SAR image shared features si , the cosine similarity S after Softmax normalization between shared features of SAR images can be calculated es , the consistency constraint objective in the SAR image domain is to maximize S fs With S es The distribution similarity between them. The domain consistency loss function L based on SAR images intra,s It is expressed as:

[0096] L intra,s =D KL (S fs ‖S es )

[0097] Therefore, the intra-domain consistency loss function is the sum of the intra-domain consistency loss function based on optical images and the intra-domain consistency loss function based on SAR images.

[0098] L intra =L intra,o +L imtra,s

[0099] Inter-domain consistency constraints:

[0100] In addition to the similarity consistency constraint within the domain, the consistency between the optical image and the SAR image is also constrained so that S fo and S es It is consistent, S fs and S eo Therefore, the inter-domain consistency constraint loss function L intre It is expressed as:

[0101] L intre =D KL (S fo ‖S es )+D KL (S fs ‖S eo )

[0102] Therefore, the descriptor consistency constraint loss L con It is expressed as a combination of the intra-domain consistency constraint loss function and the inter-domain consistency constraint loss function:

[0103] L con =L intra +L intre

[0104] The descriptor consistency constraint proposed in the present invention can be regarded as a special case of distillation learning, namely, self-distillation distillation learning. Distillation learning usually includes a teacher network and a student network. The structure of the teacher network is more complex than that of the student network, and its learning ability is stronger. Distillation learning refers to transferring the knowledge learned from the teacher network to the student network, which is often used to compress the size of the model while keeping the performance of the network as unchanged as possible. In the network framework of the present invention, the deep feature network after shared feature learning can be regarded as a teacher network, and the shallow feature network before shared feature learning has a relatively simple structure and can be regarded as a student network. Figure 2 As shown. Then, the knowledge learned by the teacher network is used to guide the learning of the student network. Since the teacher network and the student network in the present invention come from the same feature extraction network, the distillation learning between the teacher network and the student network can be regarded as self-distillation learning.

[0105] In the process of matching constraints on high-level features, there are only hard labels for matching and mismatching to guide, and it is impossible to know the similarity ranking between mismatching samples. The supervisory information available for network optimization is limited. However, the similarity matrix calculated based on high-level features contains rich supervisory information, and the similarity ranking between image blocks can be predicted based on the similarity value, that is, there are a large number of soft labels. Using high-level knowledge containing rich supervisory information to guide the optimization of low-level feature networks can further improve the effect of image matching.

[0106] S603, reconstruction loss

[0107] The image features extracted by the deep network are often related to the target task matching, but in the learning process based on the matching target, it is easy to lose a lot of image information, reduce the discriminability of the features, and increase the risk of overfitting. Therefore, in order to extract features containing discriminative information, it is expected to reconstruct the original input image as much as possible based on the extracted image features and minimize the reconstruction error:

[0108]

[0109] S604, jointly optimize the three losses, and the final loss function is:

[0110] L=L match +αL con +βL recon

[0111] Among them, α represents the weight coefficient of the descriptor consistency constraint loss function, and β represents the weight coefficient of the reconstruction error loss function.

[0112] The training was conducted for 20 epochs with an initial learning rate of 0.5, a weight coefficient α of the descriptor consistency constraint loss function of 10, a weight coefficient β of the reconstruction error loss function of 0.001, and a batch size of 500.

[0113] S7. Predict matching probability and evaluate network performance.

[0114] Load the trained weights in step S6 into the model, read the test samples divided in step S1 in turn, and predict the matching probability of each pair of image blocks in the test samples; evaluate the performance of the network on the heterogeneous dataset by FPR95 and accuracy, such as Figure 3 shown.

[0115] In yet another embodiment of the present invention, a heterogeneous remote sensing image block matching system based on descriptor consistency constraints is provided. The system can be used to implement the above-mentioned heterogeneous remote sensing image block matching method based on descriptor consistency constraints. Specifically, the heterogeneous remote sensing image block matching system based on descriptor consistency constraints includes a processing module, an extraction module, a learning module, a dimensionality reduction module, a reconstruction module and a matching module.

[0116] The processing module cuts the optical image block p from the paired optical image and SAR image. oi and SAR image patch p si , create a heterogeneous remote sensing image block dataset, divide the heterogeneous remote sensing image block dataset into training samples and test samples, and preprocess the training samples and the test samples respectively;

[0117] The extraction module extracts the optical image block p in the training sample obtained by the processing module. oi and SAR image patch p si Send it to the heterogeneous image feature learning network to extract the image block features and obtain the optical image feature f oi and SAR image features f si ;

[0118] The learning module extracts the optical image features f obtained by the extraction module. oi and SAR image features f si Send it to the shared feature learning mapping network to obtain the optical image block p oi The shared features of oi and SAR image patch p si The shared features of si ;

[0119] The dimension reduction module extracts the optical image features f oi and SAR image features f si Send it to the dimensionality reduction network to obtain the shared features e obtained by the learning module oi , e si The shared features f′ with consistent dimensions oi and f′ si ;

[0120] The reconstruction module uses the decoder to obtain the shared features f′ of the optical image blocks obtained by the dimensionality reduction module. oi and the shared features f′ of the SAR image patch si Reconstructing optical image patches and SAR image patches

[0121] Matching module, based on the shared features e obtained by the learning module oi and e si Calculate the triplet matching loss based on the shared features e obtained from the learning module oi and e si And f′ obtained by the dimension reduction module oi and f′ si Calculate the descriptor consistency constraint loss, based on the reconstructed optical image patch obtained by the reconstruction module and SAR image patches With the input optical image patch p oi and SAR image patch p si Calculate the reconstruction loss, obtain the final loss function L according to the triplet matching loss, descriptor consistency loss and reconstruction loss, optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints, and save the weights of the heterogeneous remote sensing image block matching network.

[0122] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0123] Simulation experiment conditions

[0124] The hardware platform for this experiment: NVIDIA GTX 1080 GPU;

[0125] Software platform: Spyder software (Python 3.6).

[0126] Simulation experiment content and result analysis:

[0127] The simulation experiment of the present invention is specifically divided into two simulation experiments.

[0128] The present invention uses the public data set SEN1-2. SEN1-2 contains paired optical remote sensing images and SAR images acquired in four seasons: spring, summer, autumn, and winter. The image size is 256×256 and the resolution is 10m. Based on the SIFT feature points of the optical images in the SEN1-2 data set, the present invention randomly generates 583,180 pairs of optical-SAR image blocks as training samples and 248,274 pairs of optical-SAR image blocks as test samples for image block matching. The size of the image block is 64×64.

[0129] Simulation experiment 1

[0130] Using the method of the present invention, it can be seen from the results in Table 1 that, compared with the most representative descriptor network HardNet, the shared feature network learning results designed by the present invention are better than HardNet in terms of FPR95 index and matching accuracy; secondly, when the descriptor learning network is only based on the matching loss function L m During training, the FPR95 value of image block matching is 3.0 and the accuracy is 96.0. When the matching loss and reconstruction loss L are combined, m +L recon Or combine the matching loss and the descriptor consistency loss L m +L conWhen , the performance of image block matching can be significantly improved.

[0131] Specifically, L m +L recon L m The FPR95 value of image patch matching was reduced from 3.0 to 1.1, while the accuracy was increased from 96.0% to 97.6%; m +L con L m The FPR95 value of image block matching is reduced from 3.0 to 0.9, while the accuracy is increased from 96.0% to 97.8%. The experimental results show the effectiveness of reconstruction loss and descriptor similarity consistency loss. When the descriptor learning network is optimized by combining matching loss, reconstruction loss and descriptor consistency loss, the matching result is the best, with a corresponding FPR95 of 0.7 and an accuracy of 98.2%. Figure 4 shown.

[0132] Table 1

[0133]

[0134] Simulation experiment 2

[0135] Ideally, the distance between the matched optical remote sensing image features and the SAR image features is small, and the distance between the unmatched optical remote sensing image features and the SAR image features is large. Therefore, in order to verify the effectiveness of the present invention, the extracted features of the optical remote sensing image and the SAR image features are visualized using the t-SNE method.

[0136] See also Figure 5 , randomly selected two pairs of optical remote sensing images and SAR images, then extracted the optical remote sensing image blocks and the corresponding matching SAR image blocks based on the key points in the optical remote sensing images; then, used the trained feature extraction network to extract the features of the optical remote sensing image blocks and the corresponding matching SAR image blocks, and used t-SNE to map the extracted features into 2D space. Since the visualization is paired, matching heterogeneous image block features, their distribution in the feature space should be very similar.

[0137] See also Figure 5 As shown in (a) and (c), the distribution of heterogeneous image features learned by HardNet is quite different, and no shared features between heterogeneous images are learned. It can be seen that the feature distance of homologous non-matching image blocks is smaller than that of heterogeneous matching image blocks, which easily leads to a large number of incorrect matching point pairs during the matching process, reducing the accuracy of heterogeneous image matching.

[0138] See also Figure 5As shown in (b) and (d), the optical image features learned by the present invention have a high degree of similarity with the SAR image feature distribution, especially Figure 5 The feature distributions learned from the optical remote sensing image and the SAR image in (d) are almost completely overlapped. Therefore, the present invention can learn the shared features of heterogeneous images, assist the heterogeneous image matching process, reduce the interference of the differences between heterogeneous images on image matching, and improve the accuracy of heterogeneous image matching.

[0139] In summary, the present invention provides a heterogeneous remote sensing image block matching method and system based on descriptor consistency constraints, which maps the features of heterogeneous images to a shared feature space for matching, thereby reducing the impact of the differences in heterogeneous images on image matching and improving the accuracy of heterogeneous image matching. At the same time, the present invention proposes a descriptor consistency loss function to optimize the descriptor learning network, including a consistency loss function based on the domain and a consistency loss function between domains. The knowledge learned from high-level features is used to guide the learning of low-level features. In the process of network optimization, the descriptor learning network is trained by combining image matching loss, descriptor consistency loss and reconstruction loss. The effectiveness and robustness of the heterogeneous remote sensing image matching method based on descriptor consistency constraints proposed in the present invention have been verified through a large number of image block matching experiments on optical images and SAR images and heterogeneous remote sensing image matching experimental results.

[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0144] The above contents are only for explaining the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. A heterogeneous remote sensing image block matching method based on descriptor consistency constraints, characterized in that: The following steps are involved: S1. Crop the optical image patch p from the paired optical image and SAR image oi and SAR image patch p si , create a heterogeneous remote sensing image block dataset, divide the heterogeneous remote sensing image block dataset into training samples and test samples, and preprocess the training samples and the test samples respectively; S2, the optical image block p in the training sample obtained in step S1 oi and SAR image patch p si The image is sent to the heterogeneous image feature learning network to extract the image block features and obtain the optical image feature f oi and SAR image features f si ; S3, the optical image feature f obtained in step S2 oi and SAR image features f si Send it to the shared feature learning mapping network to obtain the optical image block p oi The shared features of oi and SAR image patch p si The shared features of si ; S4, the optical image feature f obtained in step S2 oi and SAR image features f si Send it to the dimensionality reduction network to obtain the shared feature e obtained in step S3 oi , e si The shared features f′ with consistent dimensions oi and f′ si ; S5, using the decoder to obtain the shared features f' of the optical image block in step S4 oi and the shared features f′ of the SAR image patch si Reconstructing optical image patches and SAR image patches S6, shared feature e obtained according to step S3 oi and e si Calculate the triplet matching loss based on the shared feature e obtained in step S3 oi and e si and f′ obtained in step S4 oi and f′ si Calculate the descriptor consistency constraint loss based on the reconstructed optical image block obtained in step S5 and SAR image patches With the input optical image patch p oi and SAR image patch P si Calculate the reconstruction loss; obtain the final loss function L according to the triple matching loss, descriptor consistency loss and reconstruction loss, optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints, and save the weights of the heterogeneous remote sensing image block matching network; S7, sequentially read the optical image blocks p in the test sample divided in step S1. oi and SAR image patch p si , load the weights of the heterogeneous remote sensing image block matching network trained in step S6 into the heterogeneous image feature learning network in step S2 and the shared feature learning mapping network in step S3, obtain the feature descriptors of the corresponding heterogeneous images, and judge whether the input image blocks match according to the feature distances between the descriptors.

2. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 1, characterized in that: In step S1, 11586 pairs of pixel-level aligned optical images and SAR images of size 256×256 are randomly selected from the data set SEN1-2, SIFT key points in the optical image are detected, and optical image blocks of size 64×64 are cropped from the optical image with the SIFT key points of the optical image as the center. oi , according to the SIFT key point position of the optical image, the corresponding SIFT key point of the SAR image is obtained, and the SAR image block p of size 64×64 is cropped in the SAR image with the SIFT key point of the SAR image as the center si , 583180 pairs of optical and SAR image patches are randomly selected as training samples, and 248274 pairs of optical and SAR image patches are used as test samples for image patch matching.

3. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 1, characterized in that: Step S2 is specifically as follows: Input a pair of matched optical and SAR image patches (p oi , p si ), using an optical image feature learning network F with the same network structure and no shared network parameters o and SAR image feature learning network F s Feature extraction is performed on optical image blocks and SAR image blocks respectively. The heterogeneous image feature learning network contains 2 convolutional layers with a convolution kernel size of 3×3. The number of convolution kernels in each convolution layer is 32 and 32 respectively, and each convolution layer is followed by batch normalization.

4. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 1, characterized in that: In step S5, the decoding network De includes three deconvolution layers, and a convolution layer is set behind each deconvolution layer.

5. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 1, characterized in that: Step S6 specifically includes: S601, according to the shared feature e obtained in step S3 oi and e si Calculate the triplet matching loss and optimize the heterogeneous image feature learning network in step S2 and the shared feature learning mapping network in step S3 S602: Shared feature e obtained in step S3 oi and e si and f′ obtained in step S4 oi and f′ si Calculate the descriptor consistency constraint loss, optimize the heterogeneous image feature learning network in step S2 and the shared feature learning mapping network in step S3; use the intra-domain consistency constraint and the inter-domain consistency constraint to represent the descriptor consistency constraint loss L con ; S603: Reconstruct the optical image block obtained in step S5 and SAR image patches With the input optical image patch p oi and SAR image patch p si Calculate the reconstruction loss, optimize the heterogeneous image feature learning network in step S2, the dimensionality reduction network in step S4, and the decoder in step S5; reconstruct the original input image based on the extracted image features to minimize the reconstruction error; S604, jointly optimize the losses of step S601, step S602 and step S603, obtain the final loss function L according to the triple matching loss in step S601, the descriptor consistency loss in step S602 and the reconstruction loss in step S603, and optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints.

6. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 5, characterized in that: In step S601, the triple matching loss function L match as follows: L match =[m+D(e oi ,e si )-D(e o i,e sj )] + Where [x] + =max(x,0),D(e oi , e si ) represents the matched optical image feature e oi and SAR image features si The characteristic distance between oi , e sj ) represents the mismatched optical image feature e oi and SAR image features sj The characteristic distance between them, and i≠j, m represents the distance interval.

7. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 5, characterized in that: In step S602, the descriptor consistency constraint loss L con for: L con =L intra +L intre Among them, L intra is the domain consistency loss function, L intre is the inter-domain consistency constraint loss function.

8. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 5, characterized in that: In step S603, the reconstruction error L is minimized. recon for: Among them, p oi is the input optical image patch, is the reconstructed optical image patch, p si is the input SAR image block, is the reconstructed SAR image block.

9. The heterogeneous remote sensing image block matching method based on descriptor consistency constraint according to claim 5, characterized in that: In step S604, the loss function L is: L=L match +αL con +βL recon Among them, α represents the weight coefficient of the descriptor consistency constraint loss function, β represents the weight coefficient of the reconstruction error loss function, and L match is the triple matching loss function, L con is the descriptor consistency constraint loss, L recon To minimize the reconstruction error.

10. A heterogeneous remote sensing image block matching system based on descriptor consistency constraints, characterized in that: include: The processing module crops the optical image patch p from the paired optical image and SAR image oi and SAR image patch P si , create a heterogeneous remote sensing image block dataset, divide the heterogeneous remote sensing image block dataset into training samples and test samples, and preprocess the training samples and the test samples respectively; The extraction module extracts the optical image block p in the training sample obtained by the processing module. oi and SAR image patch p si Send it to the heterogeneous image feature learning network to extract the image block features and obtain the optical image feature f oi and SAR image features f si ; The learning module extracts the optical image features f obtained by the extraction module. oi and SAR image features f si Send it to the shared feature learning mapping network to obtain the optical image block p oi The shared features of oi and SAR image patch p si The shared features of si ; The dimension reduction module extracts the optical image features f oi and SAR image features f si Send it to the dimensionality reduction network to obtain the shared features e obtained by the learning module oi , e si The shared features f′ with consistent dimensions oi and f′ si ; The reconstruction module uses the decoder to obtain the shared features f′ of the optical image blocks obtained by the dimensionality reduction module. oi and the shared features f′ of the SAR image patch si Reconstructing optical image patches and SAR image patches Matching module, based on the shared features e obtained by the learning module oi and e si Calculate the triplet matching loss based on the shared features e obtained from the learning module oi and e si And f′ obtained by the dimension reduction module oi and f′ si Calculate the descriptor consistency constraint loss, based on the reconstructed optical image patch obtained by the reconstruction module and SAR image patches With the input optical image patch p oi and SAR image patch p si Calculate the reconstruction loss, obtain the final loss function L according to the triplet matching loss, descriptor consistency loss and reconstruction loss, optimize the entire heterogeneous remote sensing image block matching network based on descriptor consistency constraints, and save the weights of the heterogeneous remote sensing image block matching network.