Class SliceThresholderMask

Object
SliceThresholder
SliceThresholderMask

public class SliceThresholderMask extends SliceThresholder
A slice thresholder that applies thresholding within a mask region.
  • Constructor Details

    • SliceThresholderMask

      public SliceThresholderMask(boolean clearOutsideMask, ObjectMask object, BinaryValuesByte binaryValues)
      Creates a new SliceThresholderMask.
      Parameters:
      clearOutsideMask - whether to clear voxels outside the mask
      object - the ObjectMask defining the region for thresholding
      binaryValues - the BinaryValuesByte to use for output
  • Method Details

    • segmentAll

      public void segmentAll(Voxels<?> voxelsIn, Voxels<?> voxelsThreshold, Voxels<UnsignedByteBuffer> voxelsOut)
      Description copied from class: SliceThresholder
      Segments all slices in the input voxels.
      Specified by:
      segmentAll in class SliceThresholder
      Parameters:
      voxelsIn - the input Voxels
      voxelsThreshold - the threshold Voxels
      voxelsOut - the output Voxels