Skip to content

Task02 Екатерина Алтунина ИТМО#54

Open
mcfluffybottoms wants to merge 9 commits intoPhotogrammetryCourse:task02from
mcfluffybottoms:task02
Open

Task02 Екатерина Алтунина ИТМО#54
mcfluffybottoms wants to merge 9 commits intoPhotogrammetryCourse:task02from
mcfluffybottoms:task02

Conversation

@mcfluffybottoms
Copy link

@mcfluffybottoms mcfluffybottoms commented Mar 20, 2026

Перечислите идеи и коротко обозначьте мысли которые у вас возникали по мере выполнения задания, в частности попробуйте ответить на вопросы:

  1. Зачем фильтровать матчи, если потом мы запускаем устойчивый к выбросам RANSAC и отфильтровываем шумные сопоставления?

Без фильтрации понадобится больше итераций RANSAC - больше шумов приводит к меньшему шансу получить хорошие точки.

  1. Cluster filtering довольно хорошо работает и без Ratio test. Однако, если оставить только Cluster filtering, некоторые тесты начнут падать. Почему так происходит? В каких случаях наоборот, не хватает Ratio test и необходима дополнительная фильтрация?

Ratio test помогает отсеять дублирующиеся дескрипторы, возникающие, к примеру, на повторяющихся текстурах по типу кирпичных стен или орнаментов. Такие точки cluster filtering не отсеет.

В свою очередь, cluster filtering помогает отсеять похожие дескрипторы, расположенные на большом расстоянии друг от друга, поскольку будет смотреть на соответствие определенной геометрической модели.

  1. С какой проблемой можно столкнуться при приравнивании единице элемента H33 матрицы гомографии? Как ее решить?

Когда мы принудительно устанавливаем H33​=1, мы фиксируем масштаб до того, как узнаем, каким он должен быть на самом деле.

Тогда, если H33 на самом деле близок к нулю, другие значения станут огромными.

Решение - использование SVD.

  1. Какой подвох таится в попытке склеивать большие панорамы и ортофото методом, реализованным в данной домашке? (Для интуиции можно посмотреть на результат склейки, когда за корень взята какая-нибудь другая картинка)

Тогда результат будет не инвариантен от выбранного корня. В итоге будут накапливатся разные ошибки, масштабные искажения разные, результат получается геометрически разным при разных корнях.

  1. Как можно автоматически построить граф для построения панорамы, чтобы на вход метод принимал только список картинок?
  • Сделать матчинг каждой пары картинок.

  • Строим полный граф. Веса ребер - количество inliers.

  • При склейке важно использовать самые надежные гомографии (с максимальным количеством inliers). Для этого строим MST.

  1. Если с вашей реализацией SIFT пройти тесты не получилось, напишите (если пробовали дебажить), где, как вам кажется, проблема и как вы пробовали ее решать.

Все было хорошо.

Когда делала метчинг валилось на разных ОС... В итоге подгоняла трешхолд в ratio filtering и параметры деревьев. До последнего не заходило решение на макос... Которого под рукой и не имеется...

Local

