A method and system for infrared and visible light image registration based on hierarchical matching

Through a method based on hierarchical matching, local aggregation features and deep learning technology are used to register infrared and visible light images, which solves the problem of matching errors caused by modal differences in traditional methods and achieves more accurate image registration and transformation parameter estimation. .

CN114612698BActive Publication Date: 2024-09-06ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER COMPANY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210191584.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-09-06
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

Due to modal differences, there are deformation problems such as offset and scaling between infrared and visible light images. Traditional corner point extraction and feature matching methods are not robust enough and can easily lead to matching errors, especially in features extracted from non-registration-related components such as sky clouds. Serious interference.

Method used

A method based on hierarchical matching is used to pre-screen pixels through local aggregation features. The self-supervised learning network and depth map convolution network of deep learning are combined to extract and match feature points. The progressive consistent sampling algorithm is used to calculate transformation parameters to achieve infrared image and Hierarchical registration of visible light images.

Benefits of technology

It achieves more accurate registration of infrared and visible light images, filters out unreliable feature points, effectively uses feature point location information and context information, and obtains more accurate transformation parameters and matching results, which is suitable for registration of images shot at different angles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114612698B
    Figure CN114612698B
Patent Text Reader

Abstract

The present invention belongs to the field of image processing technology, and provides a method and system for infrared and visible light image registration based on hierarchical matching. The method includes acquiring an infrared image and a visible light image; pre-screening pixels of the visible light image based on local aggregation features to obtain a visible light image after pixel pre-screening; extracting and matching feature points of both the infrared image and the visible light image after pixel pre-screening; obtaining transformation parameters from the infrared image to the visible light image using a progressive consistent sampling algorithm based on the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image; and transforming the coordinates of the infrared image to the visible light image coordinate system based on the transformation parameters to achieve hierarchical registration of the infrared image and the visible light image.
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 in particular relates to an infrared and visible light image registration method and system based on hierarchical matching. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Due to the differences in position, focal length and distortion parameters between infrared and visible light lenses, there are inevitably deformation problems such as offset and scaling between the infrared and visible light images collected by the same infrared thermal imager. To fuse and analyze infrared images with visible light images, it is first necessary to accurately align the images of the two modalities, and at the same time overcome the interference caused by some objects in the visible light image; the alignment process generally includes pixel screening, corner point extraction, feature calculation and feature matching.

[0004] Traditional methods of directly performing corner point extraction, feature calculation and feature matching on the original image, such as Scale-Invariant Feature Transform (SIFT) are often not robust enough to changes in different modes such as infrared and visible light, and the kd tree nearest neighbor query algorithm (Best Bin First, BBF) feature matching method ignores the contextual information of neighboring feature points during matching, which is also prone to matching errors. Feature point extraction and feature calculation methods based on deep learning such as SuperPoint, and methods based on deep graph convolutional networks such as SuperGlue are easier to generate dense matching point pairs than traditional methods, and can generate more stable matching pairs to a certain extent. However, the inventors found that if feature points or matching pairs are extracted from sky clouds or other non-registration-related parts when directly performing feature point extraction and matching on infrared images and visible light images, it is highly likely that invalid matches will be extracted, which will interfere with subsequent registration and fusion. Summary of the invention

[0005] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides an infrared and visible light image registration method and system based on hierarchical matching, which can achieve more accurate registration of infrared images and visible light images compared with traditional methods; and accurate registration results can be obtained for different images taken at different angles.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A first aspect of the present invention provides a method for registering infrared and visible light images based on hierarchical matching, comprising:

[0008] Acquire infrared images and visible light images;

[0009] Pre-screening pixels of the visible light image based on the local aggregation features to obtain a visible light image after pixel pre-screening;

[0010] Feature point extraction and matching are performed on both infrared images and visible light images after pixel pre-screening;

[0011] According to the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image, the transformation parameters from the infrared image to the visible light image are obtained by using the progressive consistent sampling algorithm;

[0012] According to the transformation parameters, the coordinates of the infrared image are transformed into the visible light image coordinate system to achieve hierarchical registration of the infrared image and the visible light image.

[0013] A second aspect of the present invention provides an infrared and visible light image registration system based on hierarchical matching, comprising:

[0014] An image acquisition module, which is used to acquire infrared images and visible light images;

