openalea.phenomenal.multi_view_reconstruction.reconstruction_error¶
-
openalea.phenomenal.multi_view_reconstruction.
reconstruction_error
(voxels_grid, image_views)[source]¶ Compute the reconstruction error (false positive and true negative) of the 3d reconstruction from the image view.
Parameters: - img_ref (numpy.ndarray) – binary image reference
- projection (function ((x, y, z)) -> (x, y)) –
- Function of projection who take 1 argument (tuple of position (x, y, z))
- and return this position 2D (x, y)
- voxels_position ([(x, y, z)]) – cList (collections.deque) of center position of voxel
- voxels_size (float) – Size of side geometry of voxel
Returns: out – Error value
Return type: