Constructor and Description |
---|
DTIVoxel(double d00,
double d11,
double d22,
double d01,
double d02,
double d12) |
Modifier and Type | Method and Description |
---|---|
DTIVoxel |
clone() |
double |
getAD()
Axial diffusivity
|
SymmetricMatrix3d |
getD() |
double |
getE1() |
double |
getE2() |
double |
getE3() |
double |
getFA()
Fractional anisotropy
|
double |
getMD()
Mean diffusivity
|
void |
getOrientedPrincipalEigenvector(Vector3d o,
Vector3d p)
Computes an oriented principal vector, where the orientation
is nearest to the provided.
|
double |
getRD()
Radial diffusivity
|
Matrix3d |
getV() |
void |
getV1(Vector3d v1) |
void |
getV2(Vector3d v2) |
void |
getV3(Vector3d v3) |
void |
invalidateEigenvectors() |
void |
orientEigenvectors(Matrix3d O,
Vector3d lambda)
Orients eigenvectors to align with the given ordered set, flipping
signs if need be, or rotating for repeated eigenvalues.
|
void |
orientPrincipalEigenvector(Vector3d o)
Orients principal eigenvector to align with the given vector,
flipping or rotating eigenspaces if need be
|
void |
scale(double s)
Uniform scaling of diffusion tensor, diffusivity scales with distance-squared
|
void |
scale(double sx,
double sy,
double sz)
Non-uniform scaling of diffusion tensor, e.g.
|
void |
setZero() |
void |
transform(AffineTransform3d trans)
Affine transform of diffusion tensor by performing a change of coordinates and
definition of diffusivity tensor in Fick's law
|
void |
transform(RigidTransform3d trans)
Rotation of diffusion tensor
|
void |
transformPPD(AffineTransform3d trans)
Affine transform of diffusion tensor using Preservation of Principal Direction method of
|
public DTIVoxel(double d00, double d11, double d22, double d01, double d02, double d12)
public void getOrientedPrincipalEigenvector(Vector3d o, Vector3d p)
o
- orientation to matchp
- principal vectorpublic void invalidateEigenvectors()
public void setZero()
public void scale(double s)
s
- scale parameterpublic void scale(double sx, double sy, double sz)
sx
- x-scalesy
- y-scalesz
- z-scalepublic void transform(RigidTransform3d trans)
trans
- rotationpublic void transform(AffineTransform3d trans)
Affine transform of diffusion tensor by performing a change of coordinates and definition of diffusivity tensor in Fick's law
trans
- transformpublic void transformPPD(AffineTransform3d trans)
Affine transform of diffusion tensor using Preservation of Principal Direction method of
D. C. Alexander, C. Pierpaoli, P. J. Basser and J. C. Gee,
"Spatial transformations of diffusion tensor magnetic resonance images,"
in IEEE Transactions on Medical Imaging, vol. 20, no. 11, pp. 1131-1139, Nov. 2001.
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.160.9369&rep=rep1&type=pdf
Note: this definition is inconsistent with change of coordinates formulation and Fick's law
trans
- transformpublic void orientPrincipalEigenvector(Vector3d o)
o
- orientation vectorpublic void orientEigenvectors(Matrix3d O, Vector3d lambda)
O
- ordered eigenvectorslambda
- ordered eigenvaluespublic void getV1(Vector3d v1)
public double getE1()
public void getV2(Vector3d v2)
public double getE2()
public void getV3(Vector3d v3)
public double getE3()
public double getFA()
public double getMD()
public double getRD()
public double getAD()
public Matrix3d getV()
public SymmetricMatrix3d getD()