Package qupath.lib.analysis.features
Enum Class ObjectMeasurements.ShapeFeatures
java.lang.Object
java.lang.Enum<ObjectMeasurements.ShapeFeatures>
qupath.lib.analysis.features.ObjectMeasurements.ShapeFeatures
- All Implemented Interfaces:
- Serializable,- Comparable<ObjectMeasurements.ShapeFeatures>,- Constable
- Enclosing class:
- ObjectMeasurements
Standard measurements that may be computed from shapes.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionArea of the shape.Circularity.Length of the shape; for area geometries, this provides the perimeter.Maximum diameter; this is equivalent to the diameter of the minimum bounding circle.Minimum diameter.Nucleus/cell area ratio (only relevant to cell objects).Ratio of the area to the convex area.
- 
Method SummaryModifier and TypeMethodDescriptiontoString()Returns the enum constant of this class with the specified name.static ObjectMeasurements.ShapeFeatures[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
AREAArea of the shape.
- 
LENGTHLength of the shape; for area geometries, this provides the perimeter.
- 
CIRCULARITYCircularity. This is available only for single-part polygonal shapes; holes are ignored.
- 
SOLIDITYRatio of the area to the convex area.
- 
MAX_DIAMETERMaximum diameter; this is equivalent to the diameter of the minimum bounding circle.
- 
MIN_DIAMETERMinimum diameter.
- 
NUCLEUS_CELL_RATIONucleus/cell area ratio (only relevant to cell objects).
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
toString- Overrides:
- toStringin class- Enum<ObjectMeasurements.ShapeFeatures>
 
 
-