Skip to content

codebydant/canopyMissing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Percent canopy missing

C++ algorithm to estimate percent canopy missing of a stem tree using PCL 1.9.1 and OpenCV 4.1.0

Input file structure support

  • .pcd

Output file structure .txt

  • percentage_canopy_missing %

Example







Compilation

  • Set "YOUR OWN" PCL Build DIR in CMakeList.txt e.g: /opt/pcl-1.9.1/build and save it.
  • Set "YOUR OWN" OpenCV Build DIR in CMakeList.txt e.g: /opt/opencv-4.1.0/build and save it.
  • Create a "build" folder

in the main folder:

- cd build  
- cmake ../src/
- make

Test

cd /build/bin
./canopyMissing <pcd file> <output dir>