public abstract class Metrics extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ij.ImagePlus |
originalLabels
original labels (single 2D image or stack)
|
protected ij.ImagePlus |
proposedLabels
proposed new labels (single 2D image or stack of the same as as the original labels)
|
protected boolean |
verbose
boolean flag to set the level of detail on the standard output messages
|
| Constructor and Description |
|---|
Metrics(ij.ImagePlus originalLabels,
ij.ImagePlus proposedLabels) |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
getMetricValue(double binaryThreshold) |
double |
getMinimumMetricValue(double minThreshold,
double maxThreshold,
double stepThreshold)
Get the minimum metric value over a set of thresholds
|
void |
setVerboseMode(boolean verbose)
Set verbose mode
|
protected ij.ImagePlus originalLabels
protected ij.ImagePlus proposedLabels
protected boolean verbose
public abstract double getMetricValue(double binaryThreshold)
public void setVerboseMode(boolean verbose)
verbose - true to display more information in the standard outputpublic double getMinimumMetricValue(double minThreshold,
double maxThreshold,
double stepThreshold)
minThreshold - minimum threshold value to binarize the input imagesmaxThreshold - maximum threshold value to binarize the input imagesstepThreshold - threshold step value to use during binarizationCopyright © 2015–2021 Fiji. All rights reserved.