Different-source image matching method based on saliency region

Through the heterogeneous image matching method in the salient area, anisotropic diffusion filtering and feature detection technology are used to highlight the salient areas of the image for matching, which solves the problems of low accuracy and slow speed in the traditional method, and achieves efficient heterogeneous Image matching.

CN118628774APending Publication Date: 2024-09-10SHENZHEN POLYTECHNIC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410670324.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional heterogeneous image matching methods fail to effectively handle the importance of information within the image, resulting in low matching accuracy and slow speed, making it difficult to meet the needs of high-precision and fast matching.

Method used

A heterogeneous image matching method based on salient areas is adopted to highlight the salient areas of the image through anisotropic diffusion filtering preprocessing, texture and corner feature detection within sliding windows, Q-point detection, and the absolute phase direction gradient histogram algorithm. Make a match.

Benefits of technology

It improves the speed and accuracy of heterosource image matching, reduces the calculation time, is more in line with human visual perception, and enhances the accuracy of matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628774A
    Figure CN118628774A
Patent Text Reader

Abstract

The invention discloses a different-source image matching method based on a saliency region, and relates to the technical field of image matching. The different-source image matching method based on the saliency region comprises the following steps: respectively carrying out anisotropic diffusion filtering preprocessing on a reference image and an image to be matched; traversing the reference image and the to-be-matched image based on a set sliding window, performing texture detection on an area where the sliding window is located in the traversing process to obtain the number of texture feature points in the sliding window, and performing corner feature detection on the area where the sliding window is located to obtain the number of corner feature points in the sliding window; and calculating the number of Q points in the area where the sliding window is located. A sliding window with the maximum sum of the number of texture feature points, the number of corner feature points and the number of Q points is selected as a saliency area, the area is more representative, and image information is better highlighted. Compared with a traditional different-source image matching method, the different-source image matching method has the advantage that the speed and the precision of different-source image matching are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image matching, and in particular to a heterogeneous image matching method based on salient regions. Background Art

[0002] In recent years, with the development of remote sensing technology, heterogeneous image matching has gradually become a research hotspot and has been widely used in many fields such as image fusion, 3D modeling, target recognition, disaster assessment, environmental precision measurement, etc. However, due to the different sensors used to obtain images, the spatial, spectral and temporal resolutions of heterogeneous images are different, which brings great difficulties and challenges to image matching.

[0003] Since heterogeneous images have large differences in spatial features, field of view, and resolution, directly extracting and comparing features will lead to poor matching results. Traditional heterogeneous image matching methods do not classify the importance of information in the image, perform too many operations on unimportant areas, and do not focus on processing the important content of the image, resulting in low heterogeneous image matching accuracy and slow speed, which is difficult to meet the needs of high-precision and fast matching scenarios in practical applications. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a heterogeneous image matching method based on salient regions, which focuses the matching on more salient regions with similar features rather than the entire image, avoiding excessive operations in non-important regions, helping to reduce calculation time, and improving matching accuracy.

[0005] To achieve the above purpose, the present invention is implemented through the following technical solutions: a heterogeneous image matching method based on salient regions, comprising the following steps: performing anisotropic diffusion filtering preprocessing on a reference image and an image to be matched respectively; traversing the reference image and the image to be matched based on a set sliding window, and performing texture detection on the area where the sliding window is located during the traversal to obtain the number of texture feature points in the sliding window, and performing corner feature detection on the area where the sliding window is located to obtain the number of corner feature points in the sliding window; using the Q test method, performing significant difference detection on the central pixel point of the sub-region in the image and other points in its neighborhood, defining the detected point as a Q point, and calculating the number of Q points in the area where the sliding window is located; calculating and determining the sliding window with the largest sum of the number of texture feature points, the number of corner feature points and the number of Q points, and defining it as a salient region; using the absolute phase directional gradient histogram algorithm to perform image matching on the salient region of the reference image and the salient region of the image to be matched.

[0006] Furthermore, the method of performing anisotropic diffusion filtering preprocessing on the reference image and the image to be matched is as follows:

[0007] Establish the anisotropic diffusion equation:

