{"action":"created","issue":{"url":"https://api.github.com/repos/poparteu/openMVG/issues/134","repository_url":"https://api.github.com/repos/poparteu/openMVG","labels_url":"https://api.github.com/repos/poparteu/openMVG/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/poparteu/openMVG/issues/134/comments","events_url":"https://api.github.com/repos/poparteu/openMVG/issues/134/events","html_url":"https://github.com/poparteu/openMVG/issues/134","id":136073792,"number":134,"title":"Conflict between options -f and -k in openMVG_main_SfMInit_ImageListing","user":{"login":"caymard","id":5090050,"avatar_url":"https://avatars.githubusercontent.com/u/5090050?v=3","gravatar_id":"","url":"https://api.github.com/users/caymard","html_url":"https://github.com/caymard","followers_url":"https://api.github.com/users/caymard/followers","following_url":"https://api.github.com/users/caymard/following{/other_user}","gists_url":"https://api.github.com/users/caymard/gists{/gist_id}","starred_url":"https://api.github.com/users/caymard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caymard/subscriptions","organizations_url":"https://api.github.com/users/caymard/orgs","repos_url":"https://api.github.com/users/caymard/repos","events_url":"https://api.github.com/users/caymard/events{/privacy}","received_events_url":"https://api.github.com/users/caymard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/poparteu/openMVG/labels/in%20progress","name":"in progress","color":"bfe5bf"},{"url":"https://api.github.com/repos/poparteu/openMVG/labels/lead:IRT","name":"lead:IRT","color":"f7c6c7"},{"url":"https://api.github.com/repos/poparteu/openMVG/labels/prio:major","name":"prio:major","color":"d7e102"},{"url":"https://api.github.com/repos/poparteu/openMVG/labels/type:bug","name":"type:bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"caymard","id":5090050,"avatar_url":"https://avatars.githubusercontent.com/u/5090050?v=3","gravatar_id":"","url":"https://api.github.com/users/caymard","html_url":"https://github.com/caymard","followers_url":"https://api.github.com/users/caymard/followers","following_url":"https://api.github.com/users/caymard/following{/other_user}","gists_url":"https://api.github.com/users/caymard/gists{/gist_id}","starred_url":"https://api.github.com/users/caymard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caymard/subscriptions","organizations_url":"https://api.github.com/users/caymard/orgs","repos_url":"https://api.github.com/users/caymard/repos","events_url":"https://api.github.com/users/caymard/events{/privacy}","received_events_url":"https://api.github.com/users/caymard/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/poparteu/openMVG/milestones/8","html_url":"https://github.com/poparteu/openMVG/milestones/2016_02","labels_url":"https://api.github.com/repos/poparteu/openMVG/milestones/8/labels","id":1513670,"number":8,"title":"2016_02","description":"","creator":{"login":"fabiencastan","id":153585,"avatar_url":"https://avatars.githubusercontent.com/u/153585?v=3","gravatar_id":"","url":"https://api.github.com/users/fabiencastan","html_url":"https://github.com/fabiencastan","followers_url":"https://api.github.com/users/fabiencastan/followers","following_url":"https://api.github.com/users/fabiencastan/following{/other_user}","gists_url":"https://api.github.com/users/fabiencastan/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiencastan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiencastan/subscriptions","organizations_url":"https://api.github.com/users/fabiencastan/orgs","repos_url":"https://api.github.com/users/fabiencastan/repos","events_url":"https://api.github.com/users/fabiencastan/events{/privacy}","received_events_url":"https://api.github.com/users/fabiencastan/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":12,"state":"open","created_at":"2016-01-18T22:40:31Z","updated_at":"2016-02-24T14:17:34Z","due_on":"2016-03-01T00:00:01Z","closed_at":null},"comments":2,"created_at":"2016-02-24T14:17:34Z","updated_at":"2016-02-24T14:28:53Z","closed_at":null,"body":"When we set a value to the option `-k` (aka `--intrinsics`), the program throw an error:\r\n\r\n> Cannot combine -f and -k options\r\n\r\nThis, even if we did not use the `-f` option (aka `--focal`).\r\n\r\nFix will be done in branch `popart_fix134`."},"comment":{"url":"https://api.github.com/repos/poparteu/openMVG/issues/comments/188276933","html_url":"https://github.com/poparteu/openMVG/issues/134#issuecomment-188276933","issue_url":"https://api.github.com/repos/poparteu/openMVG/issues/134","id":188276933,"user":{"login":"caymard","id":5090050,"avatar_url":"https://avatars.githubusercontent.com/u/5090050?v=3","gravatar_id":"","url":"https://api.github.com/users/caymard","html_url":"https://github.com/caymard","followers_url":"https://api.github.com/users/caymard/followers","following_url":"https://api.github.com/users/caymard/following{/other_user}","gists_url":"https://api.github.com/users/caymard/gists{/gist_id}","starred_url":"https://api.github.com/users/caymard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caymard/subscriptions","organizations_url":"https://api.github.com/users/caymard/orgs","repos_url":"https://api.github.com/users/caymard/repos","events_url":"https://api.github.com/users/caymard/events{/privacy}","received_events_url":"https://api.github.com/users/caymard/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T14:28:53Z","updated_at":"2016-02-24T14:28:53Z","body":"It was fixed by @fcastan in 0c498f1c5141c47c005267d29c884a0b35f4b858. I did not saw it because I was working on my branch `popart_sfmstats`.\r\n\r\nThis [line](https://github.com/poparteu/openMVG/blob/0c498f1c5141c47c005267d29c884a0b35f4b858/src/software/SfM/main_SfMInit_ImageListing.cpp#L240) check if `userFocalLengthPixel != -1.0`, i.e the value by default if option `--focal` is not used. This way, no error anymore when you use `-k` and not `-f`."}}