ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::StatisticsLabelObject< TLabel, VImageDimension > Class Template Reference

#include <itkStatisticsLabelObject.h>

Detailed Description

template<typename TLabel, unsigned int VImageDimension>
class itk::StatisticsLabelObject< TLabel, VImageDimension >

A Label object to store the common attributes related to the statistics of the object.

StatisticsLabelObject stores the common attributes related to the statistics of the object

Author
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/176

Definition at line 41 of file itkStatisticsLabelObject.h.

+ Inheritance diagram for itk::StatisticsLabelObject< TLabel, VImageDimension >:
+ Collaboration diagram for itk::StatisticsLabelObject< TLabel, VImageDimension >:

Public Types

using AffineTransformPointer = typename AffineTransformType::Pointer
 
using AffineTransformType = AffineTransform< double, Self::ImageDimension >
 
using ConstPointer = SmartPointer< const Self >
 
using ConstWeakPointer = WeakPointer< const Self >
 
using HistogramType = Statistics::Histogram< double >
 
using LabelMapType = LabelMap< Self >
 
using LabelObjectType = typename Superclass::LabelObjectType
 
using LabelType = TLabel
 
using MatrixType = Matrix< double, Self::ImageDimension, Self::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using PointType = Point< double, Self::ImageDimension >
 
using RegionType = ImageRegion< Self::ImageDimension >
 
using Self = StatisticsLabelObject
 
using Superclass = ShapeLabelObject< TLabel, VImageDimension >
 
using VectorType = Vector< double, Self::ImageDimension >
 
- Public Types inherited from itk::ShapeLabelObject< TLabel, VImageDimension >
using AffineTransformPointer = typename AffineTransformType::Pointer
 
using AffineTransformType = AffineTransform< double, VImageDimension >
 
using CentroidType = Point< double, VImageDimension >
 
using ConstPointer = SmartPointer< const Self >
 
using ConstWeakPointer = WeakPointer< const Self >
 
using LabelMapType = LabelMap< Self >
 
using LabelObjectType = typename Superclass::LabelObjectType
 
using LabelType = TLabel
 
using MatrixType = Matrix< double, VImageDimension, VImageDimension >
 
using OrientedBoundingBoxDirectionType = MatrixType
 
using OrientedBoundingBoxPointType = Point< double, VImageDimension >
 
using OrientedBoundingBoxSizeType = Vector< double, VImageDimension >
 
using OrientedBoundingBoxVerticesType = FixedArray< OrientedBoundingBoxPointType, Math::UnsignedPower< unsigned int >(2, ImageDimension)>
 
using Pointer = SmartPointer< Self >
 
using RegionType = ImageRegion< VImageDimension >
 
using Self = ShapeLabelObject
 
using Superclass = LabelObject< TLabel, VImageDimension >
 
using VectorType = Vector< double, VImageDimension >
 
- Public Types inherited from itk::LabelObject< TLabel, VImageDimension >
using AttributeType = unsigned int
 
using ConstPointer = SmartPointer< const Self >
 
using ConstWeakPointer = WeakPointer< const Self >
 
using IndexType = Index< VImageDimension >
 
using LabelObjectType = Self
 
using LabelType = TLabel
 
using LengthType = typename LineType::LengthType
 
using LineType = LabelObjectLine< VImageDimension >
 
using OffsetType = Offset< VImageDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = LabelObject
 
using SizeValueType = itk::SizeValueType
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

template<typename TSourceLabelObject >
void CopyAllFrom (const TSourceLabelObject *src)
 
template<typename TSourceLabelObject >
void CopyAttributesFrom (const TSourceLabelObject *src)
 
const PointTypeGetCenterOfGravity () const
 
const HistogramTypeGetHistogram () const
 
const double & GetKurtosis () const
 
const double & GetMaximum () const
 
const IndexTypeGetMaximumIndex () const
 
const double & GetMean () const
 
const double & GetMedian () const
 
const double & GetMinimum () const
 
const IndexTypeGetMinimumIndex () const
 
const char * GetNameOfClass () const override
 
const double & GetSkewness () const
 
const double & GetStandardDeviation () const
 
const double & GetSum () const
 
const double & GetVariance () const
 
