Optical image and SAR image registration method based on multi-scale phase congruency

Through the multi-scale phase consistency feature map and Harris feature point detection, combined with the RANSAC algorithm, the nonlinear intensity difference and long time-consuming problems in the registration of optical images and SAR images are solved, and high-precision and fast image registration is achieved.

CN114494371BActive Publication Date: 2024-10-22XIDIAN UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111667562.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-10-22
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the existing technology, there are problems in the registration process of optical images and SAR images, such as low robustness of nonlinear intensity differences and long registration time, resulting in low registration accuracy and slow speed.

Method used

Multi-scale phase consistency feature maps are used to register optical images and SAR images. Non-redundant Harris feature points are extracted by constructing multi-scale Gaussian pyramids and phase consistency edge detection, and the RANSAC algorithm is used to calculate spatial transformation parameters for image matching. allow.

Benefits of technology

It improves the registration accuracy and speed of optical images and SAR images, overcomes the influence of nonlinear intensity differences, and reduces computational complexity and time-consuming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114494371B_ABST
    Figure CN114494371B_ABST
Patent Text Reader

Abstract

The present invention discloses an optical image and SAR image registration method based on multi-scale phase consistency, aiming to improve the image registration accuracy, and the implementation steps are as follows: 1. Selecting an optical image as a reference image and a SAR image as an image to be registered respectively; 2. Constructing a multi-scale detail enhancement Gaussian pyramid of the reference image and the image to be registered respectively; 3. Performing phase consistency edge detection on the multi-scale detail enhancement Gaussian pyramid of the reference image and the image to be registered respectively, generating a multi-scale PC feature map of the reference image and the image to be registered; 4. Performing Harris feature point detection on the multi-scale PC feature map of the reference image; 5. Matching a reference template of the Harris feature point and a corresponding template to be matched using an NCC registration algorithm to obtain an accurate matching point pair; 6. Calculating a spatial transformation parameter according to the matching point pair, performing a spatial transformation on the image to be registered, and obtaining a registered image. The present invention can effectively improve the efficiency of optical and SAR image registration and realize fast and robust registration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image processing and relates to an image registration algorithm, and specifically to an optical image and SAR (synthetic aperture radar) image registration method based on multi-scale phase consistency, which can be applied to the fields of computer vision, remote sensing images and target recognition and detection. Background Art

[0002] Image registration is a critical step in image processing applications. It is the process of matching two images acquired at different times, with different sensors (imaging devices) or under different conditions (weather, illumination, camera position and angle, etc.). Image registration technology has a wide range of applications in many fields, such as computer vision, target recognition and detection, image fusion, and pattern recognition.

[0003] Optical imaging systems were developed the earliest and their technology is relatively mature. Optical images are consistent with the observation habits of human vision, and the images are easy to interpret. There are many related image processing algorithms and the image quality is good. As an active microwave imaging system for earth observation, the SAR imaging system can image all day and in multiple weather conditions, and can penetrate the surface. It is sensitive to artificial targets, especially metal targets, and can effectively make up for the shortcomings of optical images that are easily affected by weather. The combination of optical images and SAR images helps to give full play to their respective advantages. Therefore, it is of great significance to study effective optical image and SAR image registration technology. However, the significant nonlinear difference between optical images and SAR images still brings great difficulties to the registration work. Due to the significant nonlinear radiation difference and texture difference between optical images and SAR images, the feature detection repetition rate of optical images and SAR images is relatively low, which seriously affects the registration accuracy of image matching. At the same time, many region-based matching methods are highly sensitive to pixel intensity and cannot effectively deal with the nonlinear intensity difference between optical images and SAR images, thus failing to register optical images and SAR images. In addition, most region-based matching methods take a long time and cannot cope with the application requirements of processing large amounts of image data.

[0004] In his paper "Research on Registration Methods of High-resolution SAR Images and Optical Images" (Qin Jie. Research on Registration Methods of High-resolution SAR Images and Visible Light Images [D]. Nanjing University of Science and Technology, 2019. DOI: 10.27241 / d.cnki.gnjgu.2019.001291.), Qin Jie from Nanjing University of Science and Technology extended the response function of the Harris detector from the first-order term to the second-order term, and proposed a SAR image and optical image registration method based on structural similarity to improve the performance of detecting corner points. This method extends the response function of the Harris detector from the first-order term to the second-order term, and constructs a weight function that combines pixel space and grayscale information, so that feature descriptors can be constructed more accurately. Then, the amplitude and direction of the corner point are used to create a structural feature descriptor to describe the local image area. Finally, the correspondence is established based on the generated point features, and all pixels in the image to be registered are mapped to the reference image. However, this method still has some shortcomings. Although the detector performance has been improved, the registration accuracy is low when there is less structural information, and the time domain iteration method is time-consuming.

[0005] Xidian University disclosed a method for matching optical images and SAR images in its patent application "Heterogeneous Image Matching Method Based on Refined Feature Optimization Extraction" (patent application number: 2018112600781, application publication number: CN109409292A). This method uses different gradient operators to calculate the gradient modulus and direction of optical images and SAR images, uses the unique properties of the target in the image to complete the calibration of the region of interest, and obtains the coarse matching affine transformation matrix between the two through template matching. Then, the coarse matching affine transformation matrix is ​​used to obtain the transformed optical image, and then the transformed optical image is finely matched to obtain the fine matching affine transformation matrix and the registration result. The disadvantage of this method is that when gradient information is used for image matching, the registration takes a long time when extracting the matching template corresponding to the feature point, and is affected by the nonlinear difference between the optical image and the SAR image, resulting in low registration accuracy. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and propose an optical image and SAR image registration method based on multi-scale phase consistency, which is used to solve the technical problems of low robustness to nonlinear intensity differences and long registration time in the optical image and SAR image registration process in the prior art.

[0007] The idea of ​​the present invention to achieve the above-mentioned purpose is: first, construct a multi-scale phase consistency feature map of the reference image and the image to be registered. The feature is a non-redundant feature with simple feature construction and short time consumption. The multi-scale phase consistency PC feature map does not contain pixel gradient information and is robust to nonlinear intensity differences. Then, the multi-scale PC map of the reference image and the multi-scale PC map of the image to be registered are registered using a feature point matching algorithm to obtain the optimal matching point pair. Finally, the affine transformation parameters of the reference image and the image to be registered are calculated using the optimal matching point pair, and the registered image is obtained according to the affine transformation parameters, thereby improving the registration accuracy and registration speed of optical images and SAR images.

[0008] According to the above technical ideas, the technical solution adopted to achieve the purpose of the present invention includes the following steps:

[0009] (1) Select reference image I o and the image to be registered I s :

[0010] Take an optical image with a resolution of M×N as the reference image I o , and a SAR image of the same size is used as the image to be registered I s , where M ≥ 512, N ≥ 512;

[0011] (2) Constructing reference image I o Multi-scale detail enhancement Gaussian pyramid and image to be registered I s Multi-scale detail enhancement Gaussian pyramid:

[0012] (2a) For the reference image I o and the image to be registered I s Perform Gaussian blur of log2min(M,N) scales respectively to obtain the reference image I of layer l o Multi-scale Gaussian pyramid J o (x,y,σ o ) and the image I to be registered at layer l s Multi-scale Gaussian pyramid J s (x,y,σ s ):

[0013] J o (x,y,σ o )=G(x,y,σ)*I o (x,y)

[0014] J s (x,y,σ s )=G(x,y,σ)*I s (x,y)

[0015]

[0016] Among them, σ o Denotes the reference image I o The multi-scale factor, σ represents the reference image I o and the image to be registered I s The multi-scale factor of G(x,y,σ) represents the Gaussian function with the scale factor σ, I o (x,y) represents the reference image I o The pixel value at point (x,y), σ s Represents the image to be registered I s The multi-scale factor, I s (x,y) represents the image to be registered I s The pixel value at point (x, y), * indicates the convolution operation; σ1 indicates the initial scale factor, 1≤l≤log2min(M,N);

[0017] (2b) For reference image I o Multi-scale Gaussian pyramid J o (x,y,σ o ) each layer of the pyramid image, and the image to be registered I s Multi-scale Gaussian pyramid J s (x,y,σ s ) is filtered for each layer of the pyramid image to extract the edge detail features of the image and obtain the reference image I o Multi-scale detail enhancement Gaussian pyramid J og and the image to be registered I s Multi-scale detail enhancement Gaussian pyramid J sg ;

[0018] (3) Construct reference images I respectively o And the image to be registered I s Multi-scale phase consistency PC feature map:

[0019] (3a) For the reference image I o The corresponding multi-scale detail enhancement Gaussian pyramid J og and the image to be registered I s The corresponding multi-scale detail enhancement Gaussian pyramid J sg Phase consistency edge detection is performed respectively to obtain the reference image I o Multi-scale phase-consistent Gaussian pyramid J opc and the image to be registered I s Multi-scale phase-consistent Gaussian pyramid J spc ;

