All Implemented Interfaces:
Provider<Mask>, ProviderAsStack

public class ExteriorContour extends MaskProviderUnary
Finds the exterior outer contour for a Mask that forms its outline.

It always creates a new mask for the result, without consuming the input.

Author:
Owen Feehan
  • Constructor Details

    • ExteriorContour

      public ExteriorContour()
  • 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.
    • isFlatten

      public boolean isFlatten()
      If true, any 3D mask is flattened in the z-dimension (maximum intensity projection) to make it 2D
    • setFlatten

      public void setFlatten(boolean flatten)
      If true, any 3D mask is flattened in the z-dimension (maximum intensity projection) to make it 2D
    • isOutlineAtBoundary

      public boolean isOutlineAtBoundary()
    • setOutlineAtBoundary

      public void setOutlineAtBoundary(boolean outlineAtBoundary)