Infrared and visible light image hierarchical matching method based on multi-scale local normalization filtering
Through multi-scale local normalization filtering and PIIFD descriptor matching, the modal difference and robustness problems in infrared and visible light image matching are solved, the matching accuracy and efficiency are improved, false matching is reduced, and image clarity and robustness are enhanced. Great sex.
Patent Information
- Application Number
- CN202410634671.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology has modal differences and matching difficulties in infrared and visible light image matching, especially when the image quality decreases, the matching accuracy is not high, and it is sensitive to scale and rotation changes, resulting in poor robustness.
The multi-scale local normalized filtering method is used to perform contour edge detection on infrared and visible light images, extract corner feature points, and eliminate abnormal matching points through multi-scale local normalized filtering and PIIFD descriptor matching to improve matching robustness. sex.
It enhances image contrast, suppresses high-frequency noise, retains image edge and detail information, improves matching efficiency and robustness, reduces the possibility of false matching, and improves the accuracy of infrared and visible light image matching.
Smart Images

Figure CN118608809A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of image feature extraction and matching, and in particular relates to a hierarchical matching method of infrared and visible light images based on multi-scale local normalized filtering. Background Art
[0002] In the field of electrical equipment, it is crucial to use infrared images and visible light images for target detection and recognition. However, due to their different physical properties and imaging characteristics, there are significant differences between infrared images and visible light images, which leads to challenges in multimodal image matching.
[0003] At present, multimodal image matching methods can be roughly divided into two categories: region-based methods and feature-based methods. Region-based matching methods are greatly affected by background factors, have high computational complexity, and poor matching robustness. Compared with region-based matching methods, feature-based matching methods can more accurately find the correspondence between two images, thereby improving the accuracy and stability of registration, have higher computational efficiency, and have a wider range of applications.
[0004] In the development of feature-based image matching methods, Wang et al. proposed a robust point matching framework called SURF-PIIFD-RPM in 2015. This method combines SURF feature extraction with partial intensity invariant feature descriptors (PIIFD) and uses a single Gaussian robust point matching model to achieve better matching performance. In 2019, Li et al. proposed a multi-mode registration method (RIFT) based on radiation-insensitive features. On the corner and edge feature points obtained based on phase consistency, the maximum index map in multiple directions is constructed to achieve feature rotation invariance. In 2020, Jiang et al. proposed the CAO-C2F algorithm, which uses feature points in the contour of the curvature scale space (CSS) corner detector and matches feature points with the help of SIFT descriptors to achieve the registration of infrared and visible light power images. These algorithms have shown good performance in matching infrared and clear visible light images. However, when the image quality deteriorates, such as in a dark environment, the image details are not clear and the similarity between feature points is weakened, resulting in a significant decrease in the registration performance. In addition, due to the differences in the principles of different imaging methods, there are obvious differences in local details of multimodal images, and these differences are very sensitive to changes in image scale and rotation, which often leads to insufficient matching accuracy. Summary of the invention
[0005] 1. Technical problem to be solved by the invention
[0006] The purpose of the present invention is to overcome the defects in the above-mentioned prior art and provide a hierarchical matching method for infrared and visible light images based on multi-scale local normalized filtering. The present invention can effectively overcome the problems of modal differences and matching difficulties between infrared and visible light images in practical applications, and improve the matching robustness and matching accuracy.
[0007] 2. Technical solution
[0008] In order to achieve the above object, the technical solution provided by the present invention is:
[0009] The present invention provides a hierarchical matching method for infrared and visible light images based on multi-scale local normalized filtering, the steps of which are as follows:
[0010] Step 1: Perform contour edge detection on the infrared image and the visible light image, extract corner points on the contour as feature points at multiple scales, and assign a main direction to each feature point;
[0011] Step 2: Perform multi-scale local normalization filtering on the infrared image and the visible light image, and superimpose the transformation results at different scales to obtain a new image;
[0012] Step 3: construct the PIIFD descriptor for feature points at different scales on the new image;
[0013] Step 4: Divide the feature points in the infrared image and the visible light image into multiple levels according to the scale parameter k, match the feature points of each layer of the infrared image with the feature points of each layer of the visible light image according to the descriptor similarity, eliminate abnormal matching point pairs, and take the matching result with the largest number of matching points after eliminating the false matching as the final matching result.
[0014] Furthermore, in step 1, the Canny algorithm is used to detect the edge of the contour to obtain the contour set S.
[0015] Furthermore, in step 1, k=9, k=7 and k=4 are taken, k cosine curvatures are calculated at the three scales, and k cosines are used to extract corner points on the detected contour as feature points.
[0016] Furthermore, the local normalization filtering formula proposed in step 2 is as follows:
[0017]
[0018] Among them, I M (x,y) and I(x,y) represent the filtered image and the original image respectively; (x,y) represents the two-dimensional coordinates of the image; W(x,y,s) is a local window centered at (x,y) with a window size determined by (2*s+1)×(2*s+1).
[0019] Furthermore, in step 2, s1=5, s2=10 and s3=15 are taken respectively, and different s are regarded as filters of different scales. The original infrared and visible light images are filtered using local windows centered at (x, y) with sizes of (2*s1+1)×(2*s1+1), (2*s2+1)×(2*s2+1) and (2*s3+1)×(2*s3+1) respectively.
[0020] Furthermore, the specific steps of the filtering process in step 2 are to calculate the average pixel value in the local window for each pixel point, and then subtract the average value from the original pixel value to obtain the filtering result; and superimpose the transformation results of the infrared and visible light images at different scales to obtain their respective new images.
[0021] Furthermore, step 3 performs feature point c at different scales on the new image. i , first calculate the corresponding radius of curvature Select the feature points c i The center is and the radius of curvature is The square area is used to construct the PIIFD feature descriptor of the feature point.
[0022] Furthermore, step 4 calculates the similarity according to the following formula:
[0023]
[0024] in, and The PIIFD descriptors represent the feature points on the infrared image and the feature points on the visible light image respectively.
[0025] Furthermore, in step 4, the RANSAC algorithm is used to calculate the transformation matrix between the images, and the feature point pairs in the matching results that do not conform to the transformation relationship described by the transformation matrix are eliminated.
[0026] 3. Beneficial effects
[0027] Compared with the existing known technologies, the technical solution provided by the present invention has the following significant effects:
[0028] (1) The present invention provides a hierarchical matching method for infrared and visible light images based on multi-scale local normalization filtering. By normalizing the pixel values in the local area, the grayscale difference between different areas is emphasized, thereby enhancing the contrast of the image. In addition, since the multi-scale local normalization filter takes into account the information of the surrounding neighborhood when calculating the pixel value, it has a certain degree of smoothing effect and can suppress high-frequency noise in the image. This helps to make the image clearer and reduce the impact of noise on the final result.
[0029] (2) The present invention provides a hierarchical matching method for infrared and visible light images based on multi-scale local normalization filtering. Compared with some traditional smoothing filters, the multi-scale local normalization filter is more inclined to retain edge and detail information in the image. The multi-scale local normalization filter also has the function of feature enhancement. For some specific image features, such as texture, shape or edge, the multi-scale local normalization filter can make them more prominent and obvious, so that they are easier to detect and identify.
[0030] (3) The present invention provides a hierarchical matching method for infrared and visible light images based on multi-scale local normalized filtering. The advantage of the hierarchical matching strategy is that it can effectively handle feature matching problems under different scales and rotation transformations, improve matching efficiency, and reduce the possibility of incorrect matching. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the process of the infrared and visible light image layered matching method of the present invention;
[0032] Figure 2 It is a schematic diagram of the layering of infrared and visible light images of the present invention. DETAILED DESCRIPTION
[0033] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
[0034] In view of the fact that existing infrared and visible light images often have different imaging resolutions, and the existing feature matching methods lack sufficient robustness to scale changes between infrared and visible light images, resulting in the problem of low image matching accuracy, the present invention provides a hierarchical matching method for infrared and visible light images based on multi-scale local normalized filtering, which performs multi-scale local normalized filtering on two images, superimposes the transformation results at different scales to obtain a superimposed new image, divides the feature points in the two images into three levels according to a scale parameter k, and matches the feature points of each layer of infrared image with the feature points of each layer of visible light image according to descriptor similarity, effectively solving the feature matching problem under different scales and rotation transformations, improving matching efficiency, and reducing the influence of the possibility of false matching, thereby greatly improving the robustness of the matching algorithm to scale changes between infrared and visible light images.
[0035] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
[0036] Example
[0037] Combination Figure 1 , a hierarchical matching method of infrared and visible light images based on multi-scale local normalized filtering in this embodiment includes the following steps:
[0038] Step 1: Perform contour edge detection on the infrared image and visible light image, extract corner points on the contour as feature points at three scales, and assign a main direction to each feature point;
[0039] Step 1-1: Use the Canny algorithm to detect the edge of the contour, and track the detected edge pixels to complete the contour detection. The contour set is:
[0040]
[0041] In the formula, Γ j represents the jth contour, P i j represents the i-th pixel on the j-th contour, n is the number of pixels contained in the j-th contour, N S is the number of contours contained in the image.
[0042] Step 1-2, take pixel point P i j =(x i ,y i ) is the center point, and the pixel points on the contour are taken at intervals k to the left and right. and And at pixel point P i j Define two vectors at:
[0043]
[0044]
[0045] The calculation formula for k cosine curvature is:
[0046]
[0047] The calculated curvature is in the range of [-1,1].
[0048] The k cosine curvature of the pixel point is calculated according to formula (4). Then k=9, k=7 and k=4 are taken respectively and their respective k cosine curvatures are calculated, that is, the k cosine is used to extract the corner points on the detected contour as feature points at three scales.
[0049] Steps 1-3, the main direction of the image is:
[0050]
[0051] Among them, the main direction of each feature point P(x,y) is defined as φ(x,y), and is the mean square gradient of the image.
[0052] Step 2: Perform multi-scale local normalization filtering on the two images, and superimpose the transformation results at different scales to obtain a new image;
[0053] Step 2-1, propose a local normalization filter to achieve this goal, its mathematical definition is:
[0054]
[0055] Among them I M (x,y) and I(x,y) represent the filtered image and the original image respectively; (x,y) represents the two-dimensional coordinates of the image; W(x,y,s) is a local window centered at (x,y) with a window size determined by (2*s+1)×(2*s+1).
[0056] Step 2-2, take s1=5, s2=10 and s3=15 respectively, different s are regarded as filters of different scales, and the original infrared and visible light images are filtered with local windows centered at (x, y) and with sizes of (2*s1+1)×(2*s1+1), (2*s2+1)×(2*s2+1) and (2*s3+1)×(2*s3+1) respectively.
[0057] The specific steps of filtering are to calculate the average pixel value in the local window for each pixel, and then subtract the average value from the original pixel value to obtain the filtering result. The transformation results of infrared and visible light images at different scales are superimposed to obtain their respective new images. The multi-scale local normalization filter is equivalent to image I minus its average filtering result, retaining only the detail component, so that the filtered image contains most of the structural information in I.
[0058] Step 3: Construct the PIIFD descriptor for feature points at different scales on the new image;
[0059] Step 3-1: For the feature point c extracted in step 1 i , first calculate the corresponding radius of curvature as follows:
[0060]
[0061] in is the curvature at the feature point, r i k is the radius of curvature of the feature point.
[0062] The corresponding r for the three different scales of k=9, k=7 and k=4 are r i 9 , r i 7 and r i 4, respectively select the feature point as the center and the curvature radius as r i 9 、r i 7 and r i 4 The square area of the feature point is used to construct the PIIFD feature descriptor of the feature point. The main direction of the feature point determined in step 1 is used to construct the PIIFD descriptor of the feature point, and the PIIFD descriptor is made rotationally invariant. The PIIFD descriptors of the infrared image at three scales of k = 9, k = 7 and k = 4 are respectively and The PIIFD descriptors at three scales of k = 9, k = 7 and k = 4 in visible light images are and
[0063] Step 4: Divide the feature points in the two images into three levels according to the scale parameter k, match the feature points of each layer of infrared image with the feature points of each layer of visible light image according to the descriptor similarity, and use the RANSAC algorithm to eliminate abnormal matching point pairs. The matching result with the largest number of matching points after eliminating the false matching is taken as the final matching result.
[0064] Step 4-1: Figure 2 As shown in the figure, the feature points in the two images are divided into three levels according to the scale parameter k. The feature points of each layer of infrared image are matched with the feature points of each layer of visible light image. The specific steps of matching are: the feature points at the scale k = 9 in the infrared image are matched. And the feature points at the scale of k = 9 in the visible light image Match and calculate the similarity according to the following formula:
[0065]
[0066] in and Represents the feature points and The PIIFD descriptor.
[0067] According to the above method, the feature point sets extracted at three scale levels of the infrared image are matched with the feature point sets extracted at three scale levels of the visible light image in pairs, thereby obtaining 9 matching results in total.
[0068] Step 4-2: Use the RANSAC algorithm to calculate the transformation matrix between the images, and remove the feature point pairs that do not match the transformation relationship described by the transformation matrix in the 9 matching results in step 4-1 to complete the preliminary matching. Based on the preliminary matching results, select the matching result with the largest number of matching points after removing the wrong matches as the final matching result.
[0069] The present invention and its embodiments are described schematically above, and the description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. Therefore, if a person skilled in the art is inspired by it and designs a structural method and an embodiment similar to the technical solution without creativity without departing from the purpose of the invention, they shall all fall within the protection scope of the present invention.
Claims
1. A hierarchical matching method for infrared and visible light images based on multi-scale local normalized filtering, characterized in that: The steps are: Step 1: Perform contour edge detection on the infrared image and the visible light image, extract corner points on the contour as feature points at multiple scales, and assign a main direction to each feature point; Step 2: Perform multi-scale local normalization filtering on the infrared image and the visible light image, and superimpose the transformation results at different scales to obtain a new image; Step 3: Construct the PIIFD descriptor for feature points at different scales on the new image; Step 4: Divide the feature points in the infrared image and the visible light image into multiple levels according to the scale parameter k, match the feature points of each layer of the infrared image with the feature points of each layer of the visible light image according to the descriptor similarity, eliminate abnormal matching point pairs, and take the matching result with the largest number of matching points after eliminating the false matching as the final matching result.
2. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 1, characterized in that: Step 1: Use the Canny algorithm to detect the edge of the contour and obtain the contour set S.
3. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 2 is characterized in that: Step 1 takes k=9, k=7 and k=4, calculates k cosine curvatures at the three scales, and uses k cosine to extract corner points on the detected contour as feature points.
4. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to any one of claims 1 to 3, characterized in that: The local normalization filtering formula proposed in step 2 is as follows: Among them, I M (x,y) and I(x,y) represent the filtered image and the original image respectively; (x,y) represents the two-dimensional coordinates of the image; W(x,y,s) is a local window centered at (x,y) with a window size determined by (2*s+1)×(2*s+1).
5. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 4 is characterized in that: In step 2, s1=5, s2=10 and s3=15 are taken respectively. Different s are regarded as filters of different scales. The original infrared and visible light images are filtered with local windows centered at (x, y) and with sizes of (2*s1+1)×(2*s1+1), (2*s2+1)×(2*s2+1) and (2*s3+1)×(2*s3+1) respectively.
6. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 5, characterized in that: The specific steps of step 2 filtering processing are to calculate the average pixel value in the local window for each pixel point, and then subtract the average value from the original pixel value to obtain the filtering result; superimpose the transformation results of the infrared and visible light images at different scales to obtain their respective new images.
7. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 6, characterized in that: Step 3: On the new image, feature points c at different scales are i , first calculate the corresponding radius of curvature r i k , respectively select the feature point c i The center is r, and the radius of curvature is r i k The square area is used to construct the PIIFD feature descriptor of the feature point.
8. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 7, characterized in that: Step 4: Calculate the similarity according to the following formula: in, and The PIIFD descriptors represent the feature points on the infrared image and the feature points on the visible light image respectively.
9. The infrared and visible light image hierarchical matching method based on multi-scale local normalized filtering according to claim 8, characterized in that: Step 4 uses the RANSAC algorithm to calculate the transformation matrix between the images, and removes the feature point pairs in the matching results that do not conform to the transformation relationship described by the transformation matrix.
Citation Information
Patent Citations
Multi-modal image robust matching VNS method
CN113343747A
Infrared and visible light image matching method based on multi-feature similarity fusion
CN113792788A
Cited By
Liver and gall tumor three-dimensional positioning method and system based on detection data and medium
CN120147407A
