Package sc.fiji.snt.analysis
Enum Class CandidatePathMetrics.Metric
- All Implemented Interfaces:
Serializable,Comparable<CandidatePathMetrics.Metric>,java.lang.constant.Constable
- Enclosing class:
CandidatePathMetrics
The metrics computed by
CandidatePathMetrics.compute(Path[], RandomAccessibleInterval)-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow a metric is expressedNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEuclidean distance between endpoints over path lengthRobust coefficient of variation of background-subtracted node intensityMean RMS distance to the other candidatesFraction of nodes at background-like intensityMean distance between path and local cross-sectional intensity centroidPath intensity relative to local backgroundMean absolute angle between consecutive internodes -
Method Summary
Modifier and TypeMethodDescriptioncolumnName(String units) format(double v) Formats a value of this metric, using "n/a" for NaNheader()kind()booleantooltip(boolean hasReference) static CandidatePathMetrics.MetricReturns the enum constant of this class with the specified name.static CandidatePathMetrics.Metric[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TURNING
Mean absolute angle between consecutive internodes -
CONTRACTION
Euclidean distance between endpoints over path length -
DEVIATION
Mean RMS distance to the other candidates -
SNR
Path intensity relative to local background -
DROPOUT
Fraction of nodes at background-like intensity -
CV
Robust coefficient of variation of background-subtracted node intensity -
OFF_CENTER
Mean distance between path and local cross-sectional intensity centroid
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
header
-
description
-
lowerIsBetter
public boolean lowerIsBetter() -
kind
-
columnName
- Parameters:
units- the spacing units, used by distance metrics- Returns:
- the header of a table column listing this metric, e.g., "Contraction (um)"
-
tooltip
- Parameters:
hasReference- true if the table has a reference row against which values are compared- Returns:
- the (HTML) tooltip of a table header listing this metric
-
format
Formats a value of this metric, using "n/a" for NaN
-