zxhproj v 2.2
zxhproj
|
each local affine is 2D transformation using physical coordinae only More...
#include <zxhTransformCmriShiftCorrect.h>
Public Member Functions | |
virtual std::string | GetTransformType () |
return image type string in upper case, currently have | |
virtual zxhTransformBase * | Clone (zxhTransformBase *&pRet) |
if pRet==0, new one object in method of clone | |
virtual std::string | GetPrintString (void) |
and read by SetTransformFromFile | |
virtual bool | SetTransformFromStream (std::ifstream &ifs) |
read transformation from stream, donot care the comments | |
virtual void | TransformWorldToWorld (const float fVectorFromWorld[ImageDimensionMax], float fVectorToWorld[ImageDimensionMax]) |
virtual bool | SetTransformIdentity () |
set transformation as a identity transform | |
virtual int | GetNoParameters () |
virtual float | GetParameters (int index) |
virtual bool | SetParameterValue (int index, float f) |
virtual bool | SetNoOfRigidTransform (int n) |
n = 1_for_MR+ (n-1)_for_echos | |
virtual int | GetNoOfRigidTransform (void) |
virtual int | GetNoOfEchoRigidTransform (void) |
virtual int | GetNoOfMRRigidTransform (void) |
virtual zxhTransformAffine * | GetRigidTransform (int index) |
virtual zxhTransformAffine * | GetEchoTransform (int index) |
virtual zxhTransformAffine * | GetMRTransform (int index=0) |
virtual bool | GetMatrixFromEcho2MR (int index, zxhTransformMatrix *pMatrix) |
virtual float | GetMaxLocalMagnitudeAndNormalisation (bool bNormalisationByLocalMagnitude) |
each local affine is 2D transformation using physical coordinae only
virtual bool zxhTransformCmriShiftCorrect::GetMatrixFromEcho2MR | ( | int | index, |
zxhTransformMatrix * | pMatrix | ||
) | [virtual] |
return the matrix for echo images, index=1...m_nNoOfRigidTransform-1 which is T(echo,index)*INV(T(MR)) if index==0, error
virtual float zxhTransformCmriShiftCorrect::GetMaxLocalMagnitudeAndNormalisation | ( | bool | bNormalisationByLocalMagnitude | ) | [virtual] |
------ transformation ----------- ///// for optimisation step length normalisation
Reimplemented from zxhTransformBase.
virtual int zxhTransformCmriShiftCorrect::GetNoParameters | ( | ) | [inline, virtual] |
Get partial differential of transformation [Y1 Y2 Y3]=T(x), with respect to the transformation parameter Ti with index return whether success, results (e.g. 3D, [d(Y1)/d(Ti) d(Y2)/d(Ti) d(Y3)/d(Ti)]) returned in g[4]
Implements zxhTransformBase.
virtual bool zxhTransformCmriShiftCorrect::SetParameterValue | ( | int | index, |
float | f | ||
) | [virtual] |
set transformation parameter value, if the transformation model need pre-computation from parameters for efficiency such as affine, then re-implement this function to call the pre-computation method after set the value
Implements zxhTransformBase.