Package qupath.lib.objects.utils
Class OverlapFixer
java.lang.Object
qupath.lib.objects.utils.OverlapFixer
- All Implemented Interfaces:
ObjectProcessor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for the OverlapFixer.static enum -
Method Summary
Modifier and TypeMethodDescriptionstatic OverlapFixer.Builderbuilder()Create a new builder for the OverlapFixer.process(Collection<? extends PathObject> pathObjects) Fix overlaps in a collection of PathObjects, by the criteria specified in the builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface qupath.lib.objects.utils.ObjectProcessor
andThen
-
Method Details
-
process
Fix overlaps in a collection of PathObjects, by the criteria specified in the builder. This method is thread-safe.- Specified by:
processin interfaceObjectProcessor- 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
Create a new builder for the OverlapFixer.- Returns:
-