Skip to content
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

Depth GT #107

Closed
BingCS opened this issue Apr 27, 2021 · 7 comments
Closed

Depth GT #107

BingCS opened this issue Apr 27, 2021 · 7 comments

Comments

@BingCS
Copy link

BingCS commented Apr 27, 2021

Hi, I just want to confirm that the depth images in the testing dataset of nerf_synthetic are the ground truth or not?

If they are ground truth, could you please also release the depth images for the training and validation datasets?

Many Thanks!

@tancik
Copy link
Collaborator

tancik commented Apr 30, 2021

The depth images were rendered from blender. We never used them in the project so I can't vouch for their correctness (in fact they were included in the folder by mistake but we decided to keep them incase someone found them useful). We have no plans on rendering depth images for the training and validation datasets.

@BingCS
Copy link
Author

BingCS commented May 3, 2021

Thanks for your kind reply. Which version of the Blender do you use? @tancik

@tancik
Copy link
Collaborator

tancik commented May 3, 2021

I believe I was using 2.82 at the time.

@BingCS
Copy link
Author

BingCS commented May 3, 2021

Great thanks!

@ray8828
Copy link

ray8828 commented Jan 3, 2023

FYI: you could check the blender file bpy script to find the depth mapping, unfortunately, the lego far value here is not 6.0, but 8.0 as suggested in the blender file, this will align the 8bit depth
image

@Szy-Young
Copy link

FYI: you could check the blender file bpy script to find the depth mapping, unfortunately, the lego far value here is not 6.0, but 8.0 as suggested in the blender file, this will align the 8bit depth image

Hi @ray8828 , your visualization looks great!
Could you plz help me take a look if my parsing for depth map in "Lego" is correct? Thanks!

import cv2
import numpy as np

depth_file = ....
depth = cv2.imread(depth_file, 0)
near = 2.
far = 8.
depths = near + (far - near) * (1. - (depth / 255.).astype(np.float32))

@Jiahao-Ma
Copy link

@ray8828
Could you please provide some details about how to generate points cloud using the depth map you mention? I have tried lots methods, but still fail to reconstruct the point clouds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants