edu.stanford.rsl.konrad.io
Class ImagePlusProjectionDataSource

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

public class ImagePlusProjectionDataSource
extends FileProjectionSource


Constructor Summary
ImagePlusProjectionDataSource()
           
 
Method Summary
 ij.process.ImageProcessor getNextProjection()
          Returns the next projection.
 java.lang.String getTitle()
           
 void initStream(java.lang.String filename)
          Initializes the file reading.
 
Methods inherited from class edu.stanford.rsl.konrad.io.FileProjectionSource
close, convertToUnsignedInt, getCurrentProjectionNumber, getNextProjection, getProjectionSources, isShowProgress, openProjectionStream, setShowProgress
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImagePlusProjectionDataSource

public ImagePlusProjectionDataSource()
Method Detail

initStream

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

Specified by:
initStream in class FileProjectionSource
Parameters:
filename - the name of the file to read

getNextProjection

public ij.process.ImageProcessor getNextProjection()
Description copied from interface: ProjectionSource
Returns the next projection. Note that this call may be out of sync with getCurrentProjectionNumber()

Specified by:
getNextProjection in interface ProjectionSource
Overrides:
getNextProjection in class FileProjectionSource
Returns:
the projection
See Also:
ProjectionSource.getCurrentProjectionNumber(), ProjectionSource.getNextProjection(IndividualImagePipelineFilteringTool tool)

getTitle

public java.lang.String getTitle()