Class GuessDimensions

Object
AnchorBean<DimensionsProvider>
InitializableBean<DimensionsProvider, ImageInitialization>
ImageBean<DimensionsProvider>
DimensionsProvider
GuessDimensions
All Implemented Interfaces:
Provider<Dimensions>

public class GuessDimensions extends DimensionsProvider
Guesses dimensions from an input-image if it exists.

Otherwise, throws an exception indicating they should be set explicitly.

The input-image is a stack with the identifier StackIdentifiers.INPUT_IMAGE.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Dimensions
    get()
     

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    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

    • GuessDimensions

      public GuessDimensions()
  • Method Details

    • get

      public Dimensions get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException