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 Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 Summary
Modifier 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
-
AREA
Area of the shape. -
LENGTH
Length of the shape; for area geometries, this provides the perimeter. -
CIRCULARITY
Circularity. This is available only for single-part polygonal shapes; holes are ignored. -
SOLIDITY
Ratio of the area to the convex area. -
MAX_DIAMETER
Maximum diameter; this is equivalent to the diameter of the minimum bounding circle. -
MIN_DIAMETER
Minimum diameter. -
NUCLEUS_CELL_RATIO
Nucleus/cell area ratio (only relevant to cell objects).
-
-
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
-
toString
- Overrides:
toString
in classEnum<ObjectMeasurements.ShapeFeatures>
-