Class SliceAt

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

public class SliceAt extends ObjectCollectionProviderUnary
Extracts a specific slice from a collection of 3D objects.

This class extends ObjectCollectionProviderUnary to provide functionality for extracting a 2D slice at a specified z-index from a collection of 3D objects.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    createFromObjects(ObjectCollection objects)
     
    int
    Index in z-dimension of slice to extract.
    void
    setIndex(int index)
    Index in z-dimension of slice to extract.

    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

    • SliceAt

      public SliceAt()
  • Method Details

    • createFromObjects

      public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException
      Specified by:
      createFromObjects in class ObjectCollectionProviderUnary
      Throws:
      ProvisionFailedException
    • getIndex

      public int getIndex()
      Index in z-dimension of slice to extract.
    • setIndex

      public void setIndex(int index)
      Index in z-dimension of slice to extract.