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
How to get points.npy #16
Comments
Hi, the Colab demo doesn't use the background regularization. It's not a super crucial component of the system, so I would skip it unless you want to compute some quantitative metrics. If you want to generate it, you'll have to run COLMAP with a background mask or otherwise filter out the pointcloud to only contain background points.
|
Is there any option of avoiding the points.npy file? |
Just set TrainConfig.use_background_loss = False in the config |
Hi, @keunhong |
I am not sure about NeRfies but in instant ngp, the point cloud was rotated 90 degrees around the x and z axis. It was registered on blender mesh. I have done this on CloudCompare. |
Hi, thanks, @razaghmanesh |
points.npy are just in world coordinate i.e., the coordinates from COLMAP. |
The problem of non-registration is due to the difference between Blender's coordinate system and other coordinate systems such as Opencv, Colmap, etc. |
Hi, @keunhong
|
Hi, @razaghmanesh
|
Hi @keunhong, I managed to create the masks using deeplab. Can you explain briefly how I can use these masks to generate the points.npy file using colmap? What steps should I take to create the background points? I hope that you can help me here. |
I guess you pass the masks to colmap like described here https://colmap.github.io/faq.html#mask-image-regions. My guess is that you have to read out the points from colmap's points3D.bin. This could be a good pointer to start from: https://github.com/colmap/colmap/blob/ff8842e7d9e985bd0dd87169f61d5aaeb309ab32/scripts/python/read_write_model.py |
Through points3D.bin obtained by data processing script of colmap reconstruction. The .bin file is corresponding to the data "./data/hypernerf/virg/vrig-chicken/points3D. npy"? |
Sorry it's a little late but that's exactly it. I managed it in two steps. First to convert the binary to text using the colmap model converter and then load the text file using numpy and export it as .npy file. |
I noticed that points.npy is included in the dataset for background regularization. But it can't be created in the demo of "Process a video into a Nerfie dataset".
So how can I get it?
The text was updated successfully, but these errors were encountered: