edu.jhu.ece.iacl.algorithms.dti
Class ParV4Info
java.lang.Object
edu.jhu.ece.iacl.algorithms.dti.ParV4Info
public class ParV4Info
- extends java.lang.Object
The ParV3Info class parses par version 4 files for information relevant to CATNAP.
- Author:
- John Bogovic
Constructor Summary |
ParV4Info(java.lang.String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParV4Info
public ParV4Info(java.lang.String filename)
toPAR
public static java.lang.String toPAR(java.lang.String filename)
- Parameters:
filename
- - The path of the file under consideration
- Returns:
- A String representing the path of the corresponding Par file if the input
string was a .Rec file. The ouput equals the input param if the filename is a par file.
getDate
public java.lang.String getDate()
getParVersion
public java.lang.String getParVersion()
getbVals
public java.lang.String getbVals()
getSliceAngulation
public double[] getSliceAngulation()
getOffCentre
public double[] getOffCentre()
getNumVolumes
public int getNumVolumes()
getFoldover
public java.lang.String getFoldover()
getPatientPosition
public java.lang.String getPatientPosition()
getPatientOrientation
public java.lang.String getPatientOrientation()
getSliceOrientation
public java.lang.String getSliceOrientation()
getInfo
public void getInfo()
- The getInfo method parses the par file and sets the global variables.