-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate depth image ? #28
Comments
The depth maps are only for evaluation. When you run your own data, you do not need them. |
Thanks for your reply. By the way ,I'm wondering why the sc get from load_llff_data need to multiply bds.min() Line 270 in 2851119
I think it only corresponds to the initial image resolution and the image resolution sent into nerf network . And it's also different from the oringinal Nerf repo. |
Oh, here is the same with original NeRF repo https://github.com/bmild/nerf/blob/18b8aebda6700ed659cb27a0c348b737a5f6ab60/load_llff.py#L257. I think it means to use bounds to normalize 3D space. |
Thanks a lot, Maybe I accidently changed my code . By the way , I'm have no idea about what is the exact meaning of bds. Does it represents the min and the max depth of the scene ? I try to google for the anwser ,but I haven't found it .It will be very greateful for your response. |
Indeed, I do not specifically check this variable. I guess it means the min and max bounds of the scene. |
Hello! I want to know do you only use 3D coordinates instead of 5D coordinates? because in your run.sh I can't see use_viewdirs your run.sh are as follow: |
Same to NeRF, we use 5D coordinates. use_viewdirs parameter is written in configs/$SCENE.txt. |
Ok, Thanks! I want to know what this function "def cal_neighbor_idx(poses, i_train, i_test)" do? I want to use my dataset to make a test, but I don't know what this function do. So I hope you can reply me. Thanks again! |
I think cal_neighbor_idx is used to calculate the closest traing poses with each testing poses ,It is used to supply depth prior for testing/unseen views. |
My results were also bad.But when we do the test, we do not need the depth of the test set, The parameters we need are as follows: |
My results were also bad.But when we do the test, we do not need the depth of the test set, The parameters we need are as follows: |
I think this is may caused by : If you want to get the depth prior of i view by projecting j view depth prior to i view, you may get many holes since not all pixels in i view have the correspondence in j view. I admit the current solution is just a approximation. You may try other methods and if you succeed please feel free to let me know~ |
Since we cannot get depth prior for the unseen view, we directly use the closest neighboring view's depth prior. And cal_neighbor_idx is to find this neighboring view. |
Hello , Thanks for your great work.
However ,I don't know how to generate depth image for my own data.Have you provided the code to generate depth image? How do you generate the depth map, render from the mesh.ply in the scannet ?
The text was updated successfully, but these errors were encountered: