Skip to content

Task02 Ворошилов Максим СПбГУ#46

Open
MaxVorosh wants to merge 4 commits intoPhotogrammetryCourse:task02from
MaxVorosh:task02
Open

Task02 Ворошилов Максим СПбГУ#46
MaxVorosh wants to merge 4 commits intoPhotogrammetryCourse:task02from
MaxVorosh:task02

Conversation

@MaxVorosh
Copy link

@MaxVorosh MaxVorosh commented Mar 20, 2026

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

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

Чем раньше мы отфильтруем неподходящие матчи, тем меньше мы времени потратим впустую на следующих шагах. Особенно, если это делается дёшево

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

Ratio test нужен, если есть повторяющаяся текстура. Но он один не сможет справиться с выбросами

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

Возникают проблемы, когда у нас линии пересекаются в бесконечно удалённой точке (в таком случае H33 должна быть равна 0). На лекции предлагалось решать эту проблему с помощью SVD

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

При склейке у нас будет постепенно накапливаться ошибка

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

Если в картинках есть метаданные, то стоит использовать их. Если метаданных нет, то можно построить остовное дерево, за вес ребра принимая схожесть картинок (может быть, на меньшем наборе ключевых точек)

// Создайте PR.
// Дождитесь отработки Github Actions CI, после чего нажмите на зеленую галочку -> Details -> The build -> скопируйте весь лог тестирования.
// Откройте PR на редактирование (сверху справа три точки->Edit) и добавьте сюда скопированный лог тестирования внутри тега

 для сохранения форматирования и под спойлером для компактности и удобства:

Github Actions CI

