edu.stanford.rsl.konrad.pipeline
Interface ProjectionSource

All Known Implementing Classes:
AnalyticPhantomProjector, CylinderPhantomRenderer, DicomProjectionSource, FileProjectionSource, ImagePlusProjectionDataSource, MetricPhantomRenderer, NRRDProjectionSource, ParallelImageFilterSink, ParallelProjectionPhantomRenderer, PhantomRenderer, RampProjectionPhantomRenderer, SEQProjectionSource, SliceParallelVolumePhantomRenderer, VolumePhantomRenderer, ZipProjectionSource

public interface ProjectionSource

Interface to model an arbitrary projection source

Author:
akmaier

Method Summary
 int getCurrentProjectionNumber()
          Returns the current projection number
 ij.process.ImageProcessor getNextProjection()
          Returns the next projection.
 void getNextProjection(IndividualImagePipelineFilteringTool tool)
          Writes the next projection into an IndividualImagePipelineFiltering tool, i.e.
 

Method Detail

getNextProjection

void getNextProjection(IndividualImagePipelineFilteringTool tool)
Writes the next projection into an IndividualImagePipelineFiltering tool, i.e. reads the projection and sets the right projection number in a synchornized manner.

Parameters:
tool - the tool to write to

getCurrentProjectionNumber

int getCurrentProjectionNumber()
Returns the current projection number

Returns:
the number
See Also:
getNextProjection(), getNextProjection(IndividualImagePipelineFilteringTool tool)

getNextProjection

ij.process.ImageProcessor getNextProjection()
Returns the next projection. Note that this call may be out of sync with getCurrentProjectionNumber()

Returns:
the projection
See Also:
getCurrentProjectionNumber(), getNextProjection(IndividualImagePipelineFilteringTool tool)