ErlerPhilipp / points2surf

Learning Implicit Surfaces from Point Clouds (ECCV 2020)
https://www.cg.tuwien.ac.at/research/publications/2020/erler-2020-p2s/
MIT License
463 stars 48 forks source link

How to get query points while reconstructing #16

Closed QtEngineer closed 2 years ago

QtEngineer commented 2 years ago

Hi, I noticed the number of query point while constructing is highly more than 2000,about 50000.Does it equals to total amount of points from input npz file?

ErlerPhilipp commented 2 years ago

Hi @QtEngineer,

to be absolutely clear, there is a big difference between the number of query points while training and while reconstructing an object. During training, it's just some arbitrary constant (I think 10k). During reconstruction, it depends on the number of voxels near any point of the input point cloud. For more details, see the section about sign propagation in the paper and the code around line 304 of data_loader.py: https://github.com/ErlerPhilipp/points2surf/blob/2af6e0facf58422ed12e0c676c70199cd0dfbb43/source/data_loader.py#L304

QtEngineer commented 2 years ago

Thanks a lot !