Class ThumbnailFromStack
- Direct Known Subclasses:
ScaleToSize
Creates a thumbnail from a stack.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
start()
Initializes the thumbnail creation process.abstract DisplayStack
thumbnailFor
(Stack stack) Creates a thumbnail for a stack.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ThumbnailFromStack
public ThumbnailFromStack()
-
-
Method Details
-
start
public abstract void start()Initializes the thumbnail creation process.Should always be called once before any calls to
thumbnailFor(org.anchoranalysis.image.core.stack.Stack)
. -
thumbnailFor
Creates a thumbnail for a stack.- Parameters:
stack
- theStack
to create a thumbnail from- Returns:
- a
DisplayStack
representing the thumbnail - Throws:
CreateException
- if the thumbnail creation fails
-