Utility class for one-stop transformation import. More...
#include <cmtkXformIO.h>
Public Types | |
typedef XformIO | Self |
This class. | |
Static Public Member Functions | |
static Xform::SmartPtr | Read (const char *path, const bool verbose=false) |
Read transformation from filesystem. | |
static void | Write (const Xform *xform, const char *path, const bool verbose=false) |
Write transformation to filesystem. |
Utility class for one-stop transformation import.
When reading a transformation file using the Read() function, the file and transformation type are automatically detected based on each file format's "magic number".
When writing a transformation using the Write() function, the path or file name suffix determines the output file format. Supported formats are: ITK Transformation file (".txt"; ".tfm"), Nrrd deformation fields (".nrrd"; ".nhdr"), and legacy TypedStream (all other suffixes).
Definition at line 54 of file cmtkXformIO.h.
typedef XformIO cmtk::XformIO::Self |
This class.
Definition at line 58 of file cmtkXformIO.h.