public class WildBS_DT_TractographyImage extends BS_DT_TractographyImage
Constructor and Description |
---|
WildBS_DT_TractographyImage(float[][][][] data,
double[] voxelDims,
int[][][] vc,
DW_Scheme imPars,
java.util.Random r) |
Modifier and Type | Method and Description |
---|---|
static WildBS_DT_TractographyImage |
getBS_TractographyImage(java.lang.String inputFile,
java.lang.String dataType,
DW_Scheme imPars,
int[][][] vc,
double[][][] anisMap,
double anisThresh,
int[] dataDims,
double[] voxelDims,
java.util.Random ran)
Gets an image from the data file.
|
getEigenvectors
getPDs
computeIsotropicMask, computeIsotropicMask, getDataDims, getIsotropicMask, getPDs, getVoxelDims, numberOfPDs, xDataDim, xVoxelDim, yDataDim, yVoxelDim, zDataDim, zVoxelDim
public WildBS_DT_TractographyImage(float[][][][] data, double[] voxelDims, int[][][] vc, DW_Scheme imPars, java.util.Random r)
data
- raw diffuion-weighted data.voxelDims
- array of voxel dimensions (in mm) {xVoxelDim, yVoxelDim, zVoxelDim}.vc
- the voxel classification.imPars
- the imaging scheme for the data.r
- a source of random numbers. The java.util.Random class is not recommended, use
tools.MTRandom instead.public static final WildBS_DT_TractographyImage getBS_TractographyImage(java.lang.String inputFile, java.lang.String dataType, DW_Scheme imPars, int[][][] vc, double[][][] anisMap, double anisThresh, int[] dataDims, double[] voxelDims, java.util.Random ran)
anisMapFile
is not null
, it is read and used
for isotropic masking.inputFile
- the data file.dataType
- the data type of the data file and anisMapFile
.imPars
- the imaging scheme for the data.vc
- the voxel classification for this image. This class only supports one PD per voxel.
This volume should be used to distinguish brain from background.anisMap
- the anisotropy map, which is used to create the isotropic mask.
May be null
if not required.anisThresh
- threshold for the anisotropy in the computation of the tract mask.dataDims
- array of data dimensions {xDataDim, yDataDim, zDataDim}.voxelDims
- array of voxel dimensions (in mm) {xVoxelDim, yVoxelDim, zVoxelDim}.