[0008]

[0009] Among them, div represents the divergence operator; t represents the scale value of the time measurement; represents the diffusion coefficient; k represents the contrast factor; L represents the difference image; I represents the current image; A1(L n ) and A2(L n ) represent the coded images L n Diffusion coefficient matrix in row and column directions; L n+1 represents the result after diffusion; τ represents the time step of diffusion. When calculating diffusion, the scale value needs to be converted into a time value, that is, σ n Represents the scale, the number of layers n belongs to [0, 1, 2…S], and S represents the maximum number of layers.

[0010] Furthermore, the process of performing texture detection on the area where the sliding window is located to obtain the number of texture feature points in the sliding window is as follows: convert the reference image and the image to be matched into grayscale images; obtain the central pixel value of a central pixel point in the sub-area of ​​the detection window of 10×10, and compare it with the pixel values ​​of the surrounding 8 pixels. If the pixel value of one of the pixels is greater than the central pixel value, the LBP value of the point is 1, otherwise the LBP value is 0; calculate the number of pixels with an LBP value of 1 in the area where all sliding windows are located, which is the number of texture feature points.

[0011] Furthermore, the conversion calculation formula for converting the reference image and the image to be matched into a grayscale image is: Gray = R*0.299+G*0.587+B*0.114, where Gray is the grayscale value, and R, G, and B are the color component values ​​of the red, green, and blue channels of the pixel point respectively; if the pixel value of one pixel point is greater than the central pixel value, the LBP value of the point is 1, otherwise the quantization formula of the LBP value is 0: Where (x c ,y c ) is the coordinate of the center pixel, and its gray value is i c , p is the pth pixel in the 3×3 time window except the center pixel, i p Represents the gray value of the pth pixel in the area. p -i c ≥0, s(i p -i c ) is 1 if the value is not set, otherwise it is 0.

[0012] Furthermore, the process of performing corner feature detection on the area where the sliding window is located to obtain the number of corner feature points in the sliding window is as follows: a circle is drawn with the central pixel as the center and a radius of 3 as the radius, and the pixel values ​​of the 16 pixels on the edge of the circle are calculated to be different from the central pixel value of the central pixel. The calculation formula is: c -I x |, where I c is the center pixel value, I x is the pixel value of the pixel on the edge of the circle; if N consecutive pixels satisfy |I c -I x | is greater than the set threshold, then the central pixel is a candidate corner point; calculate the absolute value of the difference between the pixel values ​​of the 16 pixels on the edge of the circle and the central pixel value of the central pixel as the response value of non-maximum suppression, and delete the feature point with the smallest response value among the adjacent feature points; calculate the total number of feature points saved in the sliding window, which is the number of corner feature points.

[0013] Furthermore, the process of detecting Q points in the area where the sliding window is located to obtain the number of Q points in the sliding window is as follows: using the Q test method to detect the key points of the image, and define them as Q points, and calculate the number of Q points in the area where the sliding window is located.

[0014] Furthermore, the process of calculating and determining the sliding window with the largest sum of the number of texture feature points, the number of corner feature points and the number of Q points, and defining it as the significant area, is as follows: during the traversal process, the number of texture feature points, the sum of the number of corner feature points and the number of Q points in each area is calculated, and the maximum value is obtained, and the area where the sliding window corresponding to the maximum value is output and defined as the significant area.

[0015] Furthermore, the process of using the absolute phase directional gradient histogram algorithm to perform image matching on the salient areas of the reference image and the salient areas of the image to be matched is as follows: generating the maximum moment and the minimum moment based on the Log-Gabor function odd-symmetric filter in the phase consistency model, constructing the anisotropic weighted moment equation, and generating the anisotropic weighted moment result after normalization; extracting feature points in the anisotropic weighted moment space through the Harris function, performing repeatability detection, and retaining the filtered results as feature points; converting the phase consistency eigenvalues ​​into image gradient features, expanding the phase feature directions calculated by the Log-Gabor function odd-symmetric filter, and generating absolute phase consistency directional features; calculating the feature vectors by combining the log-polar coordinate description framework, and repeatedly iterating the calculation to obtain the HAPCG descriptor; and matching using the Euclidean distance as the matching measure.

