{"action":"created","issue":{"url":"https://api.github.com/repos/openMVG/openMVG/issues/650","repository_url":"https://api.github.com/repos/openMVG/openMVG","labels_url":"https://api.github.com/repos/openMVG/openMVG/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/openMVG/openMVG/issues/650/comments","events_url":"https://api.github.com/repos/openMVG/openMVG/issues/650/events","html_url":"https://github.com/openMVG/openMVG/issues/650","id":181969123,"number":650,"title":"openMVG_main_SfMInit_ImageListing options that I don't see covered in the docs","user":{"login":"zharvey-welltok","id":20440748,"avatar_url":"https://avatars3.githubusercontent.com/u/20440748?v=3","gravatar_id":"","url":"https://api.github.com/users/zharvey-welltok","html_url":"https://github.com/zharvey-welltok","followers_url":"https://api.github.com/users/zharvey-welltok/followers","following_url":"https://api.github.com/users/zharvey-welltok/following{/other_user}","gists_url":"https://api.github.com/users/zharvey-welltok/gists{/gist_id}","starred_url":"https://api.github.com/users/zharvey-welltok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zharvey-welltok/subscriptions","organizations_url":"https://api.github.com/users/zharvey-welltok/orgs","repos_url":"https://api.github.com/users/zharvey-welltok/repos","events_url":"https://api.github.com/users/zharvey-welltok/events{/privacy}","received_events_url":"https://api.github.com/users/zharvey-welltok/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-10-10T09:18:56Z","updated_at":"2017-04-12T14:17:14Z","closed_at":"2016-10-19T17:41:16Z","body":"Running `openMVG_main_SfMInit_ImageListing` without options produces the following usage documentation:\n\n```\nUsage: /home/vagrant/openMVG_Build/Linux-x86_64-RELEASE/openMVG_main_SfMInit_ImageListing\n[-i|--imageDirectory]\n[-d|--sensorWidthDatabase]\n[-o|--outputDirectory]\n[-f|--focal] (pixels)\n[-k|--intrinsics] Kmatrix: \"f;0;ppx;0;f;ppy;0;0;1\"\n[-c|--camera_model] Camera model type:\n     1: Pinhole\n     2: Pinhole radial 1\n     3: Pinhole radial 3 (default)\n     4: Pinhole brown 2\n     5: Pinhole with a simple Fish-eye distortion\n[-g|--group_camera_model]\n     0-> each view have it's own camera intrinsic parameters,\n     1-> (default) view can share some camera intrinsic parameters\n```\n\nI have several questions about these options that do not appear to be documented anywhere:\n#### `sensorWidthDatabase`\n\nI see that `tutorial_demo.py` uses a \"sensor database\" file located at `openMVG/src/exif/sensor_width_database/sensor_width_database.txt`.\n\n**Should this default `sensor_width_database.txt` file _always_ be used, or are there times when you would want to use a different one?** When would you ever want to generate your own custom database file, and why?\n#### `focal`\n\n**Is this simply the number of pixels in the camera that was used to take all the input images?** What if different cameras were used to take different images (from different angles)?\n#### `intrinsics` and `group_camera_model`\n\n**Is the format/structure of the `intrinsics` parameter documented anywhere?** The given example of `Kmatrix: \"f;0;ppx;0;f;ppy;0;0;1\"` doesn't really help me out at all. Also, the existence of `group_camera_model` implies (to me) that the `intrinsics` option will be different depending on whether each image has its own camera intrinsic params, or whether all images share a single set of params.\n#### `camera_model`\n\n**Is there a way to auto-detect camera model type, perhaps via EXIF data?** Otherwise, is there any way to manually determine what type of model the camera is? I guess this question largely stems from the fact that I'm not a photographer (:-)) and I have no experience with photography. Perhaps camera model is obvious to anyone even moderately experienced w/ photography, but I'm struggling to figure out how I can determine which option to choose (`1 - 5`) for this option.\n"},"comment":{"url":"https://api.github.com/repos/openMVG/openMVG/issues/comments/293591183","html_url":"https://github.com/openMVG/openMVG/issues/650#issuecomment-293591183","issue_url":"https://api.github.com/repos/openMVG/openMVG/issues/650","id":293591183,"user":{"login":"maryam04","id":27357303,"avatar_url":"https://avatars3.githubusercontent.com/u/27357303?v=3","gravatar_id":"","url":"https://api.github.com/users/maryam04","html_url":"https://github.com/maryam04","followers_url":"https://api.github.com/users/maryam04/followers","following_url":"https://api.github.com/users/maryam04/following{/other_user}","gists_url":"https://api.github.com/users/maryam04/gists{/gist_id}","starred_url":"https://api.github.com/users/maryam04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maryam04/subscriptions","organizations_url":"https://api.github.com/users/maryam04/orgs","repos_url":"https://api.github.com/users/maryam04/repos","events_url":"https://api.github.com/users/maryam04/events{/privacy}","received_events_url":"https://api.github.com/users/maryam04/received_events","type":"User","site_admin":false},"created_at":"2017-04-12T14:17:14Z","updated_at":"2017-04-12T14:17:14Z","body":"Hello , \r\n\r\nI'm working on the 3D reconstruction and i have some questions, it's about the options in the tutorial_out and Global_pipeline :\r\n\r\n1. -f which value it takes ?\r\n\r\n2. what's the meaning of [ \"-n\" , \"ANNL2\" ] ?\r\n\r\n3. what's the meaning of [ , \"-r\", \"0.8\", \"-g\", \"e\" ] ?\r\n\r\n4. \"0.8\", the value of what ?\r\n\r\nThank you :)\r\n"}}
{"actor":{"display_login":"maryam04"}}