|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.algorithms.dti.GradientTable
public class GradientTable
The GradientTable class represents a GradientTable used for DWMRI as a 2D double array. It provides functionality for reading and writing String representations of gradient tables in various common formats.
Constructor Summary | |
---|---|
GradientTable()
Default constructor. |
|
GradientTable(double[][] table)
Constructor that accepts a double array representation. |
Method Summary | |
---|---|
GradientTable |
append(GradientTable appendme)
Appends an input Gradient Table to this object. |
double[][] |
getTable()
This get method returns this object's gradient table. |
java.lang.String |
getTableType()
This get method returns this object's table type. |
double[][] |
readTable(java.io.File f)
Reads a Gradient table from a text file. |
java.lang.String |
toArrayTxt()
Writes the Gradient Table simply to a text file. |
java.lang.String |
toCaminoTable(java.lang.String bval)
Writes the Gradient Table to a text file in Camino's expected format. |
java.lang.String |
toDtisTable()
Writes the Gradient Table to a text file in DTIStudio's expected format. |
java.lang.String |
toFslTable()
Writes the Gradient Table to a text file in FSL's expected format. |
java.lang.String |
toMedINRIATable()
Writes the Gradient Table to a text file in MedINRIA's expected format. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GradientTable()
public GradientTable(double[][] table)
Method Detail |
---|
public double[][] getTable()
public java.lang.String getTableType()
public java.lang.String toArrayTxt()
public java.lang.String toDtisTable()
public java.lang.String toFslTable()
public java.lang.String toCaminoTable(java.lang.String bval)
public java.lang.String toMedINRIATable()
public double[][] readTable(java.io.File f)
The
- file (ASCII) to be read.
public GradientTable append(GradientTable appendme)
The
- Gradient Table to be appended.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |