openalea.phenomenal.tracking.leaf_extension.leaf_extension
- openalea.phenomenal.tracking.leaf_extension.leaf_extension(phm_seg, binaries, projections)[source]
- Parameters:
phm_seg – openalea.phenomenal.object.voxelSegmentation.VoxelSegmentation 3D segmentation of a maize plant
binaries – dict {side angle : binary image}. each image pixel equals 0 (background) or 255 (plant).
projections – dict {side angle: 3D->2D projection function}
- Returns: openalea.phenomenal.object.voxelSegmentation.VoxelSegmentation
phm_seg object with a new ‘pm_length_extended’ key in the .info attribute of each leaf.