[0015] A pixel pre-screening module, which is used to pre-screen the pixels of the visible light image based on the local aggregation feature to obtain a visible light image after pixel pre-screening;

[0016] A feature point extraction and matching module is used to extract and match feature points of both infrared images and visible light images after pixel pre-screening;

[0017] A transformation parameter calculation module, which is used to obtain the transformation parameters from the infrared image to the visible light image using a progressive consistent sampling algorithm according to the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image;

[0018] The hierarchical registration module is used to transform the coordinates of the infrared image into the visible light image coordinate system according to the transformation parameters, so as to realize the hierarchical registration of the infrared image and the visible light image.

[0019] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the infrared and visible light image registration method based on hierarchical matching as described above.

[0020] The fourth aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the infrared and visible light image registration method based on hierarchical matching as described above are implemented.

[0021] Compared with the prior art, the present invention has the following beneficial effects:

[0022] (1) The present invention realizes the registration of infrared and visible light images based on hierarchical matching by using local aggregation features for pixel pre-screening, using a self-supervised learning network to extract feature points, using a deep graph convolutional network to match feature points, and using a progressive consistent sampling algorithm to obtain transformation parameters. The registration result is more accurate, and a more effective matching of infrared images and visible light images is achieved.

[0023] (2) Compared with the traditional image registration method, the local aggregation feature NetVLAD based on deep learning can filter out unreliable feature point selection areas, and more reliable feature points and descriptors can be extracted through SuperPoint based on deep self-supervision. On the other hand, the SuperGlue feature matching method based on the deep graph convolutional network effectively utilizes the feature point position information and context information to achieve more effective matching. On this basis, the asymptotic sampling consistency method adopted can obtain more accurate transformation parameter estimation results, and accurate registration results can be obtained for images taken at different angles.

[0024] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0026] Figure 1 This is a flow chart of a method for registering infrared and visible light images based on hierarchical matching according to an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of NetVLAD pixel pre-screening according to an embodiment of the present invention;

[0028] Figure 3 This is a diagram showing the effect of a visible light image after pixel screening by NetVLAD according to an embodiment of the present invention;

[0029] Figure 4 A schematic diagram of a SuperPoint feature extraction and description network according to an embodiment of the present invention;

[0030] Figure 5 This is a rendering of the infrared image of an embodiment of the present invention after SuperPoint feature point extraction;

[0031] Figure 6This is a rendering of the SuperPoint feature point extraction of a visible light image after pixel pre-screening according to an embodiment of the present invention;

[0032] Figure 7 A schematic diagram of a SuperGlue feature matching network according to an embodiment of the present invention;

[0033] Figure 8 This is a rendering of the infrared image and visible light image of an embodiment of the present invention after SuperGlue feature point matching;

[0034] Fig. 9 This is a diagram of the final fused image effect of an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0036] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0037] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0038] Embodiment 1

[0039] like Figure 1 As shown, this embodiment provides an infrared and visible light image registration method based on hierarchical matching, which specifically includes the following steps:

[0040] S101: Acquire an infrared image and a visible light image.

[0041] Among them, the infrared image can be realized by using an infrared image acquisition device, and the visible light image can be realized by using a visible light image acquisition device.

[0042] S102: Pre-screening pixels of the visible light image based on the local aggregation features to obtain a visible light image after pixel pre-screening.

[0043] In this embodiment, the local aggregation feature NetVLAD method based on deep learning is used to pre-screen pixels. Specifically, the availability of clusters of local aggregation features is calculated based on a convolutional neural network and a local aggregation feature network, and then the pixels are pre-screened; wherein the availability is the L2 distance of the local features of the matching negative samples corresponding to each cluster.

[0044] Then, the visible light image pixels are hard assigned to clusters of local aggregation features;

[0045] Pixels that are aggregated into clusters with high utilization are screened out as pixels for pre-screening feature point extraction.

[0046] In view of the fact that the existing methods directly extract and match feature points of the original image, it is easy to extract feature points that are difficult to accurately match in some unstable areas, such as clouds in the sky, or objects with periodic texture changes such as casings.

