Class FitBoxToOnVoxels

Object
AnchorBean<MaskProvider>
InitializableBean<MaskProvider, ImageInitialization>
ImageBean<MaskProvider>
BeanProviderAsStackBase<MaskProvider, Mask>
MaskProvider
MaskProviderUnary
FitBoxToOnVoxels
All Implemented Interfaces:
Provider<Mask>, ProviderAsStack

public class FitBoxToOnVoxels extends MaskProviderUnary
Fits a box around the on voxels.

The minimally-fitting (i.e. tightest) box that fits is always used.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Mask
    createFromMask(Mask mask)
     
    boolean
     
    void
    setSlicesSeparately(boolean slicesSeparately)
     

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

    get, getMask, setMask

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

    getAsStack

    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

    • FitBoxToOnVoxels

      public FitBoxToOnVoxels()
  • Method Details

    • createFromMask

      public Mask createFromMask(Mask mask) throws ProvisionFailedException
      Specified by:
      createFromMask in class MaskProviderUnary
      Throws:
      ProvisionFailedException
    • isSlicesSeparately

      public boolean isSlicesSeparately()
    • setSlicesSeparately

      public void setSlicesSeparately(boolean slicesSeparately)