const double & GetWeightedElongation () const
 
const double & GetWeightedFlatness () const
 
const MatrixTypeGetWeightedPrincipalAxes () const
 
const VectorTypeGetWeightedPrincipalMoments () const
 
void SetCenterOfGravity (const PointType &v)
 
void SetHistogram (const HistogramType *v)
 
void SetKurtosis (const double v)
 
void SetMaximum (const double v)
 
void SetMaximumIndex (const IndexType &v)
 
void SetMean (const double v)
 
void SetMedian (const double v)
 
void SetMinimum (const double v)
 
void SetMinimumIndex (const IndexType &v)
 
void SetSkewness (const double v)
 
void SetStandardDeviation (const double v)
 
void SetSum (const double v)
 
void SetVariance (const double v)
 
void SetWeightedElongation (const double v)
 
void SetWeightedFlatness (const double v)
 
void SetWeightedPrincipalAxes (const MatrixType &v)
 
void SetWeightedPrincipalMoments (const VectorType &v)
 
AffineTransformPointer GetWeightedPrincipalAxesToPhysicalAxesTransform () const
 
AffineTransformPointer GetPhysicalAxesToWeightedPrincipalAxesTransform () const
 
- Public Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension >
template<typename TSourceLabelObject >
void CopyAllFrom (const TSourceLabelObject *src)
 
template<typename TSourceLabelObject >
void CopyAttributesFrom (const TSourceLabelObject *src)
 
const RegionTypeGetBoundingBox () const
 
const CentroidTypeGetCentroid () const
 
const double & GetElongation () const
 
const VectorTypeGetEquivalentEllipsoidDiameter () const
 
const double & GetEquivalentSphericalPerimeter () const
 
const double & GetEquivalentSphericalRadius () const
 
const double & GetFeretDiameter () const
 
const double & GetFlatness () const
 
const SizeValueTypeGetNumberOfPixels () const
 
const SizeValueTypeGetNumberOfPixelsOnBorder () const
 
const OrientedBoundingBoxDirectionTypeGetOrientedBoundingBoxDirection () const
 
const OrientedBoundingBoxPointTypeGetOrientedBoundingBoxOrigin () const
 
const OrientedBoundingBoxSizeTypeGetOrientedBoundingBoxSize () const
 
OrientedBoundingBoxVerticesType GetOrientedBoundingBoxVertices () const
 
const double & GetPerimeter () const
 
const double & GetPerimeterOnBorder () const
 
const double & GetPerimeterOnBorderRatio () const
 
const double & GetPhysicalSize () const
 
const MatrixTypeGetPrincipalAxes () const
 
const VectorTypeGetPrincipalMoments () const
 
const RegionTypeGetRegion () const
 
const double & GetRoundness () const
 
void SetBoundingBox (const RegionType &v)
 
void SetCentroid (const CentroidType &centroid)
 
void SetElongation (const double v)
 
void SetEquivalentEllipsoidDiameter (const VectorType &v)
 
void SetEquivalentSphericalPerimeter (const double v)
 
void SetEquivalentSphericalRadius (const double v)
 
void SetFeretDiameter (const double v)
 
void SetFlatness (const double v)
 
void SetNumberOfPixels (const SizeValueType &v)
 
void SetNumberOfPixelsOnBorder (const SizeValueType &v)
 
void SetOrientedBoundingBoxOrigin (const OrientedBoundingBoxPointType &v)
 
void SetOrientedBoundingBoxSize (const OrientedBoundingBoxSizeType &v)
 
void SetPerimeter (const double v)
 
void SetPerimeterOnBorder (const double v)
 
void SetPerimeterOnBorderRatio (const double v)
 
void SetPhysicalSize (const double v)
 
void SetPrincipalAxes (const MatrixType &v)
 
void SetPrincipalMoments (const VectorType &v)
 
void SetRoundness (const double v)
 
AffineTransformPointer GetPrincipalAxesToPhysicalAxesTransform () const
 
AffineTransformPointer GetPhysicalAxesToPrincipalAxesTransform () const
 
- Public Member Functions inherited from itk::LabelObject< TLabel, VImageDimension >
void AddIndex (const IndexType &idx)
 
void AddLine (const IndexType &idx, const LengthType &length)
 
void AddLine (const LineType &line)
 
void Clear ()
 
template<typename TSourceLabelObject >
void CopyAllFrom (const TSourceLabelObject *src)
 
template<typename TSourceLabelObject >
void CopyAttributesFrom (const TSourceLabelObject *src)
 
template<typename TSourceLabelObject >
void CopyLinesFrom (const TSourceLabelObject *src)
 
bool Empty () const
 
IndexType GetIndex (SizeValueType offset) const
 
const LabelTypeGetLabel () const
 
LineTypeGetLine (SizeValueType i)
 
const LineTypeGetLine (SizeValueType i) const
 
SizeValueType GetNumberOfLines () const
 
bool HasIndex (const IndexType &idx) const
 
void Optimize ()
 
bool RemoveIndex (const IndexType &idx)
 
void SetLabel (const LabelType &label)
 
void Shift (OffsetType offset)
 
SizeValueType Size () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static AttributeType GetAttributeFromName (const std::string &s)
 
static std::string GetNameFromAttribute (const AttributeType &a)
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension >
static AttributeType GetAttributeFromName (const std::string &s)
 
static std::string GetNameFromAttribute (const AttributeType &a)
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LabelObject< TLabel, VImageDimension >
static AttributeType GetAttributeFromName (const std::string &s)
 
static std::string GetNameFromAttribute (const AttributeType &a)
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr AttributeType CENTER_OF_GRAVITY = 209
 
static constexpr AttributeType HISTOGRAM = 216
 
static constexpr unsigned int ImageDimension = VImageDimension
 
static constexpr AttributeType KURTOSIS = 213
 
static constexpr AttributeType MAXIMUM = 201
 
static constexpr AttributeType MAXIMUM_INDEX = 207
 
static constexpr AttributeType MEAN = 202
 
static constexpr AttributeType MEDIAN = 206
 
static constexpr AttributeType MINIMUM = 200
 
static constexpr AttributeType MINIMUM_INDEX = 208
 
static constexpr AttributeType SKEWNESS = 214
 
static constexpr AttributeType STANDARD_DEVIATION = 204
 
static constexpr AttributeType SUM = 203
 
static constexpr AttributeType VARIANCE = 205
 
static constexpr AttributeType WEIGHTED_ELONGATION = 215
 
static constexpr AttributeType WEIGHTED_FLATNESS = 217
 
static constexpr AttributeType WEIGHTED_PRINCIPAL_AXES = 212
 
static constexpr AttributeType WEIGHTED_PRINCIPAL_MOMENTS = 211
 
- Static Public Attributes inherited from itk::ShapeLabelObject< TLabel, VImageDimension >
static constexpr AttributeType BOUNDING_BOX = 105
 
static constexpr AttributeType CENTROID = 104
 
static constexpr AttributeType ELONGATION = 111
 
static constexpr AttributeType EQUIVALENT_ELLIPSOID_DIAMETER = 116
 
static constexpr AttributeType EQUIVALENT_SPHERICAL_PERIMETER = 115
 
static constexpr AttributeType EQUIVALENT_SPHERICAL_RADIUS = 114
 
static constexpr AttributeType FERET_DIAMETER = 108
 
static constexpr AttributeType FLATNESS = 117
 
static constexpr unsigned int ImageDimension = VImageDimension
 
static constexpr AttributeType NUMBER_OF_PIXELS = 100
 
static constexpr AttributeType NUMBER_OF_PIXELS_ON_BORDER = 106
 
static constexpr AttributeType ORIENTED_BOUNDING_BOX_ORIGIN = 119
 
static constexpr AttributeType ORIENTED_BOUNDING_BOX_SIZE = 120
 
static constexpr AttributeType PERIMETER = 112
 
static constexpr AttributeType PERIMETER_ON_BORDER = 107
 
static constexpr AttributeType PERIMETER_ON_BORDER_RATIO = 118
 
static constexpr AttributeType PHYSICAL_SIZE = 101
 
static constexpr AttributeType PRINCIPAL_AXES = 110
 
static constexpr AttributeType PRINCIPAL_MOMENTS = 109
 
static constexpr AttributeType ROUNDNESS = 113
 
