Class ExtendInZWithinContainer

Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
ObjectCollectionProviderUnary
WithContainerBase
ExtendInZWithinContainer
All Implemented Interfaces:
Provider<ObjectCollection>

public class ExtendInZWithinContainer extends WithContainerBase
Extends an object (2D/3D) as much as it can within the z-slices of a containing object

An object-collection is produced with an identical number of objects, but with each expanded in the z-dimension.

If the input-object is a 2D-slice it is replicated directly, if it is already a 3D-object its flattened version (a maximum intensity projection) is used.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    createFromObjects(ObjectCollection objectsSource)
     

    Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithContainerBase

    containerOptional, containerRequired, getObjectsContainer, setObjectsContainer

    Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary

    get, getObjects, setObjects

    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

    • ExtendInZWithinContainer

      public ExtendInZWithinContainer()
  • Method Details

    • createFromObjects

      public ObjectCollection createFromObjects(ObjectCollection objectsSource) throws ProvisionFailedException
      Specified by:
      createFromObjects in class ObjectCollectionProviderUnary
      Throws:
      ProvisionFailedException