openalea.phenomenal.mesh.routines.project_mesh_on_image
- openalea.phenomenal.mesh.routines.project_mesh_on_image(vertices, faces, shape_image, projection)[source]
Return a binary image resulting of the projection of a mesh object representation (vertices, faces) with a projection function.
- Parameters:
vertices – list of 3d points position
faces – list of 3-tuple index vertices
shape_image – shape of the image
projection – projection function
- Returns:
2D numpy array