openalea.phenomenal.multi_view_reconstruction.multi_view_reconstruction.kept_visible_voxel

openalea.phenomenal.multi_view_reconstruction.multi_view_reconstruction.kept_visible_voxel(voxels_position, voxels_size, image_views, error_tolerance=0, int_images=None)[source]

Kept in a new collections.deque the voxel who is visible on each image of images_projections according the error_tolerance

Parameters:
  • voxels_position (numpy.array([[x, y, z], ...]) – Center position of the voxels

  • voxels_size (float) – Diameter size of the voxels

  • 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

  • error_tolerance (int, optional) – Number of image will be ignored if the projected voxel is not visible.

  • int_images (Integral image of the binary image (optimization)) –

Returns:

out

Return type:

VoxelsStage