[0047] like Figure 2 As shown in the figure, the CNN feature extraction module in this example is composed of a VGG16 network without the classification layer, and the NetVLAD part includes 16 cluster centers and their respective soft-assigned weight parameters. For an input image of size W×H, after passing through the CNN feature extraction module, we will get feature map, NetVLAD will The 512-dimensional features are soft-assigned and aggregated to 16 clusters in the form of residual aggregation to obtain a 16×512-dimensional NetVLAD output feature, which is:

[0048]

[0049] Where N is equal to x i The 512-dimensional feature column vector of the CNN output feature map. k , b k represents the learnable parameters of the kth cluster, c k is the cluster center of the kth cluster. Before training, the cluster center c k Initialization is required. The initialization method is to calculate the initial features of all images through the CNN feature extraction module, perform K-means clustering on all initial features, and calculate 16 cluster centers.

[0050] The CNN module and NetVLAD module of this example are trained on the image matching training set, so that the features of images with slightly changed angles at the same location are brought closer, and the features of images at different locations are pushed further away. After training, the utilization of each cluster is calculated by calculating the sum of the L2 distances of the features of a cluster of any query image in the validation set with the corresponding clusters of all non-matching images. The mean of the utilization of all clusters of all query images is calculated to obtain the utilization of all clusters, that is:

[0051]

[0052] Among them, U K represents the utilization of the kth cluster, N is the total number of all query images, (V K ) a To query the features of the image in the kth cluster, (V K ) n is the feature of the matching negative sample of the query image on the kth cluster.

[0053] Next, the visible light image is input into the trained CNN network. After the feature map is extracted, it is hard-assigned to the trained NetVLAD clusters, that is, the points on the feature map are mapped to the only closest cluster, and this point also corresponds to the pixel area of ​​the original input image. Select the highly usable clusters, which will also correspond to some pixel areas of the input visible light image. These pixels can be used as pre-screened pixels for subsequent steps to extract feature points and match. In this example, the effect after pixel screening through the local aggregation feature network is as follows Figure 3 shown.

[0054] S103: Extracting and matching feature points of both the infrared image and the visible light image after pixel pre-screening.

[0055] In the specific implementation process, a self-supervised learning network (SuperPoint method) is used to extract feature points from both infrared images and visible light images after pixel pre-screening.

[0056] Among them, the learning process of the self-supervised learning network is:

[0057] Construct an image set containing clear corner information to train a primary corner extraction network;

[0058] The original image is randomly transformed by homography and denoised, and the position of feature points in the transformed image is obtained using the trained primary network;

[0059] The transformed image and its corner point information are used to supervise the self-supervised learning network, and a self-supervised learning network with the ability to extract feature points of infrared images and visible light images is obtained.

[0060] In view of the lack of robustness of traditional point feature extraction and description methods such as SIFT and SURF (Speeded Up Robust Features) to modal changes, in this embodiment, the SuperPoint method based on deep learning is used to extract and describe feature points of two different modal images, infrared and visible light.

[0061] like Figure 4 As shown, the SuperPoint feature extraction and description network in this embodiment is composed of an encoder and two decoders; the encoder is a convolutional network similar to VGGNet, comprising multiple convolutional layers and pooling layers, for encoding an input image of size W×H; the two decoders are used for feature point extraction and feature point description, respectively; wherein the feature point extraction decoder is composed of a convolutional layer, a Softmax layer, and a Reshape layer, and outputs a W×H×1 image, in which the value of each pixel represents the probability that the pixel is a feature point; the feature description decoder is composed of a convolutional layer, a bilinear interpolation layer, and an L2 norm normalization layer, and finally outputs a W×H×D feature map, in which each pixel corresponds to a D-dimensional feature vector.

[0062] Since the true value of the feature point is difficult to be manually labeled, a self-supervised learning strategy that does not require the true value is designed in this embodiment; specifically, first, a synthetic image set containing simple shapes such as triangles, quadrilaterals, cubes, and checkerboards is constructed. These images have clear corner point information, and an initial corner point extraction network is trained to obtain; then, multiple homography transformations are randomly performed on the real image and noise is added; and the trained initial corner point extraction network is used to extract feature points as supervision information to learn and obtain the SuperPoint network; in this embodiment, the results of extracting feature points are as follows Figure 5 and Figure 6 shown.

