openalea.phenomenal.tracking.median_stem.normal_stem_shape

openalea.phenomenal.tracking.median_stem.normal_stem_shape(polylines, dist_threshold=100)[source]

From a list of polylines representing stem shapes: check if each polyline has a normal shape compared to the rest.

Parameters:
  • polylines (list) – list of 3D polylines

  • dist_threshold (float) – a polyline whose hausdorff distance with the median polyline is above this threshold is considered as abnormal

Returns:

True (= normal) or False (= abnormal) for each polyline

Return type:

list of bool