Box Mesh
This example creates a box mesh using the dimensions of an input brain atlas volume. The mesh is a structured hexahedral grid that fills the bounding box of the image.
Input
The input is a T1-weighted brain MRI volume from the SPL Brain Atlas:



Output
The output is a hexahedral mesh covering the bounding box of the input volume:

Command
mvox -box -imask A1_grayT1-1mm_resample.nrrd -omesh boxmesh.vtu