[0016] Furthermore, based on the Log-Gabor function odd-symmetric filter in the phase consistency model, the maximum moment and the minimum moment are generated, and the anisotropic weighted moment equation is constructed. The calculation formula for the anisotropic weighted moment result after normalization is as follows:

[0017]

[0018]

[0019]

[0020] Where P is the phase diagram obtained after phase consistency calculation, θ is the angle of direction o, P(θ o ) represents the phase map calculated for each direction o, W represents the final anisotropic weighted moment result, M max Represents the maximum moment of phase consistency of the image, M min represents the minimum moment of phase consistency of the image, Δφ represents the image weight coefficient, ranging from -1 to 5, and A, B and C are intermediate quantities for phase moment calculation.

[0021] Furthermore, the process of converting the phase consistency eigenvalue into the image gradient feature is as follows: based on the gradient operator, the gradient amplitude and gradient direction of each pixel in space are calculated to obtain the gradient information of each pixel, the gradient amplitude represents the rate of change of the pixel value, and the gradient direction represents the direction of change; the phase consistency eigenvalue is associated with the gradient information to generate the image gradient feature, and the association method is to calculate the similarity between the consistency eigenvalue and the gradient information, ranging from -1 to 1, where 1 represents complete similarity and -1 represents complete dissimilarity.

[0022] Furthermore, the process of traversing the reference image and the image to be matched based on the set sliding window is as follows: the sliding window is obtained based on the defined function sliding_window(image,window,step), where image is the image after anisotropic diffusion filtering, window is a tuple representing the height and width of the window, and step is the step length, that is, the distance the window moves; starting from the upper left corner of the reference image and the image to be matched, the reference image and the image to be matched are traversed using the sliding window until the window traverses the entire reference image and the image to be matched.

[0023] The present invention has the following beneficial effects:

[0024] The heterogeneous image matching method based on salient regions combines texture feature points, corner feature points and Q points to extract salient regions of images. The salient regions are more representative, better highlight the information of the image, and are more in line with human visual perception. The method focuses on matching salient regions of images. Compared with traditional heterogeneous image matching methods, the invention improves the speed and accuracy of heterogeneous image matching.

[0025] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the heterogeneous image matching method based on salient regions of the present invention;

[0027] Figure 2 A flow chart of obtaining the number of texture feature points in a sliding window using a heterogeneous image matching method based on a salient region according to the present invention;

[0028] Figure 3 A flow chart of obtaining the number of corner feature points in a sliding window using a heterogeneous image matching method based on a salient region according to the present invention;

[0029] Figure 4 A flowchart of obtaining the number of Q points in a sliding window using a heterogeneous image matching method based on a salient region according to the present invention;

[0030] Figure 5 The present invention is a flow chart of using HAPCG to perform image matching on the salient area of ​​a reference image and the salient area of ​​an image to be matched. DETAILED DESCRIPTION

[0031] The embodiment of the present application uses a heterogeneous image matching method based on a salient region to avoid excessive operations in non-important regions, which helps to reduce calculation time and improve matching accuracy. The overall idea of ​​the embodiment of the present application is as follows:

[0032] The purpose of the present invention is to solve the problems existing in traditional heterogeneous image matching methods in image matching, and to provide a heterogeneous image matching method based on salient regions, which combines texture features, corner point features and Q points to extract salient regions of images. The salient regions are more representative, better highlight the information of the image, and are more in line with human visual perception. The salient regions of the images are matched with emphasis. Compared with traditional heterogeneous image matching methods, the present invention improves the speed and accuracy of heterogeneous image matching.

