openalea.phenomenal.segmentation.skeleton_phenomenal.find_base_stem_position

openalea.phenomenal.segmentation.skeleton_phenomenal.find_base_stem_position(voxels_position, voxels_size, neighbor_size=45)[source]

Function to find the base stem position of the plant from the voxels center positions list.

Voxels position are converted in 3d image to find arround the x and y axis the points with the minimum value in a range of neighbor_side.

Parameters:
  • voxels_position (ndarray) – 3d voxels center positions [(x, y, z), …]

  • voxels_size (int) – Voxel size diameter

  • neighbor_size (int, optional) – Radius size in mm to search the base stem position

Returns:

base_stem_position

Return type:

3-tuple