- Static Public Attributes inherited from itk::LabelObject< TLabel, VImageDimension >
static constexpr unsigned int ImageDimension = VImageDimension
 
static constexpr AttributeType LABEL = 0
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 StatisticsLabelObject ()
 
- Protected Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension >
 ShapeLabelObject ()
 
- Protected Member Functions inherited from itk::LabelObject< TLabel, VImageDimension >
 LabelObject ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

PointType m_CenterOfGravity {}
 
HistogramType::ConstPointer m_Histogram {}
 
double m_Kurtosis {}
 
double m_Maximum {}
 
IndexType m_MaximumIndex {}
 
double m_Mean {}
 
double m_Median {}
 
double m_Minimum {}
 
IndexType m_MinimumIndex {}
 
double m_Skewness {}
 
double m_StandardDeviation {}
 
double m_Sum {}
 
double m_Variance {}
 
double m_WeightedElongation {}
 
double m_WeightedFlatness {}
 
MatrixType m_WeightedPrincipalAxes {}
 
VectorType m_WeightedPrincipalMoments {}
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ AffineTransformPointer

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::AffineTransformPointer = typename AffineTransformType::Pointer

Definition at line 484 of file itkStatisticsLabelObject.h.

◆ AffineTransformType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::AffineTransformType = AffineTransform<double, Self::ImageDimension>

Affine transform for mapping to and from principal axis

Definition at line 483 of file itkStatisticsLabelObject.h.

◆ ConstPointer

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 51 of file itkStatisticsLabelObject.h.

◆ ConstWeakPointer

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::ConstWeakPointer = WeakPointer<const Self>

Definition at line 52 of file itkStatisticsLabelObject.h.

◆ HistogramType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::HistogramType = Statistics::Histogram<double>

Definition at line 78 of file itkStatisticsLabelObject.h.

◆ LabelMapType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::LabelMapType = LabelMap<Self>

Definition at line 60 of file itkStatisticsLabelObject.h.

◆ LabelObjectType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::LabelObjectType = typename Superclass::LabelObjectType

Definition at line 49 of file itkStatisticsLabelObject.h.

◆ LabelType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::LabelType = TLabel

Definition at line 68 of file itkStatisticsLabelObject.h.

◆ MatrixType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::MatrixType = Matrix<double, Self::ImageDimension, Self::ImageDimension>

Definition at line 74 of file itkStatisticsLabelObject.h.

◆ Pointer

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::Pointer = SmartPointer<Self>

Definition at line 50 of file itkStatisticsLabelObject.h.

◆ PointType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::PointType = Point<double, Self::ImageDimension>

Definition at line 66 of file itkStatisticsLabelObject.h.

◆ RegionType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::RegionType = ImageRegion<Self::ImageDimension>

Definition at line 227 of file itkStatisticsLabelObject.h.

◆ Self

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::Self = StatisticsLabelObject

Standard class type aliases

Definition at line 47 of file itkStatisticsLabelObject.h.

◆ Superclass

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::Superclass = ShapeLabelObject<TLabel, VImageDimension>

Definition at line 48 of file itkStatisticsLabelObject.h.

◆ VectorType

template<typename TLabel , unsigned int VImageDimension>
using itk::StatisticsLabelObject< TLabel, VImageDimension >::VectorType = Vector<double, Self::ImageDimension>

Definition at line 76 of file itkStatisticsLabelObject.h.

Constructor & Destructor Documentation

◆ StatisticsLabelObject()

template<typename TLabel , unsigned int VImageDimension>
itk::StatisticsLabelObject< TLabel, VImageDimension >::StatisticsLabelObject ( )
inlineprotected

Definition at line 542 of file itkStatisticsLabelObject.h.

Member Function Documentation

◆ CopyAllFrom()

template<typename TLabel , unsigned int VImageDimension>
template<typename TSourceLabelObject >
void itk::StatisticsLabelObject< TLabel, VImageDimension >::CopyAllFrom ( const TSourceLabelObject *  src)
inline

Definition at line 259 of file itkStatisticsLabelObject.h.

◆ CopyAttributesFrom()

