Package qupath.lib.experimental.pixels
Class MeasurementProcessor.Functions
java.lang.Object
qupath.lib.experimental.pixels.MeasurementProcessor.Functions
- Enclosing class:
MeasurementProcessor
Functions for calculating measurements from an array of pixels.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmax()
Create a function to calculate the maximum value of an array.mean()
Create a function to calculate the mean (average) value of an array.min()
Create a function to calculate the minimum value of an array.Create a function to calculate Pearson's correlation coefficient.percentile
(double percentile) Create a function to calculate a percentile.Create a function to calculate Spearman's correlation coefficient.
-
Constructor Details
-
Functions
public Functions()
-
-
Method Details
-
percentile
Create a function to calculate a percentile.- Parameters:
percentile
-- Returns:
-
min
Create a function to calculate the minimum value of an array.- Returns:
-
max
Create a function to calculate the maximum value of an array.- Returns:
-
mean
Create a function to calculate the mean (average) value of an array.- Returns:
-
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
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:
-