SimpleTreeHeight

TREE HEIGHT EXTRACTION IN SPARSE SCENES BASED ON UAV REMOTE SENSING

This is the offical python implementation of the paper "Tree Height Extraction in Sparse Scenes Based on UAV Remote Sensing," by Y. Liu, M. Xing, X. Zhou, Y. Song and D. Wang. For more information, checkout the IGARSS2020 oral paper.

A simple algorithm for extracting tree height in sparse scene from point cloud data.

Requirements

  • python3
  • pip install numpy scipy matplotlib plotly
  • python-pcl

If you have python-pcl installation problems, you can try the ".whl" file in the floder "python-pcl/"

Tested Environment

I have tested the code in the following environment´╝Ü

  • Windows10-64bit
  • Anaconda python3.7

Make sure anaconda has been installed on your windows computer, use the following command:

conda create -n py37 python=3.7
conda activate py37
pip install python_pcl-0.3.0rc1-cp37-cp37m-win_amd64.whl
conda install -c plotly plotly-orca==1.2.1 psutil requests
pip install numpy scipy matplotlib

ImportError: DLL load failed

If you meet "ImportError: DLL load failed" problem when you try to "import pcl", that was because "OpenNI2.dll" missing.

To fix this, I provide you with "python-pcl/OpenNI2.dll", just copy "OpenNI2.dll" into folder "YOUR_ANACONDA3_FLODER\envs\py37\lib\site-packages\pcl".

Run

python main.py

Citation

If you use this code or ideas from the paper for your research, please cite our paper:

@inproceedings{liu2020tree,
  title={Tree Height Extraction in Sparse Scenes Based on UAV Remote Sensing},
  author={Liu, Yuanzhong and Xing, Minfeng and Zhou, Xiaozhe and Song, Yang and Wang, Danyang},
  booktitle={IGARSS 2020-2020 IEEE International Geoscience and Remote Sensing Symposium},
  pages={6499--6502},
  year={2020},
  organization={IEEE}
}

GitHub

https://github.com/yzfly/SimpleTreeHeight