openalea.phenomenal.segmentation.plane_interception.connected_voxel_with_point

openalea.phenomenal.segmentation.plane_interception.connected_voxel_with_point(voxels_point, voxels_size, src_voxel_point)[source]

Return connected voxels point with src_voxel_point based on 26 neighboring voxel grid, with a size of voxels_size.

WARNING ! Work only with connected voxel, and voxel grid

Parameters:
  • voxels_point – ndarray of voxel grid point

  • voxels_size – float voxel size

  • src_voxel_point – position x, y, z of voxel point