• Laser & Optoelectronics Progress
  • Vol. 59, Issue 10, 1010011 (2022)
Ruoyan Wei1、*, Junfeng Wang1, and Xiaoqing Zhu2
Author Affiliations
  • 1College of Information Technology, Hebei University of Economics and Business, Shijiazhuang 050061, Hebei , China
  • 2Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China
  • show less
    DOI: 10.3788/LOP202259.1010011 Cite this Article Set citation alerts
    Ruoyan Wei, Junfeng Wang, Xiaoqing Zhu. Inliers Ratio Promotion Algorithm Based on Global Topological Distribution of Image Matching Points[J]. Laser & Optoelectronics Progress, 2022, 59(10): 1010011 Copy Citation Text show less
    Image sequence[36]. (a) 1; (b) 2; (c) 3; (d) 4; (e) 5; (f) 6
    Fig. 1. Image sequence[36]. (a) 1; (b) 2; (c) 3; (d) 4; (e) 5; (f) 6
    Histogram of DR in Fig1. (a) 1m2; (b) 1m3; (c) 1m4; (d) 1m5; (e) 1m6
    Fig. 2. Histogram of DR in Fig1. (a) 1m2; (b) 1m3; (c) 1m4; (d) 1m5; (e) 1m6
    Inliers and outliers in image pairs with zoom[37]. (a) Image pairs of inliers; (b) distributions of inliers and outliers
    Fig. 3. Inliers and outliers in image pairs with zoom[37]. (a) Image pairs of inliers; (b) distributions of inliers and outliers
    Histogram of neighbor inlier distance in Fig. 3. (a) Left image in Fig. 3; (b) right image in Fig. 3
    Fig. 4. Histogram of neighbor inlier distance in Fig. 3. (a) Left image in Fig. 3; (b) right image in Fig. 3
    Flow chart of image matching model estimation based on inliers ratio promotion
    Fig. 5. Flow chart of image matching model estimation based on inliers ratio promotion
    Identical distribution (ID) and non-identical distribution (NID). (a) ID; (b) NID
    Fig. 6. Identical distribution (ID) and non-identical distribution (NID). (a) ID; (b) NID
    Normal distribution of distance between inliers and outliers
    Fig. 7. Normal distribution of distance between inliers and outliers
    Location relationship between undetermined image pairs and inliers
    Fig. 8. Location relationship between undetermined image pairs and inliers
    Comparison of time complexity between Ransac and proposed algorithm
    Fig. 9. Comparison of time complexity between Ransac and proposed algorithm
    Identical distribution matching. (a) Evenly distributed on both images; (b) ZS; (c) ZL; (d) ZR; (e) Z
    Fig. 10. Identical distribution matching. (a) Evenly distributed on both images; (b) ZS; (c) ZL; (d) ZR; (e) Z
    Non-identical distribution matching. (a) Left centralization and right dispersion; (b) ZS; (c) ZL; (d) ZR; (e) Z
    Fig. 11. Non-identical distribution matching. (a) Left centralization and right dispersion; (b) ZS; (c) ZL; (d) ZR; (e) Z
    Non-identical distributions matching. (a) Left dispersion and right centralization; (b) ZS; (c) ZL; (d) ZR; (e) Z
    Fig. 12. Non-identical distributions matching. (a) Left dispersion and right centralization; (b) ZS; (c) ZL; (d) ZR; (e) Z
    Inliers ratio after data filtering
    Fig. 13. Inliers ratio after data filtering
    Inliers growth rate
    Fig. 14. Inliers growth rate
    Real images. (a) Wall; (b) Graf1; (c) Graf2; (d) Book; (e) Boat1; (f) Boat2; (g) Valbonne; (h) Bonhall
    Fig. 15. Real images. (a) Wall; (b) Graf1; (c) Graf2; (d) Book; (e) Boat1; (f) Boat2; (g) Valbonne; (h) Bonhall
    Change of image pairs’ number
    Fig. 16. Change of image pairs’ number
    Change of inliers ratio
    Fig. 17. Change of inliers ratio
    Comparisons based on homogr data set. (a) Inliers recalls with different distance errors; (b) inliers recalls with different time consumption
    Fig. 18. Comparisons based on homogr data set. (a) Inliers recalls with different distance errors; (b) inliers recalls with different time consumption
    Comparisons based on kusvod2 data set. (a) Inliers recalls with different distance errors; (b) inliers recalls with different time comsumption
    Fig. 19. Comparisons based on kusvod2 data set. (a) Inliers recalls with different distance errors; (b) inliers recalls with different time comsumption
    Inliers recalls of proposed method with different sparsity of matching points. (a) Wall; (b) Graf1; (c) Valbonne
    Fig. 20. Inliers recalls of proposed method with different sparsity of matching points. (a) Wall; (b) Graf1; (c) Valbonne
    Real images. (a) Booksh; (b) Leafs; (c) Scene0722; (d) Scene0758; (e) Scene0743; (f) Plant; (g) Rotunda; (h) Bread & Toys; (i) Saint Heart
    Fig. 21. Real images. (a) Booksh; (b) Leafs; (c) Scene0722; (d) Scene0758; (e) Scene0743; (f) Plant; (g) Rotunda; (h) Bread & Toys; (i) Saint Heart
    Performance before inliers ratio promotion. (a) Number of pairs of correspondence obtained; (b) ratio of outlier residual; (c) time consumption
    Fig. 22. Performance before inliers ratio promotion. (a) Number of pairs of correspondence obtained; (b) ratio of outlier residual; (c) time consumption
    Performance after inliers ratio promotion. (a) Number of pairs of correspondence obtained; (b) ratio of outlier residual; (c) time consumption
    Fig. 23. Performance after inliers ratio promotion. (a) Number of pairs of correspondence obtained; (b) ratio of outlier residual; (c) time consumption

    Input: N pairs of correspondences: {spiL,spiR}i=1, 2,,N

    Output: M pairs of correspondences after data filtering: {spiL,spiR}i=1, 2,,M

    Step1: Compute matrix Z according to Eq. (7), the size of Z is N×N

    Step2: Compute the sums of all columns in Z, and get a data set K=255-k1,k2,,kN, where kj=i=1Nzijj=1, 2,,N

    Step3: Reorder K in ascend, so, a new data set is gotten: K'=k1',k2',,kN', in which kj'kj+1', and j=1,2,,N

    Step4: Compute the average value of ff=j=1Nkj/N , and then compute fhigh and flow, where, flow=j=1m'kj'/m'j=m'+1mkj'/(m-m'), and m' satisfies the expression: km''fkm'+1'

    Step5: Obtain threshold TT=fiff<(flow+fhigh)/2(flow+fhigh)/2iff(flow+fhigh)/2

    Step6: Obtain M pairs of correspondences after {spiL,spiR}, where i satisfies the expression:ki'T

    Table 1. Algorithm of inliers ratio promotion

    Input:N pairs of correspondences:S=spiL,spiR,i=1, 2,,N; The number of iteration allowed: max itera;termination condition;the initial number of iteration: i=1; number of the minimum samples that model can be calculated:m, 4 (homography), 7 or 8 (fundamental matrix)

    Output: The optimal model or multi models, and its or their inliers

    Step1: Obtain the data set S', which contains M pairs of correspondences after data filtering as shown in Table 1 S'={spiL,spiR}i=1, 2,,M

    Step2: i=i+1, and sample m pairs of correspondences from S', and obtain the current hypothesis Moi

    Step3: Take Moi to S, and calculate the number of inliers which are fitted

    Step4: Judge whether the hypothesis meets with the termination condition, and whether the current number of iteration meets with max itera, either satisfied, go to Step5 otherwise, return to Step2

    Step5: Obtain the optimal model or multi models and its or their inliers

    Table 2. Random sample consensus algorithm based on proposed inliers ratio promotion

    Input: N pairs of correspondences:S=spiL,spiR,i=1, 2,,N; threshold: T,which is user defined, the type value is 0.01; number of neighbors: m, which is user defined, and lies in the range from 4 to 6

    Output:Sinliers

    Step1: Obtain the data set S', which contains M pairs of correspondences aftering data filtering as shown in Table 1S'={spiL,spiR}i=1, 2,,M, and obtain N-M pairs of correspondences which are filtered out:O={oiL,oiR}i=1, 2,,N-M

    Step2: Obtain inliers set Sinliers={spiL,spiR} from S' with any graph method, such as NMNET, OANET, PointCN, and SuperGlue, i=1, 2,,Ninliers

    Step3: For each pair of correspondence in set O{oiL,oiR}

    1) Obtain the neighbor inliers set that contains m pairs of correspondence with the help of KNN:p1L,,pmL and p1R,,pmR, and calculate the distance from O to each point of the set: L1L,,LmL and L1R,,LmR

    2) Normalize the distances by Eq (8), calculate desoL and desoR by Eq (9);

    3) Judge whether d=|desoL-desoR| is not lager than T, if satisfied,Sinliers=Sinliers{oL,oR}, and Ninliers=Ninliers+1

    End

    Table 3. Graph matching algorithm based on proposed inliers ratio promotion
    ImageWallGraf1Graf2BookBoat1Boat2ValbonneBonhall
    Number of matched pairs9932415241515393151315119911802
    Pixel500×350800×640800×640600×450850×680850×680512×768490×653
    Inliers ratio /%22.2015.504.1028.6030.0011.308.0919.53
    Table 4. Information of image pairs
    OPPROPNSCRSCNAPMAPMLETDDOP+PRO+PN+SCR+SC+NAP+MAP+MLE+TDD+
    Wall0.430.540.680.780.710.960.910.820.640.220.290.710.540.650.690.620.540.55
    Graf11.200.660.871.440.941.841.471.660.840.520.430.810.810.840.880.650.800.73
    Graf23.600.850.570.970.601.491.341.150.791.410.630.720.720.680.760.740.680.72
    Book1.140.511.011.031.041.681.021.240.580.860.350.550.560.700.740.350.280.50
    Boat10.740.561.021.831.212.431.871.910.810.710.480.660.920.820.980.610.750.79
    Boat23.390.231.141.501.342.301.802.100.690.850.250.720.770.810.750.850.740.51
    Valbonne2.080.540.871.150.501.601.351.300.601.020.320.650.540.490.800.730.640.31
    Bonhall3.490.411.321.331.051.051.371.040.871.030.770.730.690.740.700.700.700.60
    Table 5. Comparison of runtime
    OPPROPNSCRSCNAPMAPMLETDDOP+PRO+PN+SCR+SC+NAP+MAP+MLE+TDD+
    Wall21019022122522317416015034220229223227225224230233226
    Graf13652553403303461431471286370339350341344281340335320
    Graf281225136532019196996579678251656936
    Book374433433434434368387397179354432433433433428433433433
    Boat1891958959957958558933937364945958958956958887958957958
    Boat22963533543533559764605343353354353354249347347294
    Valbonne132921411121415151421514512515612715511112713065
    Bonhall30030429131727719623323365336327300321295307327326310
    Table 6. Comparison of number of obtained inliers
    Ruoyan Wei, Junfeng Wang, Xiaoqing Zhu. Inliers Ratio Promotion Algorithm Based on Global Topological Distribution of Image Matching Points[J]. Laser & Optoelectronics Progress, 2022, 59(10): 1010011
    Download Citation