mymesh.image#

Image-based meshing tools

Image-based Mesh Generation#

VoxelMesh(img, h[, threshold, ...])

Generate voxel mesh of an image function

SurfaceMesh(img, h[, threshold, ...])

Generate a surface mesh of an image function

TetMesh(img, h[, threshold, ...])

Generate a tetrahedral mesh of an image

SurfaceNodeOptimization(M, img, h[, ...])

Optimize the placement of surface node to lie on the "true" surface.

File IO#

read(img[, scalefactor, scaleorder])

Read image data into a numpy array format.

write(impath, I[, filetype, verbose, dtype])

Write an image array to an image file or stack of image files