edu.stanford.rsl.konrad.utils
Class DicomDecoder
java.lang.Object
edu.stanford.rsl.konrad.utils.DicomDecoder
public class DicomDecoder
- extends java.lang.Object
DicomDecoder almost as provided by ImageJ. Only slight changes to improve code style.
Used to parse the DICOM header by Configuration.
- Author:
- Andreas Maier
Constructor Summary |
DicomDecoder(java.io.InputStream inputStream)
|
DicomDecoder(java.lang.String directory,
java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DicomDecoder
public DicomDecoder(java.lang.String directory,
java.lang.String fileName)
DicomDecoder
public DicomDecoder(java.io.InputStream inputStream)
getPreviousGroup
public int getPreviousGroup()
getPreviousInfo
public java.lang.String getPreviousInfo()
getFileInfo
public ij.io.FileInfo getFileInfo()
throws java.io.IOException
- Throws:
java.io.IOException
getVoltage
public double[] getVoltage()
getCurrent
public double[] getCurrent()
getTime
public double[] getTime()
getdCU
public double getdCU()
getDose
public double getDose()
dicmFound
public boolean dicmFound()
setInputStream
public void setInputStream(java.io.BufferedInputStream inputStream)
getInputStream
public java.io.BufferedInputStream getInputStream()