template<typename TLabel , unsigned int VImageDimension>
template<typename TSourceLabelObject >
void itk::StatisticsLabelObject< TLabel, VImageDimension >::CopyAttributesFrom ( const TSourceLabelObject *  src)
inline

Definition at line 233 of file itkStatisticsLabelObject.h.

◆ GetAttributeFromName()

template<typename TLabel , unsigned int VImageDimension>
static AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::GetAttributeFromName ( const std::string &  s)
inlinestatic

Definition at line 101 of file itkStatisticsLabelObject.h.

◆ GetCenterOfGravity()

template<typename TLabel , unsigned int VImageDimension>
const PointType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetCenterOfGravity ( ) const
inline

Definition at line 375 of file itkStatisticsLabelObject.h.

◆ GetHistogram()

template<typename TLabel , unsigned int VImageDimension>
const HistogramType* itk::StatisticsLabelObject< TLabel, VImageDimension >::GetHistogram ( ) const
inline

Definition at line 458 of file itkStatisticsLabelObject.h.

◆ GetKurtosis()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetKurtosis ( ) const
inline

Definition at line 434 of file itkStatisticsLabelObject.h.

◆ GetMaximum()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMaximum ( ) const
inline

Definition at line 279 of file itkStatisticsLabelObject.h.

◆ GetMaximumIndex()

template<typename TLabel , unsigned int VImageDimension>
const IndexType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMaximumIndex ( ) const
inline

Definition at line 351 of file itkStatisticsLabelObject.h.

◆ GetMean()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMean ( ) const
inline

Definition at line 291 of file itkStatisticsLabelObject.h.

◆ GetMedian()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMedian ( ) const
inline

Definition at line 339 of file itkStatisticsLabelObject.h.

◆ GetMinimum()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMinimum ( ) const
inline

Definition at line 267 of file itkStatisticsLabelObject.h.

◆ GetMinimumIndex()

template<typename TLabel , unsigned int VImageDimension>
const IndexType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMinimumIndex ( ) const
inline

Definition at line 363 of file itkStatisticsLabelObject.h.

◆ GetNameFromAttribute()

template<typename TLabel , unsigned int VImageDimension>
static std::string itk::StatisticsLabelObject< TLabel, VImageDimension >::GetNameFromAttribute ( const AttributeType a)
inlinestatic

Definition at line 182 of file itkStatisticsLabelObject.h.

◆ GetNameOfClass()

template<typename TLabel , unsigned int VImageDimension>
const char* itk::StatisticsLabelObject< TLabel, VImageDimension >::GetNameOfClass ( ) const
overridevirtual

◆ GetPhysicalAxesToWeightedPrincipalAxesTransform()

template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::StatisticsLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToWeightedPrincipalAxesTransform ( ) const
inline

Get the affine transform from physical axes to principal axes This method returns an affine transform which transforms from the physical coordinate system to the principal axes coordinate system.

Definition at line 517 of file itkStatisticsLabelObject.h.

References New().

◆ GetSkewness()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetSkewness ( ) const
inline

Definition at line 422 of file itkStatisticsLabelObject.h.

◆ GetStandardDeviation()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetStandardDeviation ( ) const
inline

Definition at line 315 of file itkStatisticsLabelObject.h.

◆ GetSum()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetSum ( ) const
inline

Definition at line 303 of file itkStatisticsLabelObject.h.

◆ GetVariance()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetVariance ( ) const
inline

Definition at line 327 of file itkStatisticsLabelObject.h.

◆ GetWeightedElongation()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedElongation ( ) const
inline

Definition at line 446 of file itkStatisticsLabelObject.h.

◆ GetWeightedFlatness()

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedFlatness ( ) const
inline

Definition at line 470 of file itkStatisticsLabelObject.h.

◆ GetWeightedPrincipalAxes()

template<typename TLabel , unsigned int VImageDimension>
const MatrixType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedPrincipalAxes ( ) const
inline

Definition at line 410 of file itkStatisticsLabelObject.h.

◆ GetWeightedPrincipalAxesToPhysicalAxesTransform()

template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedPrincipalAxesToPhysicalAxesTransform ( ) const
inline

Get the affine transform from principal axes to physical axes This method returns an affine transform which transforms from the principal axes coordinate system to physical coordinates.

