edu.stanford.rsl.konrad.io
Class DicomProjectionSource

java.lang.Object
  extended by edu.stanford.rsl.konrad.io.FileProjectionSource
      extended by edu.stanford.rsl.konrad.io.DicomProjectionSource
All Implemented Interfaces:
ProjectionSource

public class DicomProjectionSource
extends FileProjectionSource


Constructor Summary
DicomProjectionSource()
           
 
Method Summary
 void initStream(java.io.InputStream inputStream)
           
 void initStream(java.lang.String filename)
          Initializes the file reading.
 
Methods inherited from class edu.stanford.rsl.konrad.io.FileProjectionSource
close, convertToUnsignedInt, getCurrentProjectionNumber, getNextProjection, getNextProjection, getProjectionSources, isShowProgress, openProjectionStream, setShowProgress
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomProjectionSource

public DicomProjectionSource()
Method Detail

initStream

public void initStream(java.lang.String filename)
                throws java.io.IOException
Description copied from class: FileProjectionSource
Initializes the file reading.

Specified by:
initStream in class FileProjectionSource
Parameters:
filename - the name of the file to read
Throws:
java.io.IOException - may happen

initStream

public void initStream(java.io.InputStream inputStream)
                throws java.io.IOException
Throws:
java.io.IOException