[0033] See also Figure 1The embodiment of the present invention provides a technical solution: a heterogeneous image matching method based on salient regions, comprising the following steps: performing anisotropic diffusion filtering preprocessing on a reference image and an image to be matched respectively; traversing the reference image and the image to be matched based on a set sliding window, and performing texture detection on the area where the sliding window is located during the traversal process to obtain the number of texture feature points in the sliding window, and performing corner feature detection on the area where the sliding window is located to obtain the number of corner feature points in the sliding window; using the Q test method, performing significant difference detection on the central pixel point of the sub-region in the image and other points in its neighborhood, defining the detected point as a Q point, and calculating the number of Q points in the area where the sliding window is located; calculating and determining the sliding window with the largest sum of the number of texture feature points, the number of corner feature points and the number of Q points, and defining it as a salient region; using the Histogram of Absolute Phase Consistency Gradients (HAPCG) algorithm to perform image matching on the salient region of the reference image and the salient region of the image to be matched.

[0034] The process of traversing the reference image and the image to be matched based on the set sliding window is as follows: the sliding window is obtained based on the defined function sliding_window(image,window,step), where image is the image after anisotropic diffusion filtering, window is a tuple representing the height and width of the window, and step is the step length, that is, the distance the window moves; starting from the upper left corner of the reference image and the image to be matched, the reference image and the image to be matched are traversed using the sliding window until the window traverses the entire reference image and the image to be matched.

[0035] Specifically, the method of performing anisotropic diffusion filtering preprocessing on the reference image and the image to be matched is as follows:

[0036] Establish the anisotropic diffusion equation:

[0037]

[0038] Among them, div represents the divergence operator; t represents the scale value of the time measurement; represents the diffusion coefficient; k represents the contrast factor; L represents the difference image; I represents the current image; A1(L n ) and A2(L n ) represent the coded images L n Diffusion coefficient matrix in row and column directions; L n+1 represents the result after diffusion; τ represents the time step of diffusion. When calculating diffusion, the scale value needs to be converted into a time value, that is, σ nRepresents the scale, the number of layers n belongs to [0, 1, 2…S], and S represents the maximum number of layers.

[0039] In this embodiment, anisotropic diffusion filtering is a nonlinear filtering method, which is usually used for image denoising and enhancing the edge and texture features of images. Through this preprocessing step, the reference image and the image to be matched can become clearer, the possible noise is removed, and the texture and structural features in the image are highlighted.

[0040] In addition, when performing image matching, the original image usually contains a lot of redundant information, and anisotropic diffusion filtering can reduce the complexity of the image, which means that subsequent processing steps will be performed on a clearer and simplified image, thereby reducing the complexity of the calculation and the demand for computing resources.

[0041] The detection of texture feature points and corner feature points is usually affected by image quality. Through anisotropic diffusion filter preprocessing, feature points in the image are easier to detect and extract because filtering can highlight these features and make them more obvious, which helps to determine the salient areas in subsequent steps and improve the accuracy of image matching.

[0042] Specifically, Figure 2 As shown in Figure 1, the process of performing texture detection on the area where the sliding window is located to obtain the number of texture feature points in the sliding window is as follows: convert the reference image and the image to be matched into grayscale images; obtain the central pixel value of a central pixel point in the sub-area of ​​the detection window of 10×10, and compare it with the pixel values ​​of the surrounding 8 pixels. If the pixel value of one of the pixels is greater than the central pixel value, the LBP value of the point is 1, otherwise the LBP value is 0; calculate the number of pixels with an LBP value of 1 in the area where all sliding windows are located, which is the number of texture feature points.

[0043] The conversion calculation formula for converting the reference image and the image to be matched into a grayscale image is: Gray = R*0.299+G*0.587+B*0.114, where Gray is the grayscale value, and R, G, and B are the color component values ​​of the red, green, and blue channels of the pixel point respectively; if the pixel value of one pixel point is greater than the central pixel value, the LBP value of the point is 1, otherwise the LBP value is 0. The quantization formula is: Where (x c ,y c ) is the coordinate of the center pixel, and its gray value is i c , p is the pth pixel in the 3×3 time window except the center pixel, i p Represents the gray value of the pth pixel in the area. p -i c ≥0, s(i p -i c) is 1 if the value is not set, otherwise it is 0.

[0044] In this embodiment, the LBP texture feature is a highly robust feature descriptor that has good adaptability to texture and structural changes in images. By using LBP to describe the texture features within the sliding window, the texture information in the image can be better captured, which helps to improve the accuracy of heterogeneous image matching under different environments and lighting conditions.