Running main() from /home/runner/work/PhotogrammetryTasks2026/PhotogrammetryTasks2026/libs/3rdparty/libgtest/googletest/src/gtest_main.cc
[==========] 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: 1005/1005
estimateHomographyRANSAC : best support: 1005/1005
keypoints RMSE: 0.116314, color RMSE: 5.6938
testing my detector/descriptor...
estimateHomographyRANSAC : support: 779/843
estimateHomographyRANSAC : support: 843/843
estimateHomographyRANSAC : best support: 843/843
keypoints RMSE: 0.150721, color RMSE: 5.87431
[       OK ] MATCHING.SimpleStitching (1477 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: 823/1008
estimateHomographyRANSAC : support: 1008/1008
estimateHomographyRANSAC : best support: 1008/1008
evaluating homography...
nn_score: 0.609084, nn2_score: 0.267415, nn_score_cv: 0.598622, nn2_score_cv: 0.266905, time_my: 0.085785, time_cv: 0.086178, time_bruteforce: 4.16947, good_nn: 0.261036, good_ratio: 0.979769, good_clusters: 0.987567, good_ratio_and_clusters: 0.999008
testing my detector/descriptor...
flann matching...
cv flann matching...
brute force matching
BruteforceMatcher::knnMatch : n query desc : 3481, n train desc : 3119
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 779/843
estimateHomographyRANSAC : support: 843/843
estimateHomographyRANSAC : best support: 843/843
evaluating homography...
nn_score: 0.604137, nn2_score: 0.267452, nn_score_cv: 0.618213, nn2_score_cv: 0.277506, time_my: 0.075339, time_cv: 0.07584, time_bruteforce: 3.33287, good_nn: 0.246481, good_ratio: 0.977064, good_clusters: 0.997955, good_ratio_and_clusters: 1
[       OK ] MATCHING.SimpleMatching (9404 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: 614/756
estimateHomographyRANSAC : support: 708/756
estimateHomographyRANSAC : support: 753/756
estimateHomographyRANSAC : support: 756/756
estimateHomographyRANSAC : best support: 756/756
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.109648, time_cv: 0.113009, time_bruteforce: 0, good_nn: 0.179638, good_ratio: 0.877238, good_clusters: 0.903141, good_ratio_and_clusters: 0.898148
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: 209/683
estimateHomographyRANSAC : support: 478/683
estimateHomographyRANSAC : support: 536/683
estimateHomographyRANSAC : support: 587/683
estimateHomographyRANSAC : support: 681/683
estimateHomographyRANSAC : support: 682/683
estimateHomographyRANSAC : support: 683/683
estimateHomographyRANSAC : best support: 683/683
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.104032, time_cv: 0.103725, time_bruteforce: 0, good_nn: 0.196783, good_ratio: 0.933428, good_clusters: 0.954887, good_ratio_and_clusters: 0.953148
[       OK ] MATCHING.Rotate10 (2491 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: 709/765
estimateHomographyRANSAC : support: 765/765
estimateHomographyRANSAC : best support: 765/765
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.109977, time_cv: 0.110632, time_bruteforce: 0, good_nn: 0.202348, good_ratio: 0.97, good_clusters: 0.967662, good_ratio_and_clusters: 0.997386
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: 582/682
estimateHomographyRANSAC : support: 663/682
estimateHomographyRANSAC : support: 682/682
estimateHomographyRANSAC : best support: 682/682
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.104981, time_cv: 0.10426, time_bruteforce: 0, good_nn: 0.203964, good_ratio: 0.964937, good_clusters: 0.979644, good_ratio_and_clusters: 0.994135
[       OK ] MATCHING.Rotate20 (2489 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: 743/744
gauss: infinitely many solutions found
gauss: xs0: 654.902, 576.121, 654.902, 667.328, 
gauss: ys0: 587.74, 482.693, 587.74, 455.62, 
estimateHomographyRANSAC : best support: 743/744
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.109709, time_cv: 0.112894, time_bruteforce: 0, good_nn: 0.1753, good_ratio: 0.867876, good_clusters: 0.887701, good_ratio_and_clusters: 0.888441
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: 541/675
estimateHomographyRANSAC : support: 674/675
gauss: infinitely many solutions found
gauss: xs0: 692.983, 603.999, 603.999, 590.758, 
gauss: ys0: 622.843, 583.68, 583.68, 224.407, 
estimateHomographyRANSAC : best support: 674/675
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.103641, time_cv: 0.103713, time_bruteforce: 0, good_nn: 0.206263, good_ratio: 0.977077, good_clusters: 0.991758, good_ratio_and_clusters: 0.998519
[       OK ] MATCHING.Rotate30 (2488 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: 573/751
estimateHomographyRANSAC : support: 744/751
estimateHomographyRANSAC : support: 751/751
estimateHomographyRANSAC : best support: 751/751
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.11126, time_cv: 0.11058, time_bruteforce: 0, good_nn: 0.19903, good_ratio: 0.980645, good_clusters: 0.98961, good_ratio_and_clusters: 0.998668
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: 344/674
estimateHomographyRANSAC : support: 674/674
estimateHomographyRANSAC : best support: 674/674
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.10309, time_cv: 0.103076, time_bruteforce: 0, good_nn: 0.203964, good_ratio: 0.976912, good_clusters: 0.982456, good_ratio_and_clusters: 0.994065
[       OK ] MATCHING.Rotate40 (2480 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: 273/756
estimateHomographyRANSAC : support: 746/756
estimateHomographyRANSAC : support: 755/756
estimateHomographyRANSAC : support: 756/756
estimateHomographyRANSAC : best support: 756/756
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.111006, time_cv: 0.111602, time_bruteforce: 0, good_nn: 0.158204, good_ratio: 0.785347, good_clusters: 0.811634, good_ratio_and_clusters: 0.805556
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: 546/686
estimateHomographyRANSAC : support: 641/686
estimateHomographyRANSAC : support: 663/686
estimateHomographyRANSAC : support: 686/686
estimateHomographyRANSAC : best support: 686/686
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.104938, time_cv: 0.10536, time_bruteforce: 0, good_nn: 0.193048, good_ratio: 0.911641, good_clusters: 0.940541, good_ratio_and_clusters: 0.93586
[       OK ] MATCHING.Rotate45 (2495 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: 631/831
estimateHomographyRANSAC : support: 759/831
estimateHomographyRANSAC : support: 830/831
gauss: infinitely many solutions found
gauss: xs0: 639.033, 573.879, 770.51, 639.033, 
gauss: ys0: 543.991, 402.412, 506.596, 543.991, 
estimateHomographyRANSAC : best support: 830/831
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.098066, time_cv: 0.09768, time_bruteforce: 0, good_nn: 0.217147, good_ratio: 0.981287, good_clusters: 0.988558, good_ratio_and_clusters: 0.99639
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: 746/746
estimateHomographyRANSAC : best support: 746/746
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.091095, time_cv: 0.091644, time_bruteforce: 0, good_nn: 0.22235, good_ratio: 0.983117, good_clusters: 0.981043, good_ratio_and_clusters: 0.99866
[       OK ] MATCHING.Rotate90 (2319 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: 90/167
estimateHomographyRANSAC : support: 157/167
estimateHomographyRANSAC : support: 163/167
gauss: infinitely many solutions found
gauss: xs0: 452.546, 733.297, 782.693, 733.297, 
gauss: ys0: 162.457, 424.265, 384.81, 424.265, 
gauss: infinitely many solutions found
gauss: xs0: 702.552, 684.546, 722.875, 684.546, 
gauss: ys0: 266.078, 443.05, 616.936, 443.05, 
gauss: infinitely many solutions found
gauss: xs0: 740.659, 749.701, 749.701, 637.701, 
gauss: ys0: 388.205, 412.857, 412.857, 561.076, 
gauss: infinitely many solutions found
gauss: xs0: 693.896, 630.44, 630.44, 593.538, 
gauss: ys0: 206.723, 416.798, 416.798, 524.571, 
estimateHomographyRANSAC : best support: 163/167
evaluating homography...
too few matches: 3
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.05304, time_cv: 0.051993, time_bruteforce: 0, good_nn: 0.0408267, good_ratio: 0.8, good_clusters: 0, good_ratio_and_clusters: 0.898204
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...
too few matches: 1
estimateHomographyRANSAC : support: 99/133
estimateHomographyRANSAC : support: 102/133
estimateHomographyRANSAC : support: 103/133
estimateHomographyRANSAC : support: 108/133
estimateHomographyRANSAC : support: 133/133
estimateHomographyRANSAC : best support: 133/133
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.046948, time_cv: 0.047221, time_bruteforce: 0, good_nn: 0.0410801, good_ratio: 0.875817, good_clusters: 0, good_ratio_and_clusters: 0.992481
[       OK ] MATCHING.Scale50 (1309 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: 199/374
estimateHomographyRANSAC : support: 374/374
estimateHomographyRANSAC : best support: 374/374
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.067182, time_cv: 0.066536, time_bruteforce: 1e-06, good_nn: 0.100281, good_ratio: 0.947103, good_clusters: 0, good_ratio_and_clusters: 0.994652
testing my detector/descriptor...
too few matches: 31
flann matching...
cv flann matching...
filtering matches by ratio test...
filtering matches by clusters...
filtering matches by ratio & clusters
estimating homography...
estimateHomographyRANSAC : support: 323/336
estimateHomographyRANSAC : support: 328/336
estimateHomographyRANSAC : support: 336/336
estimateHomographyRANSAC : best support: 336/336
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.061555, time_cv: 0.061614, time_bruteforce: 0, good_nn: 0.0993967, good_ratio: 0.916435, good_clusters: 0.936508, good_ratio_and_clusters: 0.970238
[       OK ] MATCHING.Scale70 (1627 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: 641/652
estimateHomographyRANSAC : support: 652/652
estimateHomographyRANSAC : best support: 652/652
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.087852, time_cv: 0.087843, time_bruteforce: 0, good_nn: 0.171472, good_ratio: 0.976048, good_clusters: 0.975, good_ratio_and_clusters: 0.989264
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: 335/609
estimateHomographyRANSAC : support: 403/609
estimateHomographyRANSAC : support: 608/609
gauss: infinitely many solutions found
gauss: xs0: 798.827, 713.539, 798.827, 671.205, 
gauss: ys0: 352.359, 462.478, 352.359, 607.486, 
estimateHomographyRANSAC : best support: 608/609
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.081481, time_cv: 0.081087, time_bruteforce: 0, good_nn: 0.180121, good_ratio: 0.969841, good_clusters: 0.965649, good_ratio_and_clusters: 0.993432
[       OK ] MATCHING.Scale90 (2162 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: 348/785
estimateHomographyRANSAC : support: 391/785
estimateHomographyRANSAC : support: 785/785
estimateHomographyRANSAC : best support: 785/785
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.121974, time_cv: 0.121584, time_bruteforce: 0, good_nn: 0.207961, good_ratio: 0.975309, good_clusters: 0.984649, good_ratio_and_clusters: 0.993631
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: 702/702
estimateHomographyRANSAC : best support: 702/702
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.114768, time_cv: 0.113958, time_bruteforce: 0, good_nn: 0.205113, good_ratio: 0.957418, good_clusters: 0.979118, good_ratio_and_clusters: 0.978632
[       OK ] MATCHING.Scale110 (2720 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: 409/836
estimateHomographyRANSAC : support: 461/836
estimateHomographyRANSAC : support: 794/836
estimateHomographyRANSAC : support: 796/836
estimateHomographyRANSAC : support: 824/836
estimateHomographyRANSAC : support: 835/836
gauss: infinitely many solutions found
gauss: xs0: 665.122, 670.898, 665.122, 752.916, 
gauss: ys0: 609.679, 219.771, 609.679, 353.967, 
estimateHomographyRANSAC : best support: 835/836
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.170021, time_cv: 0.169729, time_bruteforce: 0, good_nn: 0.218423, good_ratio: 0.968894, good_clusters: 0.98622, good_ratio_and_clusters: 0.989234
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: 454/757
estimateHomographyRANSAC : support: 753/757
estimateHomographyRANSAC : support: 757/757
estimateHomographyRANSAC : best support: 757/757
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.163131, time_cv: 0.162322, time_bruteforce: 1e-06, good_nn: 0.222924, good_ratio: 0.971867, good_clusters: 0.985011, good_ratio_and_clusters: 0.993395
[       OK ] MATCHING.Scale130 (3597 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: 431/788
estimateHomographyRANSAC : support: 782/788
estimateHomographyRANSAC : support: 785/788
estimateHomographyRANSAC : support: 786/788
estimateHomographyRANSAC : support: 787/788
estimateHomographyRANSAC : best support: 787/788
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.237076, time_cv: 0.238996, time_bruteforce: 1e-06, good_nn: 0.199796, good_ratio: 0.940171, good_clusters: 0.972632, good_ratio_and_clusters: 0.972081
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: 318/709
estimateHomographyRANSAC : support: 341/709
estimateHomographyRANSAC : support: 708/709
gauss: infinitely many solutions found
gauss: xs0: 647.696, 742.852, 602.078, 742.852, 
gauss: ys0: 447.432, 576.315, 565.127, 576.315, 
estimateHomographyRANSAC : best support: 708/709
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.232056, time_cv: 0.229638, time_bruteforce: 0, good_nn: 0.199943, good_ratio: 0.942466, good_clusters: 0.957447, good_ratio_and_clusters: 0.963329
[       OK ] MATCHING.Scale150 (4788 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: 16/771
estimateHomographyRANSAC : support: 758/771
estimateHomographyRANSAC : support: 768/771
estimateHomographyRANSAC : support: 769/771
gauss: infinitely many solutions found
gauss: xs0: 657.849, 683.813, 657.849, 589.548, 
gauss: ys0: 528.734, 393.277, 528.734, 502.858, 
estimateHomographyRANSAC : best support: 769/771
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.310773, time_cv: 0.310654, time_bruteforce: 0, good_nn: 0.186272, good_ratio: 0.893939, good_clusters: 0.917548, good_ratio_and_clusters: 0.9131
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: 145/677
estimateHomographyRANSAC : support: 398/677
estimateHomographyRANSAC : support: 473/677
estimateHomographyRANSAC : support: 676/677
gauss: infinitely many solutions found
gauss: xs0: 554.544, 772.61, 554.544, 616.128, 
gauss: ys0: 557.898, 554.466, 557.898, 461.629, 
gauss: infinitely many solutions found
gauss: xs0: 603.082, 569.489, 568.492, 568.492, 
gauss: ys0: 539.708, 392.277, 520.092, 520.092, 
estimateHomographyRANSAC : best support: 676/677
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.3022, time_cv: 0.302236, time_bruteforce: 0, good_nn: 0.195633, good_ratio: 0.947143, good_clusters: 0.945238, good_ratio_and_clusters: 0.964549
[       OK ] MATCHING.Scale175 (6300 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: 853/855
gauss: infinitely many solutions found
gauss: xs0: 661.6, 564.167, 661.6, 592.576, 
gauss: ys0: 586.39, 430.452, 586.39, 623.978, 
estimateHomographyRANSAC : support: 854/855
estimateHomographyRANSAC : best support: 854/855
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.344691, time_cv: 0.346182, time_bruteforce: 0, good_nn: 0.219954, good_ratio: 0.969178, good_clusters: 0.976407, good_ratio_and_clusters: 0.981287
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: 261/777
estimateHomographyRANSAC : support: 687/777
estimateHomographyRANSAC : support: 774/777
estimateHomographyRANSAC : support: 777/777
estimateHomographyRANSAC : best support: 777/777
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.36094, time_cv: 0.344275, time_bruteforce: 0, good_nn: 0.230968, good_ratio: 0.973913, good_clusters: 0.983271, good_ratio_and_clusters: 0.992278
[       OK ] MATCHING.Scale200 (7383 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: 644/644
estimateHomographyRANSAC : best support: 644/644
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.098435, time_cv: 0.097326, time_bruteforce: 0, good_nn: 0.173003, good_ratio: 0.972892, good_clusters: 0.98008, good_ratio_and_clusters: 0.990683
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: 582/582
estimateHomographyRANSAC : best support: 582/582
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.092308, time_cv: 0.092792, time_bruteforce: 0, good_nn: 0.173801, good_ratio: 0.974874, good_clusters: 0.961686, good_ratio_and_clusters: 0.991409
[       OK ] MATCHING.Rotate10Scale90 (2304 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: 61/436
estimateHomographyRANSAC : support: 433/436
estimateHomographyRANSAC : support: 434/436
gauss: infinitely many solutions found
gauss: xs0: 744.745, 599.14, 744.745, 599.454, 
gauss: ys0: 478.474, 397.074, 478.474, 529.908, 
gauss: infinitely many solutions found
gauss: xs0: 598.737, 552.8, 598.737, 569.886, 
gauss: ys0: 462.817, 603.84, 462.817, 419.787, 
gauss: infinitely many solutions found
gauss: xs0: 584.592, 691.682, 575.147, 584.592, 
gauss: ys0: 545.5, 402.889, 451.118, 545.5, 
gauss: infinitely many solutions found
gauss: xs0: 674.082, 589.548, 730.595, 589.548, 
gauss: ys0: 407.373, 502.858, 492.599, 502.858, 
estimateHomographyRANSAC : best support: 434/436
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.080313, time_cv: 0.079652, time_bruteforce: 0, good_nn: 0.117122, good_ratio: 0.960177, good_clusters: 0.943182, good_ratio_and_clusters: 0.990826
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: 397/399
gauss: infinitely many solutions found
gauss: xs0: 619.431, 595.848, 619.431, 649.687, 
gauss: ys0: 574.289, 505.169, 574.289, 569.623, 
gauss: infinitely many solutions found
gauss: xs0: 546.914, 603.999, 555.762, 555.762, 
gauss: ys0: 345.779, 583.68, 540.297, 540.297, 
gauss: infinitely many solutions found
gauss: xs0: 582.193, 582.193, 600.931, 603.999, 
gauss: ys0: 619.854, 619.854, 418.547, 583.68, 
estimateHomographyRANSAC : best support: 397/399
evaluating homography...
nn_score: 0, nn2_score: 0, nn_score_cv: 0, nn2_score_cv: 0, time_my: 0.072846, time_cv: 0.073263, time_bruteforce: 0, good_nn: 0.114622, good_ratio: 0.890476, good_clusters: 0.904762, good_ratio_and_clusters: 0.932331
[       OK ] MATCHING.Rotate30Scale75 (1838 ms)
[----------] 18 tests from MATCHING (59671 ms total)

[----------] 2 tests from STITCHING
[ RUN      ] STITCHING.SimplePanorama
estimateHomographyRANSAC : support: 995/1009
estimateHomographyRANSAC : support: 1006/1009
estimateHomographyRANSAC : support: 1007/1009
estimateHomographyRANSAC : best support: 1007/1009
bbox: [1286.37, 641.692], [0, -1.12515]
[       OK ] STITCHING.SimplePanorama (313 ms)
[ RUN      ] STITCHING.Orthophoto
estimateHomographyRANSAC : support: 143/1363
estimateHomographyRANSAC : support: 407/1363
estimateHomographyRANSAC : support: 494/1363
estimateHomographyRANSAC : support: 548/1363
estimateHomographyRANSAC : support: 572/1363
estimateHomographyRANSAC : best support: 572/1363
estimateHomographyRANSAC : support: 238/2088
estimateHomographyRANSAC : support: 338/2088
estimateHomographyRANSAC : support: 418/2088
estimateHomographyRANSAC : support: 524/2088
estimateHomographyRANSAC : support: 587/2088
estimateHomographyRANSAC : support: 623/2088
estimateHomographyRANSAC : support: 633/2088
estimateHomographyRANSAC : support: 669/2088
estimateHomographyRANSAC : support: 696/2088
estimateHomographyRANSAC : best support: 696/2088
estimateHomographyRANSAC : support: 6/1217
estimateHomographyRANSAC : support: 65/1217
estimateHomographyRANSAC : support: 125/1217
estimateHomographyRANSAC : support: 378/1217
estimateHomographyRANSAC : support: 438/1217
estimateHomographyRANSAC : support: 498/1217
estimateHomographyRANSAC : support: 590/1217
estimateHomographyRANSAC : best support: 590/1217
estimateHomographyRANSAC : support: 10/1063
estimateHomographyRANSAC : support: 438/1063
estimateHomographyRANSAC : support: 448/1063
estimateHomographyRANSAC : support: 470/1063
estimateHomographyRANSAC : support: 515/1063
estimateHomographyRANSAC : best support: 515/1063
bbox: [1336.23, 1548.58], [-160.765, -303.402]
estimateHomographyRANSAC : support: 281/1073
estimateHomographyRANSAC : support: 325/1073
estimateHomographyRANSAC : support: 507/1073
estimateHomographyRANSAC : support: 515/1073
gauss: infinitely many solutions found
gauss: xs0: 768.935, 717.863, 717.863, 602.065, 
gauss: ys0: 392.061, 832.023, 832.023, 696.131, 
gauss: infinitely many solutions found
gauss: xs0: 508.007, 485.71, 508.007, 324.71, 
gauss: ys0: 673.465, 518.576, 673.465, 425.079, 
estimateHomographyRANSAC : support: 522/1073
estimateHomographyRANSAC : support: 535/1073
estimateHomographyRANSAC : best support: 535/1073
estimateHomographyRANSAC : support: 387/1383
estimateHomographyRANSAC : support: 636/1383
gauss: infinitely many solutions found
gauss: xs0: 139.927, 256.805, 139.927, 647.4, 
gauss: ys0: 385.761, 741.811, 385.761, 645.083, 
gauss: infinitely many solutions found
gauss: xs0: 66.7883, 169.795, 968.025, 66.7883, 
gauss: ys0: 611.57, 265.563, 289.162, 611.57, 
estimateHomographyRANSAC : best support: 636/1383
estimateHomographyRANSAC : support: 68/2068
estimateHomographyRANSAC : support: 176/2068
estimateHomographyRANSAC : support: 474/2068
estimateHomographyRANSAC : support: 646/2068
estimateHomographyRANSAC : support: 655/2068
estimateHomographyRANSAC : support: 716/2068
estimateHomographyRANSAC : support: 718/2068
estimateHomographyRANSAC : best support: 718/2068
estimateHomographyRANSAC : support: 4/1224
estimateHomographyRANSAC : support: 6/1224
estimateHomographyRANSAC : support: 66/1224
estimateHomographyRANSAC : support: 298/1224
estimateHomographyRANSAC : support: 503/1224
estimateHomographyRANSAC : support: 552/1224
gauss: infinitely many solutions found
gauss: xs0: 676.268, 1036.88, 564.796, 1036.88, 
gauss: ys0: 833.901, 767.25, 547.546, 767.25, 
gauss: infinitely many solutions found
gauss: xs0: 253.338, 253.338, 1075.3, 369.427, 
gauss: ys0: 472.14, 472.14, 467.294, 426.005, 
estimateHomographyRANSAC : support: 568/1224
estimateHomographyRANSAC : support: 576/1224
estimateHomographyRANSAC : best support: 576/1224
bbox: [1205.77, 864], [-249.501, -964.95]
n stable ortho kpts: : 22006
[       OK ] STITCHING.Orthophoto (12923 ms)
[----------] 2 tests from STITCHING (13236 ms total)

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

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