[0020] (3b) For reference image I oMulti-scale phase-consistent Gaussian pyramid J opc All layers of, and the image to be registered I s Multi-scale phase-consistent Gaussian pyramid J spc All layers of the image are average weighted fused, and the two average weighted fused results are binarized to obtain the reference image I o Multi-scale PC feature map I opc and the image to be registered I s Multi-scale PC feature map I spc , which is beneficial to reduce the impact of nonlinear intensity differences on Harris feature point detection in the subsequent detection;

[0021] (4) Detect Harris feature points:

[0022] The reference image I o Multi-scale PC feature map I opc And the image to be registered I s Multi-scale PC feature map I spc Divide evenly into grids, and for the reference image I o Multi-scale PC feature map I opc Harris feature point detection is performed on each divided grid to obtain a multi-scale PC feature map I opc The uniformly distributed pixel points corresponding to the t Harris values ​​in each grid, 2≤t, and then the detected prime points corresponding to the t Harris values ​​are used as the t Harris feature points in the grid, so as to improve the image registration rate by using the point feature detection method;

[0023] (5) Construct the reference template and the template to be matched corresponding to each Harris feature point:

[0024] Select the multi-scale PC feature map I opc , multi-scale PC feature map I spc The two feature regions with the ith Harris feature point as the center and the pixel size of (W+H)×(W+H) are used as the reference template T of the ith Harris feature point. o i and the template to be matched T s i , get t reference templates T for each grid o i and its corresponding template to be matched T s i , where W represents the template to be matched T s i The side length of , 20≤W≤100, H represents the template to be matched Ts i The side length of the search area in ;

[0025] (6) Calculate the reference template T for each Harris feature point o i and the template to be matched T s i The similarity measure NCC i (p,d):

[0026]

[0027] Among them, NCC i (p, d) represents the reference template T of the i-th Harris feature point o i and the template to be matched T s i The mutual matching correlation degree of p represents the i-th Harris feature point in the multi-scale PC feature map I opc The corresponding pixel point on o i (x, y) represents the image pixel value at the point (x, y) inside the reference template of the i-th Harris feature point. represents the mean value of the pixels in the reference template of the i-th Harris feature point, T s i (x+d,y) represents the pixel value of the reference template of the i-th Harris feature point offset by d in the x direction according to the position on the template to be matched. represents the mean value of the pixels in the template to be matched that are offset d in the x direction by the position of the reference template of the i-th Harris feature point on the template to be matched, · represents the product operation;

[0028] (7) Obtaining spatial transformation parameters:

[0029] (7a) Select the reference template T for each Harris feature point o i and the template to be matched T s i The pixel with the highest similarity metric value is used as the Harris feature point in the multi-scale PC feature map I spc The corresponding matching points in get all multi-scale PC feature maps I opc The feature points and their multi-scale PC feature maps I spc The corresponding matching points in Pairs of matching points;

[0030] (7b) The RANSAC algorithm is used to remove all matching point pairs that do not meet the random sampling consistency principle, and the remaining matching point pairs are used to calculate the reference image I o and the image to be registered I s The spatial transformation parameter F;

[0031] (8) Obtain the registration results of the optical image and the SAR image:

[0032] The reference image I is transformed using the spatial transformation parameter F o A spatial transformation is performed, and the image obtained after the spatial transformation is resampled, and then a bilinear interpolation process is performed on the resampled image to obtain a registration image of the optical image and the SAR image.

[0033] Compared with the prior art, the present invention has the following advantages:

[0034] First, the present invention first constructs a multi-scale phase-consistency PC feature map of a reference image and an image to be registered, and then performs Harris feature point detection on each grid divided by the PC feature map of the two images, and then obtains spatial transformation parameters through the similarity measurement value of the reference template and the template to be matched of each Harris feature point, and finally uses the spatial transformation parameters to perform spatial transformation on the reference image, and resamples and performs bilinear interpolation processing on the image obtained after the spatial transformation to obtain a registered image of the optical image and the SAR image. Since the PC feature map does not contain image intensity information, it is insensitive to the nonlinear intensity difference between the optical image and the SAR image, thereby avoiding the problem of the nonlinear intensity difference between the optical image and the SAR image causing by feature point detection based on gradient information in the prior art, thereby preferentially improving the registration accuracy of the optical image and the SAR image.

