Skip to main content

LabelStatisticType

Other

Label statistic types for mask shape and region statistics. Defines the types of shape and label-based statistics for mask objects.

Import

import ScriptingApi as api

# Access the class
# LabelStatisticType is available via api.LabelStatisticType

Enumeration Values

Enumeration Type from LabelStatisticType

ValueDescription
LabelStatisticType.VoxelCountVoxelCount option
LabelStatisticType.VolumeVolume option
LabelStatisticType.VolumeFractionVolumeFraction option
LabelStatisticType.PerimeterPerimeter option
LabelStatisticType.CentroidXCentroidX option
LabelStatisticType.CentroidYCentroidY option
LabelStatisticType.CentroidZCentroidZ option
LabelStatisticType.FeretDiameterFeretDiameter option
LabelStatisticType.EquivalentDiameterEquivalentDiameter option
LabelStatisticType.EquivalentEllipsoidDiameterEquivalentEllipsoidDiameter option
LabelStatisticType.CircumsphereDiameterCircumsphereDiameter option
LabelStatisticType.GapGap option
LabelStatisticType.EquivalentSphericalPerimeterEquivalentSphericalPerimeter option
LabelStatisticType.NumberOfPixelsOnBorderNumberOfPixelsOnBorder option
LabelStatisticType.PerimeterOnBorderPerimeterOnBorder option
LabelStatisticType.PerimeterOnBorderRatioPerimeterOnBorderRatio option
LabelStatisticType.RoundnessRoundness option
LabelStatisticType.CompactnessCompactness option
LabelStatisticType.ElongationElongation option
LabelStatisticType.FlatnessFlatness option
LabelStatisticType.ShapeFactorShapeFactor option
LabelStatisticType.OrientedBoundingBoxOriginXOrientedBoundingBoxOriginX option
LabelStatisticType.OrientedBoundingBoxOriginYOrientedBoundingBoxOriginY option
LabelStatisticType.OrientedBoundingBoxOriginZOrientedBoundingBoxOriginZ option
LabelStatisticType.OrientedBoundingBoxSizeXOrientedBoundingBoxSizeX option
LabelStatisticType.OrientedBoundingBoxSizeYOrientedBoundingBoxSizeY option
LabelStatisticType.OrientedBoundingBoxSizeZOrientedBoundingBoxSizeZ option
LabelStatisticType.OrientedBoundingBoxOrientationXOrientedBoundingBoxOrientationX option
LabelStatisticType.OrientedBoundingBoxOrientationYOrientedBoundingBoxOrientationY option
LabelStatisticType.OrientedBoundingBoxOrientationZOrientedBoundingBoxOrientationZ option
LabelStatisticType.PrincipalMomentsXPrincipalMomentsX option
LabelStatisticType.PrincipalMomentsYPrincipalMomentsY option
LabelStatisticType.PrincipalMomentsZPrincipalMomentsZ option
LabelStatisticType.PrincipalAxisXPrincipalAxisX option
LabelStatisticType.PrincipalAxisYPrincipalAxisY option
LabelStatisticType.PrincipalAxisZPrincipalAxisZ option
LabelStatisticType.PCADeviation1PCADeviation1 option
LabelStatisticType.PCADeviation2PCADeviation2 option
LabelStatisticType.PCADeviation3PCADeviation3 option
LabelStatisticType.PCAMaxDeviationRatioPCAMaxDeviationRatio option
LabelStatisticType.PCAMinDeviationRatioPCAMinDeviationRatio option
LabelStatisticType.ProjectedSizeXProjectedSizeX option
LabelStatisticType.ProjectedSizeYProjectedSizeY option
LabelStatisticType.ProjectedSizeZProjectedSizeZ option
LabelStatisticType.ProjectedAreaYZProjectedAreaYZ option
LabelStatisticType.ProjectedAreaXZProjectedAreaXZ option
LabelStatisticType.ProjectedAreaXYProjectedAreaXY option
LabelStatisticType.MinIntensityMinIntensity option
LabelStatisticType.MaxIntensityMaxIntensity option
LabelStatisticType.MeanIntensityMeanIntensity option
LabelStatisticType.MedianIntensityMedianIntensity option
LabelStatisticType.StandardDeviationStandardDeviation option
LabelStatisticType.Histogram5PercentQuantileHistogram5PercentQuantile option
LabelStatisticType.Histogram25PercentQuantileHistogram25PercentQuantile option
LabelStatisticType.Histogram50PercentQuantileHistogram50PercentQuantile option
LabelStatisticType.Histogram75PercentQuantileHistogram75PercentQuantile option
LabelStatisticType.Histogram95PercentQuantileHistogram95PercentQuantile option

Usage Example

import ScriptingApi as api

# Access enumeration values
value = api.LabelStatisticType.VoxelCount

See Also