openalea.phenomenal.tracking.leaf_extension.compute_extension
- openalea.phenomenal.tracking.leaf_extension.compute_extension(polylines_phm, polylines_sk, seg_length=50.0, dist_threshold=30.0)[source]
- Parameters:
polylines_phm – list list of 2D projections of 3D leaf polylines.
polylines_sk – list list of 2D skeleton polylines.
seg_length – float length (px) of the end segment of a phenomenal phm_leaf polyline that is compared with skeleton.
dist_threshold – float hausdorff distance threshold (px) between polylines of both types to associate them.
Returns: