naver / dust3r

DUSt3R: Geometric 3D Vision Made Easy
https://dust3r.europe.naverlabs.com/
Other
4.65k stars 515 forks source link

Enforcing same focal length for all cameras #77

Open maurock opened 2 months ago

maurock commented 2 months ago

Thank you very much for this awesome repository! I was wondering: is there is a way to enforce the same focals during the optimisation process? Often, the camera used for a given batch of images is the same, so it would be beneficial to enforce the same focal length for all cameras, instead of optimising for different focals. This actually applies to the entire intrinsics matrix. Thank you!

Davidyao99 commented 2 months ago

Hi, I needed the same feature and implemented myself by making some slight changes to PointCloudOptimizer. I have opened a pull request here from my fork of latest dust3r. This might be useful for you too!

https://github.com/naver/dust3r/pull/94

maurock commented 2 months ago

Hi @Davidyao99 , thank you very much! It's a very useful feature