openalea.phenomenal.multi_view_reconstruction.multi_view_reconstruction.get_bounding_box_voxel_projected

openalea.phenomenal.multi_view_reconstruction.multi_view_reconstruction.get_bounding_box_voxel_projected(voxels_position, voxels_size, projection)[source]

Compute the bounding box value according the radius, angle and calibration parameters of point_3d projection

Parameters:
  • voxels_position (numpy.ndarray) – Center position of voxel

  • voxels_size (float) – Size of side geometry of voxel

  • 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)

Returns:

bbox – [[x_min, x_max, y_min, y_max], …] Containing min and max value of point_3d projection in x and y axes.

Return type:

numpy.ndarray