Class OverlapFixer

java.lang.Object
qupath.lib.objects.utils.OverlapFixer
All Implemented Interfaces:
ObjectProcessor

public class OverlapFixer extends Object implements ObjectProcessor
  • Method Details

    • process

      public List<PathObject> process(Collection<? extends PathObject> pathObjects)
      Fix overlaps in a collection of PathObjects, by the criteria specified in the builder. This method is thread-safe.
      Specified by:
      process in interface ObjectProcessor
      Parameters:
      pathObjects - the input objects
      Returns:
      the output objects. This may be the same as the input objects, or contain fewer objects - possibly with new (clipped) ROIs - but no object will be added or have its properties changed.
    • builder

      public static OverlapFixer.Builder builder()
      Create a new builder for the OverlapFixer.
      Returns: