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

WARNING ! Work only with connected voxel, and voxel grid

Parameters:
  • voxels_point (numpy.ndarray) – array of voxel grid point

  • voxels_size (int) – the size of each voxel.

  • src_voxel_point (tuple) – position x, y, z of voxel point

Returns:

connected_voxels – A list of the connected voxels with the point.

Return type:

list[tuple]