edu.stanford.rsl.konrad.io
Class NRRDProjectionSource

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

public class NRRDProjectionSource
extends FileProjectionSource


Field Summary
 java.lang.String int16Types
           
 java.lang.String int32Types
           
 java.lang.String uint16Types
           
 java.lang.String uint32Types
           
 java.lang.String uint8Types
           
 
Constructor Summary
NRRDProjectionSource()
           
 
Method Summary
 ij.io.FileInfo getHeaderInfo(java.lang.String filename)
           
 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
 

Field Detail

uint8Types

public final java.lang.String uint8Types
See Also:
Constant Field Values

int16Types

public final java.lang.String int16Types
See Also:
Constant Field Values

uint16Types

public final java.lang.String uint16Types
See Also:
Constant Field Values

int32Types

public final java.lang.String int32Types
See Also:
Constant Field Values

uint32Types

public final java.lang.String uint32Types
See Also:
Constant Field Values
Constructor Detail

NRRDProjectionSource

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

getHeaderInfo

public ij.io.FileInfo getHeaderInfo(java.lang.String filename)
                             throws java.io.IOException
Throws:
java.io.IOException