Class for reading and writing affine transformations from and to ITK's file format. More...
#include <cmtkSplineWarpXformITKIO.h>
Static Public Member Functions | |
static void | Write (const std::string &filename, const SplineWarpXform &xform, const UniformVolume &refVolume, const UniformVolume &fltVolume) |
Write transformation to ITK file. |
Class for reading and writing affine transformations from and to ITK's file format.
This should also be understood by Slicer3 for transformation exchange with CMTK tools run as plugins.
Definition at line 49 of file cmtkSplineWarpXformITKIO.h.
void cmtk::SplineWarpXformITKIO::Write | ( | const std::string & | filename, |
const SplineWarpXform & | xform, | ||
const UniformVolume & | refVolume, | ||
const UniformVolume & | fltVolume | ||
) | [static] |
Write transformation to ITK file.
Definition at line 42 of file cmtkSplineWarpXformITKIO.cxx.
References cmtk::UniformVolume::GetImageToPhysicalMatrix(), cmtk::WarpXform::GetNumberOfControlPoints(), cmtk::WarpXform::GetOriginalControlPointPositionByOffset(), cmtk::WarpXform::GetShiftedControlPointPositionByOffset(), cmtk::TransformChangeToSpaceAffine::GetTransformation(), cmtk::WarpXform::m_Dims, cmtk::WarpXform::m_Offset, and cmtk::WarpXform::Spacing.