[==========] Running 20 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 18 tests from MATCHING
[ RUN      ] MATCHING.SimpleStitching
testing sift detector/descriptor...
estimateHomographyRANSAC : support: 1007/1007
estimateHomographyRANSAC : best support: 1007/1007
keypoints RMSE: 0.242999, color RMSE: 9.33425
testing my detector/descriptor...
estimateHomographyRANSAC : support: 839/839
estimateHomographyRANSAC : best support: 839/839
keypoints RMSE: 0.215437, color RMSE: 5.6938
[       OK ] MATCHING.SimpleStitching (2299 ms)
[ RUN      ] MATCHING.SimpleMatching
testing sift detector/descriptor...
flann matching...
cv flann matching...
brute force matching
BruteforceMatcher::knnMatch : n query desc : 3919, n train desc : 3522
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 1001/1001
estimateHomographyRANSAC : best support: 1001/1001
evaluating homography...
nn_score: 0.645318, nn2_score: 0.317683, nn_score_cv: 0.606532, nn2_score_cv: 0.27405, time_my: 0.061643, time_cv: 0.054084, time_bruteforce: 1.42516, good_nn: 0.239347, good_ratio: 0.906524, good_clusters: 0.919383, good_ratio_and_clusters: 0.924076
testing my detector/descriptor...
flann matching...
cv flann matching...
brute force matching
BruteforceMatcher::knnMatch : n query desc : 3492, n train desc : 3111
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 338/840
estimateHomographyRANSAC : support: 840/840
estimateHomographyRANSAC : best support: 840/840
evaluating homography...
nn_score: 0.656644, nn2_score: 0.326174, nn_score_cv: 0.614548, nn2_score_cv: 0.273769, time_my: 0.054653, time_cv: 0.048337, time_bruteforce: 1.12823, good_nn: 0.239691, good_ratio: 0.953036, good_clusters: 0.993827, good_ratio_and_clusters: 0.982143
[       OK ] MATCHING.SimpleMatching (4547 ms)
[ RUN      ] MATCHING.Rotate10
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 756/759
estimateHomographyRANSAC : support: 757/759
estimateHomographyRANSAC : support: 758/759
gauss: infinitely many solutions found
gauss: xs0: 705.649, 635.409, 753.68, 705.649, 
gauss: ys0: 423.375, 602.21, 539.813, 423.375, 
estimateHomographyRANSAC : support: 759/759
estimateHomographyRANSAC : best support: 759/759
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.084272, time_cv: 0.076404, time_bruteforce: 0, good_nn: 0.1901, good_ratio: 0.922293, good_clusters: 0.93956, good_ratio_and_clusters: 0.944664
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 41/657
estimateHomographyRANSAC : support: 601/657
estimateHomographyRANSAC : support: 634/657
estimateHomographyRANSAC : support: 648/657
estimateHomographyRANSAC : support: 655/657
estimateHomographyRANSAC : support: 656/657
gauss: infinitely many solutions found
gauss: xs0: 714.585, 586.581, 534.788, 714.585, 
gauss: ys0: 524.587, 524.451, 457.768, 524.587, 
gauss: infinitely many solutions found
gauss: xs0: 801.217, 727.995, 626.717, 626.717, 
gauss: ys0: 508.352, 512.755, 580.076, 580.076, 
estimateHomographyRANSAC : support: 657/657
estimateHomographyRANSAC : best support: 657/657
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.072603, time_cv: 0.066456, time_bruteforce: 0, good_nn: 0.196735, good_ratio: 0.964706, good_clusters: 0.980114, good_ratio_and_clusters: 0.986301
[       OK ] MATCHING.Rotate10 (3025 ms)
[ RUN      ] MATCHING.Rotate20
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 761/762
estimateHomographyRANSAC : support: 762/762
estimateHomographyRANSAC : best support: 762/762
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.076992, time_cv: 0.070099, time_bruteforce: 0, good_nn: 0.204134, good_ratio: 0.96875, good_clusters: 0.9599, good_ratio_and_clusters: 0.998688
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 141/670
estimateHomographyRANSAC : support: 408/670
estimateHomographyRANSAC : support: 624/670
estimateHomographyRANSAC : support: 631/670
estimateHomographyRANSAC : support: 670/670
estimateHomographyRANSAC : best support: 670/670
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.071534, time_cv: 0.066168, time_bruteforce: 0, good_nn: 0.201604, good_ratio: 0.961373, good_clusters: 0.977143, good_ratio_and_clusters: 0.99403
[       OK ] MATCHING.Rotate20 (2685 ms)
[ RUN      ] MATCHING.Rotate30
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 576/751
estimateHomographyRANSAC : support: 750/751
gauss: infinitely many solutions found
gauss: xs0: 599.95, 599.95, 674.082, 574.766, 
gauss: ys0: 525.492, 525.492, 407.373, 566.856, 
gauss: infinitely many solutions found
gauss: xs0: 588.127, 588.127, 610.814, 776.028, 
gauss: ys0: 516.617, 516.617, 367.149, 462.516, 
estimateHomographyRANSAC : best support: 750/751
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.076729, time_cv: 0.069917, time_bruteforce: 0, good_nn: 0.19852, good_ratio: 0.966709, good_clusters: 0.968504, good_ratio_and_clusters: 0.989348
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 666/666
estimateHomographyRANSAC : best support: 666/666
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.072114, time_cv: 0.066121, time_bruteforce: 0, good_nn: 0.200458, good_ratio: 0.965616, good_clusters: 0.994236, good_ratio_and_clusters: 1
[       OK ] MATCHING.Rotate30 (3074 ms)
[ RUN      ] MATCHING.Rotate40
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 594/752
estimateHomographyRANSAC : support: 752/752
estimateHomographyRANSAC : best support: 752/752
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.076988, time_cv: 0.07041, time_bruteforce: 0, good_nn: 0.192141, good_ratio: 0.940568, good_clusters: 0.951872, good_ratio_and_clusters: 0.956117
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 653/669
estimateHomographyRANSAC : support: 669/669
estimateHomographyRANSAC : best support: 669/669
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.071646, time_cv: 0.066069, time_bruteforce: 0, good_nn: 0.201317, good_ratio: 0.975469, good_clusters: 0.988166, good_ratio_and_clusters: 0.995516
[       OK ] MATCHING.Rotate40 (2676 ms)
[ RUN      ] MATCHING.Rotate45
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 760/761
gauss: infinitely many solutions found
gauss: xs0: 702.552, 555.232, 562.105, 555.232, 
gauss: ys0: 266.078, 502.92, 552.712, 502.92, 
estimateHomographyRANSAC : support: 761/761
estimateHomographyRANSAC : best support: 761/761
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.078791, time_cv: 0.070538, time_bruteforce: 0, good_nn: 0.169431, good_ratio: 0.832274, good_clusters: 0.844875, good_ratio_and_clusters: 0.856767
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 473/657
estimateHomographyRANSAC : support: 657/657
estimateHomographyRANSAC : best support: 657/657
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.072751, time_cv: 0.066357, time_bruteforce: 0, good_nn: 0.201317, good_ratio: 0.966859, good_clusters: 0.985836, good_ratio_and_clusters: 0.998478
[       OK ] MATCHING.Rotate45 (2751 ms)
[ RUN      ] MATCHING.Rotate90
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 510/832
estimateHomographyRANSAC : support: 831/832
estimateHomographyRANSAC : best support: 831/832
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.069039, time_cv: 0.061989, time_bruteforce: 0, good_nn: 0.216892, good_ratio: 0.97783, good_clusters: 0.988506, good_ratio_and_clusters: 0.99399
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 10/740
estimateHomographyRANSAC : support: 570/740
estimateHomographyRANSAC : support: 683/740
estimateHomographyRANSAC : support: 739/740
estimateHomographyRANSAC : support: 740/740
estimateHomographyRANSAC : best support: 740/740
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.069696, time_cv: 0.061203, time_bruteforce: 0, good_nn: 0.219931, good_ratio: 0.96749, good_clusters: 0.984163, good_ratio_and_clusters: 0.993243
[       OK ] MATCHING.Rotate90 (2919 ms)
[ RUN      ] MATCHING.Scale50
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 149/167
estimateHomographyRANSAC : support: 167/167
estimateHomographyRANSAC : best support: 167/167
evaluating homography...
too few matches: 1
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.053325, time_cv: 0.037576, time_bruteforce: 0, good_nn: 0.0364889, good_ratio: 0.69697, good_clusters: 0, good_ratio_and_clusters: 0.814371
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 51/133
estimateHomographyRANSAC : support: 114/133
estimateHomographyRANSAC : support: 125/133
estimateHomographyRANSAC : support: 133/133
estimateHomographyRANSAC : best support: 133/133
evaluating homography...
too few matches: 0
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.035709, time_cv: 0.030308, time_bruteforce: 0, good_nn: 0.0409507, good_ratio: 0.797619, good_clusters: 0, good_ratio_and_clusters: 0.977444
[       OK ] MATCHING.Scale50 (1399 ms)
[ RUN      ] MATCHING.Scale70
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 15/375
estimateHomographyRANSAC : support: 102/375
estimateHomographyRANSAC : support: 375/375
estimateHomographyRANSAC : best support: 375/375
evaluating homography...
too few matches: 30
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.050512, time_cv: 0.043068, time_bruteforce: 0, good_nn: 0.100791, good_ratio: 0.94015, good_clusters: 0, good_ratio_and_clusters: 0.994667
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 324/324
estimateHomographyRANSAC : best support: 324/324
evaluating homography...
too few matches: 46
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.04589, time_cv: 0.039662, time_bruteforce: 0, good_nn: 0.101947, good_ratio: 0.942693, good_clusters: 0, good_ratio_and_clusters: 0.996914
[       OK ] MATCHING.Scale70 (1718 ms)
[ RUN      ] MATCHING.Scale90
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 635/654
estimateHomographyRANSAC : support: 652/654
estimateHomographyRANSAC : support: 653/654
estimateHomographyRANSAC : support: 654/654
estimateHomographyRANSAC : best support: 654/654
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.063019, time_cv: 0.056906, time_bruteforce: 0, good_nn: 0.170707, good_ratio: 0.967262, good_clusters: 0.979079, good_ratio_and_clusters: 0.987768
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 133/589
estimateHomographyRANSAC : support: 589/589
estimateHomographyRANSAC : best support: 589/589
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.062578, time_cv: 0.054326, time_bruteforce: 0, good_nn: 0.17669, good_ratio: 0.962602, good_clusters: 0.986547, good_ratio_and_clusters: 0.996604
[       OK ] MATCHING.Scale90 (2267 ms)
[ RUN      ] MATCHING.Scale110
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 789/789
estimateHomographyRANSAC : best support: 789/789
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.084777, time_cv: 0.077738, time_bruteforce: 0, good_nn: 0.210513, good_ratio: 0.979115, good_clusters: 0.9869, good_ratio_and_clusters: 0.997465
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 141/698
estimateHomographyRANSAC : support: 374/698
estimateHomographyRANSAC : support: 698/698
estimateHomographyRANSAC : best support: 698/698
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.078402, time_cv: 0.072602, time_bruteforce: 0, good_nn: 0.206186, good_ratio: 0.953552, good_clusters: 0.987805, good_ratio_and_clusters: 0.989971
[       OK ] MATCHING.Scale110 (2978 ms)
[ RUN      ] MATCHING.Scale130
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 778/839
estimateHomographyRANSAC : support: 780/839
estimateHomographyRANSAC : support: 838/839
gauss: infinitely many solutions found
gauss: xs0: 735.296, 576.892, 740.659, 735.296, 
gauss: ys0: 583.604, 595.147, 388.205, 583.604, 
gauss: infinitely many solutions found
gauss: xs0: 713.79, 730.866, 786.043, 730.866, 
gauss: ys0: 470.309, 599.51, 198.331, 599.51, 
gauss: infinitely many solutions found
gauss: xs0: 684.407, 690.621, 671.039, 684.407, 
gauss: ys0: 488.997, 598.457, 622.54, 488.997, 
estimateHomographyRANSAC : best support: 838/839
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.115894, time_cv: 0.109237, time_bruteforce: 0, good_nn: 0.217658, good_ratio: 0.956522, good_clusters: 0.98004, good_ratio_and_clusters: 0.986889
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 736/738
estimateHomographyRANSAC : support: 738/738
estimateHomographyRANSAC : best support: 738/738
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.123477, time_cv: 0.104773, time_bruteforce: 0, good_nn: 0.223368, good_ratio: 0.966234, good_clusters: 0.98927, good_ratio_and_clusters: 0.993225
[       OK ] MATCHING.Scale130 (4520 ms)
[ RUN      ] MATCHING.Scale150
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 674/792
estimateHomographyRANSAC : support: 717/792
estimateHomographyRANSAC : support: 790/792
estimateHomographyRANSAC : support: 791/792
gauss: infinitely many solutions found
gauss: xs0: 719.029, 576.309, 708.421, 576.309, 
gauss: ys0: 605.32, 607.281, 595.709, 607.281, 
gauss: infinitely many solutions found
gauss: xs0: 688.902, 784.225, 688.902, 651.186, 
gauss: ys0: 353.54, 422.384, 353.54, 584.81, 
estimateHomographyRANSAC : best support: 791/792
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.165714, time_cv: 0.15478, time_bruteforce: 0, good_nn: 0.195203, good_ratio: 0.918293, good_clusters: 0.961207, good_ratio_and_clusters: 0.945707
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 679/679
estimateHomographyRANSAC : best support: 679/679
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.152562, time_cv: 0.147101, time_bruteforce: 0, good_nn: 0.190435, good_ratio: 0.920114, good_clusters: 0.922353, good_ratio_and_clusters: 0.945508
[       OK ] MATCHING.Scale150 (5934 ms)
[ RUN      ] MATCHING.Scale175
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 700/775
estimateHomographyRANSAC : support: 773/775
gauss: infinitely many solutions found
gauss: xs0: 767.455, 791.806, 723.539, 791.806, 
gauss: ys0: 603.38, 608.043, 488.056, 608.043, 
estimateHomographyRANSAC : support: 774/775
gauss: infinitely many solutions found
gauss: xs0: 657.363, 727.656, 723.984, 657.363, 
gauss: ys0: 480.739, 503.915, 416.289, 480.739, 
estimateHomographyRANSAC : best support: 774/775
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.207757, time_cv: 0.200494, time_bruteforce: 0, good_nn: 0.196479, good_ratio: 0.932668, good_clusters: 0.960699, good_ratio_and_clusters: 0.96
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 617/649
estimateHomographyRANSAC : support: 646/649
estimateHomographyRANSAC : support: 648/649
gauss: infinitely many solutions found
gauss: xs0: 555.762, 769.079, 555.762, 792.694, 
gauss: ys0: 540.297, 233.42, 540.297, 527.672, 
estimateHomographyRANSAC : support: 649/649
estimateHomographyRANSAC : best support: 649/649
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.205959, time_cv: 0.206457, time_bruteforce: 0, good_nn: 0.177549, good_ratio: 0.892857, good_clusters: 0.918575, good_ratio_and_clusters: 0.918336
[       OK ] MATCHING.Scale175 (7960 ms)
[ RUN      ] MATCHING.Scale200
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 774/856
estimateHomographyRANSAC : support: 854/856
estimateHomographyRANSAC : support: 855/856
gauss: infinitely many solutions found
gauss: xs0: 761.702, 772.61, 721.651, 721.651, 
gauss: ys0: 440.958, 554.465, 530.97, 530.97, 
estimateHomographyRANSAC : best support: 855/856
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.227866, time_cv: 0.220747, time_bruteforce: 0, good_nn: 0.217913, good_ratio: 0.953462, good_clusters: 0.97619, good_ratio_and_clusters: 0.971963
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 380/760
estimateHomographyRANSAC : support: 760/760
estimateHomographyRANSAC : best support: 760/760
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.218977, time_cv: 0.216827, time_bruteforce: 0, good_nn: 0.225659, good_ratio: 0.970626, good_clusters: 0.983903, good_ratio_and_clusters: 0.986842
[       OK ] MATCHING.Scale200 (9092 ms)
[ RUN      ] MATCHING.Rotate10Scale90
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 225/646
estimateHomographyRANSAC : support: 563/646
estimateHomographyRANSAC : support: 581/646
estimateHomographyRANSAC : support: 627/646
estimateHomographyRANSAC : support: 646/646
estimateHomographyRANSAC : best support: 646/646
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.069329, time_cv: 0.062165, time_bruteforce: 0, good_nn: 0.148507, good_ratio: 0.826087, good_clusters: 0.834646, good_ratio_and_clusters: 0.840557
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 560/560
estimateHomographyRANSAC : best support: 560/560
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.064589, time_cv: 0.058307, time_bruteforce: 0, good_nn: 0.162085, good_ratio: 0.906621, good_clusters: 0.959016, good_ratio_and_clusters: 0.942857
[       OK ] MATCHING.Rotate10Scale90 (2451 ms)
[ RUN      ] MATCHING.Rotate30Scale75
testing sift detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 170/438
estimateHomographyRANSAC : support: 214/438
estimateHomographyRANSAC : support: 407/438
estimateHomographyRANSAC : support: 435/438
estimateHomographyRANSAC : support: 436/438
gauss: infinitely many solutions found
gauss: xs0: 684.407, 684.407, 614.141, 791.91, 
gauss: ys0: 488.997, 488.997, 359.955, 236.572, 
gauss: infinitely many solutions found
gauss: xs0: 665.122, 665.122, 578.574, 590.753, 
gauss: ys0: 609.679, 609.679, 471.335, 224.411, 
estimateHomographyRANSAC : best support: 436/438
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.057749, time_cv: 0.05075, time_bruteforce: 0, good_nn: 0.115846, good_ratio: 0.949115, good_clusters: 0.942529, good_ratio_and_clusters: 0.974886
testing my detector/descriptor...
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 272/383
estimateHomographyRANSAC : support: 359/383
estimateHomographyRANSAC : support: 377/383
estimateHomographyRANSAC : support: 379/383
estimateHomographyRANSAC : support: 381/383
gauss: infinitely many solutions found
gauss: xs0: 571.59, 637.701, 571.59, 594.969, 
gauss: ys0: 541.704, 561.076, 541.704, 435.447, 
gauss: infinitely many solutions found
gauss: xs0: 680.001, 680.001, 760.933, 590.276, 
gauss: ys0: 370.11, 370.11, 341.625, 401.628, 
estimateHomographyRANSAC : best support: 381/383
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.052338, time_cv: 0.046801, time_bruteforce: 0, good_nn: 0.11827, good_ratio: 0.939024, good_clusters: 0.903614, good_ratio_and_clusters: 0.989556
[       OK ] MATCHING.Rotate30Scale75 (2334 ms)
[----------] 18 tests from MATCHING (64630 ms total)