Definition at line 490 of file itkStatisticsLabelObject.h.

References New().

◆ GetWeightedPrincipalMoments()

template<typename TLabel , unsigned int VImageDimension>
const VectorType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedPrincipalMoments ( ) const
inline

Definition at line 398 of file itkStatisticsLabelObject.h.

◆ New()

template<typename TLabel , unsigned int VImageDimension>
static Pointer itk::StatisticsLabelObject< TLabel, VImageDimension >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineoverrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ShapeLabelObject< TLabel, VImageDimension >.

Definition at line 565 of file itkStatisticsLabelObject.h.

◆ SetCenterOfGravity()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetCenterOfGravity ( const PointType v)
inline

Definition at line 381 of file itkStatisticsLabelObject.h.

◆ SetHistogram()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetHistogram ( const HistogramType v)
inline

Definition at line 464 of file itkStatisticsLabelObject.h.

◆ SetKurtosis()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetKurtosis ( const double  v)
inline

Definition at line 440 of file itkStatisticsLabelObject.h.

◆ SetMaximum()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMaximum ( const double  v)
inline

Definition at line 285 of file itkStatisticsLabelObject.h.

◆ SetMaximumIndex()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMaximumIndex ( const IndexType v)
inline

Definition at line 357 of file itkStatisticsLabelObject.h.

◆ SetMean()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMean ( const double  v)
inline

Definition at line 297 of file itkStatisticsLabelObject.h.

◆ SetMedian()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMedian ( const double  v)
inline

Definition at line 345 of file itkStatisticsLabelObject.h.

◆ SetMinimum()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMinimum ( const double  v)
inline

Definition at line 273 of file itkStatisticsLabelObject.h.

◆ SetMinimumIndex()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMinimumIndex ( const IndexType v)
inline

Definition at line 369 of file itkStatisticsLabelObject.h.

◆ SetSkewness()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetSkewness ( const double  v)
inline

Definition at line 428 of file itkStatisticsLabelObject.h.

◆ SetStandardDeviation()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetStandardDeviation ( const double  v)
inline

Definition at line 321 of file itkStatisticsLabelObject.h.

◆ SetSum()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetSum ( const double  v)
inline

Definition at line 309 of file itkStatisticsLabelObject.h.

◆ SetVariance()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetVariance ( const double  v)
inline

Definition at line 333 of file itkStatisticsLabelObject.h.

◆ SetWeightedElongation()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedElongation ( const double  v)
inline

Definition at line 452 of file itkStatisticsLabelObject.h.

◆ SetWeightedFlatness()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedFlatness ( const double  v)
inline

Definition at line 476 of file itkStatisticsLabelObject.h.

◆ SetWeightedPrincipalAxes()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedPrincipalAxes ( const MatrixType v)
inline

Definition at line 416 of file itkStatisticsLabelObject.h.

◆ SetWeightedPrincipalMoments()

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedPrincipalMoments ( const VectorType v)
inline

Definition at line 404 of file itkStatisticsLabelObject.h.

Member Data Documentation

◆ CENTER_OF_GRAVITY

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::CENTER_OF_GRAVITY = 209
staticconstexpr

Definition at line 90 of file itkStatisticsLabelObject.h.

◆ HISTOGRAM

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::HISTOGRAM = 216
staticconstexpr

Definition at line 97 of file itkStatisticsLabelObject.h.

◆ ImageDimension

template<typename TLabel , unsigned int VImageDimension>
constexpr unsigned int itk::StatisticsLabelObject< TLabel, VImageDimension >::ImageDimension = VImageDimension
staticconstexpr

Definition at line 62 of file itkStatisticsLabelObject.h.

◆ KURTOSIS

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::KURTOSIS = 213
staticconstexpr

Definition at line 94 of file itkStatisticsLabelObject.h.

◆ m_CenterOfGravity

template<typename TLabel , unsigned int VImageDimension>
PointType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_CenterOfGravity {}
private

Definition at line 599 of file itkStatisticsLabelObject.h.

◆ m_Histogram

template<typename TLabel , unsigned int VImageDimension>
HistogramType::ConstPointer itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Histogram {}
private

Definition at line 607 of file itkStatisticsLabelObject.h.

