Class MeasurementProcessor.Functions

java.lang.Object
qupath.lib.experimental.pixels.MeasurementProcessor.Functions
Enclosing class:
MeasurementProcessor

public static class MeasurementProcessor.Functions extends Object
Functions for calculating measurements from an array of pixels.
  • Constructor Details

    • Functions

      public Functions()
  • Method Details

    • percentile

      public static Function<double[],Double> percentile(double percentile)
      Create a function to calculate a percentile.
      Parameters:
      percentile -
      Returns:
    • min

      public static Function<double[],Double> min()
      Create a function to calculate the minimum value of an array.
      Returns:
    • max

      public static Function<double[],Double> max()
      Create a function to calculate the maximum value of an array.
      Returns:
    • mean

      public static Function<double[],Double> mean()
      Create a function to calculate the mean (average) value of an array.
      Returns:
    • pearsonsCorrelation

      public static Function<double[][],Double> pearsonsCorrelation()
      Create a function to calculate Pearson's correlation coefficient. This requires a double[2][n] input array, where n is the number of pixels.
      Returns:
    • spearmansCorrelation

      public static Function<double[][],Double> spearmansCorrelation()
      Create a function to calculate Spearman's correlation coefficient. This requires a double[2][n] input array, where n is the number of pixels.
      Returns: