.TH mia\-mesh\-to\-maskimage 1 "v2.4.6" "USER COMMANDS" .SH NAME ('mia\\-mesh\\-to\\-maskimage',) \- Create a binary mask from the mesh surfac. .SH SYNOPSIS .B mia\-mesh\-to\-maskimage \-i \-o [options] .SH DESCRIPTION .B mia\-mesh\-to\-maskimage This program converts a 3D mesh into a binary mask comprising the mesh surface. The output image size is either given on the command line or deducted from the mesh dimensions. .SH OPTIONS .SS File I/O .RS .IP "\-i \-\-in-file=(input, required); io" input mesh to be adapted For supported file types see PLUGINS:mesh/io .IP "\-o \-\-out-file=(output, required); io" output image containing the binary mask For supported file types see PLUGINS:3dimage/io .RE .SS Help & Info .RS .IP "\-V \-\-verbose=warning" verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are: .RS 10 .I info \(hy Low level messages .RE .RS 10 .I trace \(hy Function call trace .RE .RS 10 .I fail \(hy Report test failures .RE .RS 10 .I warning \(hy Warnings .RE .RS 10 .I error \(hy Report errors .RE .RS 10 .I debug \(hy Debug output .RE .RS 10 .I message \(hy Normal messages .RE .RS 10 .I fatal \(hy Report only fatal errors .RE .IP " \-\-copyright" print copyright information .IP "\-h \-\-help" print this help .IP "\-? \-\-usage" print a short help .IP " \-\-version" print the version number and exit .RE .SS Processing .RS .IP " \-\-threads=\-1" Maxiumum number of threads to use for processing,This number should be lower or equal to the number of logical processor cores in the machine. (\-1: automatic estimation). .RE .SS Properties .RS .IP " \-\-origin=[0,0,0]" coordinate of pixel at index 0,0,0 .IP " \-\-spacing=[1,1,1]" voxel spacing in the output image, all values must be positive. .IP " \-\-size=[0,0,0]" size of the output image (0,0,0 = deduct) .RE .SH PLUGINS: 3dimage/io .TP 10 .B analyze Analyze 7.5 image .P .RS 14 ('Recognized file extensions: ', '.HDR, .hdr') .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit, signed 16 bit, signed 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 ('Recognized file extensions: ', '.@') .RE .TP 10 .B dicom Dicom image series as 3D .P .RS 14 ('Recognized file extensions: ', '.DCM, .dcm') .RE .RS 14 Supported element types: .RS 2 signed 16 bit, unsigned 16 bit .RE .RE .TP 10 .B hdf5 HDF5 3D image IO .P .RS 14 ('Recognized file extensions: ', '.H5, .h5') .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B inria INRIA image .P .RS 14 ('Recognized file extensions: ', '.INR, .inr') .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B mhd MetaIO 3D image IO using the VTK implementation (experimental). .P .RS 14 ('Recognized file extensions: ', '.MHA, .MHD, .mha, .mhd') .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B nifti NIFTI-1 3D image IO. The orientation is transformed in the same way like it is done with 'dicomtonifti --no-reorder' from the vtk-dicom package. .P .RS 14 ('Recognized file extensions: ', '.NII, .nii') .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B vff VFF Sun raster format .P .RS 14 ('Recognized file extensions: ', '.VFF, .vff') .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit, signed 16 bit .RE .RE .TP 10 .B vista Vista 3D .P .RS 14 ('Recognized file extensions: ', '.-, .V, .VISTA, .v, .vista') .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B vti 3D image VTK-XML in- and output (experimental). .P .RS 14 ('Recognized file extensions: ', '.VTI, .vti') .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B vtk 3D VTK image legacy in- and output (experimental). .P .RS 14 ('Recognized file extensions: ', '.VTK, .VTKIMAGE, .vtk, .vtkimage') .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .SH PLUGINS: mesh/io .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 ('Recognized file extensions: ', '.@') .RE .TP 10 .B off plugin to load/store some Geomview OFF files. Supported is only the ASCII format 3D meshes with normales and per-vertex RGB colors. Alpha values and texture coordinates, as well as per face properties are ignored. Polygons are read and triangulated. .P .RS 14 ('Recognized file extensions: ', '.OFF, .off') .RE .TP 10 .B ply Ply triangle mesh input/output support .P .RS 14 ('Recognized file extensions: ', '.PLY, .ply') .RE .TP 10 .B stl STL mesh io plugin .P .RS 14 ('Recognized file extensions: ', '.STL, .stl') .RE .TP 10 .B vista Vista/Simbio triangle mesh input/output support .P .RS 14 ('Recognized file extensions: ', '.-, .V, .VMESH, .v, .vmesh') .RE .TP 10 .B vtk A subset of VTK mesh in-and output: Triangle meshes are written, and triangle meshes and triangle strips are read. Additional per-vertex attributes are supported: 'normals', 'colors' for three component colors, and 'scale' for a scalar value attached to each vertex. The data is written by the vtkPolyDataWriter in binary format. .P .RS 14 ('Recognized file extensions: ', '.VTK, .VTKMESH, .vtk, .vtkmesh') .RE .SH EXAMPLE The input mesh input.vmesh is converted into the binary mask mask.v. The image size is set to 50,50,50 and the size is obtained automatically to include the whole mesh .HP mia\-mesh\-to\-maskimage \-i input.vmesh \-o mask.v \-\-origin 0,0,0 .SH AUTHOR(s) Gert Wollny .SH COPYRIGHT This software is Copyright (c) 1999\(hy2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '\-\-copyright'.