Image matching method combining collinear affine invariance and scale rotation voting
Through the combination of collinear affine invariance and scale rotation voting, the problem of complexity and insufficient anti-noise ability of initial matching point processing with high error rate in image matching is solved, and more robust and efficient image matching results are achieved.
Patent Information
- Application Number
- CN202210075796.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-23
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-01-23
AI Technical Summary
Existing image matching methods have high computational complexity and limited anti-noise capabilities when processing initial matching points with high error rates, making it difficult to effectively eliminate erroneous matching points.
The method of joint collinear affine invariance and scale rotation voting is used to eliminate gross errors through collinear affine invariance geometric constraints, combine with scale rotation voting to optimize matching points, and use global geometric constraints to further optimize the matching results.
It improves the robustness and efficiency of image matching, reduces computational complexity, and enhances the processing capability and matching accuracy of high error rate data.
Smart Images

Figure CN114493996B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the fields of photogrammetry and computer vision, and in particular to an image matching method combining collinear affine invariance and scale rotation voting. Background Art
[0002] Image matching is a basic research topic in the field of photogrammetry and computer vision. Its goal is to find sufficient and accurately located points of the same name from two or more overlapping images. Due to factors such as imaging angle and illumination changes, image matching results often contain a large number of erroneous matching points. Therefore, efficient and high-precision gross error elimination has become a key issue that needs to be solved in image matching.
[0003] At present, the commonly used methods for removing gross errors include global geometric constraints, local geometric constraints and local radiation constraints. Among them, global geometric constraints generally estimate a reasonable transformation model from the initial matching results, and then check whether the matching points are compatible with the estimated transformation model: if compatible, the current matching point is classified as a correct match; otherwise, it is marked as an incorrect match. Global geometric constraints are generally suitable for removing gross errors of initial matching points with high inliers, and rely on a pre-defined geometric transformation model for decision-making. As the outlier rate of the initial matching increases, the computational complexity of global geometric constraints increases exponentially. Local geometric constraints use the connection relationship between the matching points to be verified and the neighborhood points to construct a stable constraint relationship within the local range. Compared with global geometric constraints, local geometric constraints can better fit local geometric deformations, do not require global transformation model parameter estimation, and have better noise resistance. However, the ability of this type of algorithm to distinguish gross errors is not as good as that of global geometric constraint algorithms based on model parameter estimation. Local radiation constraints use the radiation information of the local area of the matching point to be verified or the local area of the line between the matching point to be verified and its neighborhood points to construct a constraint relationship. Compared with local geometric constraints, local radiation constraints have stronger gross error elimination capabilities. This type of algorithm is often used in combination with local geometric constraints to improve the gross error elimination performance of local geometric constraints.
[0004] For initial matching with high error rate, combining the advantages of local constraints and global geometric constraints, efficient and high-precision matching results can be obtained: local geometric constraints and local radiation constraints have high noise resistance; global geometric constraints have higher discrimination ability for external points. However, most of the existing local constraints use K nearest neighbors to construct local connections. On the one hand, it is difficult to determine the appropriate number of K nearest neighbors; on the other hand, K nearest neighbor points may constitute unstable local connections. In addition, the existing local geometric constraints and local radiation constraints have limited noise resistance and high computational complexity. It can be seen that it is very necessary to design a more robust and efficient image matching gross error elimination method. Summary of the invention
[0005] The main technical problem to be solved by the present invention is to provide a more robust and efficient image matching gross error elimination method. In order to achieve the above purpose, the present invention provides an image matching method combining collinear affine invariance and scale rotation voting, comprising the following steps:
[0006] S1: Use feature extraction algorithm to establish the initial matching point (x i ,x i ');
[0007] S2: for any of the initial matching points (i1, i2), sampling the neighborhood points based on the 4-neighborhood division, and eliminating the gross errors using the collinear affine invariance geometric constraint to obtain the matching points after the gross errors are eliminated;
[0008] S3: Based on the matching points after the gross error elimination, matching optimization and expansion are performed by using scale rotation voting to obtain optimized and expanded matching points;
[0009] S4, based on the optimized and expanded matching points, use global geometric constraints to perform matching optimization to obtain optimized matching results.
[0010] Preferably, step S1 comprises:
[0011] S1.1: extract local key points of the image pair to be processed respectively, and generate feature descriptor vectors of the key points;
[0012] S1.2: Based on the nearest Euclidean distance calculation of the feature descriptor vector, find the two candidate matching points closest to each feature point;
[0013] S1.3: If the ratio of the closest distance d1 to the next closest distance d2 (ratio = d1 / d2) is less than a given threshold T d , then retain the feature point with the closest distance as the candidate matching point;
[0014] S1.4: Perform left-right matching on the candidate matching points in combination with a cross-validation strategy, and use the candidate matching points that pass the cross-validation as the initial matching points of the image pair to be processed.
[0015] Preferably, step S2 comprises:
[0016] S2.1: For any of the initial matching points (x i ,x i '), based on the sampling of neighborhood points divided by 4 neighborhoods, the neighborhood point x is obtained i1 、x i2 、x i3 and x i4 ;
[0017] S2.2: Based on the four neighborhood points, according to the collinear affine invariant geometric constraints, calculate the matching point (x i ,x i ') similarity;
[0018] S2.3: According to the matching point (x i ,x i '), and gradually eliminate the gross errors based on the local geometric constraints to obtain the matching points after the gross errors are eliminated.
[0019] Preferably, step S2.1 comprises:
[0020] S2.1.1: Let the image pair to be matched be (i1, i2). For any initial matching point (x i ,x i '), first take the point x to be matched in image i1 i A circular search area is determined with r as the search radius and the search radius r is calculated according to the density of the initial matching points.
[0021] S2.1.2: The number of initial matching points is M, and the inlier rate of the initial matching points is not less than ρ min , search for K neighboring points from the circular search area, and the K neighboring points satisfy the following formula:
[0022]
[0023] Where A is the image pixel area, that is, width*height;
[0024] S2.1.3: Use two imaginary lines with angles of 45° and 135° to divide the circular search area into four sub-areas, and select a point from each sub-area that is as far away from the center point x as possible. i If there is no neighboring point that meets the conditions in a sub-region, reset the search radius of the sub-region to 2r, and continue to search according to the above conditions until a neighboring point that meets the conditions is found or the search radius r exceeds the maximum threshold T r ;
[0025] S2.1.4: Finally, based on the sampling of the neighborhood points, we get x i1 、x i2 、x i3 and x i4 .
[0026] Preferably, step S2.2 comprises:
[0027] S2.2.1: By connecting the central points x i and a neighboring point x in step 2.1 ij(j=1,2,3,4), we get a straight line l ij ; Set straight line l ij The buffer radius of the straight line l ij Define the support point search area, record the initial matching point of the search area, and get the neighborhood point x ij Constructed support point set C ij ;
[0028] S2.2.2: The four neighboring points are processed by S2.2.1 to obtain the point x to be matched. i The support point set C i ;
[0029] S2.2.3: Based on the correspondence between the initial matching points, construct the corresponding line l in image i2 ij 'The support point search area, and count the initial matching points in the search area to get the matching point x i 'The supporting point set C i ';
[0030] S2.2.4: Based on the support point set C i and the support point set C i ', according to the collinear affine invariance principle, calculate the matching point (x i ,x i '), the matching point similarity calculation formula is:
[0031]
[0032] Among them, η i Indicates (C i ,C i '), i.e., n i =C i ∩C i ',N C Represents the set C i and C i ', that is, N C =max(|C i |,|C j |).
[0033] Preferably, step S2.3 comprises:
[0034] S2.3.1: Eliminate all matching points with matching point similarity ratio(i)=0;
[0035] S2.3.2: Reconstruct the straight lines between the remaining interior points and update (C i ,C i'), recalculate the similarity value ratio(i) of the matching points according to the matching point similarity formula, and remove the similarity values of ratio<T d matching point, T d is the set similarity threshold;
[0036] S2.3.3: Repeat the above steps S2.3.1 and S2.3.2 until the similarity value ratio of all matching points satisfies the set similarity threshold, that is, the matching points after gross errors are eliminated are obtained.
[0037] Preferably, step S3 comprises:
[0038] S3.1: Calculating the scale and angle of the matching points after the gross error elimination;
[0039] S3.2, scale and angle voting is performed based on the calculated scale and angle to obtain the optimized and expanded matching points.
[0040] Preferably, step S3.1 comprises:
[0041] S3.1.1: Let the internal point set obtained in step S2 be I. For any matching point (x i ,x i ')∈I, find a neighborhood point (x j ,x j ')∈I, forming a line segment (l ij ,l ij ');
[0042] S3.1.2: Define feature point x i to x i ' is scaled to the ratio of the lengths of the line segments:
[0043]
[0044] S3.1.3: Define feature point x i to x i 'The angle is transformed to l ij Rotate counterclockwise to l ij 'The angle passed:
[0045] rotation i =angle(l ij ,l ij ').
[0046] Preferably, step S3.2 comprises:
[0047] S3.2.1: Divide into multiple scale change intervals and divide into multiple angle change intervals;
[0048] S3.2.2: Use the scales and angles of all matching points in the internal point set I to vote for the interval, and define the peak interval as the correct transformation interval from image i1 to image i2. true 、rotation true ;
[0049] S3.2.3: Search for the left and right intervals of the peak interval. If the number of votes for the left and right intervals is greater than 40% of the peak interval, add the left and right intervals to the scale. true 、rotation true In order to obtain a reliable internal point set I*, the scale and rotation transformation interval scale from image i1 to image i2 true 、rotation true ;
[0050] S3.2.4: Perform matching expansion on the remaining external point set O* to obtain the optimized and expanded matching points.
[0051] Preferably, step S3.2.4 comprises:
[0052] S3.2.4.1: For any matching point (x i ,x i ')∈O*, find a neighborhood point (x j ,x j ')∈I*, forming a line segment (l ij ,l ij '), calculate (x i ,x i ') scale and rotation angle scale i 、rotation i If satisfied
[0053]
[0054] Then (x i ,x i ') is added to the interior point set I*.
[0055] S3.2.4.2: Repeat step S3.2.4.1 until the internal point set I* does not change, that is, the optimized and expanded matching points are obtained.
[0056] Preferably, step S4 comprises:
[0057] The basic matrix estimation based on the RANSAC algorithm is used as the global geometric constraint, and the gross errors of the optimized and expanded matching points are further eliminated to obtain the final optimized matching result.
[0058] The key technical points of the present invention are:
[0059] 1. By utilizing the collinearity in affine transformation, the initial matching points are constrained and eliminated, which improves the algorithm's ability to handle data with a high initial outlier rate.
[0060] 2. The removed internal points are used to guide the scale and rotation transformation voting between image pairs, and the remaining external points are matched and expanded to improve the accuracy and recall rate of the algorithm.
[0061] The beneficial effects after implementation of the present invention are:
[0062] 1. The sampling point selection scheme based on 4-neighborhood division proposed in the present invention can well solve the drawback of unstable local connection relationship caused by traditional K nearest neighbors, and can adapt to the number of initial matching points.
[0063] 2. The collinear affine invariant geometric constraint model proposed in the present invention has high noise resistance and low computational complexity, and can well meet the needs of high-efficiency matching. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0065] Figure 1 It is a flow chart of an image matching method combining collinear affine invariance and scale rotation voting of the present invention;
[0066] Figure 2 It is a schematic diagram of neighborhood point sampling based on 4-neighborhood division of the present invention;
[0067] Figure 3 It is a schematic diagram of geometric constraints based on collinear affine invariance of the present invention;
[0068] Figure 4 It is a schematic diagram of the scale and angle transformation of the matching points of the present invention. DETAILED DESCRIPTION
[0069] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0070] refer to Figure 1 This embodiment provides an image matching method combining collinear affine invariance and scale rotation voting, including the following steps:
[0071] Step S1: Use feature extraction algorithm to establish initial image matching points:
[0072] In this embodiment, the input data is only two images with spatial overlap. First, the local key points of the two images are extracted using standard feature extraction algorithms, such as SIFT, SURF, ORB, etc., and the feature descriptor vectors of the key points are generated. Then, based on the nearest Euclidean distance calculation of the feature point descriptor vectors, the two candidate matching points closest to each feature point are found. If the ratio of the closest distance d1 to the second closest distance d2 (ratio = d1 / d2) is less than the given threshold T d , then the closest distance feature is retained as the candidate matching point. At the same time, the left and right matching is performed in combination with the cross-validation strategy, and the candidate matching point that finally passes the cross-validation is the final matching point of the image to be processed.
[0073] Step S2: gross error elimination using collinear affine invariance geometric constraints:
[0074] Based on the initial image matching points established in step S1, this embodiment uses collinear affine invariance to construct a local geometric constraint model. Collinearity between feature points is an important invariance under affine transformation, that is, points passing through the same straight line are still collinear after affine transformation. The present invention organizes the initial matching points through the collinearity constraints of feature points, establishes a set of support points to distinguish whether the points to be matched are correct matching points, and uses this to establish a local geometric constraint model to achieve high-precision gross error elimination. The specific steps of step S2 include:
[0075] Step S2.1: Neighborhood point sampling based on 4-neighborhood division, refer to Figure 2 :
[0076] Assume that the image pair to be matched is (i1, i2), for any initial matching point (x i ,x i '), first take the point x to be matched in image i1 i As the center, a circular search area is determined with r as the search radius. The search radius r is calculated based on the density of the initial matching points. Assuming that the number of initial matching points is M, its internal point rate is not less than ρ min In order to search for K neighboring points from the circular area, the following formula must be satisfied
[0077]
[0078] Among them, A is the image pixel area, that is, width*height. Then, use two dotted lines with angles of 45° and 135° respectively to divide the circular search area into 4 sub-areas, and select a point as far away from the center point x as possible from each sub-area. iIf there is no neighboring point that meets the conditions in a sub-region, reset the search radius of the sub-region to 2r, and continue to search according to the above conditions until a neighboring point that meets the conditions is found or the search radius r exceeds the maximum threshold T r The present invention stipulates that the number of neighborhood points is K=4. Based on the above neighborhood point sampling, we get x i1 , x i2 , x i3 and x i4 .
[0079] Step S2.2: Geometric constraints based on collinear affine invariance, refer to Figure 3 :
[0080] By connecting the center point x i and a neighboring point x in step S2.1 ij (j=1,2,3,4), we can get a straight line l ij Then, the buffer radius of the straight line is set to obtain the straight line l ij Define the support point search area, record the initial matching point of the search area, and get the neighborhood point x ij Constructed support point set C ij Then, after the above processing, the four neighboring points are matched to obtain the point x i The support point set C i Similarly, based on the correspondence between the initial matching points, the corresponding straight line l is constructed in image i2 ij 'The support point search area, and count the initial matching points in the search area to get the matching point x i 'The supporting point set C i Based on the above support point set, the present invention defines the matching point (x i ,x i ') is similar to
[0081]
[0082] Among them, η i Indicates (C i ,C i '), i.e., n i =C i ∩C i ';N C Represents the set C i and C i ', that is, N C =max(|C i |,|C j |).
[0083] Step S2.3: Progressive gross error elimination based on local geometric constraints:
[0084] (1) In order to deal with the situation where the initial outlier ratio is too high, all matching points with ratio(i)=0 are first removed, which can ensure that the inliers can be retained to the maximum extent when a large number of outliers are removed.
[0085] (2) Reconstruct the straight line between the remaining interior points and update (C i ,C i '), recalculate the similarity value ratio(i) of the matching pair according to the formula, and remove the ratio<T d matching point.
[0086] (3) Repeat the above steps until the similarity value ratio of all matching points meets the requirements.
[0087] Step S3: Matching optimization and expansion using scale rotation voting:
[0088] Step S3.1: Calculation of matching point scale and angle, refer to Figure 4 :
[0089] Based on the collinear affine invariant geometric constraints in step S2 above, a large part of the wrong matching points can be eliminated. However, due to the influence of similar or repeated textures, local geometric constraints cannot completely eliminate all wrong matching points, and it is very likely to eliminate some correct matching points. Therefore, the present invention further uses the matching results with high inlier rate to perform scale and rotation voting to achieve matching optimization and expansion. Assuming that the inlier set obtained in step S2 is I, for any matching point (x i ,x i ')∈I, find a neighborhood point (x j ,x j ')∈I, forming a line segment (l ij ,l ij '). The present invention defines the characteristic point x i to x i ' is scaled to the ratio of the lengths of the line segments
[0090]
[0091] At the same time, define the feature point x i to x i 'The angle is transformed to l ij Rotate counterclockwise to l ij 'The angle passed:
[0092] rotation i =angle(l ij ,l ij ') (4)
[0093] Among them, l ij To connect the point x to be matched i and the neighborhood point x j The line segments, l ij 'To connect the point x to be matched i ' and the neighborhood point x j 'The composed line segments.
[0094] Step S3.2: Matching optimization and expansion based on scale angle voting:
[0095] In order to find the scale and rotation interval of the correct matching point, 8 scale change intervals are divided in this embodiment, namely The scale change intervals and the angle change intervals are divided into 36 intervals, each interval is 10°. In some embodiments, the number and intervals of the scale change intervals and the angle change intervals can be determined according to the actual situation. Then, the intervals are voted by using the scales and angles of all matching points in the internal point set I, and the interval with the most votes (peak interval) is defined as the correct transformation interval scale from image i1 to image i2. true 、rotation true At the same time, considering the case where the above transformation is located at the interval boundary, the left and right intervals of the peak interval are retrieved. If the number of votes in the left and right intervals is greater than 40% of the peak interval, the left and right intervals are also added to the scale true 、rotation true Therefore, the present invention first removes the true 、rotation true The matching points in step S2 are further optimized.
[0096] Through the above steps, we can get a very reliable set of internal points I*, the scale and rotation transformation interval scale from image i1 to image i2 true 、rotation true In order to improve the recall rate of the algorithm, the above information is used to match and expand the remaining external point set O*:
[0097] (1) For any matching point (x i ,x i ')∈O*, find a neighborhood point (x j ,x j ')∈I*, forming a line segment (l ij ,l ij '), calculate (x i ,x i ') scale and rotation angle scale i 、rotation i If it satisfies
[0098]
[0099] Then (x i ,x i ') is added to the interior point set I*.
[0100] (2) Repeat the above steps until the interior point set I* remains unchanged.
[0101] Step S4: Matching optimization based on global geometric constraints:
[0102] The above steps S1-S3 can eliminate obvious erroneous matching points and add as many initial matching points as possible. Considering that local geometric constraints cannot distinguish erroneous matching points with small position offsets, the present invention further adopts the basic matrix estimation based on the RANSAC algorithm as the global geometric constraint, further eliminates gross errors from the retained matching points, and obtains the final optimized high-precision matching result.
[0103] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0104] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as identifiers.
[0105] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An image matching method combining collinear affine invariance and scale rotation voting, characterized in that: The following steps are involved: S1: Use feature extraction algorithm to establish the initial matching point (x i ,x i '); S2: for any of the initial matching points (i1, i2), sampling the neighborhood points based on the 4-neighborhood division, and eliminating the gross errors using the collinear affine invariance geometric constraint to obtain the matching points after the gross errors are eliminated; Step S2 includes: S2.1: For any of the initial matching points (x i ,x i '), based on the sampling of neighborhood points divided by 4 neighborhoods, the neighborhood point x is obtained i1 、x i2 、x i3 and x i4 ; Step S2.1 includes: S2.1.1: Let the image pair to be matched be (i1, i2). For any initial matching point (x i ,x i '), first take the point x to be matched in image i1 i A circular search area is determined with r as the search radius and the search radius r is calculated according to the density of the initial matching points. S2.1.2: The number of initial matching points is M, and the inlier rate of the initial matching points is not less than ρ min , search for K neighboring points from the circular search area, and the K neighboring points satisfy the following formula: Where A is the image pixel area, that is, width*height; S2.1.3: Use two imaginary lines with angles of 45° and 135° to divide the circular search area into four sub-areas, and select a point from each sub-area that is as far away from the center point x as possible. i If there is no neighboring point that meets the conditions in a sub-region, reset the search radius of the sub-region to 2r, and continue to search according to the above conditions until a neighboring point that meets the conditions is found or the search radius r exceeds the maximum threshold T r ; S2.1.4: Finally, based on the sampling of the neighborhood points, we get x i1 、x i2 、x i3 and x i4 ; S2.2: Based on the four neighborhood points, according to the collinear affine invariant geometric constraints, calculate the matching point (x i ,x i ') similarity; Step S2.2 includes: S2.2.1: By connecting the central points x i and a neighboring point x in step 2.1 ij (j=1,2,3,4), we get a straight line l ij ; Set straight line l ij The buffer radius of the straight line l ij Define the support point search area, record the initial matching point of the search area, and get the neighborhood point x ij Constructed support point set C ij ; S2.2.2: The four neighboring points are processed by S2.2.1 to obtain the point x to be matched. i The support point set C i ; S2.2.3: Based on the correspondence between the initial matching points, construct the corresponding line l in image i2 ij 'The support point search area, and count the initial matching points in the search area to get the matching point x i 'The supporting point set C i '; S2.2.4: Based on the support point set C i and the support point set C i ', according to the collinear affine invariance principle, calculate the matching point (x i ,x i '), the matching point similarity calculation formula is: Among them, η i Indicates (C i ,C i '), i.e., n i =C i ∩C i ',N C Represents the set C i and C i ', that is, N C =max(C i |,C j |); S2.3: According to the matching point (x i ,x i '), and gradually eliminate the gross errors based on the local geometric constraints to obtain the matching points after the gross errors are eliminated; Step S2.3 includes: S2.3.1: Eliminate all matching points with matching point similarity ratio(i)=0; S2.3.2: Reconstruct the straight lines between the remaining interior points and update (C i ,C i '), recalculate the similarity value ratio(i) of the matching points according to the matching point similarity formula (2), and remove ratio <T d matching point, T d is the set similarity threshold; S2.3.3: Repeat the above steps S2.3.1 and S2.3.2 until the similarity value ratio of all matching points satisfies the set similarity threshold, that is, the matching points after gross error elimination are obtained; S3: Based on the matching points after the gross error elimination, matching optimization and expansion are performed by using scale rotation voting to obtain optimized and expanded matching points; S4: Based on the optimized and expanded matching points, global geometric constraints are used to perform matching optimization to obtain optimized matching results.
2. The image matching method of joint collinear affine invariance and scale rotation voting as claimed in claim 1, characterized in that: Step S1 includes: S1.1: extract local key points of the image pair to be processed respectively, and generate feature descriptor vectors of the key points; S1.2: Based on the nearest Euclidean distance calculation of the feature descriptor vector, find the two candidate matching points closest to each feature point; S1.3: If the ratio of the closest distance d1 to the next closest distance d2 (ratio = d1 / d2) is less than a given threshold T d , then retain the feature point with the closest distance as the candidate matching point; S1.4: Perform left-right matching on the candidate matching points in combination with a cross-validation strategy, and use the candidate matching points that pass the cross-validation as the initial matching points of the image pair to be processed.
3. The image matching method of joint collinear affine invariance and scale rotation voting as claimed in claim 1, characterized in that: Step S3 includes: S3.1: Calculating the scale and angle of the matching points after the gross errors are eliminated; S3.2, scale and angle voting is performed based on the calculated scale and angle to obtain the optimized and expanded matching points.
4. The image matching method of joint collinear affine invariance and scale rotation voting as claimed in claim 3, characterized in that: Step S3.1 includes: S3.1.1: Let the internal point set obtained in step S2 be I. For any matching point (x i ,x i ')∈I, find a neighborhood point (x j ,x j ')∈I, forming a line segment (l ij ,l ij '); S3.1.2: Define feature point x i to x i ' is scaled to the ratio of the lengths of the line segments: S3.1.3: Define feature point x i to x i 'The angle is transformed to l ij Rotate counterclockwise to l ij 'The angle passed: rotation i =angle(l ij ,l ij ')。 5. The image matching method of joint collinear affine invariance and scale rotation voting as claimed in claim 3, characterized in that: Step S3.2 includes: S3.2.1: Divide into multiple scale change intervals and divide into multiple angle change intervals; S3.2.2: Use the scales and angles of all matching points in the internal point set I to vote for the interval, and define the peak interval as the correct transformation interval from image i1 to image i2. true 、rotation true ; S3.2.3: Search for the left and right intervals of the peak interval. If the number of votes for the left and right intervals is greater than 40% of the peak interval, add the left and right intervals to the scale. true 、rotation true In order to obtain a reliable internal point set I*, the scale and rotation transformation interval scale from image i1 to image i2 true 、rotation true ; S3.2.4: Perform matching expansion on the remaining external point set O*, including: S3.2.4.1: For any matching point (x i ,x i ')∈O*, find a neighborhood point (x j ,x j ')∈I*, forming a line segment (l ij ,l ij '), calculate (x i ,x i ') scale and rotation angle scale i 、rotation i If satisfied Then (x i ,x i ') is added to the interior point set I*; S3.2.4.2: Repeat step S3.2.4.1 until the internal point set I* does not change, that is, the optimized and expanded matching points are obtained.
6. The image matching method of joint collinear affine invariance and scale rotation voting as claimed in claim 1, characterized in that: Step S4 includes: The basic matrix estimation based on the RANSAC algorithm is used as the global geometric constraint, and the gross errors of the optimized and expanded matching points are further eliminated to obtain the final optimized matching result.