[0045] The calculation of LBP features is relatively fast because it only requires comparing the grayscale values ​​between pixels and can be calculated in parallel, which helps to reduce the computational complexity of the entire matching process, especially in large-scale image matching tasks.

[0046] By extracting texture features within the sliding window, the sensitivity to local texture information in the heterogeneous image can be increased, thereby improving the accuracy of extracting corresponding feature points, especially when there are large differences between heterogeneous images. By extracting texture features within the salient area, the matching focus can be placed on areas with more similar texture features rather than the entire image. This helps to reduce computing time because it is not necessary to match features across the entire image. At the same time, this also improves the accuracy of the matching because the focus is on areas that are relatively easy to match.

[0047] Specifically, Figure 3 As shown in FIG. 1 , the process of performing corner feature detection on the area where the sliding window is located to obtain the number of corner feature points in the sliding window is as follows: a circle is drawn with the central pixel point as the center and a radius of 3 as the radius, and the pixel values ​​of the 16 pixels on the edge of the circle are calculated to be different from the central pixel value of the central pixel point. The calculation formula is: |I c -I x |, where I c is the center pixel value, I x is the pixel value of the pixel on the edge of the circle; if N consecutive pixels satisfy |I c -I x | is greater than the set threshold, then the central pixel is a candidate corner point; calculate the absolute value of the difference between the pixel values ​​of the 16 pixels on the edge of the circle and the central pixel value of the central pixel as the response value of non-maximum suppression, and delete the feature point with the smallest response value among the adjacent feature points; calculate the total number of feature points saved in the sliding window, which is the number of corner feature points.

[0048] Specifically, the process of detecting Q points in the area where the sliding window is located to obtain the number of Q points in the sliding window is as follows: the key points of the image are detected using the Q test method and defined as Q points, and the number of Q points in the area where the sliding window is located is calculated, such as Figure 4As shown in the figure, the Q test method is used to detect significant differences between the central pixel point of the sub-region in the image and other points in its neighborhood. The detected point is defined as a Q point. The process of calculating the number of Q points in the area where the sliding window is located is as follows:

[0049] First, divide the image into regions, each of which is 3*3 in size, and traverse the pixels in each region. For each pixel i, sort it with the other 8 pixels in the neighborhood. Calculate the difference between the maximum and minimum values, and the calculation formula is:

[0050] X m =X max -X min

[0051] Among them, X m is the range of 9 pixel values, X max is the maximum value after sorting, X min is the minimum value after sorting.

[0052] Calculate the pixel value X of the tested pixel i i Adjacent to its sorted counterpart and greater than X i The pixel value X j The absolute value of the difference between them is calculated as:

[0053] X n =|X i -X j |

[0054] Calculate X m With X n The ratio between them, that is, the final Q value, is calculated as follows:

[0055] Q=X m / X n

[0056] If the obtained Q value is greater than the set confidence level, the point is retained and defined as the Q point.

[0057] The process of calculating and judging the sliding window with the largest sum of the number of texture feature points, the number of corner feature points and the number of Q points, and defining it as a significant area, is as follows: during the traversal process, the sum of the number of texture feature points, the number of corner feature points and the number of Q points in each area is calculated, and the maximum value is obtained; traversal again, when the sum of the number of texture feature points, the number of corner feature points and the number of Q points obtained in the new round of traversal is equal to the maximum value, the traversal is stopped, the area where the sliding window is located is output and defined as a significant area. Here, due to the complexity of heterogeneous images, it is difficult to judge the quality of features. Considering comprehensively, we set the weight coefficients of the sum to 1 / 3, N = λ1N1 + λ2N2 + λ3N3 and obtain the maximum value; traversal again, when the sum of the number of texture feature points, the number of corner feature points and the number of Q points obtained in the new round of traversal is equal to the maximum value, the traversal is stopped, the area where the sliding window is located is output and defined as a significant area

[0058] In this embodiment, the corner feature is one of the very important local features in the image, and is usually highly sensitive to the structure and geometric information of the image. By detecting the candidate corner points, the corner features in the image can be captured, which are very useful for tasks such as image matching and object positioning. By setting thresholds and non-maximum suppression methods, some feature points that are not significant enough can be eliminated, thereby reducing the number of final feature points, helping to reduce the computational complexity of the matching process, and filtering out less important feature points to improve the accuracy of matching.

[0059] Compared with some global feature detection methods, performing corner feature detection only within a sliding window helps reduce computational overhead because only local areas need to be analyzed. Detecting corner features within a sliding window helps extract important local features, reduce the number of feature points, improve feature robustness, reduce computational costs, and improve the accuracy of heterogeneous image matching.

[0060] Specifically, Figure 5 As shown in the figure, the process of using HAPCG to match the salient area of ​​the reference image and the salient area of ​​the image to be matched is as follows: the maximum moment and the minimum moment are generated based on the Log-Gabor function odd-symmetric filter in the phase consistency model, the anisotropic weighted moment equation is constructed, and the anisotropic weighted moment result is generated after normalization; the feature points are extracted by the Harris function in the anisotropic weighted moment space, and repeatability detection is performed, and the filtered results are retained as feature points; the phase consistency eigenvalue is converted into image gradient feature, and the phase feature direction calculated by the Log-Gabor function odd-symmetric filter is expanded to generate absolute phase consistency direction feature; the feature vector is calculated by combining the logarithmic polar coordinate description framework, and the HAPCG descriptor is obtained by repeated iterative calculation; and the Euclidean distance is used as the matching measure for matching.

[0061] Based on the Log-Gabor function odd-symmetric filter in the phase consistency model, the maximum moment and the minimum moment are generated, and the anisotropic weighted moment equation is constructed. The calculation formula for the anisotropic weighted moment result after normalization is as follows:

[0062]

[0063]

[0064]

[0065] Where P is the phase diagram obtained after phase consistency calculation, θ is the angle of direction o, P(θ o ) represents the phase map calculated for each direction o, W represents the final anisotropic weighted moment result, M max Represents the maximum moment of phase consistency of the image, M min represents the minimum moment of phase consistency of the image, Δφ represents the image weight coefficient, ranging from -1 to 5, and A, B and C are intermediate quantities for phase moment calculation.

[0066] In this embodiment, the maximum moment and minimum moment of the image are first generated using the Log-Gabor function odd symmetric filter, and then the anisotropic weighted moment equation is constructed. These moments are used to describe the local features of the image, including gradient and directional information. These moments are then normalized to generate anisotropic weighted moment results. Harris function is used to extract feature points in the anisotropic weighted moment space. These feature points represent the significant areas or structural points in the image. The selection of feature points is completed based on the response of moment information and Harris function.

[0067] Next, the phase consistency eigenvalues ​​of the feature points are converted into image gradient features. This may include expanding the phase feature direction to generate a more comprehensive description. The feature vector is then calculated using the joint log-polar coordinate description framework, and the HAPCG descriptor is calculated iteratively. This descriptor encodes the local information of the feature points, and finally, the Euclidean distance is used as the matching measure for matching. This means comparing the descriptors of the feature points of the two images and determining their similarity by calculating the distance between the descriptors. Feature point pairs with high matching may represent similar areas in the two images.

[0068] Specifically, the process of converting the phase consistency eigenvalue into the image gradient feature is as follows: based on the gradient operator, the gradient amplitude and gradient direction of each pixel in space are calculated to obtain the gradient information of each pixel, the gradient amplitude represents the rate of change of the pixel value, and the gradient direction represents the direction of change; the phase consistency eigenvalue is associated with the gradient information to generate the image gradient feature, and the association method is to calculate the similarity between the consistency eigenvalue and the gradient information, ranging from -1 to 1, where 1 represents complete similarity and -1 represents complete dissimilarity.

[0069] In this embodiment, the phase consistency feature value is usually related to the local structure and texture of the image, while the gradient information provides information about the brightness changes in the image. Associating the phase consistency feature value with the gradient information can improve the robustness of the match. The similarity metric ranges from -1 to 1, allowing for a fine measurement of the similarity of the features. This helps to determine the match more accurately, thereby reducing the possibility of false matches.

