Class OpCreators.PercentileTileOpCreator

java.lang.Object
qupath.ext.biop.cellpose.OpCreators.PercentileTileOpCreator
All Implemented Interfaces:
OpCreators.TileOpCreator
Enclosing class:
OpCreators

public static class OpCreators.PercentileTileOpCreator extends Object
Tile op creator that computes offset and scale values across the full image to normalize using min and max percentiles.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<qupath.opencv.ops.ImageOp>
    compute(org.bytedeco.opencv.opencv_core.Mat mat)
     
    List<qupath.opencv.ops.ImageOp>
    createOps(qupath.opencv.ops.ImageDataOp op, qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.roi.interfaces.ROI mask, qupath.lib.regions.ImagePlane plane)
    Compute the (tile-based) ops from the image.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • compute

      protected List<qupath.opencv.ops.ImageOp> compute(org.bytedeco.opencv.opencv_core.Mat mat)
    • createOps

      public List<qupath.opencv.ops.ImageOp> createOps(qupath.opencv.ops.ImageDataOp op, qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.roi.interfaces.ROI mask, qupath.lib.regions.ImagePlane plane) throws IOException
      Description copied from interface: OpCreators.TileOpCreator
      Compute the (tile-based) ops from the image.
      Specified by:
      createOps in interface OpCreators.TileOpCreator
      Parameters:
      op - the data op, which determines how to extract channels from the image data
      imageData - the image data to process
      mask - ROI mask that may be used to restrict the region being considered (optional)
      plane - the 2D image plane to use; if not provided, the plane from any ROI will be used, or otherwise the default plane
      Returns:
      Throws:
      IOException