Class InitializationFactory

Object
org.anchoranalysis.plugin.image.task.stack.InitializationFactory

public class InitializationFactory
extends Object
Factory for creating ImageInitialization instances.
  • Method Summary

    Modifier and Type Method Description
    static org.anchoranalysis.image.bean.nonbean.init.ImageInitialization createWithoutStacks​(org.anchoranalysis.experiment.io.InitializationContext context)
    Creates an ImageInitialization without adding any stacks.
    static org.anchoranalysis.image.bean.nonbean.init.ImageInitialization createWithStacks​(org.anchoranalysis.image.io.stack.input.ProvidesStackInput input, org.anchoranalysis.experiment.io.InitializationContext context)
    Creates an ImageInitialization with stacks added from the input.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createWithStacks

      public static org.anchoranalysis.image.bean.nonbean.init.ImageInitialization createWithStacks​(org.anchoranalysis.image.io.stack.input.ProvidesStackInput input, org.anchoranalysis.experiment.io.InitializationContext context) throws org.anchoranalysis.core.exception.OperationFailedException
      Creates an ImageInitialization with stacks added from the input.
      Parameters:
      input - the input that provides stacks
      context - the initialization context
      Returns:
      a new ImageInitialization instance with stacks added
      Throws:
      org.anchoranalysis.core.exception.OperationFailedException - if the operation fails
    • createWithoutStacks

      public static org.anchoranalysis.image.bean.nonbean.init.ImageInitialization createWithoutStacks​(org.anchoranalysis.experiment.io.InitializationContext context)
      Creates an ImageInitialization without adding any stacks.
      Parameters:
      context - the initialization context
      Returns:
      a new ImageInitialization instance without stacks