[0035] Secondly, the present invention realizes the process of converting time domain detail enhancement into frequency domain by performing guided filtering on each layer of the multi-scale Gaussian pyramid of the reference image and the image to be registered, making full use of the template feature information, overcoming the defect of the prior art that the time domain iteration method is used to obtain image detail information, and improving the registration speed of optical images and SAR images.

[0036] Third, since the Harris feature points extracted by the present invention on the multi-scale phase consistency feature map are non-redundant features, the problem of high computational complexity in the feature point descriptor generation stage in the prior art is overcome, so that the present invention improves the template matching calculation efficiency and further improves the registration speed of optical images and SAR images. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of the implementation of the present invention;

[0038] Figure 2 is a registration result diagram of the first pair of test images in the simulation experiment of the present invention;

[0039] Figure 3 is a registration result diagram of the second pair of test images in the simulation experiment of the present invention;

[0040] Figure 4 This is the registration result diagram of the third pair of test images in the simulation experiment of the present invention. DETAILED DESCRIPTION

[0041] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0042] Reference Figure 1 , the present invention comprises the following steps:

[0043] Step 1: Select the reference image and the image to be registered:

[0044] Take an optical image with a resolution of M×N as the reference image I o , and a SAR image of the same size is used as the image to be registered I s , where M≥512 and N≥512.

[0045] Step 2: Construct reference image I o Multi-scale detail enhancement Gaussian pyramid and image to be registered I s Multi-scale detail enhancement Gaussian pyramid:

[0046] Step 2a: for the reference image I o and the image to be registered I s Perform Gaussian blur of log2min(M,N) scales respectively to obtain the reference image I of layer l o Multi-scale Gaussian pyramid J o (x,y,σ o ) and the image I to be registered at layer l s Multi-scale Gaussian pyramid J s (x,y,σ s ):

[0047] J o (x,y,σ o )=G(x,y,σ)*I o (x,y)

[0048] J s (x,y,σ s )=G(x,y,σ)*I s (x,y)

[0049]

[0050] Among them, σ o Denotes the reference image I o The multi-scale factor, σ represents the reference image I o and the image to be registered I s The multi-scale factor of G(x,y,σ) represents the Gaussian function with the scale factor σ, I o (x,y) represents the reference image I o The pixel value at point (x,y), σ s Represents the image to be registered I s The multi-scale factor, I s (x,y) represents the image to be registered I s The pixel value at the point (x, y), * indicates the convolution operation; σ1 indicates the initial scale factor, σ1 = 1.53, l indicates the number of pyramid levels, 1≤l≤log2min(M,N);

[0051] Step 2b: for the reference image I o Multi-scale Gaussian pyramid J o (x,y,σ o ) each layer of the pyramid image, and the image to be registered I s Multi-scale Gaussian pyramid J s (x,y,σ s ) is filtered for each layer of the pyramid image, and the reference image I is obtained. o Multi-scale detail enhancement Gaussian pyramid J og and the image to be registered I s Multi-scale detail enhancement Gaussian pyramid J sg , where the formula for enhancing the image details at the lth layer is:

[0052]

[0053] Among them, q l Represents a multi-scale Gaussian pyramid J c The pixel value of the image after detail enhancement of the l-th layer image, |w| represents the number of pixels of the l-th layer image, J c l Represents a multi-scale Gaussian pyramid J c The lth layer image in a l and b l Represents the invariant coefficient of the linear function.

[0054] Step 3: Construct reference images I o And the image to be registered I s Multi-scale phase consistency PC feature map:

[0055] Step 3a: for the reference image Io The corresponding multi-scale detail enhancement Gaussian pyramid J og and the image to be registered I s The corresponding multi-scale detail enhancement Gaussian pyramid J sg Phase consistency edge detection is performed respectively to obtain the reference image I o Multi-scale phase-consistent Gaussian pyramid J opc and the image to be registered I s Multi-scale phase-consistent Gaussian pyramid J spc , where the phase consistency edge detection formula for the l-th layer detail enhanced image is:

[0056]

[0057] Among them, PC(p l ) represents the phase consistency metric value at position p of the detail enhanced image of the lth layer, ∑ represents the summation operation, Fp n represents the amplitude of the nth Fourier component of the detail enhanced image at the lth layer, Fp represents the position p n The phase of the component, Indicates that PC(p l ) is the average of the local phase angles of each component when it takes the maximum value at position p,