[0063] In the specific implementation process, in view of the fact that traditional feature matching methods mostly match each feature point independently and are therefore prone to errors, in this embodiment, the SuperGlue method based on a deep graph neural network is adopted to combine the spatial geometric relationship between feature points and the mutual correlation information of feature point features to improve the accuracy of feature matching.

[0064] Among them, Figure 7As shown, the deep graph convolution network includes an attention graph convolution network and an optimized matching layer; the input of the attention graph convolution network is a set of feature point positions and description vectors of a pair of images, and the output is a feature descriptor after spatial information aggregation; the input of the optimized matching layer is the feature descriptor output by the attention graph convolution network, and the output is a matching result.

[0065] In the attention graph convolutional network, first, the position of the feature point is encoded and added to the feature descriptor vector to obtain the initial representation of each feature point;

[0066] For example, the position of the feature point is passed through a feature point encoder composed of a multi-layer perceptron (MLP) to increase the dimension, and the high-dimensional vector is added to the feature descriptor vector to obtain the initial representation of each feature point.

[0067] Then, a multivariate graph is constructed; the vertices of the multivariate graph are all feature points in the two images, and the edges include intra-image edges and cross-image edges; the intra-image edges connect feature point pairs in a single image, and the cross-image edges connect feature point pairs from two images;

[0068] The vertices of the multivariate graph are all the feature points in the two images, and the edges include intra-image edges and cross-image edges. Among them, the intra-image edges connect the feature point pairs in a single image, while the cross-image edges connect the feature point pairs from two images. After constructing the graph, the message passing mechanism is used to alternately aggregate and update the features of the intra-image edges and cross-image edges in the graph. After the information aggregation and update, the description vector of each feature point is obtained. An optimized matching layer is added to calculate an M×N similarity matrix S. Each unit in the matrix represents the similarity between the features in image A and the features in image B.

[0069] After constructing the multivariate graph, the features of all vertices in the constructed multivariate graph are aggregated and updated.

[0070] The optimized matching layer calculates a similarity matrix based on the updated features, where each unit in the matrix represents the similarity of features in the two images, and the matrix is ​​expanded, with a new row and column added to describe situations where there is no match between feature points.

[0071] Due to occlusion or different field of view, the feature points in one image may not have matching feature points in another image; for this reason, the matrix S is expanded to a (M+1)×(N+1) matrix The newly added row and column are used to describe the situation where there is no match for the feature points.

[0072] This transforms the problem of feature point matching into an optimal transportation problem, which can be solved using the Sinkhorn algorithm. Since the Sinkhorn algorithm is differentiable, it can be implemented with a single network layer.

[0073] S104: According to the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image, a transformation parameter from the infrared image to the visible light image is obtained by using a progressively consistent sampling algorithm.

[0074] After obtaining the matching feature point pairs in the infrared image and the visible light image, the transformation parameters between the images are calculated according to the pixel coordinates of the feature point pairs. Among them, the quality of all matching point pairs is evaluated to obtain the Q value, and the points are arranged in descending order according to the Q value. Each iteration, random sampling is performed when the results are arranged in descending order according to the Q value to perform model hypothesis and verification.

[0075] In this embodiment, the transformation parameters from the infrared image to the visible light image are estimated using the asymptotic sampling consistency PROSAC algorithm according to the pixel coordinates of the matched feature point pairs in the two images.

[0076] Specifically, after obtaining the matching feature point pairs in the infrared image and the visible light image, in this embodiment, the transformation parameters between the images are estimated according to the pixel coordinates of the feature point pairs; since the offset between the infrared lens and the visible light lens is very small relative to the distance of the photographed object, they can be approximated as a common optical center, and the infrared image is transformed into the coordinate system of the visible light image using the homography transformation matrix H; in the homogeneous coordinate system, the pixel coordinate transformation in the two images can be expressed as the following relationship:

[0077]

[0078] Among them, h in the homography transformation matrix H 33 = 1. Therefore, the parameter freedom of the transformation matrix is ​​8, and it can be estimated using four or more pairs of feature points.

[0079] Due to the existence of matching noise or even wrong matching outliers, the least square method or RANSAC method is often used for parameter estimation; however, in RANSAC, each pair of feature points is treated equally, and samples are randomly selected from the entire set of feature point pairs, which has problems such as randomness of the estimation results and slow convergence speed. Therefore, in this embodiment, the PROSAC algorithm is used to estimate the transformation parameters.

