ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
itk::StatisticsLabelObject< TLabel, VImageDimension > Class Template Reference

#include <itkStatisticsLabelObject.h>

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

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://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

Definition at line 41 of file itkStatisticsLabelObject.h.

Public Types

using AffineTransformPointer = typename AffineTransformType::Pointer
 
using AffineTransformType = AffineTransform< double, Self::ImageDimension >
 
using AttributeType = typename Superclass::AttributeType
 
using CentroidType = typename Superclass::CentroidType
 
using ConstPointer = SmartPointer< const Self >
 
using ConstWeakPointer = WeakPointer< const Self >
 
using HistogramType = Statistics::Histogram< double >
 
using IndexType = typename Superclass::IndexType
 
using LabelMapType = LabelMap< Self >
 
using LabelObjectType = typename Superclass::LabelObjectType
 
using LabelType = TLabel
 
using LengthType = typename Superclass::LengthType
 
using LineType = typename Superclass::LineType
 
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 AttributeType = typename Superclass::AttributeType
 
using CentroidType = Point< double, VImageDimension >
 
using ConstPointer = SmartPointer< const Self >
 
using ConstWeakPointer = WeakPointer< const Self >
 
using IndexType = typename Superclass::IndexType
 
using LabelMapType = LabelMap< Self >
 
using LabelObjectType = typename Superclass::LabelObjectType
 
using LabelType = TLabel
 
using LengthType = typename Superclass::LengthType
 
using LineType = typename Superclass::LineType
 
using MatrixType = Matrix< double, VImageDimension, VImageDimension >
 
using OrientedBoundingBoxDirectionType = MatrixType
 
using OrientedBoundingBoxPointType = Point< double, VImageDimension >
 
using OrientedBoundingBoxSizeType = Vector< double, VImageDimension >
 
using OrientedBoundingBoxVerticesType = FixedArray< OrientedBoundingBoxPointType, IntegerPow< 2, ImageDimension >::Result >
 
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)
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
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
 
virtual const char * GetNameOfClass () const
 
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)
 
- Public Member Functions inherited from itk::ShapeLabelObject< TLabel, VImageDimension >
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
OrientedBoundingBoxDirectionType
GetOrientedBoundingBoxDirection () const
 
const
OrientedBoundingBoxPointType
GetOrientedBoundingBoxOrigin () 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
 
template<typename TSourceLabelObject >
void CopyAttributesFrom (const TSourceLabelObject *src)
 
template<typename TSourceLabelObject >
void CopyAllFrom (const TSourceLabelObject *src)
 
- 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 i) const
 
const LabelTypeGetLabel () const
 
const LineTypeGetLine (SizeValueType i) const
 
LineTypeGetLine (SizeValueType i)
 
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
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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
 
double m_Minimum
 
double m_Maximum
 
double m_Mean
 
double m_Sum
 
double m_StandardDeviation
 
double m_Variance
 
double m_Median
 
IndexType m_MaximumIndex
 
IndexType m_MinimumIndex
 
PointType m_CenterOfGravity
 
VectorType m_WeightedPrincipalMoments
 
MatrixType m_WeightedPrincipalAxes
 
double m_Skewness
 
double m_Kurtosis
 
double m_WeightedElongation
 
HistogramType::ConstPointer m_Histogram
 
double m_WeightedFlatness
 
AffineTransformPointer GetWeightedPrincipalAxesToPhysicalAxesTransform () const
 
AffineTransformPointer GetPhysicalAxesToWeightedPrincipalAxesTransform () const
 
 StatisticsLabelObject ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- 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 ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 464 of file itkStatisticsLabelObject.h.

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 463 of file itkStatisticsLabelObject.h.

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

Definition at line 80 of file itkStatisticsLabelObject.h.

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

Definition at line 245 of file itkStatisticsLabelObject.h.

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

Definition at line 51 of file itkStatisticsLabelObject.h.

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

Definition at line 52 of file itkStatisticsLabelObject.h.

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

Definition at line 78 of file itkStatisticsLabelObject.h.

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

Definition at line 64 of file itkStatisticsLabelObject.h.

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

Definition at line 60 of file itkStatisticsLabelObject.h.

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

Definition at line 49 of file itkStatisticsLabelObject.h.

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

Definition at line 68 of file itkStatisticsLabelObject.h.

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

Definition at line 72 of file itkStatisticsLabelObject.h.

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

Definition at line 70 of file itkStatisticsLabelObject.h.

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.

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

Definition at line 50 of file itkStatisticsLabelObject.h.

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

Definition at line 66 of file itkStatisticsLabelObject.h.

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

Definition at line 243 of file itkStatisticsLabelObject.h.

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.

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

Definition at line 48 of file itkStatisticsLabelObject.h.

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

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

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 520 of file itkStatisticsLabelObject.h.

