A heterogeneous remote sensing image registration method and system
By combining deep sequence regression and deep descriptor learning network, heterogeneous image registration is decomposed into two stages: rotation correction and fine registration, which solves the problems of rotation changes and modal changes in heterogeneous image registration, and improves heterogeneous image registration. Performance and robustness of image registration.
Patent Information
- Application Number
- CN202210103286.0
- 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
Existing technology In the registration of heterosource remote sensing images, especially when registering images with large rotation angles, it is difficult for deep descriptor learning methods to learn rotation-invariant and modality-invariant features at the same time, resulting in performance degradation.
Using a combination of deep sequence regression network and deep descriptor learning network, the image rotation correction task is converted into a sequence regression problem, and the network parameters are optimized through the binary cross-entropy loss function and the triplet matching loss function, and the image registration is decomposed into The two stages of rotation correction and fine registration separate rotation changes and image modality changes.
Significantly improves the performance of heterosource image registration and the accuracy of rotation correction, reduces the challenge of deep descriptor learning network, maintains robustness and accuracy, and can still obtain good registration especially under large rotation angles Effect.
Smart Images

Figure CN114445468B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of image processing, and in particular relates to a heterogeneous remote sensing image registration method and system. Background Art
[0002] Image registration is the process of predicting the transformation relationship between two images and aligning the two images in space based on the predicted transformation relationship. The two images to be registered 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. Due to different imaging mechanisms, heterogeneous images have obvious differences in appearance, which brings great challenges to heterogeneous image registration.
[0003] Due to the lack of adaptability to heterogeneous images, the robustness and accuracy of manually designed descriptors in heterogeneous image registration are not satisfactory. Recently, deep descriptor learning methods have gradually replaced manually designed descriptor extraction methods and have shown significant advantages in heterogeneous image registration. Its success is due to the data-driven learning model and multiple nonlinear mappings, which improve the adaptability of deep descriptor learning to heterogeneous images and can utilize stronger invariant information and more discriminative features for registration. However, when heterogeneous images have large rotation transformations, it is very difficult to register them using deep descriptor learning methods. In this case, deep descriptor learning needs to learn descriptors that are invariant to various changes (such as image modality changes and rotation changes) and retain as much discriminative information as possible. This challenge comes from two aspects. (1) Different optimization objectives for learning invariant features may produce different optimization directions, weakening the invariance of features; (2) Blindly pursuing invariant features will affect the discrimination of features and reduce the performance of image registration.
[0004] There is also an image matching method based on a deep convolutional neural network. The network consists of two parts, a feature network and a metric network. The feature network is used to extract the features of the image blocks. An optional bottleneck layer is added to reduce the feature dimension. The output of the bottleneck layer is used as a feature descriptor. During training, the feature network is copied into two copies to form a dual-tower structure. The two towers share network parameters, and the outputs of the two towers are spliced together as the input of the metric network; the metric network consists of three fully connected layers and so ftm a x is used to compare the similarity of the extracted feature pairs. The network is jointly trained to transform the matching problem into a classification problem. The cross entropy loss function is used to measure the matching probability of the blocks. The closer the value is to 1, the more the two image blocks are matched. Compared with the previous results, there has been a significant improvement, but the time cost is too high.
[0005] Existing difficult sample mining strategies have been proposed to achieve better matching results, but the performance is significantly reduced for heterogeneous images with large rotation angle differences because it is difficult for the network to simultaneously learn features that are rotationally invariant and modality invariant. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a heterogeneous remote sensing image registration method and system in view of the deficiencies in the above-mentioned prior art.
[0007] The present invention adopts the following technical solutions:
[0008] A heterogeneous remote sensing image registration method, characterized in that it comprises the following steps:
[0009] S1. Select the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL respectively;
[0010] S2, performing image preprocessing on the images in the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL in step S1 respectively;
[0011] S3, splicing the optical image in the training set Train_DOR after preprocessing in step S2 and the rotated SAR image in the channel dimension, and sending them into the deep sequence regression network to obtain the rotation parameters;
[0012] S4, optimizing the deep sequence regression network in step S3 based on the binary cross entropy loss function, and saving the weights of the deep sequence regression network;
[0013] S5, loading the deep sequence regression network weights saved in step S4 into the deep sequence regression network model, and sequentially reading the data in the test set Test_DOR after preprocessing in step S2, and predicting the rotation angle of each pair of images in the test set Test_DOR;
[0014] S6, Accuracy of Angle Prediction R And the angle prediction mean error MSE R Evaluate the rotation correction performance of the deep sequence regression network in step S5 on the test set Test_DOR after preprocessing in step S2, and save the weights of the deep sequence regression network with the best test results;
[0015] S7, inputting the optical image blocks and SAR image blocks in the training set Train_DDL after preprocessing in step S2 into the deep descriptor learning network respectively, and extracting the corresponding feature descriptors;
[0016] S8, optimizing the parameters of the deep descriptor learning network in step S7 based on the triple matching loss function, and saving the weights of the deep descriptor learning network;
[0017] S9, loading the deep descriptor learning network weights saved in step S8 into the deep descriptor learning network model, and sequentially reading the data in the test set Test_DDL after preprocessing in step S2, and predicting the matching probability of each pair of image blocks in the test set Test_DDL;
[0018] S10, through FPR95 and matching accuracy Acc M Evaluate the matching performance of the deep descriptor learning network on the test set Test_DDL in step S9, and save the weight of the deep descriptor learning network with the best test result;
[0019] S11. Use the deep sequence regression network weights in step S6 to predict the rotation angle between the optical and SAR images to be registered, then perform rotation correction on the SAR image according to the predicted rotation angle, then perform key point detection on the optical image and the corrected SAR image, crop image blocks around the detected key points, and then use the deep descriptor learning network weights retained in step S10 to extract feature descriptors of the image blocks, obtain matching key point pairs through the obtained feature descriptor distances, estimate the transformation matrix between the input images according to the matching key point pairs, and finally align the input images according to the estimated transformation matrix to achieve heterogeneous remote sensing image registration.
[0020] Specifically, in step S1, visible light and SAR images are randomly selected from the data set SEN1-2, and the images obtained after rotating and translating each image are used as the training set Train_DOR of the deep sequence regression network;
[0021] Visible light and SAR images are randomly selected from the remaining SEN1-2 datasets, and the images obtained after rotation and translation of each image are used as the test set Test_DOR of the deep sequence regression network; the image rotation angle is [0, 15].
[0022] Specifically, in step S1, based on the SIFT feature points of the optical image in the SEN1-2 data set, optical-SAR image block pairs are randomly generated as the training set Train_DDL of the deep descriptor network, and optical-SAR image block pairs are randomly generated as the test set Test_DDL of the deep descriptor network.
[0023] Specifically, in step S2, the images in the training set Train_DOR and the test set Test_DOR in step S1, and the images in the training set Train_DDL and the test set Test_DDL are mean normalized, and the processed data conform to the standard normal distribution.
[0024] Specifically, in step S4, the binary cross entropy loss function L DOR as follows:
[0025]
[0026] in, is the jth deep sequence regression network th The output probability corresponding to a binary classifier, N is the Batchsize, For the jth th The sequence label corresponding to the binary classifier, k is the number of fully connected layers.
[0027] Furthermore, if the deep sequence regression network j th The sequence label predicted by the binary classifier is Then the rotation parameter θ′ estimated by the deep sequence network is i for:
[0028]
[0029] Furthermore, th The sequence labels corresponding to the binary classifiers for:
[0030]
[0031] Among them, θ i For the input image pair x i Discrete rotation values between, j = 0…k.
[0032] Specifically, in step S8, the triple matching loss function L m as follows:
[0033] L m =[m+D(f i 1 , f i 2 )-D(f i 1 , f j 2 )] +
[0034] Where [x] + =max(x,0),f i1 and f i 2 is the feature extracted by the deep descriptor learning network, D(f i 1 , f i 2 ) indicates f i 1 and f i 2 The characteristic distance between them, m represents the distance interval.
[0035] Furthermore, the optimization process was conducted for 10 epochs with an initial learning rate of 0.5 and a batch size of 500.
[0036] Another technical solution of the present invention is a heterogeneous remote sensing image registration system, comprising:
[0037] In the data module, select the training set Train_DOR, the test set Test_DOR, the training set Train_DDL, and the test set Test_DDL respectively;
[0038] A preprocessing module performs image preprocessing on the images in the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL of the data module respectively;
[0039] The splicing module splices the optical image in the training set Train_DOR after preprocessing by the preprocessing module and the rotated SAR image in the channel dimension, and sends them into the deep sequence regression network to obtain the rotation parameters;
[0040] The first optimization module optimizes the deep sequence regression network in the splicing module based on the binary cross entropy loss function and saves the weights of the deep sequence regression network;
[0041] The loading module loads the deep sequence regression network weights saved in the first optimization module into the deep sequence regression network model, and sequentially reads the data in the test set Test_DOR after preprocessing by the preprocessing module, and predicts the rotation angle of each pair of images in the test set;
[0042] Evaluation module, through the angle prediction accuracy Acc R And the angle prediction mean error MSE R Evaluate the rotation correction performance of the deep sequence regression network in the loading module on the test set Test_DOR after preprocessing by the preprocessing module, and save the weights of the deep sequence regression network with the best test results;
[0043] The extraction module inputs the optical image blocks and SAR image blocks in the training set Train_DDL after preprocessing by the preprocessing module into the deep descriptor learning network respectively to extract the corresponding feature descriptors;
[0044] The second optimization module optimizes the parameters of the deep descriptor learning network in the extraction module based on the triple matching loss function and saves the weights of the deep descriptor learning network;
[0045] The prediction module loads the deep descriptor learning network weights saved in the second optimization module into the deep descriptor learning network model, and sequentially reads the data in the test set Test_DDL preprocessed by the preprocessing module to predict the matching probability of each pair of image blocks in the test set;
[0046] The third optimization module uses FPR95 and matching accuracy Acc M Evaluate the matching performance of the deep descriptor learning network in the prediction module on the test set Test_DDL, and save the weight of the deep descriptor learning network with the best test result;
[0047] The registration module uses the deep sequence regression network weights in the evaluation module to predict the rotation angle between the optical and SAR images to be registered, and then performs rotation correction on the SAR image according to the predicted rotation angle. After that, key point detection is performed on the optical image and the corrected SAR image, and image blocks are cropped around the detected key points. The feature descriptors of the image blocks are then extracted using the deep descriptor learning network weights retained in the third optimization module. Matching key point pairs are obtained through the obtained feature descriptor distances, and the transformation matrix between the input images is estimated based on the matching key point pairs. Finally, the input images are aligned according to the estimated transformation matrix to achieve heterogeneous remote sensing image registration.
[0048] Compared with the prior art, the present invention has at least the following beneficial effects:
[0049] The present invention discloses a heterogeneous remote sensing image registration method. Firstly, the image rotation correction task is converted into a sequence regression problem, and the relationship between rotation sequences is used to further improve the accuracy of image rotation correction. A deep sequence regression network is combined with a deep descriptor learning network to realize the registration of heterogeneous images. In order to reduce the negative impact of mixed learning of various invariant features, the heterogeneous remote sensing image registration method combining deep sequence regression and deep descriptor learning decomposes image registration into two stages: rotation correction and heterogeneous fine image registration, separates rotation change from image modality change, and significantly improves the performance of rotation change heterogeneous image registration. A large number of experimental results and analyses show the effectiveness of the proposed two-stage method in heterogeneous image registration and the superiority of deep sequence regression in rotation correction.
[0050] Furthermore, the training set is used to fit the model, and the test set is used to evaluate the model.
[0051] Furthermore, the training set and the test set are normalized to speed up the convergence of the training network.
[0052] Furthermore, the rotation parameter estimation task is transformed into a sequence regression task, which can be implemented by a series of binary classification subtasks. Deep sequence regression exploits the latent relationship between rotation sequences to improve the accuracy of rotation estimation.
[0053] Furthermore, by obtaining the image rotation angle through a deep sequence regression network and performing rotation correction on the image, it is possible to avoid simultaneously processing the global geometric deformation caused by the rotation transformation and the significant local differences caused by different imaging mechanisms, thereby reducing the difficulty of heterogeneous image registration.
[0054] Furthermore, deep sequence regression is implemented through multiple binary classification tasks. Each fully connected layer is a binary classification. If the image rotation angle is greater than k, then it must be greater than k-1. Similarly, if the image rotation angle is less than k-1, then it must be less than k. The deep sequence regression network can use this potential relationship between sequences to improve the accuracy of rotation estimation.
[0055] Furthermore, through the triple matching loss function L m To optimize the deep descriptor learning network, the feature distance of matching image pairs is as close as possible, and the feature distance of unmatched image pairs is as far as possible.
[0056] Furthermore, during the registration test, the SAR image is first rotationally corrected using a deep sequence regression network, and then key point detection is performed on the optical image and the corrected SAR image. Image blocks are cropped around the detected key points, and then the feature descriptors of the image blocks are extracted using the deep descriptor learning network weights. Matching key point pairs are obtained through the obtained feature descriptor distances, and the transformation matrix between the input images is estimated based on the matching key point pairs. Finally, the input images are aligned based on the estimated transformation matrix.
[0057] In summary, the method of the present invention significantly reduces the challenge of heterogeneous image registration based on deep descriptor learning network, maintains robustness and accuracy, and can still achieve good registration effect on heterogeneous images with large rotation angles.
[0058] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a flow chart of the present invention;
[0060] Figure 2 : The network framework diagram of the present invention, wherein (a) is deep sequence regression and (b) is deep descriptor learning;
[0061] Figure 3 exemplified diagrams of heterogeneous data sets used in simulation experiments of the present invention, wherein (a) is an optical image, and (b) is a rotated SAR image;
[0062] Figure 4 : This is the registration result diagram of the present invention, where (a) is the optical image, (b) is the rotated SAR image, (c) and (d) are line diagrams, and (e) is a chessboard diagram. DETAILED DESCRIPTION
[0063] 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.
[0064] 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.
[0065] 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.
[0066] 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.
[0067] 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.
[0068] 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.
[0069] 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.
[0070] Image registration 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 registration often affects the accuracy of subsequent image processing tasks.
[0071] The present invention provides a heterogeneous remote sensing image registration method, which separates rotation changes from image modal changes, uses deep sequence regression to perform rotation correction on images, and uses a deep descriptor learning network to perform fine registration of heterogeneous images. The two-stage method can significantly reduce the challenge of heterogeneous image registration based on a deep descriptor learning network, and maintain robustness and accuracy. The deep sequence regression network for rotation correction proposed in the present invention innovatively transforms the rotation estimation task into a sequence regression problem. Deep sequence regression can utilize the potential relationship between rotation ordinals to improve the accuracy of rotation estimation. The steps are: making a data set; image preprocessing; deep sequence regression network; deep sequence regression network optimization; predicting rotation angle; evaluating network performance; deep descriptor learning network; deep descriptor learning network optimization; predicting matching probability; evaluating network performance; registration test. A large number of experimental results prove the necessity of the two-stage method and the superiority of the deep sequence regression network in heterogeneous image registration.
[0072] See also Figure 1 The present invention provides a heterogeneous remote sensing image registration method. First, the rotation transformation is separated from the image modality change, the image is rotationally corrected using a deep sequence regression network, and the heterogeneous image is finely registered using a deep descriptor learning network. The specific steps are as follows:
[0073] S1. Create a dataset
[0074] Randomly select 4000 pairs of pixel-level aligned visible light and SAR images of size 256×256 from the dataset SEN1-2, rotate and translate each image 6 times, and get 24000 images as the training set Train_DOR of the deep sequence regression network;
[0075] Then, 2000 pairs of pixel-level aligned visible light and SAR images of size 256×256 are randomly selected from the remaining SEN1-2 dataset, and each image is rotated and translated 5 times to obtain 10,000 images as the test set Test_DOR of the deep sequence regression network; the image rotation angle range is [0,15].
[0076] Based on the SIFT feature points of the optical images in the SEN1-2 dataset, 583,099 pairs of optical-SAR image patches were randomly generated as the training set Train_DDL of the deep descriptor network, and 248,010 pairs of optical-SAR image patches were randomly generated as the test set Test_DDL of the deep descriptor network. The size of the image patch is 64×64;
[0077] S2. Image preprocessing
[0078] Perform mean normalization on the images in the training set Train_DOR and the test set Test_DOR of the deep sequence regression network and the training set Train_DDL and the test set Test_DDL of the deep descriptor learning network in step S1, that is, subtract the mean and divide the variance. The processed data conforms to the standard normal distribution, that is, the mean is 0 and the standard deviation is 1;
[0079] S3. Deep Sequence Regression Network
[0080] The optical image in the training set Train_DOR preprocessed in step S2 and the rotated SAR image are spliced in the channel dimension and sent to the deep sequence regression network to predict the rotation angle of the SAR image. The image is rotationally corrected according to the angle predicted by the network, as shown in Figure 2 (a)
[0081] S4. Deep Sequence Regression Network Optimization
[0082] Optimize the parameters of the entire deep sequence regression network based on 16 binary cross entropy loss functions;
[0083] Through a series of binary classification subtasks, the rotation parameter estimation problem is transformed into a sequence regression task. Assume that the heterogeneous image pair is {x i , i = 1…N}, the rotation range is [0, k], the input image pair x i Discrete rotation values θ betweeni , No. j th The role of the binary classifier subtask is to determine whether the rotation parameter is greater than j. If θ i >j, jth th The sequence labels corresponding to the binary classifiers is 1, otherwise it is 0, j=0…k.
[0084]
[0085] If the deep sequence regression network j th The sequence label predicted by the binary classifier is Then the rotation parameter θ′ estimated by the deep sequence network is i for:
[0086]
[0087] Multiple binary cross entropy loss functions are used to optimize the deep sequence regression network. One binary classification subtask corresponds to one binary cross entropy loss, a total of 16, and the loss function L DOR It is expressed as follows:
[0088]
[0089] in, is the jth deep sequence regression network th The output probability corresponding to a binary classifier.
[0090] The training was performed for 10 epochs with an initial learning rate of 0.5 and a batch size of 64.
[0091] S5. Predicted rotation angle
[0092] Load the deep sequence regression network weights trained in step S4 into the model, read all the test set data in sequence, and predict the rotation angle of each pair of images in the test set;
[0093] S6. Evaluating the performance of deep sequence regression networks
[0094] By Acc R and MSE R Evaluate the performance of the deep sequence regression network and save the weights of the deep sequence regression network with the best test results;
[0095] S7. Deep Descriptor Learning Network
[0096] The optical image blocks and SAR image blocks are respectively input into the deep descriptor learning network to extract the corresponding 128-dimensional feature descriptors, such as Figure 2 (b)
[0097] S8. Deep descriptor learning network optimization
[0098] The triplet matching loss function is used to optimize the deep descriptor learning network so that the matching image features are close and the unmatched image features are far away, thereby finding the optimal matching point pair based on the similarity of the image features extracted by the network.
[0099] The triplet matching loss function is as follows:
[0100] L m =[m+D(f i 1 , f i 2 )-D(f i 1 , f j 2 )] +
[0101] Where [x] + =max(x,0),f i 1 and f i 2 is the feature extracted by the deep descriptor learning network, f i 1 and f i 2 It matches, f i 1 and f j 2 is not matched, i≠j. D(f i 1 , f i 2 ) indicates f i 1 and f i 2 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, where m=1.
[0102] The training was performed for 10 epochs with an initial learning rate of 0.5 and a batch size of 500.
[0103] S9. Predicted matching probability
[0104] Load the deep descriptor learning network weights trained in step S8 into the model, read all test set data in sequence, and predict the matching probability of each pair of image blocks in the test set;
[0105] S10. Evaluate network performance
[0106] The performance of the deep descriptor learning network on the test set is evaluated by FPR95 and matching accuracy rate ACCM, and the weights of the deep descriptor learning network with the best test results are saved. FPR95 refers to the corresponding probability of incorrect matching samples (False Positive Rate, FPR) when the prediction accuracy rate of correct matching samples (True Positive Rate, TPR) is equal to 95%.
[0107] S11. Registration test
[0108] First, the SAR image is rotationally corrected using the deep sequence regression network weights in S6. Then, key point detection is performed on the optical image and the corrected SAR image. Image blocks are cropped around the detected key points. The feature descriptors of the image blocks are then extracted using the deep descriptor learning network weights retained in S10. Matched key point pairs are obtained through the obtained feature descriptor distances, and the transformation matrix between the input images is estimated based on the matched key point pairs. Finally, the input images are aligned based on the estimated transformation matrix.
[0109] In yet another embodiment of the present invention, a heterogeneous remote sensing image registration system is provided, which can be used to implement the above-mentioned heterogeneous remote sensing image registration method. Specifically, the heterogeneous remote sensing image registration system includes a data module, a preprocessing module, a stitching module, a first optimization module, a loading module, an evaluation module, an extraction module, a second optimization module, a prediction module, a third optimization module and a registration module.
[0110] Among them, the data module selects the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL respectively;
[0111] A preprocessing module performs image preprocessing on the images in the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL of the data module respectively;
[0112] The splicing module splices the optical image in the training set Train_DOR after preprocessing by the preprocessing module and the rotated SAR image in the channel dimension, and sends them into the deep sequence regression network to obtain the rotation parameters;
[0113] The first optimization module optimizes the deep sequence regression network in the splicing module based on the binary cross entropy loss function and saves the weights of the deep sequence regression network;
[0114] The loading module loads the deep sequence regression network weights saved in the first optimization module into the deep sequence regression network model, and sequentially reads the data in the test set Test_DOR after preprocessing by the preprocessing module, and predicts the rotation angle of each pair of images in the test set;
[0115] Evaluation module, through the angle prediction accuracy Acc R And the angle prediction mean error MSE R Evaluate the rotation correction performance of the deep sequence regression network in the loading module on the test set Test_DOR after preprocessing by the preprocessing module, and save the weights of the deep sequence regression network with the best test results;
[0116] The extraction module inputs the optical image blocks and SAR image blocks in the training set Train_DDL after preprocessing by the preprocessing module into the deep descriptor learning network respectively to extract the corresponding feature descriptors;
[0117] The second optimization module optimizes the parameters of the deep descriptor learning network in the extraction module based on the triple matching loss function and saves the weights of the deep descriptor learning network;
[0118] The prediction module loads the deep descriptor learning network weights saved in the second optimization module into the deep descriptor learning network model, and sequentially reads the data in the test set Test_DDL preprocessed by the preprocessing module to predict the matching probability of each pair of image blocks in the test set;
[0119] The third optimization module uses FPR95 and matching accuracy Acc M Evaluate the matching performance of the deep descriptor learning network in the prediction module on the test set Test_DDL, and save the weight of the deep descriptor learning network with the best test result;
[0120] The registration module uses the deep sequence regression network weights in the evaluation module to predict the rotation angle between the optical and SAR images to be registered, and then performs rotation correction on the SAR image according to the predicted rotation angle. After that, key point detection is performed on the optical image and the corrected SAR image, and image blocks are cropped around the detected key points. The feature descriptors of the image blocks are then extracted using the deep descriptor learning network weights retained in the third optimization module. Matching key point pairs are obtained through the obtained feature descriptor distances, and the transformation matrix between the input images is estimated based on the matching key point pairs. Finally, the input images are aligned according to the estimated transformation matrix to achieve heterogeneous remote sensing image registration.
[0121] 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.
[0122] Simulation experiment conditions:
[0123] The hardware platform of this experiment is: NVIDIA GTX 1080 GPU; the software platform is: Spyder software (Python 3.6) version.
[0124] Simulation experiment content and result analysis:
[0125] The simulation experiment of the present invention is specifically divided into two simulation experiments.
[0126] The present invention uses the public data set SEN1-2, which 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. The present invention randomly selects 4000 pairs of pixel-level aligned visible light and SAR images of size 256×256 from the data set SEN1-2, rotates and translates each image 6 times, and obtains 24,000 images as the training set of the deep sequence regression network. Then, 2000 pairs of pixel-level aligned visible light and SAR images of size 256×256 are selected, and each image is rotated and translated 5 times to obtain 10,000 images as the test set of the deep sequence regression network. The image rotation angle range is [0, 15]. Based on the SIFT feature points of optical images in the SEN1-2 dataset, 583,099 pairs of optical-SAR image patches were randomly generated as training samples, and 248,010 pairs of optical-SAR image patches were used as test samples for the deep descriptor learning network. The size of the image patch is 64×64. 570 pairs of optical and SAR images were selected for heterogeneous image registration testing.
[0127] See also Figure 3 , where (a) represents the optical image and (b) represents the SAR image after rotation.
[0128] Simulation experiment 1
[0129] There are many feasible methods for rotation estimation in the deep sequence regression method of the present invention, such as deep regression and multi-class classification. The deep regression network directly regresses the rotation parameters through a deep convolutional network, and the optimization goal is to minimize the estimation error between the output rotation parameters and the groundtruth. The rotation parameters of the multi-class classification network can be divided into k+1 categories, and the network can be optimized by minimizing the multi-class cross entropy loss. As can be seen from the results in Table 1, in Acc R In terms of accuracy, deep sequence regression has a slight advantage over multi-class classification and a significant advantage over deep regression, with accuracy improved by 1.23% and 4.83% respectively, and error reduced by 37.35% and 64.36%.
[0130] Table 1
[0131]
[0132] Simulation experiment 2
[0133] This section compares the results of the heterogeneous remote sensing image registration method (DOR-DDL) by joint deep sequence regression and deep descriptor learning with traditional methods SIFT, ORB, PSO-SIFT, and representative deep local descriptor learning methods MatchNet based on contrast loss (MatchNet-contra), MatchNet based on triplet loss (MatchNet-triplet), MatchNet based on ratio loss (MatchNet-ratio), HardNet based on triplet loss, and HardNet based on exponential loss (Exp-HardNet). Table 2 gives the image registration results under different degrees of rotation transformation, such as no rotation transformation (θ=0), slight rotation transformation (θ≤5), and large rotation transformation (θ≤10 and θ≤15).
[0134] Table 2
[0135]
[0136]
[0137] See also Figure 4 , where (a) is an optical image, (b) is a rotated SAR image, (c) and (d) are line diagrams, and (e) is a chessboard diagram. It can be seen from the figure that the method proposed in the present invention can still achieve accurate registration on heterogeneous images with large rotation angles.
[0138] In summary, the present invention provides a heterogeneous remote sensing image registration method and system, which combines a deep sequence regression network with a deep descriptor learning network to achieve heterogeneous image registration; in order to reduce the negative impact of mixed learning of various invariant features, the heterogeneous remote sensing image registration method that combines deep sequence regression and deep descriptor learning decomposes image registration into two stages: rotation correction and heterogeneous fine image registration. First, the rotation estimation problem is converted into a sequence regression problem, and an effective deep sequence regression network is proposed; a large number of experimental results show the necessity of the two-stage registration method, the advantages of the deep sequence regression network in rotation correction, and the advantages of the heterogeneous remote sensing image registration method that combines deep sequence regression and deep descriptor learning in heterogeneous image registration. It is worth noting that the present invention brings obvious benefits at a very small time cost.
[0139] 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.
[0140] 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.
[0141] 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.
[0142] 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.
[0143] 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 registration method, characterized in that: The following steps are involved: S1. Select the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL respectively; S2, performing image preprocessing on the images in the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL in step S1 respectively; S3, splicing the optical image in the training set Train_DOR after preprocessing in step S2 and the rotated SAR image in the channel dimension, and sending them into the deep sequence regression network to obtain the rotation parameters; S4, optimizing the deep sequence regression network in step S3 based on the binary cross entropy loss function, and saving the weights of the deep sequence regression network; S5, loading the deep sequence regression network weights saved in step S4 into the deep sequence regression network model, and sequentially reading the data in the test set Test_DOR after preprocessing in step S2, and predicting the rotation angle of each pair of images in the test set Test_DOR; S6, Accuracy of Angle Prediction R And the angle prediction mean error MSE R Evaluate the rotation correction performance of the deep sequence regression network in step S5 on the test set Test_DOR after preprocessing in step S2, and save the weights of the deep sequence regression network with the best test results; S7, inputting the optical image blocks and SAR image blocks in the training set Train_DDL after preprocessing in step S2 into the deep descriptor learning network respectively, and extracting the corresponding feature descriptors; S8, optimizing the parameters of the deep descriptor learning network in step S7 based on the triple matching loss function, and saving the weights of the deep descriptor learning network; S9, loading the deep descriptor learning network weights saved in step S8 into the deep descriptor learning network model, and sequentially reading the data in the test set Test_DDL after preprocessing in step S2, and predicting the matching probability of each pair of image blocks in the test set Test_DDL; S10, through FPR95 and matching accuracy Acc M Evaluate the matching performance of the deep descriptor learning network on the test set Test_DDL in step S9, and save the weight of the deep descriptor learning network with the best test result; S11. Use the deep sequence regression network weights in step S6 to predict the rotation angle between the optical and SAR images to be registered, then perform rotation correction on the SAR image according to the predicted rotation angle, then perform key point detection on the optical image and the corrected SAR image, crop image blocks around the detected key points, and then use the deep descriptor learning network weights retained in step S10 to extract feature descriptors of the image blocks, obtain matching key point pairs through the obtained feature descriptor distances, estimate the transformation matrix between the input images according to the matching key point pairs, and finally align the input images according to the estimated transformation matrix to achieve heterogeneous remote sensing image registration.
2. The heterogeneous remote sensing image registration method according to claim 1, characterized in that: In step S1, visible light and SAR images are randomly selected from the data set SEN1-2, and the images obtained after rotation and translation of each image are used as the training set Train_DOR of the deep sequence regression network; Visible light and SAR images are randomly selected from the remaining SEN1-2 datasets, and the images obtained after rotation and translation of each image are used as the test set Test_DOR of the deep sequence regression network; the image rotation angle is [0,15].
3. The heterogeneous remote sensing image registration method according to claim 1, characterized in that: In step S1, based on the SIFT feature points of the optical image in the SEN1-2 data set, optical-SAR image block pairs are randomly generated as the training set Train_DDL of the deep descriptor network, and optical-SAR image block pairs are randomly generated as the test set Test_DDL of the deep descriptor network.
4. The heterogeneous remote sensing image registration method according to claim 1, characterized in that: In step S2, the images in the training set Train_DOR and the test set Test_DOR in step S1, as well as the training set Train_DDL and the test set Test_DDL are mean normalized, and the processed data conform to the standard normal distribution.
5. The heterogeneous remote sensing image registration method according to claim 1, characterized in that: In step S4, 16 binary cross entropy loss functions L DOR as follows: in, is the jth deep sequence regression network th The output probability corresponding to a binary classifier, N is the Batchsize, For the jth th The sequence label corresponding to the binary classifier, k is the number of fully connected layers.
6. The heterogeneous remote sensing image registration method according to claim 5, characterized in that: If the deep sequence regression network j th The sequence label predicted by the binary classifier is Then the rotation parameter θ′ estimated by the deep sequence network is i for:
7. The heterogeneous remote sensing image registration method according to claim 5, characterized in that: No. th The sequence labels corresponding to the binary classifiers for: Among them, θ i For the input image pair x i Discrete rotation values between, j = 0…k.
8. The heterogeneous remote sensing image registration method according to claim 1, characterized in that: In step S8, the triple matching loss function L m as follows: Where [x] + =max(x,0),f i 1 and f i 2 is the feature extracted by the deep descriptor learning network, D(f i 1 ,f i 2 ) indicates f i 1 and f i 2 The characteristic distance between them, m represents the distance interval.
9. The heterogeneous remote sensing image registration method according to claim 8, characterized in that: During the optimization process, 10 epochs were trained, the initial learning rate was 0.5, and the batch size was 500.
10. A heterogeneous remote sensing image registration system, characterized in that: include: In the data module, select the training set Train_DOR, the test set Test_DOR, the training set Train_DDL, and the test set Test_DDL respectively; A preprocessing module performs image preprocessing on the images in the training set Train_DOR, the test set Test_DOR, the training set Train_DDL and the test set Test_DDL of the data module respectively; The splicing module splices the optical image in the training set Train_DOR after preprocessing by the preprocessing module and the rotated SAR image in the channel dimension, and sends them into the deep sequence regression network to obtain the rotation parameters; The first optimization module optimizes the deep sequence regression network in the splicing module based on the binary cross entropy loss function and saves the weights of the deep sequence regression network; The loading module loads the deep sequence regression network weights saved in the first optimization module into the deep sequence regression network model, and sequentially reads the data in the test set Test_DOR after preprocessing by the preprocessing module, and predicts the rotation angle of each pair of images in the test set; Evaluation module, through the angle prediction accuracy Acc R And the angle prediction mean error MSE R Evaluate the rotation correction performance of the deep sequence regression network in the loading module on the test set Test_DOR after preprocessing by the preprocessing module, and save the weights of the deep sequence regression network with the best test results; The extraction module inputs the optical image blocks and SAR image blocks in the training set Train_DDL after preprocessing by the preprocessing module into the deep descriptor learning network respectively to extract the corresponding feature descriptors; The second optimization module optimizes the parameters of the deep descriptor learning network in the extraction module based on the triple matching loss function and saves the weights of the deep descriptor learning network; The prediction module loads the deep descriptor learning network weights saved in the second optimization module into the deep descriptor learning network model, and sequentially reads the data in the test set Test_DDL preprocessed by the preprocessing module to predict the matching probability of each pair of image blocks in the test set; The third optimization module uses FPR95 and matching accuracy Acc M Evaluate the matching performance of the deep descriptor learning network in the prediction module on the test set Test_DDL, and save the weight of the deep descriptor learning network with the best test result; The registration module uses the deep sequence regression network weights in the evaluation module to predict the rotation angle between the optical and SAR images to be registered, and then performs rotation correction on the SAR image according to the predicted rotation angle. After that, key point detection is performed on the optical image and the corrected SAR image, and image blocks are cropped around the detected key points. The feature descriptors of the image blocks are then extracted using the deep descriptor learning network weights retained in the third optimization module. Matching key point pairs are obtained through the obtained feature descriptor distances, and the transformation matrix between the input images is estimated based on the matching key point pairs. Finally, the input images are aligned according to the estimated transformation matrix to achieve heterogeneous remote sensing image registration.
Citation Information
Patent Citations
Heterogeneous image matching method based on deep learning
CN108537264A
Robust image registration
US20070003165A1
