Compute affine coordinate transformation in standard space from transformation in natrive reference and floating image coordinate spaces. More...
#include <cmtkTransformChangeFromSpaceAffine.h>
Public Member Functions | |
TransformChangeFromSpaceAffine (const AffineXform &xform, const UniformVolume &reference, const UniformVolume &floating, const char *forceSpace=NULL) | |
Simplified constructor: compute transformation between images in new, common space. | |
const AffineXform & | GetTransformation () const |
Return transformation in native spaces. | |
Private Attributes | |
AffineXform | m_NewXform |
Transformation between native spaces. |
Compute affine coordinate transformation in standard space from transformation in natrive reference and floating image coordinate spaces.
Definition at line 51 of file cmtkTransformChangeFromSpaceAffine.h.
cmtk::TransformChangeFromSpaceAffine::TransformChangeFromSpaceAffine | ( | const AffineXform & | xform, |
const UniformVolume & | reference, | ||
const UniformVolume & | floating, | ||
const char * | forceSpace = NULL |
||
) |
Simplified constructor: compute transformation between images in new, common space.
xform | Transformation from reference to floating in their current spaces. |
reference | Reference (fixed) image. |
forceSpace | Floating (moving) image. Force transformation to be in this coordinate space. |
Definition at line 37 of file cmtkTransformChangeFromSpaceAffine.cxx.
References cmtk::UniformVolume::CloneGrid(), cmtk::Matrix4x4< T >::GetInverse(), cmtk::MetaInformationObject::m_MetaInformation, cmtk::AffineXform::Matrix, and cmtk::META_SPACE_ORIGINAL.
const AffineXform& cmtk::TransformChangeFromSpaceAffine::GetTransformation | ( | ) | const [inline] |
Return transformation in native spaces.
Definition at line 62 of file cmtkTransformChangeFromSpaceAffine.h.
Referenced by cmtk::AffineRegistrationCommandLine::AffineRegistrationCommandLine(), and cmtk::ImagePairAffineRegistrationCommandLine::ImagePairAffineRegistrationCommandLine().
Transformation between native spaces.
Definition at line 69 of file cmtkTransformChangeFromSpaceAffine.h.