Constructor and Description |
---|
NiftiDataBuffer(NiftiHeader.DataType type,
int[] dims) |
Modifier and Type | Method and Description |
---|---|
NiftiDataBuffer |
clone() |
int |
getBlueIndex(int v,
int i,
int j,
int k,
int t) |
NiftiHeader.DataType |
getDataType() |
float[] |
getFloat32() |
double[] |
getFloat64() |
int |
getGreenIndex(int v,
int i,
int j,
int k,
int t) |
int |
getImaginaryIndex(int v,
int i,
int j,
int k,
int t) |
int |
getIndex(int v,
int i,
int j,
int k,
int t) |
int |
getNumEntitiesPerValue()
Returns the number of entities that make up a value.
|
int |
getNumValuesPerVoxel() |
int |
getRealIndex(int v,
int i,
int j,
int k,
int t) |
int |
getRedIndex(int v,
int i,
int j,
int k,
int t) |
double |
getValue(int e,
int v,
int i,
int j,
int k,
int t)
Gets a value from the buffer
|
public NiftiDataBuffer(NiftiHeader.DataType type, int[] dims)
public int getIndex(int v, int i, int j, int k, int t)
public int getRealIndex(int v, int i, int j, int k, int t)
public int getImaginaryIndex(int v, int i, int j, int k, int t)
public int getRedIndex(int v, int i, int j, int k, int t)
public int getGreenIndex(int v, int i, int j, int k, int t)
public int getBlueIndex(int v, int i, int j, int k, int t)
public NiftiHeader.DataType getDataType()
public int getNumValuesPerVoxel()
public int getNumEntitiesPerValue()
public NiftiDataBuffer clone()
public float[] getFloat32()
public double[] getFloat64()
public double getValue(int e, int v, int i, int j, int k, int t)
e
- entity within valuev
- value indexi
- column indexj
- row indexk
- slice indext
- time index