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 #20

Open
caiyongqi opened this issue Oct 31, 2022 · 3 comments
Open

depth #20

caiyongqi opened this issue Oct 31, 2022 · 3 comments

Comments

@caiyongqi
Copy link

Hi. In the DTU dataset, I found that there is a big difference between the depth map estimated using colomap (you provided) and the ground truth depth map, have you checked this?

scan1, view 0, 300x400:
ground truth depth map:
image
depth map estimated using colomap:
image

Could you check it? Thanks!!!

@liuyuan-pal
Copy link
Owner

Does this refer to the training set of NeuRay? As for the DTU training dataset, I adopt the processed dataset from PixelNeRF and run the colmap based on this processed version. I'm not sure what cause the difference. It may be caused by the normalization of scale and offset. Since COLMAP indeed will produce some incorrect depth in test time, it would be better to let the model receive these incorrect depth values in training.

@caiyongqi
Copy link
Author

Does this refer to the training set of NeuRay? As for the DTU training dataset, I adopt the processed dataset from PixelNeRF and run the colmap based on this processed version. I'm not sure what cause the difference. It may be caused by the normalization of scale and offset. Since COLMAP indeed will produce some incorrect depth in test time, it would be better to let the model receive these incorrect depth values in training.

OK, Thanks! Could you update how to use colomap to get depth map (code or document) if you have time? I believe it will be useful.

@liuyuan-pal
Copy link
Owner

You may refer to the document of COLMAP. It already provides patch_match_stereo to estimate depth maps and you can read these depth maps from the provided python function like

return read_array(f'{self.root_dir}/colmap_depth/{img_id}.jpg.geometric.bin')

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

2 participants