Class BranchStack
Uses different raster-writers depending on whether it is always 2D (not a z-stack) or possibly
3D.
If any optional condition does not have a writer, then writer is used in this case.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWriter to use if it is guaranteed that the image will always be 2D.Otherwise the writer to use.protected StackWriterselectDelegate(StackWriteOptions writeOptions) Selects aStackWriterto use as a delegate.voidsetWriterAlways2D(StackWriter writerAlways2D) Writer to use if it is guaranteed that the image will always be 2D.voidsetWriterElse(StackWriter writerElse) Otherwise the writer to use.Methods inherited from class org.anchoranalysis.plugin.io.bean.stack.writer.StackWriterDelegateBase
fileFormat, writeStackMethods inherited from class org.anchoranalysis.image.io.bean.stack.writer.StackWriter
fileFormatWarnUnexpected, writeStackWithExtensionMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
BranchStack
public BranchStack()
-
-
Method Details
-
selectDelegate
Description copied from class:StackWriterDelegateBaseSelects aStackWriterto use as a delegate.- Specified by:
selectDelegatein classStackWriterDelegateBase- Parameters:
writeOptions- options that specify what kind of rasters will be written.- Returns:
- the selected
StackWriter
-
getWriterAlways2D
Writer to use if it is guaranteed that the image will always be 2D. -
setWriterAlways2D
Writer to use if it is guaranteed that the image will always be 2D. -
getWriterElse
Otherwise the writer to use. -
setWriterElse
Otherwise the writer to use.
-