[----------] 2 tests from STITCHING
[ RUN      ] STITCHING.SimplePanorama
estimateHomographyRANSAC : support: 938/1007
estimateHomographyRANSAC : support: 1004/1007
gauss: infinitely many solutions found
gauss: xs0: 167.392, 208.915, 58.5609, 208.915, 
gauss: ys0: 353.905, 472.164, 540.094, 472.164, 
estimateHomographyRANSAC : support: 1005/1007
gauss: infinitely many solutions found
gauss: xs0: 206.4, 156.063, 201.662, 206.4, 
gauss: ys0: 361.671, 561.147, 503.477, 361.671, 
gauss: infinitely many solutions found
gauss: xs0: 223.265, 6.28681, 151.028, 223.265, 
gauss: ys0: 348.13, 510.325, 546.812, 348.13, 
estimateHomographyRANSAC : best support: 1005/1007
bbox: [1286.08, 640.611], [0, -5.13528]
[       OK ] STITCHING.SimplePanorama (758 ms)
[ RUN      ] STITCHING.Orthophoto
estimateHomographyRANSAC : support: 45/1416
estimateHomographyRANSAC : support: 362/1416
estimateHomographyRANSAC : support: 485/1416
estimateHomographyRANSAC : support: 514/1416
estimateHomographyRANSAC : support: 553/1416
estimateHomographyRANSAC : support: 559/1416
estimateHomographyRANSAC : support: 610/1416
estimateHomographyRANSAC : support: 742/1416
estimateHomographyRANSAC : best support: 742/1416
estimateHomographyRANSAC : support: 91/1103
estimateHomographyRANSAC : support: 93/1103
estimateHomographyRANSAC : support: 344/1103
estimateHomographyRANSAC : support: 360/1103
estimateHomographyRANSAC : support: 464/1103
estimateHomographyRANSAC : support: 498/1103
estimateHomographyRANSAC : support: 543/1103
gauss: infinitely many solutions found
gauss: xs0: 903.057, 494.63, 903.057, 17.6932, 
gauss: ys0: 68.9479, 319.656, 68.9479, 11.1753, 
estimateHomographyRANSAC : best support: 543/1103
estimateHomographyRANSAC : support: 37/2166
estimateHomographyRANSAC : support: 82/2166
estimateHomographyRANSAC : support: 363/2166
estimateHomographyRANSAC : support: 412/2166
estimateHomographyRANSAC : support: 642/2166
estimateHomographyRANSAC : support: 648/2166
gauss: infinitely many solutions found
gauss: xs0: 999.859, 791.32, 791.32, 361.667, 
gauss: ys0: 48.3086, 220.902, 220.902, 275.214, 
estimateHomographyRANSAC : support: 721/2166
estimateHomographyRANSAC : best support: 721/2166
estimateHomographyRANSAC : support: 25/1265
estimateHomographyRANSAC : support: 230/1265
estimateHomographyRANSAC : support: 271/1265
estimateHomographyRANSAC : support: 530/1265
estimateHomographyRANSAC : support: 577/1265
estimateHomographyRANSAC : support: 619/1265
estimateHomographyRANSAC : support: 629/1265
gauss: infinitely many solutions found
gauss: xs0: 445.206, 901.591, 901.591, 105.239, 
gauss: ys0: 529.601, 683.178, 683.178, 783.932, 
estimateHomographyRANSAC : support: 652/1265
estimateHomographyRANSAC : best support: 652/1265
bbox: [1346.73, 1698.07], [-180.216, -479.86]
estimateHomographyRANSAC : support: 31/1110
estimateHomographyRANSAC : support: 94/1110
estimateHomographyRANSAC : support: 119/1110
estimateHomographyRANSAC : support: 179/1110
estimateHomographyRANSAC : support: 218/1110
estimateHomographyRANSAC : support: 452/1110
estimateHomographyRANSAC : support: 454/1110
estimateHomographyRANSAC : support: 485/1110
estimateHomographyRANSAC : support: 530/1110
estimateHomographyRANSAC : support: 542/1110
estimateHomographyRANSAC : support: 570/1110
estimateHomographyRANSAC : best support: 570/1110
estimateHomographyRANSAC : support: 546/1414
estimateHomographyRANSAC : support: 585/1414
estimateHomographyRANSAC : support: 616/1414
estimateHomographyRANSAC : support: 649/1414
estimateHomographyRANSAC : support: 676/1414
estimateHomographyRANSAC : support: 682/1414
estimateHomographyRANSAC : best support: 682/1414
estimateHomographyRANSAC : support: 252/2146
estimateHomographyRANSAC : support: 384/2146
estimateHomographyRANSAC : support: 549/2146
estimateHomographyRANSAC : support: 605/2146
estimateHomographyRANSAC : support: 680/2146
estimateHomographyRANSAC : support: 711/2146
gauss: infinitely many solutions found
gauss: xs0: 788.386, 54.0228, 54.0228, 259.78, 
gauss: ys0: 277.947, 393.424, 393.424, 828.928, 
estimateHomographyRANSAC : best support: 711/2146
estimateHomographyRANSAC : support: 36/1263
estimateHomographyRANSAC : support: 72/1263
estimateHomographyRANSAC : support: 381/1263
estimateHomographyRANSAC : support: 383/1263
estimateHomographyRANSAC : support: 475/1263
estimateHomographyRANSAC : support: 490/1263
estimateHomographyRANSAC : support: 534/1263
gauss: infinitely many solutions found
gauss: xs0: 513.145, 1064.08, 755.061, 1064.08, 
gauss: ys0: 727.563, 836.412, 838.904, 836.412, 
estimateHomographyRANSAC : support: 549/1263
estimateHomographyRANSAC : support: 550/1263
estimateHomographyRANSAC : support: 616/1263
estimateHomographyRANSAC : support: 637/1263
estimateHomographyRANSAC : support: 638/1263
estimateHomographyRANSAC : best support: 638/1263
bbox: [1152, 864], [-232.696, -961.976]
n stable ortho kpts: : 19870
[       OK ] STITCHING.Orthophoto (14132 ms)
[----------] 2 tests from STITCHING (14890 ms total)

[----------] Global test environment tear-down
[==========] 20 tests from 2 test suites ran. (79520 ms total)
[  PASSED  ] 20 tests.

Github Actions CI


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant