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 Details

    • FitBoxToOnVoxels

      public FitBoxToOnVoxels()
  • Method Details

    • createFromMask

      public Mask createFromMask(Mask mask) throws ProvisionFailedException
      Description copied from class: MaskProviderUnary
      Creates a Mask given the entity provided by the delegate.
      Specified by:
      createFromMask in class MaskProviderUnary
      Parameters:
      mask - the entity provided by the delegate.
      Returns:
      the created Mask that is returned by the provider.
      Throws:
      ProvisionFailedException - if the provider cannot complete successfully.
    • isSlicesSeparately

      public boolean isSlicesSeparately()
    • setSlicesSeparately

      public void setSlicesSeparately(boolean slicesSeparately)