[0080] In this embodiment, the PROSAC algorithm designs a semi-random method to perform quality evaluation on all matching point pairs to obtain Q values, and then arrange them in descending order according to the Q values. In each iteration, random sampling is performed preferentially among high-quality point pairs to perform model assumptions and verifications, thereby reducing algorithm complexity, improving efficiency, and avoiding the situation where convergence cannot be guaranteed faced by the RANSAC random algorithm.

[0081] S105: According to the transformation parameters, the coordinates of the infrared image are transformed into the visible light image coordinate system to achieve hierarchical registration of the infrared image and the visible light image. Figure 8 This is the effect of SuperGlue feature point matching between infrared image and visible light image.

[0082] According to the transformation parameters, the coordinates of the infrared image are transformed into the coordinate system of the visible light image, and the average value of the pixels at the corresponding positions is taken to obtain the final fused image.

[0083] Specifically, after calculating the transformation model, the coordinates of the infrared image are transformed into the coordinate system of the visible light image, and then the average value of the pixels at the corresponding positions is taken to obtain the final fused image, such as Fig. 9 shown.

[0084] In view of the differences between the infrared and visible light modalities, this embodiment adopts the local aggregation feature NetVLAD based on deep learning to perform pixel pre-screening on the visible light image, SuperPoint feature point extraction and descriptor calculation based on deep self-supervision, SuperGlue feature matching method based on deep graph convolutional network and progressive consistent sampling algorithm to achieve the matching of infrared images and visible light images. It can achieve more accurate registration of infrared images and visible light images than traditional methods, and accurate registration results can be obtained for images of different substation equipment taken at different angles.

[0085] Embodiment 2

[0086] This embodiment provides an infrared and visible light image registration system based on hierarchical matching, which specifically includes the following modules:

[0087] An image acquisition module, which is used to acquire infrared images and visible light images;

[0088] A pixel pre-screening module, which is used to pre-screen the pixels of the visible light image based on the local aggregation feature to obtain a visible light image after pixel pre-screening;

[0089] A feature point extraction and matching module is used to extract and match feature points of both infrared images and visible light images after pixel pre-screening;

[0090] A transformation parameter calculation module, which is used to obtain the transformation parameters from the infrared image to the visible light image using a progressive consistent sampling algorithm according to the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image;

[0091] The hierarchical registration module is used to transform the coordinates of the infrared image into the visible light image coordinate system according to the transformation parameters, so as to realize the hierarchical registration of the infrared image and the visible light image.

[0092] It should be noted here that each module in this embodiment corresponds to each step in Example 1 one by one, and the specific implementation process is the same, which will not be repeated here.

[0093] Embodiment 3

[0094] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the infrared and visible light image registration method based on hierarchical matching as described above are implemented.

[0095] Embodiment 4

[0096] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the infrared and visible light image registration method based on hierarchical matching as described above are implemented.

[0097] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products of the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of the processes and / or blocks 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 produce 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.

