dcharatan / flowmap

[3DV 2025] Code for "FlowMap: High-Quality Camera Poses, Intrinsics, and Depth via Gradient Descent" by Cameron Smith*, David Charatan*, Ayush Tewari, and Vincent Sitzmann
https://cameronosmith.github.io/flowmap/
MIT License
893 stars 87 forks source link

About frames selection #36

Closed Guangyun-Xu closed 5 months ago

Guangyun-Xu commented 5 months ago

Where is the code for selecting frames?

image

dcharatan commented 5 months ago

The code is here. We didn't put a lot of effort into making this a good heuristic for subsampling frames though, so you might find that subsampling uniformly/with a different strategy gives better results. In general, I would recommend inspecting the input to FlowMap to ensure that frames are evenly spaced (in terms of perceived movement/optical flow), since that works best.