[0058] Step 3b: for the reference image I o Multi-scale phase-consistent Gaussian pyramid J opc All layers of, and the image to be registered I s Multi-scale phase-consistent Gaussian pyramid J spc All layers of the image are average weighted fused, and the two average weighted fused results are binarized to obtain the reference image I o Multi-scale PC feature map I opc and the image to be registered I s Multi-scale PC feature map I spc .

[0059] Step 4: Detect feature points:

[0060] The reference image I o Multi-scale PC feature map I opc And the image to be registered I s Multi-scale PC feature map I spc Divide evenly into grids, and for the reference image I o Multi-scale PC feature map I opcHarris feature point detection is performed on each divided grid to obtain a multi-scale PC feature map I opc The evenly distributed pixel points corresponding to the t Harris values ​​in each grid, 2≤t, are then used as the t Harris feature points in the grid.

[0061] Step 5: Construct the reference template and the template to be matched corresponding to each Harris feature point:

[0062] Select the multi-scale PC feature map I opc , multi-scale PC feature map I spc The two feature regions with the ith Harris feature point as the center and the pixel size of (W+H)×(W+H) are used as the reference template T of the ith Harris feature point. o i and the template to be matched T s i , get t reference templates T for each grid o i and its corresponding template to be matched T s i , where W represents the template to be matched T s i The side length of , 20≤W≤100, H represents the template to be matched T s i The side length of the search area in is H=40.

[0063] Step 6: Calculate the reference template T for each Harris feature point o i and the template to be matched T s i The similarity measure NCC i (p,d):

[0064]

[0065] Among them, NCC i (p, d) represents the reference template T of the i-th Harris feature point o i and the template to be matched T s i The mutual matching correlation degree of p represents the i-th Harris feature point in the multi-scale PC feature map I opc The corresponding pixel point on o i (x, y) represents the image pixel value at the point (x, y) inside the reference template of the i-th Harris feature point. represents the mean value of the pixels in the reference template of the i-th Harris feature point, T s i (x+d,y) represents the pixel value of the reference template of the i-th Harris feature point offset by d in the x direction according to the position on the template to be matched. represents the mean value of the pixels in the template to be matched that are offset d in the x direction by the position of the reference template of the i-th Harris feature point on the template to be matched, · represents the product operation;

[0066] Step 7: Get the spatial transformation parameters:

[0067] Step 7a, matching point pairs with the highest similarity metric value:

[0068] Select the matching point of the similarity metric value of each feature point in the to-be-matched template as the corresponding matching point of the feature point in the to-be-registered image, and all reference feature points and their corresponding matching points in the to-be-registered image constitute all matching point pairs;

[0069] Step 7a1: After performing similarity measurement on each Harris feature point reference template and the template to be matched, all cross-correlation similarity measurement values ​​are obtained, and the two-dimensional offset of the matching point corresponding to each reference feature point relative to the search center is obtained according to the following formula:

[0070]

[0071] Among them, (δ x ,δ y ) indicates the i-th Harris feature point in the template to be matched T s i The two-dimensional offset of the matching point on relative to the pixel position of the feature point;

[0072] Step 7a2, combined with the Harris feature point coordinates (x, y) in the reference template, the precise coordinates of the matching points of each reference feature point in the image to be registered are obtained as follows:

[0073]

[0074] Among them, [x i ,y i ] T Denotes the reference image I o The i-th Harris feature point in [u i ,v i ] T Represents the image to be registered I s The corresponding matching points in .

[0075] Step 7a3, select all multi-scale PC feature maps I opcHarris feature points and their multi-scale PC feature maps I spc The corresponding matching points in Pairs of matching points;

[0076] Step 7b: Use the RANSCA algorithm to remove incorrect matching point pairs and obtain the spatial transformation parameter F from the image to be registered to the reference image:

[0077] Step 7b1, in Select four non-collinear matching point pairs from the matching point pairs to form a spatial transformation matrix F;

[0078] Step 7b2: Select the jth pair of matching points p from the remaining matching point pairs j ,p j ′, if ||p j -γ(p j ′)||<ε, then this pair of matching points is selected as the inner point, and this step is repeated until all the remaining matching point pairs are taken, where p j represents the jth Harris feature point, p j ′ indicates p j The matching point in the image to be registered, γ(p j ′) represents the transformation matrix F used to transform p j ′ After transformation, ε=0.0001;

[0079] Step 7b3, if the ratio of the number of inliers obtained in step 7b2 to the number of all matching point pairs is greater than a threshold value γ, where γ = 0.5, proceed to step 7b4, otherwise return to step 7b1;

