public class Reorient
extends java.lang.Object
Constructor and Description |
---|
Reorient() |
Modifier and Type | Method and Description |
---|---|
static void |
execute(OutputManager om) |
static RealMatrix |
getFS_Reorientation(RealMatrix F)
Computes the finite strain strategy reorientation matrix.
|
static RealMatrix |
getJacobian(ScalarImage transX,
ScalarImage transY,
ScalarImage transZ,
double posX,
double posY,
double posZ)
Computes the Jacobian of the image transformation at point
(posX, posY, posZ).
|
static void |
initOptions(java.lang.String[] args) |
static void |
initVariables() |
static void |
main(java.lang.String[] args) |
static RealMatrix |
readFSL_Affine(java.lang.String filename)
Reads an affine transformation from a file in the format output
by FSL's flirt program into a matrix object.
|
static void |
replaceTensorList(double[] vox,
DT[] dts,
java.lang.String model)
Puts a list of diffusion tensors in a single voxel into a data
array for output.
|
public static void main(java.lang.String[] args)
public static void initOptions(java.lang.String[] args)
public static void initVariables()
public static void execute(OutputManager om)
public static RealMatrix readFSL_Affine(java.lang.String filename)
filename
- The name of the file containing the transformation.public static RealMatrix getFS_Reorientation(RealMatrix F)
linear
- The linear part F of the affine transformation.public static RealMatrix getJacobian(ScalarImage transX, ScalarImage transY, ScalarImage transZ, double posX, double posY, double posZ)
transX
- X-Component of warp.transY
- Y-Component of warp.transZ
- Z-Component of warp.posX
- X-coord of point.posY
- Y-coord of point.posZ
- Z-coord of point.public static void replaceTensorList(double[] vox, DT[] dts, java.lang.String model)
vox
- The data.dts
- The array of diffusion tensors.model
- The model.