edu.stanford.rsl.konrad.utils
Class DicomDecoder

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean dicmFound()
           
 double[] getCurrent()
           
 double getdCU()
           
 double getDose()
           
 ij.io.FileInfo getFileInfo()
           
 java.io.BufferedInputStream getInputStream()
           
 int getPreviousGroup()
           
 java.lang.String getPreviousInfo()
           
 double[] getTime()
           
 double[] getVoltage()
           
 void setInputStream(java.io.BufferedInputStream inputStream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomDecoder

public DicomDecoder(java.lang.String directory,
                    java.lang.String fileName)

DicomDecoder

public DicomDecoder(java.io.InputStream inputStream)
Method Detail

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()