public class DTIField extends java.lang.Object implements VolumeImage, Clonable
| Constructor and Description |
|---|
DTIField(int ncols,
int nrows,
int nslices,
DTIVoxel[] voxels,
Vector3d voxelSpacing,
AffineTransform3d voxelTransform) |
| Modifier and Type | Method and Description |
|---|---|
DTIField |
clone() |
int |
getNumChannels()
Channels correspond to the 6 diffusion tensor entries d00, d11, d22, d01, d02, d12
|
int |
getNumCols()
Number of columns in the image, corresponds to image x-axis
|
int |
getNumRows()
Number of rows in the image, corresponds to image y-axis
|
int |
getNumSlices()
Number of slices in the image, corresponds to image z-axis
|
double |
getValue(int channel,
int col,
int row,
int slice)
Channels correspond to the 6 diffusion tensor entries d00, d11, d22, d01, d02, d12
|
DTIVoxel |
getVoxel(int c,
int r,
int s) |
Vector3d |
getVoxelSpacing() |
AffineTransform3d |
getVoxelTransform()
Transform that converts voxels [col, row, slice] to world-coordinates of the center of the voxel
|
public DTIField(int ncols,
int nrows,
int nslices,
DTIVoxel[] voxels,
Vector3d voxelSpacing,
AffineTransform3d voxelTransform)
public int getNumCols()
VolumeImagegetNumCols in interface VolumeImagepublic int getNumRows()
VolumeImagegetNumRows in interface VolumeImagepublic int getNumSlices()
VolumeImagegetNumSlices in interface VolumeImagepublic DTIVoxel getVoxel(int c, int r, int s)
public AffineTransform3d getVoxelTransform()
VolumeImagegetVoxelTransform in interface VolumeImagepublic Vector3d getVoxelSpacing()
public DTIField clone()
public double getValue(int channel,
int col,
int row,
int slice)
getValue in interface VolumeImagechannel - channel numbercol - column indexrow - row indexslice - slice indexpublic int getNumChannels()
getNumChannels in interface VolumeImage