[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for infrared and visible light image registration based on hierarchical matching, characterized in that: include: Acquire infrared images and visible light images; Pre-screening pixels of the visible light image based on the local aggregation features to obtain a visible light image after pixel pre-screening; Feature point extraction and matching are performed on both infrared images and visible light images after pixel pre-screening; According to the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image, the transformation parameters from the infrared image to the visible light image are obtained by using the progressive consistent sampling algorithm; According to the transformation parameters, the coordinates of the infrared image are transformed into the visible light image coordinate system to achieve hierarchical registration of the infrared image and the visible light image; In the process of pre-screening the pixels of the visible light image, the availability of the clustering clusters of the local aggregation features is calculated based on a convolutional neural network and a local aggregation feature network, and then the pixels are pre-screened; wherein the availability is the L2 distance of the local features of the matching negative samples corresponding to each cluster; Then, the pixels of the visible light image are hard assigned to clusters of local aggregate features; Pixels that are aggregated into clusters with high utilization are screened out as pixels for pre-screening feature point extraction; Specifically, the CNN module and the NetVLAD module are trained on the image matching training set, so that the features of images with slightly changed angles at the same location are brought closer, and the features of images at different locations are pushed away. After training, the utilization of each cluster is calculated. The calculation method is to calculate the sum of the L2 distances of the features on the corresponding clusters of all non-matching images for a cluster of any query image in the validation set; Next, the visible light image is input into the trained CNN network. After the feature map is extracted, hard assignment is performed on the clustering clusters of the trained NetVLAD, that is, the points on the feature map are mapped to the only nearest clustering cluster. These points correspond to the pixel areas of the original input image. Highly usable clustering clusters are selected, which correspond to partial pixel areas of the input visible light image. These pixels are used as pre-screened pixels for feature point extraction and matching in subsequent steps.

2. The infrared and visible light image registration method based on hierarchical matching according to claim 1, characterized in that: A self-supervised learning network is used to extract feature points from both infrared images and visible light images after pixel pre-screening.

3. The infrared and visible light image registration method based on hierarchical matching according to claim 2, characterized in that: The learning process of the self-supervised learning network is: Construct an image set containing clear corner information to train a primary corner extraction network; The original image is randomly transformed by homography and denoised, and the position of feature points in the transformed image is obtained using the trained primary network; The transformed image and its corner point information are used to supervise the self-supervised learning network, and a self-supervised learning network with the ability to extract feature points of infrared images and visible light images is obtained.

4. The infrared and visible light image registration method based on hierarchical matching according to claim 1, characterized in that: The deep graph convolutional network is used to match feature points between infrared images and visible light images after pixel pre-screening.

5. The infrared and visible light image registration method based on hierarchical matching according to claim 4, characterized in that: The deep graph convolutional network includes an attention graph convolutional network and an optimized matching layer; the input of the attention graph convolutional network is a set of feature point positions and description vectors of a pair of images, and outputs a feature descriptor after spatial information aggregation; the input of the optimized matching layer is the feature descriptor output by the attention graph convolutional network, and outputs a matching result.

6. The infrared and visible light image registration method based on hierarchical matching according to claim 5, characterized in that: The optimized matching layer calculates a similarity matrix based on the updated features, where each unit in the matrix represents the similarity of features in the two images, and the matrix is ​​expanded, with a new row and column added to describe situations where there is no match between feature points.

7. An infrared and visible light image registration system based on hierarchical matching, characterized in that: include: An image acquisition module, which is used to acquire infrared images and visible light images; A pixel pre-screening module, which is used to pre-screen the pixels of the visible light image based on the local aggregation features to obtain a visible light image after pixel pre-screening; A feature point extraction and matching module is used to extract and match feature points of both infrared images and visible light images after pixel pre-screening; A transformation parameter calculation module, which is used to obtain the transformation parameters from the infrared image to the visible light image using a progressive consistent sampling algorithm according to the pixel coordinates of the feature point pairs matched in the infrared image and the visible light image; A hierarchical registration module, which is used to transform the coordinates of the infrared image into the visible light image coordinate system according to the transformation parameters, so as to realize hierarchical registration between the infrared image and the visible light image; In the process of pre-screening the pixels of the visible light image, the availability of the clustering clusters of the local aggregation features is calculated based on a convolutional neural network and a local aggregation feature network, and then the pixels are pre-screened; wherein the availability is the L2 distance of the local features of the matching negative samples corresponding to each cluster; Then, the pixels of the visible light image are hard assigned to clusters of local aggregate features; Pixels that are aggregated into clusters with high utilization are screened out as pixels for pre-screening feature point extraction; Specifically, the CNN module and the NetVLAD module are trained on the image matching training set, so that the features of images with slightly changed angles at the same location are brought closer, and the features of images at different locations are pushed away. After training, the utilization of each cluster is calculated. The calculation method is to calculate the sum of the L2 distances of the features on the corresponding clusters of all non-matching images for a cluster of any query image in the validation set; Next, the visible light image is input into the trained CNN network. After the feature map is extracted, hard assignment is performed on the clustering clusters of the trained NetVLAD, that is, the points on the feature map are mapped to the only nearest clustering cluster. These points correspond to the pixel areas of the original input image. Highly usable clustering clusters are selected, which correspond to partial pixel areas of the input visible light image. These pixels are used as pre-screened pixels for feature point extraction and matching in subsequent steps.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the infrared and visible light image registration method based on hierarchical matching as described in any one of claims 1 to 6 are implemented.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the infrared and visible light image registration method based on hierarchical matching as described in any one of claims 1 to 6 are implemented.