Interface OpCreators.TileOpCreator

All Known Implementing Classes:
OpCreators.PercentileTileOpCreator, OpCreators.ZeroMeanVarianceTileOpCreator
Enclosing class:
OpCreators

public static interface OpCreators.TileOpCreator
Helper class for creating (tile-based) ImageOps with parameters that are derived from an entire image or ROI.

This is most useful for normalization, where statistics may need to be calculated across the image even if they are then applied locally (e.g. an offset and scaling factor).

  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • createOps

      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
      Compute the (tile-based) ops from the image.
      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