edu.stanford.rsl.konrad.io
Class IndividualFilesProjectionDataSink
java.lang.Object
edu.stanford.rsl.konrad.pipeline.BufferedProjectionSink
edu.stanford.rsl.konrad.io.IndividualFilesProjectionDataSink
- All Implemented Interfaces:
- Citeable, GUIConfigurable, SafeSerializable, ProjectionSink, java.io.Serializable
public class IndividualFilesProjectionDataSink
- extends BufferedProjectionSink
Class to model a directory as projection data sink. The sink creates a new file for each projection in the configured raw format.
- Author:
- akmaier
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnsignedShort
public static final java.lang.String UnsignedShort
- See Also:
- Constant Field Values
SignedShort
public static final java.lang.String SignedShort
- See Also:
- Constant Field Values
Float32Bit
public static final java.lang.String Float32Bit
- See Also:
- Constant Field Values
IndividualFilesProjectionDataSink
public IndividualFilesProjectionDataSink()
getName
public java.lang.String getName()
- Specified by:
getName
in interface ProjectionSink
- Specified by:
getName
in class BufferedProjectionSink
getResult
public ij.ImagePlus getResult()
- Overrides:
getResult
in class BufferedProjectionSink
process
public void process(ij.process.ImageProcessor projection,
int projectionNumber)
throws java.lang.Exception
- Specified by:
process
in interface ProjectionSink
- Specified by:
process
in class BufferedProjectionSink
- Throws:
java.lang.Exception
setConfiguration
public void setConfiguration(Configuration config)
- Specified by:
setConfiguration
in class BufferedProjectionSink
toString
public java.lang.String toString()
- Overrides:
toString
in class BufferedProjectionSink
configure
public void configure()
throws java.lang.Exception
- Description copied from interface:
GUIConfigurable
- Configures the object before execution
- Throws:
java.lang.Exception
- may happen
getBibtexCitation
public java.lang.String getBibtexCitation()
- Description copied from interface:
Citeable
- Returns the citation in bibTex format
- Returns:
- citation as String
getMedlineCitation
public java.lang.String getMedlineCitation()
- Description copied from interface:
Citeable
- Returns the citation in Medline format
- Returns:
- citation as String
close
public void close()
getDirectory
public java.lang.String getDirectory()
- Returns:
- the directory
setDirectory
public void setDirectory(java.lang.String directory)
- Parameters:
directory
- the directory to set
getPrefix
public java.lang.String getPrefix()
- Returns:
- the prefix
setPrefix
public void setPrefix(java.lang.String prefix)
- Parameters:
prefix
- the prefix to set
getFormat
public java.lang.String getFormat()
- Returns:
- the format
setFormat
public void setFormat(java.lang.String format)
- Parameters:
format
- the format to set
getWidth
public int getWidth()
- Returns:
- the width
setWidth
public void setWidth(int width)
- Parameters:
width
- the width to set
getHeight
public int getHeight()
- Returns:
- the height
setHeight
public void setHeight(int height)
- Parameters:
height
- the height to set
isLittleEndian
public boolean isLittleEndian()
- Returns:
- the littleEndian
setLittleEndian
public void setLittleEndian(boolean littleEndian)
- Parameters:
littleEndian
- the littleEndian to set