[0080] Step 7b4, select the finally obtained spatial transformation matrix F as the spatial transformation model parameter.

[0081] Step 8: Obtain the registration results of the optical image and the SAR image:

[0082] The reference image I is transformed using the spatial transformation parameter F o A spatial transformation is performed, and the image obtained after the spatial transformation is resampled, and then a bilinear interpolation process is performed on the resampled image to obtain a registration image of the optical image and the SAR image.

[0083] The technical effects of the present invention are further described below in conjunction with simulation experiments.

[0084] 1. Simulation experiment conditions:

[0085] The hardware platform of the simulation experiment of the present invention is: the processor is Intel (R) Core (TM) 7200 CPU, the main frequency is 2.50 GHz, and the memory is 12 GB.

[0086] The software platforms for the simulation experiment of the present invention are: Windows 10 operating system and matlab 2021a.

[0087] The three pairs of test images used in the simulation experiment of the present invention are:

[0088] The three pairs of test images are optical images and SAR images. The optical images are from the Google Earth platform, and the imaging time of the data is July 2017. The SAR images are from the C-band multi-polarization Gaofen-3 synthetic aperture radar SAR satellite, and the imaging time of the data is July 2017. The size of the three pairs of images is 512×512 pixels. The images include urban building areas and farmland areas. The ground sampling distance is 0.5m, and the image format is png.

[0089] 2. Simulation content and results analysis:

[0090] The simulation experiment of the present invention uses the present invention and two existing technologies (a SAR image and visible light image registration method based on structural similarity and a heterogeneous image matching method based on refined feature optimization extraction) to respectively register three pairs of input test images to obtain a registration result diagram.

[0091] In the simulation experiment, the two existing technologies used are:

[0092] The existing SAR image and visible light image registration method based on structural similarity refers to the improved directional Harris corner histogram, referred to as the HIOHC registration method, proposed by Qin Jie et al. in their paper "Research on High-Resolution SAR Image and Optical Image Registration Method".

[0093] The existing heterogeneous image matching method based on refined feature optimization extraction refers to the optimized refined feature extraction method proposed in the patent document "Heterogeneous Image Matching Method Based on Refined Feature Optimization Extraction" published by Li Yachao, Hu Siru et al., which is referred to as the Delaunay registration method.

[0094] Compared with the prior art, the present invention has the following advantages:

[0095] Figure 2 , Figure 3 , Figure 4 The chessboard registration result diagram obtained by the present invention for three pairs of test images is shown in FIG. Figure 2 , Figure 3 and Figure 4 ,From the figure, it can be seen that the overlapping area of ​​the ,reference image and the image to be registered can be fused very accurately and the ,result is almost free of misalignment, indicating that the registration ,precision is high.

[0096] The registration results of the three methods are evaluated using three evaluation indicators (correct matching rate of feature points, root mean square error, and overall running time). The matching points obtained by the registration method are defined as correct matching points if the error between the matching points and the actual correct positions is within 2 pixels, where the actual correct positions are accurately selected manually. The correct matching rate is calculated using the following formula, and the results are plotted in Table 1:

[0097]

[0098] Table 1. Average correct matching rate of the registration results of the present invention and the prior art in the simulation experiment (%)

[0099]

[0100] The average correct matching rate in Table 1 proves that, under the same template size, the correct matching rate of the present invention is higher than that of the two existing registration methods.

[0101] The root mean square error (RMSE) is calculated using the following formula, and the results are plotted in Table 2, where No. 1, No. 2, and No. 3 represent three different pairs of optical images and SAR images, respectively:

[0102]

[0103] Among them, (p i ,q i ) represents the actual correct matching point coordinates, (u i ,v i ) represents the correct matching point coordinates obtained according to the registration method.

[0104] Table 2. Root mean square error table of the registration results of the present invention and the prior art in the simulation experiment (pixels)

[0105] Test image number No.1 No.2 No3 The present invention 1.207 1.361 1.559 HIOHC 1.250 1.457 1.521 Delaunay 1.478 1.834 1.951

[0106] Table 2 shows the root mean square error index obtained under the template size (100×100) where the three methods perform best. It can be seen that for each test image pair, the present invention obtains the smallest root mean square error. This proves that the present invention can obtain more accurate matching point positions, thereby obtaining better registration results.

[0107] The running time of the three methods is statistically analyzed using the timing function provided by Matlab, and the results are plotted in Table 3:

