This is the code repository implementing the paper "TreePartNet: Neural Decomposition of Point Clouds for 3D Tree Reconstruction".
The project is tested on Ubuntu 18.04 with cuda10.1.
Requirements:
The PointNet++ pytorch implementation is modified from Pointnet2_Pytorch. Install dependencies:
pip install -r requirements.txt
The gravity direction in tree point cloud is down along y-axis! All tree point cloud are normalized. see the code in utils for more details.
After downloading the data and put them in data folder, the foliage segmentation network can be trained as
python train_foliage.py
and the TreePartNet can be trained using
python train.py
The hyperparameters can be modified in these 2 python files.
The trained checkpoints can be found in dir fckpt and ckpt. To predict foliage segmentation on test data set above:
python test_foliage.py
and neural decomposition:
python test.py
If you find our work useful in your research, please cite us using the following BibTeX entry.
@article{TreePartNet21,
title={TreePartNet: Neural Decomposition of Point Clouds for 3D Tree Reconstruction},
author={Yanchao Liu and Jianwei Guo and Bedrich Benes and Oliver Deussen and Xiaopeng Zhang and Hui Huang},
journal={ACM Transactions on Graphics (Proceedings of SIGGRAPH ASIA)},
volume={40},
number={6},
pages={232:1--232:16},
year={2021},
}