Fyusion / LLFF

Code release for Local Light Field Fusion at SIGGRAPH 2019
https://fyusion.com/LLFF
GNU General Public License v3.0
1.55k stars 250 forks source link

How to obtain bounds info from custom dataset to create poses_bounds.npy? #80

Open andreamigliorati opened 1 year ago

andreamigliorati commented 1 year ago

I apologize if the question is trivial, I'm a novice in the field. I want to do experiments on a custom dataset. I understand from https://github.com/Fyusion/LLFF#using-your-own-poses-without-running-colmap how to fill up the 1x17 vector with the required values up to the 15th entry, but I'm having trouble figuring out how to obtain the last two numbers, i.e. close/far depth values. How can I calculate or obtain those two last values? Thanks in advance

EarltShirt commented 7 months ago

@andreamigliorati did you found anything ?

andreamigliorati commented 6 months ago

I haven't sorry!

EarltShirt commented 6 months ago

I assume it's directly located in the output/scene/colmap_outputs_converted/depths folder

ArisChe commented 5 months ago

I was looking for the same answer to this question. https://github.com/AIBluefisher/dbarf Here is a script that I think it does the job: scripts.colmap_model_to_poses_bounds