[0070] In summary, this application has at least the following effects:

[0071] The salient regions of the image are extracted by combining texture features, corner features and Q points. The salient regions are more representative, better highlight the information of the image, and are more in line with human visual perception. The matching of the salient regions of the image is focused. Compared with the traditional heterogeneous image matching method, the present invention improves the speed and accuracy of heterogeneous image matching.

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

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

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

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

[0076] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0077] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A heterogeneous image matching method based on salient regions, characterized in that: The following steps are involved: Perform anisotropic diffusion filter preprocessing on the reference image and the image to be matched respectively; Based on the set sliding window, the reference image and the image to be matched are traversed, and during the traversal process, texture detection is performed on the area where the sliding window is located to obtain the number of texture feature points in the sliding window. At the same time, corner feature detection is performed on the area where the sliding window is located to obtain the number of corner feature points in the sliding window, and the number of Q points in the sliding window is calculated; Calculate and determine the sliding window with the largest sum of the number of texture feature points, the number of corner feature points and the number of Q points, and define it as a significant area; The Histogram of Absolute Phase Consistency Gradients (HAPCG) algorithm is used to perform image matching between the salient areas of the reference image and the salient areas of the image to be matched.

2. The heterogeneous image matching method based on salient regions according to claim 1, characterized in that: The method of performing anisotropic diffusion filtering preprocessing on the reference image and the image to be matched is as follows: Establish the anisotropic diffusion equation: Among them, div represents the divergence operator; t represents the scale value of the time measurement; represents the diffusion coefficient; k represents the contrast factor; L represents the difference image; I represents the current image; A1(L n ) and A2(L n ) represent the coded images L n Diffusion coefficient matrix in row and column directions; L n+1 represents the result after diffusion; τ represents the time step of diffusion. When calculating diffusion, the scale value needs to be converted into a time value, that is, σ n Represents the scale, the number of layers n belongs to [0, 1, 2…S], and S represents the maximum number of layers.

3. The heterogeneous image matching method based on salient regions according to claim 2, characterized in that: The process of performing texture detection on the area where the sliding window is located to obtain the number of texture feature points in the sliding window is as follows: Convert the reference image and the image to be matched into grayscale images; Get the central pixel value of a central pixel in the sub-region of the detection window of 10×10, and compare it with the pixel values ​​of the surrounding 8 pixels. If the pixel value of one of the pixels is greater than the central pixel value, the LBP value of the point is 1, otherwise the LBP value is 0; Calculate the number of pixels with LBP value of 1 in the area where all sliding windows are located, which is the number of texture feature points.

4. The heterogeneous image matching method based on salient regions according to claim 3, characterized in that: The conversion calculation formula for converting the reference image and the image to be matched into a grayscale image is: Gray = R*0.299+G*0.587+B*0.114, where Gray is the grayscale value, and R, G, and B are the color component values ​​of the red, green, and blue channels of the pixel respectively; If the pixel value of one pixel is greater than the central pixel value, the LBP value of the point is 1. Otherwise, the LBP value is 0. The quantization formula is: Where (x c ,y c ) is the coordinate of the center pixel, and its gray value is i c , p is the pth pixel in the 3×3 time window except the center pixel, i p Represents the gray value of the pth pixel in the area. p -i c ≥0, s(i p -i c ) is 1 if the value is not set, otherwise it is 0.

5. The heterogeneous image matching method based on salient regions according to claim 4, characterized in that: The process of performing corner feature detection on the area where the sliding window is located to obtain the number of corner feature points in the sliding window is as follows: Draw a circle with the central pixel as the center and a radius of 3, and calculate the difference between the pixel values ​​of the 16 pixels on the edge of the circle and the central pixel value of the central pixel. The calculation formula is: c -I x |, where I c is the center pixel value, I x is the pixel value of the pixel point on the edge of the circle; If N consecutive pixels satisfy |I c -I x | is greater than the set threshold, then the central pixel is a candidate corner point; Calculate the absolute value sum of the difference between the pixel values ​​of the 16 pixels on the edge of the circle and the central pixel value of the central pixel as the response value of non-maximum suppression, and delete the feature point with the smallest response value among the adjacent feature points; Calculate the total number of feature points saved in the sliding window, which is the number of corner feature points.