[0108] Table 3. Statistics of operation time consumption of the present invention and various prior arts in simulation experiments (seconds)

[0109] Template size 20 40 60 80 100 The present invention 0.27 0.39 0.64 0.87 1.04 HIOHC 0.85 0.91 1.28 1.86 2.45 Delaunay 1.34 1.53 3.72 4.33 5.91

[0110] Table 3 shows that under the same template, the running time required by the present invention is the shortest, which means that the present invention can obtain the registration result faster.

[0111] Combining Table 1, Table 2 and Table 3, it can be seen that the present invention is superior to the two prior art methods in terms of the correct matching rate of three pairs of images, root mean square error and running time, which proves that the present invention can achieve better and faster image registration.

[0112] The above simulation experiments show that the present invention utilizes the multi-scale phase consistency information of the image to effectively cope with the influence of the significant nonlinear intensity difference between the optical image and the SAR image, and utilizes the method of extracting corner points from the multi-scale phase consistency feature map of the image to align the images, which can effectively measure the similarity between the matching templates and speed up the image alignment. It solves the problems of the non-robustness to the non-linear intensity difference between the optical image and the SAR image and the slow alignment speed in the prior art methods, and is a very practical, fast and robust optical image and SAR image alignment method.

Claims

1. A method for optical image and SAR image registration based on multi-scale phase consistency, characterized in that: The following steps are involved: (1) Select reference image I o and the image to be registered I s : Take an optical image with a resolution of M×N as the reference image I o , and a SAR image of the same size is used as the image to be registered I s , where M ≥ 512, N ≥ 512; (2) Constructing reference image I o Multi-scale detail enhancement Gaussian pyramid and image to be registered I s Multi-scale detail enhancement Gaussian pyramid: (2a) For the reference image I o and the image to be registered I s Perform Gaussian blur of log2min(M,N) scales respectively to obtain the reference image I of layer l o Multi-scale Gaussian pyramid J o (x,y,σ o ) and the image I to be registered at layer l s Multi-scale Gaussian pyramid J s (x,y,σ s ): J o (x,y,σ o )=G(x,y,σ)*I o (x,y) J s (x,y,σ s )=G(x,y,σ)*I s (x,y) Among them, σ o Denotes the reference image I o The multi-scale factor, σ represents the reference image I o and the image to be registered I s The multi-scale factor of G(x,y,σ) represents the Gaussian function with the scale factor σ, I o (x,y) represents the reference image I o The pixel value at point (x,y), σ s Represents the image to be registered I s The multi-scale factor, I s (x,y) represents the image to be registered I s The pixel value at point (x, y), * indicates the convolution operation; σ1 indicates the initial scale factor, 1≤l≤log2min(M,N); (2b) For reference image I o Multi-scale Gaussian pyramid J o (x,y,σ o ) each layer of the pyramid image, and the image to be registered I s Multi-scale Gaussian pyramid J s (x,y,σ s ) is filtered for each layer of the pyramid image, and the reference image I is obtained. o Multi-scale detail enhancement Gaussian pyramid J og and the image to be registered I s Multi-scale detail enhancement Gaussian pyramid J sg ; (3) Construct reference images I respectively o And the image to be registered I s Multi-scale phase consistency PC feature map: (3a) For the reference image I o The corresponding multi-scale detail enhancement Gaussian pyramid J og and the image to be registered I s The corresponding multi-scale detail enhancement Gaussian pyramid J sg Phase consistency edge detection is performed respectively to obtain the reference image I o Multi-scale phase-consistent Gaussian pyramid J opc and the image to be registered I s Multi-scale phase-consistent Gaussian pyramid J spc ; (3b) For reference image I o Multi-scale phase-consistent Gaussian pyramid J opc All layers of, and the image to be registered I s Multi-scale phase-consistent Gaussian pyramid J spc All layers of the image are average weighted fused, and the two average weighted fused results are binarized to obtain the reference image I o Multi-scale PC feature map I opc and the image to be registered I s Multi-scale PC feature map I spc ; (4) Detect Harris feature points: The reference image I o Multi-scale PC feature map I opc And the image to be registered I s Multi-scale PC feature map I spc Divide evenly into grids, and for the reference image I o Multi-scale PC feature map I opc Harris feature point detection is performed on each divided grid to obtain a multi-scale PC feature map I opc The evenly distributed pixel points corresponding to the t Harris values ​​in each grid, 2≤t, and then the detected pixel points corresponding to the t Harris values ​​are used as the t Harris feature points in the grid; (5) Construct the reference template and the template to be matched corresponding to each Harris feature point: Select the multi-scale PC feature map I opc , multi-scale PC feature map I spc The two feature regions with the ith Harris feature point as the center and the pixel size of (W+H)×(W+H) are used as the reference template T of the ith Harris feature point. o i and the template to be matched T s i , get t reference templates T for each grid o i and its corresponding template to be matched T s i , where W represents the template to be matched T s i The side length of , 20≤W≤100, H represents the template to be matched T s i The side length of the search area in ; (6) Calculate the reference template T for each Harris feature point o i and the template to be matched T s i The similarity measure NCC i (p,d): Among them, NCC i (p, d) represents the reference template T of the i-th Harris feature point o i and the template to be matched T s i The mutual matching correlation degree of p represents the i-th Harris feature point in the multi-scale PC feature map I opc The corresponding pixel point on o i (x, y) represents the image pixel value at the point (x, y) inside the reference template of the i-th Harris feature point. represents the mean value of the pixels in the reference template of the i-th Harris feature point, T s i (x+d,y) represents the pixel value of the reference template of the i-th Harris feature point offset by d in the x direction according to the position on the template to be matched. represents the mean value of the pixels in the template to be matched that are offset d in the x direction by the position of the reference template of the i-th Harris feature point on the template to be matched, · represents the product operation; (7) Obtaining spatial transformation parameters: (7a) Select the reference template T for each Harris feature point o i and the template to be matched T s i The pixel with the highest similarity metric value is used as the Harris feature point in the multi-scale PC feature map I spc The corresponding matching points in get all multi-scale PC feature maps I opc The feature points and their multi-scale PC feature maps I spc The corresponding matching points in Pairs of matching points; (7b) The RANSAC algorithm is used to remove all matching point pairs that do not meet the random sampling consistency principle, and the remaining matching point pairs are used to calculate the reference image I o and the image to be registered I s The spatial transformation parameter F; (8) Obtain the registration results of the optical image and the SAR image: The reference image I is transformed using the spatial transformation parameter F o A spatial transformation is performed, and the image obtained after the spatial transformation is resampled, and then a bilinear interpolation process is performed on the resampled image to obtain a registration image of the optical image and the SAR image.

