You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempted to use COLMAP in ODM instead of OpenSfM, I performed undistortion on the reconstructed data and exported the undistorted reconstruction files to the NVM format. However, I noticed that the undistortion results differed from those of OpenSfM, and the final digital orthophoto map (DOM) was incorrect. Upon investigation, I realized that COLMAP's undistorted camera model includes a principal point, whereas OpenSfM assumes the principal point to be the image center.
To address this, I modified the undistortion code in COLMAP to output images without the (cx, cy) offset, as shown below:
// Copy principal point parameters.
undistorted_camera.SetPrincipalPointX(camera.Width() / 2.0);
undistorted_camera.SetPrincipalPointY(camera.Height() / 2.0);
While the resulting DOM appeared visually correct, its precision was not as high as OpenSfM's pipeline. Are there any additional steps I should consider when integrating COLMAP into ODM?
Thanks for the report, but it looks like you didn't include a copy of your dataset for us to reproduce this issue? Please make sure to follow our issue guidelines 🙏
p.s. I'm just an automated script, not a human being.
When I attempted to use COLMAP in ODM instead of OpenSfM, I performed undistortion on the reconstructed data and exported the undistorted reconstruction files to the NVM format. However, I noticed that the undistortion results differed from those of OpenSfM, and the final digital orthophoto map (DOM) was incorrect. Upon investigation, I realized that COLMAP's undistorted camera model includes a principal point, whereas OpenSfM assumes the principal point to be the image center.
To address this, I modified the undistortion code in COLMAP to output images without the (cx, cy) offset, as shown below:
While the resulting DOM appeared visually correct, its precision was not as high as OpenSfM's pipeline. Are there any additional steps I should consider when integrating COLMAP into ODM?
The commands I used are as follows:
Note: I am using a forked version of COLMAP 3.8 with GPS constraints.
The text was updated successfully, but these errors were encountered: