skimage2.measure.mesh_surface_area#
- skimage2.measure.mesh_surface_area(verts, faces)[source]#
Compute surface area, given vertices and triangular faces.
- Parameters:
- verts(V, 3) array of floats
Array containing coordinates for V unique mesh vertices.
- faces(F, 3) array of ints
List of length-3 lists of integers, referencing vertex coordinates as provided in
verts.
- Returns:
- areafloat
Surface area of mesh. Units now [coordinate units] ** 2.
See also
Notes
The arguments expected by this function are the first two outputs from
skimage.measure.marching_cubes. For unit correct output, ensure correctspacingwas passed toskimage.measure.marching_cubes.This algorithm works properly only if the
facesprovided are all triangles.