6. The heterogeneous image matching method based on salient regions according to claim 5, characterized in that: The process of detecting Q points in the area where the sliding window is located and obtaining the number of Q points in the sliding window is as follows: The Q-test method is used to detect the key points of the image and define them as Q points. The number of Q points in the area where the sliding window is located is calculated.

7. The heterogeneous image matching method based on salient regions according to claim 6, characterized in that: The process of calculating and determining the sliding window with the largest sum of the number of texture feature points, the number of corner feature points, and the number of Q points is defined as the salient area as follows: During the traversal process, the number of texture feature points, the sum of the number of corner feature points and the number of Q points in each area is calculated, and the maximum value is obtained. The area where the sliding window is located corresponding to the maximum value is output and defined as the significant area.

8. The heterogeneous image matching method based on salient regions according to claim 7, characterized in that: The process of image matching between the salient area of ​​the reference image and the salient area of ​​the image to be matched using the absolute phase directional gradient histogram algorithm is as follows: Based on the Log-Gabor function odd-symmetric filter in the phase consistency model, the maximum moment and the minimum moment are generated, and the anisotropic weighted moment equation is constructed. After normalization, the anisotropic weighted moment result is generated. In the anisotropic weighted moment space, feature points are extracted by using the Harris function, repeatability detection is performed, and the filtered results are retained as feature points; The phase consistency feature value is converted into image gradient feature, and the phase feature direction calculated by the Log-Gabor function odd symmetric filter is expanded to generate the absolute phase consistency direction feature; The feature vector is calculated by combining the log-polar coordinate description framework, and the HAPCG descriptor is obtained by repeated iterative calculation. The matching is performed using Euclidean distance as the matching measure.

9. The heterogeneous image matching method based on salient regions according to claim 8, characterized in that: Based on the Log-Gabor function odd-symmetric filter in the phase consistency model, the maximum moment and the minimum moment are generated, and the anisotropic weighted moment equation is constructed. The calculation formula for the anisotropic weighted moment result after normalization is as follows: Where P is the phase diagram obtained after phase consistency calculation, θ is the angle of direction o, P(θ o ) represents the phase map calculated for each direction o, W represents the final anisotropic weighted moment result, M max Represents the maximum moment of phase consistency of the image, M min represents the minimum moment of phase consistency of the image, Δφ represents the image weight coefficient, ranging from -1 to 5, and A, B and C are intermediate quantities for phase moment calculation.

10. The heterogeneous image matching method based on salient regions according to claim 9, characterized in that: The process of converting phase consistency eigenvalues ​​into image gradient features is as follows: Calculate the gradient magnitude and gradient direction of each pixel in space based on the gradient operator to obtain the gradient information of each pixel, wherein the gradient magnitude represents the rate of change of the pixel value, and the gradient direction represents the direction of change; The phase consistency eigenvalue is associated with the gradient information to generate the image gradient feature. The association method is to calculate the similarity between the consistency eigenvalue and the gradient information, ranging from -1 to 1, where 1 represents complete similarity and -1 represents complete dissimilarity.

11. The heterogeneous image matching method based on salient regions according to claim 1, characterized in that: The process of traversing the reference image and the image to be matched based on the set sliding window is as follows: Get the sliding window based on the defined function sliding_window(image,window,step), where image is the image after anisotropic diffusion filtering, window is a tuple representing the height and width of the window, and step is the step length, that is, the distance the window moves; Starting from the upper left corner of the reference image and the image to be matched, the reference image and the image to be matched are traversed using a sliding window until the window traverses the entire reference image and the image to be matched.

Citation Information

Patent Citations

  • Method for processing matched pairs of characteristic points of images, image retrieval method and image retrieval equipment

    CN102236675A

  • Heterologous image accurate matching method

    CN110097093A

  • Image matching method and apparatus, and device and storage medium

    WO2022205611A1