mesh_surface_area

mesh_surface_area(mesh=None, verts=None, faces=None)[source]

Calculates the surface area of a meshed region

Parameters
  • mesh (tuple) – The tuple returned from the mesh_region function

  • verts (array) – An N-by-ND array containing the coordinates of each mesh vertex

  • faces (array) – An N-by-ND array indicating which elements in verts form a mesh element.

Returns

surface_area – The surface area of the mesh, calculated by skimage.measure.mesh_surface_area

Return type

float

Notes

This function simply calls scikit-image.measure.mesh_surface_area, but it allows for the passing of the mesh tuple returned by the mesh_region function, entirely for convenience.

Examples

Click here to view online example.