{"action":"created","issue":{"url":"https://api.github.com/repos/openMVG/openMVG/issues/494","repository_url":"https://api.github.com/repos/openMVG/openMVG","labels_url":"https://api.github.com/repos/openMVG/openMVG/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/openMVG/openMVG/issues/494/comments","events_url":"https://api.github.com/repos/openMVG/openMVG/issues/494/events","html_url":"https://github.com/openMVG/openMVG/issues/494","id":138721042,"number":494,"title":"Does resizing images impact on the results?","user":{"login":"blackdeng","id":853286,"avatar_url":"https://avatars.githubusercontent.com/u/853286?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdeng","html_url":"https://github.com/blackdeng","followers_url":"https://api.github.com/users/blackdeng/followers","following_url":"https://api.github.com/users/blackdeng/following{/other_user}","gists_url":"https://api.github.com/users/blackdeng/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdeng/subscriptions","organizations_url":"https://api.github.com/users/blackdeng/orgs","repos_url":"https://api.github.com/users/blackdeng/repos","events_url":"https://api.github.com/users/blackdeng/events{/privacy}","received_events_url":"https://api.github.com/users/blackdeng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openMVG/openMVG/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-05T20:59:18Z","updated_at":"2016-03-09T16:03:33Z","closed_at":null,"body":"I have 23 images of 5184*3456 input into the incremental pipeline but it always stops when computing features. All commands use default parameters.\r\n\r\n`1. Intrinsics analysis`\r\n`You called :`\r\n`utilities\\WIN\\openMVG_main_SfMInit_ImageListing`\r\n`--imageDirectory D:\\NERC\\Forensic Project\\Pictures1`\r\n`--sensorWidthDatabase utilities\\sensor_width_camera_database.txt`\r\n`--outputDirectory D:\\NERC\\Forensic Project\\Pictures1\\outputs\\matches`\r\n`--focal -1`\r\n`--intrinsics`\r\n`--camera_model 3`\r\n`--group_camera_model 1`\r\n`- Image listing -`\r\n`0%   10   20   30   40   50   60   70   80   90   100%`\r\n`|----|----|----|----|----|----|----|----|----|----|`\r\n`***************************************************`\r\n`SfMInit_ImageListing report:`\r\n`listed #File(s): 69`\r\n`usable #File(s) listed in sfm_data: 23`\r\n\r\n`2. Compute features`\r\n`You called :`\r\n`utilities\\WIN\\openMVG_main_ComputeFeatures`\r\n`--input_file D:\\NERC\\Forensic Project\\Pictures1\\outputs\\matches\\sfm_data.json`\r\n`--outdir D:\\NERC\\Forensic Project\\Pictures1\\outputs\\matches`\r\n`--describerMethod SIFT`\r\n`--upright 0`\r\n`--describerPreset NORMAL`\r\n`--force 1`\r\n`- EXTRACT FEATURES -`\r\n`0%   10   20   30   40   50   60   70   80   90   100%`\r\n`|----|----|----|----|----|----|----|----|----|----|`\r\n\r\nAt this point an error window pops up, saying that \"openMVG_main_ComputeFeatures.exe has stopped working. A problem caused the program to stop working correctly, Please close the program.\"\r\n\r\nI'm not sure why this happens but I tried resizing the images to 3000*2000 and it worked just fine. Although the generated point cloud looks ok but I don't know changing the input images resolution will harm the accuracy or not. By accuracy I only care about the relative positions of the points because I will scale the point cloud later on.\r\n\r\nI have this concern because that OpenMVG uses camera sensor size to calculate the focal length in pixel using the equation: focal_pix = max(w_pix,h_pix) ∗ focal_mm / ccdw_mm. If I resize the input images the w_pix and h_pix will be changed, and the focal_pix will be changed consequently. I also don't know if there are any other parameters being affected by resizing the images."},"comment":{"url":"https://api.github.com/repos/openMVG/openMVG/issues/comments/194364610","html_url":"https://github.com/openMVG/openMVG/issues/494#issuecomment-194364610","issue_url":"https://api.github.com/repos/openMVG/openMVG/issues/494","id":194364610,"user":{"login":"blackdeng","id":853286,"avatar_url":"https://avatars.githubusercontent.com/u/853286?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdeng","html_url":"https://github.com/blackdeng","followers_url":"https://api.github.com/users/blackdeng/followers","following_url":"https://api.github.com/users/blackdeng/following{/other_user}","gists_url":"https://api.github.com/users/blackdeng/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdeng/subscriptions","organizations_url":"https://api.github.com/users/blackdeng/orgs","repos_url":"https://api.github.com/users/blackdeng/repos","events_url":"https://api.github.com/users/blackdeng/events{/privacy}","received_events_url":"https://api.github.com/users/blackdeng/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T16:03:33Z","updated_at":"2016-03-09T16:03:33Z","body":"About the FocalPlaneXResolution, it normally has two numbers, for example, (5184000, 905). Both numbers are involved in the focal length calculation. However, I can see that the numbers are somehow related to the image width, as the first number is 1000 times of the width, so will the two numbers of the FocalPlaneXResolution change with the resized width?"}}