◆ m_Kurtosis

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Kurtosis {}
private

Definition at line 604 of file itkStatisticsLabelObject.h.

◆ m_Maximum

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Maximum {}
private

Definition at line 591 of file itkStatisticsLabelObject.h.

◆ m_MaximumIndex

template<typename TLabel , unsigned int VImageDimension>
IndexType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MaximumIndex {}
private

Definition at line 597 of file itkStatisticsLabelObject.h.

◆ m_Mean

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Mean {}
private

Definition at line 592 of file itkStatisticsLabelObject.h.

◆ m_Median

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Median {}
private

Definition at line 596 of file itkStatisticsLabelObject.h.

◆ m_Minimum

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Minimum {}
private

Definition at line 590 of file itkStatisticsLabelObject.h.

◆ m_MinimumIndex

template<typename TLabel , unsigned int VImageDimension>
IndexType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MinimumIndex {}
private

Definition at line 598 of file itkStatisticsLabelObject.h.

◆ m_Skewness

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Skewness {}
private

Definition at line 603 of file itkStatisticsLabelObject.h.

◆ m_StandardDeviation

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_StandardDeviation {}
private

Definition at line 594 of file itkStatisticsLabelObject.h.

◆ m_Sum

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Sum {}
private

Definition at line 593 of file itkStatisticsLabelObject.h.

◆ m_Variance

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Variance {}
private

Definition at line 595 of file itkStatisticsLabelObject.h.

◆ m_WeightedElongation

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedElongation {}
private

Definition at line 605 of file itkStatisticsLabelObject.h.

◆ m_WeightedFlatness

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedFlatness {}
private

Definition at line 609 of file itkStatisticsLabelObject.h.

◆ m_WeightedPrincipalAxes

template<typename TLabel , unsigned int VImageDimension>
MatrixType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalAxes {}
private

Definition at line 602 of file itkStatisticsLabelObject.h.

◆ m_WeightedPrincipalMoments

template<typename TLabel , unsigned int VImageDimension>
VectorType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalMoments {}
private

Definition at line 601 of file itkStatisticsLabelObject.h.

◆ MAXIMUM

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM = 201
staticconstexpr

Definition at line 82 of file itkStatisticsLabelObject.h.

◆ MAXIMUM_INDEX

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM_INDEX = 207
staticconstexpr

Definition at line 88 of file itkStatisticsLabelObject.h.

◆ MEAN

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MEAN = 202
staticconstexpr

Definition at line 83 of file itkStatisticsLabelObject.h.

◆ MEDIAN

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MEDIAN = 206
staticconstexpr

Definition at line 87 of file itkStatisticsLabelObject.h.

◆ MINIMUM

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM = 200
staticconstexpr

Definition at line 81 of file itkStatisticsLabelObject.h.

◆ MINIMUM_INDEX

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM_INDEX = 208
staticconstexpr

Definition at line 89 of file itkStatisticsLabelObject.h.

◆ SKEWNESS

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::SKEWNESS = 214
staticconstexpr

Definition at line 95 of file itkStatisticsLabelObject.h.

◆ STANDARD_DEVIATION

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::STANDARD_DEVIATION = 204
staticconstexpr

Definition at line 85 of file itkStatisticsLabelObject.h.

◆ SUM

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::SUM = 203
staticconstexpr

Definition at line 84 of file itkStatisticsLabelObject.h.

◆ VARIANCE

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::VARIANCE = 205
staticconstexpr

Definition at line 86 of file itkStatisticsLabelObject.h.

◆ WEIGHTED_ELONGATION

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_ELONGATION = 215
staticconstexpr

Definition at line 96 of file itkStatisticsLabelObject.h.

◆ WEIGHTED_FLATNESS

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_FLATNESS = 217
staticconstexpr

Definition at line 98 of file itkStatisticsLabelObject.h.

◆ WEIGHTED_PRINCIPAL_AXES

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_AXES = 212
staticconstexpr

Definition at line 93 of file itkStatisticsLabelObject.h.

◆ WEIGHTED_PRINCIPAL_MOMENTS

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_MOMENTS = 211
staticconstexpr

Definition at line 92 of file itkStatisticsLabelObject.h.


The documentation for this class was generated from the following file: