openalea.phenomenal.multi_view_reconstruction.reconstruction_3d

openalea.phenomenal.multi_view_reconstruction.reconstruction_3d(image_views, voxels_size=4, error_tolerance=0, voxel_center_origin=(0.0, 0.0, 0.0), start_voxel_size=4096, voxels_position=None, attractor=None)[source]

Construct a list of voxel represented object with positive value on binary image in images of images_projections.

Parameters:
  • image_views ([(image, projection), ..]) – List of tuple (image, projection) where image is a binary image (numpy.ndarray) and function projection (function (x, y, z) -> (x, y)) who take (x, y, z) position on return (x, y) position according space representation of this image
  • voxels_size (float, optional) – Diameter size of the voxels
  • error_tolerance (int, optional) –
  • voxel_center_origin ((x, y, z), optional) – Center position of the first original voxel, who will be split.
  • start_voxel_size (int, optional) – Minimum size that the origin voxel size must include at beginning
  • voxels_position (numpy.ndarray, optional) – List of first original voxel who will be split. If None, a list is create with the voxel_center_origin value.
Returns:

out

Return type:

VoxelGrid