2. The optical image and SAR image registration method based on multi-scale phase consistency according to claim 1, characterized in that: Step (3) of the reference image I o Multi-scale Gaussian pyramid J o (x,y,σ o ) and the image to be registered I s Multi-scale Gaussian pyramid J s (x,y,σ s ) respectively perform detail enhancement, where the detail enhancement formula for the l-th layer image is: Among them, q l Represents a multi-scale Gaussian pyramid J c The pixel value of the image after detail enhancement of the l-th layer image, w represents the number of pixels of the l-th layer image, J c l Represents a multi-scale Gaussian pyramid J c The lth layer image in a l and b l Represents the invariant coefficient of the linear function.

3. The optical image and SAR image registration method based on multi-scale phase consistency according to claim 1, characterized in that: The calculation formula for selecting the pixel with the highest similarity metric value between the reference template and the template to be matched for each Harris feature point in step (7a) is: Among them, (δ x ,δ y ) indicates the i-th Harris feature point in the template to be matched T s i The two-dimensional offset of the matching point on relative to the pixel position of the feature point.

4. The optical image and SAR image registration method based on multi-scale phase consistency according to claim 1, characterized in that: The RANSAC algorithm described in step (7b) is used to eliminate the matching point pairs that do not meet the random sampling consistency principle from all matching point pairs. The calculation formula is: Among them, SD(k) represents the standard deviation when the number of iterations is k, w represents the probability of selecting an in-place point from the matching points, and n represents the minimum number of points required to calculate the spatial transformation parameters.

5. The optical image and SAR image registration method based on multi-scale phase consistency according to claim 1, characterized in that: The calculated reference image I described in step (7b) o and the image to be registered I s The spatial transformation parameter F is calculated as follows: Among them, [x i ,y i ] T Denotes the reference image I o The i-th Harris feature point in [u i ,v i ] T Represents the image to be registered I s The corresponding matching points in .

Citation Information

Patent Citations

  • A heterogeneous image matching method based on refined feature optimization extraction

    CN109409292A

  • SAR image registration method based on phase congruency and SIFT

    CN103914847A

  • Multi-mode remote sensing image registration method based on MCD measurement and VTM

    CN112184785A