Class ThumbnailFromStack

Object
AnchorBean<ThumbnailFromStack>
ThumbnailFromStack
Direct Known Subclasses:
ScaleToSize

public abstract class ThumbnailFromStack extends AnchorBean<ThumbnailFromStack>
Creates a thumbnail from a stack.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public abstract DisplayStack thumbnailFor(Stack stack) throws CreateException
      Creates a thumbnail for a stack.
      Parameters:
      stack - the Stack to create a thumbnail from
      Returns:
      a DisplayStack representing the thumbnail
      Throws:
      CreateException - if the thumbnail creation fails