References itk::Matrix< T, NRows, NColumns >::Fill(), itk::Index< VDimension >::Fill(), itk::FixedArray< TValue, VLength >::Fill(), itk::StatisticsLabelObject< TLabel, VImageDimension >::m_CenterOfGravity, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Histogram, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Kurtosis, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Maximum, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MaximumIndex, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Mean, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Median, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Minimum, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MinimumIndex, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Skewness, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_StandardDeviation, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Sum, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Variance, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedElongation, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedFlatness, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalAxes, and itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalMoments.

Member Function Documentation

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

Definition at line 273 of file itkStatisticsLabelObject.h.

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

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

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

template<typename TLabel , unsigned int VImageDimension>
static AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::GetAttributeFromName ( const std::string &  s)
inlinestatic
template<typename TLabel , unsigned int VImageDimension>
const PointType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetCenterOfGravity ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const HistogramType* itk::StatisticsLabelObject< TLabel, VImageDimension >::GetHistogram ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetKurtosis ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMaximum ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const IndexType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMaximumIndex ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMean ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMedian ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMinimum ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const IndexType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMinimumIndex ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
static std::string itk::StatisticsLabelObject< TLabel, VImageDimension >::GetNameFromAttribute ( const AttributeType a)
inlinestatic
template<typename TLabel , unsigned int VImageDimension>
virtual const char* itk::StatisticsLabelObject< TLabel, VImageDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

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 495 of file itkStatisticsLabelObject.h.

References itk::StatisticsLabelObject< TLabel, VImageDimension >::ImageDimension, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_CenterOfGravity, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalAxes, and itk::AffineTransform< TParametersValueType, NDimensions >::New().

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetSkewness ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetStandardDeviation ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetSum ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetVariance ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedElongation ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedFlatness ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const MatrixType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedPrincipalAxes ( ) const
inline
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 469 of file itkStatisticsLabelObject.h.

References itk::StatisticsLabelObject< TLabel, VImageDimension >::ImageDimension, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_CenterOfGravity, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalAxes, and itk::AffineTransform< TParametersValueType, NDimensions >::New().

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

Method for creation through the object factory.

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

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.

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

Definition at line 542 of file itkStatisticsLabelObject.h.

References itk::StatisticsLabelObject< TLabel, VImageDimension >::m_CenterOfGravity, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Kurtosis, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Maximum, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MaximumIndex, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Mean, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Median, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Minimum, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MinimumIndex, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Skewness, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_StandardDeviation, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Sum, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Variance, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedElongation, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedFlatness, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalAxes, itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalMoments, and itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf().

template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetCenterOfGravity ( const PointType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetHistogram ( const HistogramType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetKurtosis ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMaximum ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMaximumIndex ( const IndexType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMean ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMedian ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMinimum ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetMinimumIndex ( const IndexType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetSkewness ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetStandardDeviation ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetSum ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetVariance ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedElongation ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedFlatness ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedPrincipalAxes ( const MatrixType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetWeightedPrincipalMoments ( const VectorType v)
inline

Member Data Documentation

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::CENTER_OF_GRAVITY = 209
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::HISTOGRAM = 216
static
template<typename TLabel , unsigned int VImageDimension>
constexpr unsigned int itk::StatisticsLabelObject< TLabel, VImageDimension >::ImageDimension = VImageDimension
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::KURTOSIS = 213
static
template<typename TLabel , unsigned int VImageDimension>
PointType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_CenterOfGravity
private
template<typename TLabel , unsigned int VImageDimension>
HistogramType::ConstPointer itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Histogram
private

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 584 of file itkStatisticsLabelObject.h.

Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::StatisticsLabelObject< TLabel, VImageDimension >::GetHistogram(), itk::StatisticsLabelObject< TLabel, VImageDimension >::SetHistogram(), and itk::StatisticsLabelObject< TLabel, VImageDimension >::StatisticsLabelObject().

template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Kurtosis
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Maximum
private
template<typename TLabel , unsigned int VImageDimension>
IndexType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MaximumIndex
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Mean
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Median
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Minimum
private
template<typename TLabel , unsigned int VImageDimension>
IndexType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_MinimumIndex
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Skewness
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_StandardDeviation
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Sum
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_Variance
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedElongation
private
template<typename TLabel , unsigned int VImageDimension>
double itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedFlatness
private
template<typename TLabel , unsigned int VImageDimension>
MatrixType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalAxes
private
template<typename TLabel , unsigned int VImageDimension>
VectorType itk::StatisticsLabelObject< TLabel, VImageDimension >::m_WeightedPrincipalMoments
private
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM = 201
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM_INDEX = 207
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MEAN = 202
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MEDIAN = 206
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM = 200
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM_INDEX = 208
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::SKEWNESS = 214
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::STANDARD_DEVIATION = 204
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::SUM = 203
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::VARIANCE = 205
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_ELONGATION = 215
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_FLATNESS = 217
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_AXES = 212
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_MOMENTS = 211
static

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