Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.32 KB

README.rst

File metadata and controls

38 lines (23 loc) · 1.32 KB

lidar_leaf_properties

This is a library for extracting structural properties about tree leaves represented by point clouds.

The lidar_leaf_properties library is being developed as part of my PhD research, supervised by Dr. Mat Disney, in the Department of Geography at University College London (UCL). My research is funded through Science Without Borders from the National Council of Technological and Scientific Development (10.13039/501100003593) – Brazil (Process number 233849/2014-9).

Any questions or suggestions, feel free to contact me using one of the following e-mails: [email protected] or [email protected]

To-Do: - Add documentation - Add tests

Installation

To install the package, run the following command in the terminal:

python setup.py install

Usage

To use the package, run the following command in the terminal:

import leafproperties

# Load the point cloud
pc = np.loadtxt('path/to/pointcloud.txt')[:, :3]  # Load the point cloud and keep only the x, y, and z columns

leaf_angles = leafproperties.leaf_angle.angle_from_points(pc, knn=10)