correct_mesh_orientation
skimage.measure.correct_mesh_orientation(volume, verts, faces, spacing=(1.0, 1.0, 1.0), gradient_direction='descent') [source]
Correct orientations of mesh faces. Parameters:
volume : (M, N, P) array of doubles Input data volume to find isosurfaces. Will be cast to np.float64. verts : (V, 3) array of floats Array containing (x, y, z) coordinates for V unique mesh vertices. faces : (F, 3) array of ints List of length-3 lists of integers, referencing vertex coord