{"action":"created","issue":{"url":"https://api.github.com/repos/simonfuhrmann/mve/issues/231","repository_url":"https://api.github.com/repos/simonfuhrmann/mve","labels_url":"https://api.github.com/repos/simonfuhrmann/mve/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/simonfuhrmann/mve/issues/231/comments","events_url":"https://api.github.com/repos/simonfuhrmann/mve/issues/231/events","html_url":"https://github.com/simonfuhrmann/mve/issues/231","id":155885683,"number":231,"title":"Problem of SfM: Error finding initial pair","user":{"login":"xialang2012","id":14291651,"avatar_url":"https://avatars.githubusercontent.com/u/14291651?v=3","gravatar_id":"","url":"https://api.github.com/users/xialang2012","html_url":"https://github.com/xialang2012","followers_url":"https://api.github.com/users/xialang2012/followers","following_url":"https://api.github.com/users/xialang2012/following{/other_user}","gists_url":"https://api.github.com/users/xialang2012/gists{/gist_id}","starred_url":"https://api.github.com/users/xialang2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xialang2012/subscriptions","organizations_url":"https://api.github.com/users/xialang2012/orgs","repos_url":"https://api.github.com/users/xialang2012/repos","events_url":"https://api.github.com/users/xialang2012/events{/privacy}","received_events_url":"https://api.github.com/users/xialang2012/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-20T04:39:59Z","updated_at":"2016-05-20T09:21:49Z","closed_at":null,"body":"I used command `sfmrecon.exe ./img-res` to get the SfM result, but it showed me the error\r\n\r\n> MVE SfM Reconstruction (built on May 19 2016, 14:36:12)\r\n> SSE2 accelerated matching is enabled.\r\n> SSE3 accelerated matching is enabled.\r\n> Initializing scene with 9 views...\r\n> Initialized 9 views (max ID is 8), took 8ms.\r\n> Computing image features...\r\n> View ID 0001 (2304x1728), 21347 features, took 9668 ms.\r\n> View ID 0002 (2304x1728), 22366 features, took 9888 ms.\r\n> View ID 0008 (2304x1728), 25460 features, took 9892 ms.\r\n> View ID 0000 (2304x1728), 21200 features, took 10007 ms.\r\n> View ID 0003 (2304x1728), 23159 features, took 10325 ms.\r\n> View ID 0004 (2304x1728), 25695 features, took 10376 ms.\r\n> View ID 0007 (2304x1728), 26827 features, took 10441 ms.\r\n> View ID 0006 (2304x1728), 27626 features, took 10554 ms.\r\n> View ID 0005 (2304x1728), 28081 features, took 10649 ms.\r\n> Computed 221761 features for 9 views (average 24640).\r\n> Computing features took 11669 ms.\r\n> Performing feature matching...\r\n> Pair (3,0) rejected, only 3 of 5 low-res matches.\r\n> Pair (4,1) rejected, only 2 of 5 low-res matches.\r\n> Pair (4,0) rejected, only 3 of 5 low-res matches.\r\n> Pair (5,0) rejected, only 1 of 5 low-res matches.\r\n> Pair (1,0) matched, 3341 inliers, took 5599 ms.\r\n> Pair (2,0) matched, 837 inliers, took 5794 ms.\r\n> Pair (2,1) matched, 4855 inliers, took 6031 ms.\r\n> Pair (3,1) matched, 1327 inliers, took 6033 ms.\r\n> Pair (3,2) matched, 5299 inliers, took 6376 ms.\r\n> Pair (4,2) matched, 717 inliers, took 7054 ms.\r\n> Pair (7,4) rejected, only 0 of 5 low-res matches.\r\n> Pair (6,0) matched, 524 inliers, took 7251 ms.\r\n> Pair (4,3) matched, 2426 inliers, took 7291 ms.\r\n> Pair (5,1) matched, 740 inliers, took 7391 ms.\r\n> Pair (6,1) matched, 2191 inliers, took 7441 ms.\r\n> Pair (6,2) matched, 4316 inliers, took 7705 ms.\r\n> Pair (8,3) rejected, only 1 of 5 low-res matches.\r\n> Pair (5,2) matched, 2853 inliers, took 7737 ms.\r\n> Pair (8,4) rejected, only 0 of 5 low-res matches.\r\n> Pair (8,5) rejected, only 0 of 5 low-res matches.\r\n> Pair (6,3) matched, 2413 inliers, took 7920 ms.\r\n> Pair (5,3) matched, 5290 inliers, took 8056 ms.\r\n> Pair (6,4) matched, 635 inliers, took 8855 ms.\r\n> Pair (5,4) matched, 2032 inliers, took 8922 ms.\r\n> Pair (7,0) matched, 1652 inliers, took 7215 ms.\r\n> Pair (7,1) matched, 3650 inliers, took 7184 ms.\r\n> Pair (7,2) matched, 2010 inliers, took 7691 ms.\r\n> Pair (7,3) matched, 641 inliers, took 7878 ms.\r\n> Pair (8,0) matched, 5396 inliers, took 7006 ms.\r\n> Pair (8,1) matched, 1936 inliers, took 6985 ms.\r\n> Pair (8,2) matched, 494 inliers, took 7304 ms.\r\n> Pair (6,5) matched, 5928 inliers, took 9940 ms.\r\n> Pair (8,7) matched, 3618 inliers, took 8883 ms.\r\n> Pair (8,6) matched, 1127 inliers, took 9024 ms.\r\n> Pair (7,5) matched, 1450 inliers, took 9879 ms.\r\n> Pair (7,6) matched, 4917 inliers, took 9818 ms.\r\n> Found a total of 28 matching image pairs.\r\n> Matching took 17167 ms.\r\n> Saving pre-bundle to file...\r\n> Cleanup: Released 0 embeddings in 0 of 9 views.\r\n> Initializing camera intrinsics...\r\n> Computing feature tracks...\r\n> Propagating track IDs...\r\n> Removing tracks with conflicts... deleted 33 tracks.\r\n> Colorizing tracks...\r\n> Created a total of 32096 tracks.\r\n> Searching for initial pair...\r\n>   Pair   1,  8: 2375 matches, 2348 H-inliers (98%)\r\n>   Pair   2,  7: 2610 matches, 2574 H-inliers (98%)\r\n>   Pair   3,  4: 2530 matches, 2504 H-inliers (98%)\r\n>   Pair   1,  6: 2667 matches, 2645 H-inliers (99%)\r\n>   Pair   3,  6: 3087 matches, 3010 H-inliers (97%)\r\n>   Pair   2,  5: 3360 matches, 3325 H-inliers (98%)\r\n>   Pair   0,  1: 3559 matches, 3546 H-inliers (99%)\r\n>   Pair   7,  8: 3826 matches, 3823 H-inliers (99%)\r\n>   Pair   1,  7: 4049 matches, 4041 H-inliers (99%)\r\n>   Pair   2,  6: 4807 matches, 4799 H-inliers (99%)\r\n>   Pair   1,  2: 5041 matches, 5025 H-inliers (99%)\r\n>   Pair   0,  8: 5506 matches, 5506 H-inliers (100%)\r\n>   Pair   2,  3: 5464 matches, 5447 H-inliers (99%)\r\n>   Pair   4,  5: 2232 matches, 2186 H-inliers (97%)\r\n>   Pair   6,  8: 1485 matches, 1478 H-inliers (99%)\r\n>   Pair   1,  3: 1827 matches, 1676 H-inliers (91%)\r\n>   Pair   3,  5: 5569 matches, 5558 H-inliers (99%)\r\n>   Pair   5,  7: 1944 matches, 1918 H-inliers (98%)\r\n>   Pair   6,  7: 5176 matches, 5175 H-inliers (99%)\r\n>   Pair   0,  4:   10 matches\r\n>   Pair   4,  8:    6 matches\r\n>   Pair   0,  2: 1273 matches, 1151 H-inliers (90%)\r\n>   Pair   0,  7: 2068 matches, 2063 H-inliers (99%)\r\n>   Pair   3,  7: 1211 matches, 1147 H-inliers (94%)\r\n>   Pair   5,  6: 6158 matches, 6156 H-inliers (99%)\r\n>   Pair   1,  5: 1198 matches, 1172 H-inliers (97%)\r\n>   Pair   4,  6: 1016 matches,  969 H-inliers (95%)\r\n>   Pair   1,  4:  198 matches,  192 H-inliers (96%)\r\n>   Pair   4,  7:  193 matches,  191 H-inliers (98%)\r\n>   Pair   3,  8:  140 matches,  127 H-inliers (90%)\r\n>   Pair   0,  3:  157 matches,  117 H-inliers (74%)\r\n>   Pair   5,  8:  185 matches,  177 H-inliers (95%)\r\n>   Pair   0,  5:  123 matches,  115 H-inliers (93%)\r\n>   Pair   2,  4: 1002 matches,  939 H-inliers (93%)\r\n>   Pair   2,  8:  942 matches,  881 H-inliers (93%)\r\n>   Pair   0,  6:  889 matches,  880 H-inliers (98%)\r\n> Searching for pair with best score...\r\n> Error finding initial pair, exiting!\r\n> Try manually specifying an initial pair.\r\n> MVE SfM Reconstruction (built on May 19 2016, 14:36:12)\r\n> SSE2 accelerated matching is enabled.\r\n> SSE3 accelerated matching is enabled.\r\n> Initializing scene with 9 views...\r\n> Initialized 9 views (max ID is 8), took 8ms.\r\n> Computing image features...\r\n> View ID 0001 (2304x1728), 21347 features, took 9668 ms.\r\n> View ID 0002 (2304x1728), 22366 features, took 9888 ms.\r\n> View ID 0008 (2304x1728), 25460 features, took 9892 ms.\r\n> View ID 0000 (2304x1728), 21200 features, took 10007 ms.\r\n> View ID 0003 (2304x1728), 23159 features, took 10325 ms.\r\n> View ID 0004 (2304x1728), 25695 features, took 10376 ms.\r\n> View ID 0007 (2304x1728), 26827 features, took 10441 ms.\r\n> View ID 0006 (2304x1728), 27626 features, took 10554 ms.\r\n> View ID 0005 (2304x1728), 28081 features, took 10649 ms.\r\n> Computed 221761 features for 9 views (average 24640).\r\n> Computing features took 11669 ms.\r\n> Performing feature matching...\r\n> Pair (3,0) rejected, only 3 of 5 low-res matches.\r\n> Pair (4,1) rejected, only 2 of 5 low-res matches.\r\n> Pair (4,0) rejected, only 3 of 5 low-res matches.\r\n> Pair (5,0) rejected, only 1 of 5 low-res matches.\r\n> Pair (1,0) matched, 3341 inliers, took 5599 ms.\r\n> Pair (2,0) matched, 837 inliers, took 5794 ms.\r\n> Pair (2,1) matched, 4855 inliers, took 6031 ms.\r\n> Pair (3,1) matched, 1327 inliers, took 6033 ms.\r\n> Pair (3,2) matched, 5299 inliers, took 6376 ms.\r\n> Pair (4,2) matched, 717 inliers, took 7054 ms.\r\n> Pair (7,4) rejected, only 0 of 5 low-res matches.\r\n> Pair (6,0) matched, 524 inliers, took 7251 ms.\r\n> Pair (4,3) matched, 2426 inliers, took 7291 ms.\r\n> Pair (5,1) matched, 740 inliers, took 7391 ms.\r\n> Pair (6,1) matched, 2191 inliers, took 7441 ms.\r\n> Pair (6,2) matched, 4316 inliers, took 7705 ms.\r\n> Pair (8,3) rejected, only 1 of 5 low-res matches.\r\n> Pair (5,2) matched, 2853 inliers, took 7737 ms.\r\n> Pair (8,4) rejected, only 0 of 5 low-res matches.\r\n> Pair (8,5) rejected, only 0 of 5 low-res matches.\r\n> Pair (6,3) matched, 2413 inliers, took 7920 ms.\r\n> Pair (5,3) matched, 5290 inliers, took 8056 ms.\r\n> Pair (6,4) matched, 635 inliers, took 8855 ms.\r\n> Pair (5,4) matched, 2032 inliers, took 8922 ms.\r\n> Pair (7,0) matched, 1652 inliers, took 7215 ms.\r\n> Pair (7,1) matched, 3650 inliers, took 7184 ms.\r\n> Pair (7,2) matched, 2010 inliers, took 7691 ms.\r\n> Pair (7,3) matched, 641 inliers, took 7878 ms.\r\n> Pair (8,0) matched, 5396 inliers, took 7006 ms.\r\n> Pair (8,1) matched, 1936 inliers, took 6985 ms.\r\n> Pair (8,2) matched, 494 inliers, took 7304 ms.\r\n> Pair (6,5) matched, 5928 inliers, took 9940 ms.\r\n> Pair (8,7) matched, 3618 inliers, took 8883 ms.\r\n> Pair (8,6) matched, 1127 inliers, took 9024 ms.\r\n> Pair (7,5) matched, 1450 inliers, took 9879 ms.\r\n> Pair (7,6) matched, 4917 inliers, took 9818 ms.\r\n> Found a total of 28 matching image pairs.\r\n> Matching took 17167 ms.\r\n> Saving pre-bundle to file...\r\n> Cleanup: Released 0 embeddings in 0 of 9 views.\r\n> Initializing camera intrinsics...\r\n> Computing feature tracks...\r\n> Propagating track IDs...\r\n> Removing tracks with conflicts... deleted 33 tracks.\r\n> Colorizing tracks...\r\n> Created a total of 32096 tracks.\r\n> Searching for initial pair...\r\n>   Pair   1,  8: 2375 matches, 2348 H-inliers (98%)\r\n>   Pair   2,  7: 2610 matches, 2574 H-inliers (98%)\r\n>   Pair   3,  4: 2530 matches, 2504 H-inliers (98%)\r\n>   Pair   1,  6: 2667 matches, 2645 H-inliers (99%)\r\n>   Pair   3,  6: 3087 matches, 3010 H-inliers (97%)\r\n>   Pair   2,  5: 3360 matches, 3325 H-inliers (98%)\r\n>   Pair   0,  1: 3559 matches, 3546 H-inliers (99%)\r\n>   Pair   7,  8: 3826 matches, 3823 H-inliers (99%)\r\n>   Pair   1,  7: 4049 matches, 4041 H-inliers (99%)\r\n>   Pair   2,  6: 4807 matches, 4799 H-inliers (99%)\r\n>   Pair   1,  2: 5041 matches, 5025 H-inliers (99%)\r\n>   Pair   0,  8: 5506 matches, 5506 H-inliers (100%)\r\n>   Pair   2,  3: 5464 matches, 5447 H-inliers (99%)\r\n>   Pair   4,  5: 2232 matches, 2186 H-inliers (97%)\r\n>   Pair   6,  8: 1485 matches, 1478 H-inliers (99%)\r\n>   Pair   1,  3: 1827 matches, 1676 H-inliers (91%)\r\n>   Pair   3,  5: 5569 matches, 5558 H-inliers (99%)\r\n>   Pair   5,  7: 1944 matches, 1918 H-inliers (98%)\r\n>   Pair   6,  7: 5176 matches, 5175 H-inliers (99%)\r\n>   Pair   0,  4:   10 matches\r\n>   Pair   4,  8:    6 matches\r\n>   Pair   0,  2: 1273 matches, 1151 H-inliers (90%)\r\n>   Pair   0,  7: 2068 matches, 2063 H-inliers (99%)\r\n>   Pair   3,  7: 1211 matches, 1147 H-inliers (94%)\r\n>   Pair   5,  6: 6158 matches, 6156 H-inliers (99%)\r\n>   Pair   1,  5: 1198 matches, 1172 H-inliers (97%)\r\n>   Pair   4,  6: 1016 matches,  969 H-inliers (95%)\r\n>   Pair   1,  4:  198 matches,  192 H-inliers (96%)\r\n>   Pair   4,  7:  193 matches,  191 H-inliers (98%)\r\n>   Pair   3,  8:  140 matches,  127 H-inliers (90%)\r\n>   Pair   0,  3:  157 matches,  117 H-inliers (74%)\r\n>   Pair   5,  8:  185 matches,  177 H-inliers (95%)\r\n>   Pair   0,  5:  123 matches,  115 H-inliers (93%)\r\n>   Pair   2,  4: 1002 matches,  939 H-inliers (93%)\r\n>   Pair   2,  8:  942 matches,  881 H-inliers (93%)\r\n>   Pair   0,  6:  889 matches,  880 H-inliers (98%)\r\n> Searching for pair with best score...\r\n> Error finding initial pair, exiting!\r\n> Try manually specifying an initial pair.\r\n\r\nthen I tried `sfmrecon.exe ./img-res --initial-pair=0,0`, it showed\r\n\r\n> Pair (8,0) matched, 5396 inliers, took 6996 ms.\r\n> Pair (8,1) matched, 1936 inliers, took 6956 ms.\r\n> Pair (8,2) matched, 494 inliers, took 7276 ms.\r\n> Pair (6,5) matched, 5928 inliers, took 10308 ms.\r\n> Pair (8,6) matched, 1127 inliers, took 9353 ms.\r\n> Pair (8,7) matched, 3618 inliers, took 9100 ms.\r\n> Pair (7,5) matched, 1450 inliers, took 9945 ms.\r\n> Pair (7,6) matched, 4917 inliers, took 9877 ms.\r\n> Found a total of 28 matching image pairs.\r\n> Matching took 17440 ms.\r\n> Saving pre-bundle to file...\r\n> Cleanup: Released 0 embeddings in 0 of 9 views.\r\n> Initializing camera intrinsics...\r\n> Computing feature tracks...\r\n> Propagating track IDs...\r\n> Removing tracks with conflicts... deleted 33 tracks.\r\n> Colorizing tracks...\r\n> Created a total of 32096 tracks.\r\n> No matches for initial pair\r\n\r\nbut, it did not work. I did not know what causes the problem, no enough match point? But the SfM product by VisualSfM is ok."},"comment":{"url":"https://api.github.com/repos/simonfuhrmann/mve/issues/comments/220557647","html_url":"https://github.com/simonfuhrmann/mve/issues/231#issuecomment-220557647","issue_url":"https://api.github.com/repos/simonfuhrmann/mve/issues/231","id":220557647,"user":{"login":"simonfuhrmann","id":1150723,"avatar_url":"https://avatars.githubusercontent.com/u/1150723?v=3","gravatar_id":"","url":"https://api.github.com/users/simonfuhrmann","html_url":"https://github.com/simonfuhrmann","followers_url":"https://api.github.com/users/simonfuhrmann/followers","following_url":"https://api.github.com/users/simonfuhrmann/following{/other_user}","gists_url":"https://api.github.com/users/simonfuhrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/simonfuhrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonfuhrmann/subscriptions","organizations_url":"https://api.github.com/users/simonfuhrmann/orgs","repos_url":"https://api.github.com/users/simonfuhrmann/repos","events_url":"https://api.github.com/users/simonfuhrmann/events{/privacy}","received_events_url":"https://api.github.com/users/simonfuhrmann/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T09:21:48Z","updated_at":"2016-05-20T09:21:48Z","body":"Automatically determining the initial pair failed because your your views are mainly related by a homography tranformation, which means the scene geometry is basically a plain, or you don't have enough parallax between the views.\r\n\r\nTry manually specifying an initial pair. Which you tried, but specifying a pair with two times the same view is not very useful. Try `--initial-pair=0,3`."}}
{"actor":{"display_login":"simonfuhrmann"}}