Class DeleteObjectsOnBoundsCommand

java.lang.Object
qupath.lib.gui.commands.DeleteObjectsOnBoundsCommand

public class DeleteObjectsOnBoundsCommand extends Object
Interactive command to remove objects with ROIs that touch or overlap the boundary of other objects.
This can be used to remove detections that are clipped by their parent annotation, or to remove objects falling along a specified line or other boundary.
Since:
v0.6.0
  • Constructor Details

    • DeleteObjectsOnBoundsCommand

      public DeleteObjectsOnBoundsCommand(QuPathGUI qupath)
  • Method Details

    • runForImage

      public void runForImage(ImageData<?> imageData)
      Run the command interactively for the specified image.
      Parameters:
      imageData - the current image