Orfeo Toolbox  4.2
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::StatisticsLabelObject< TLabel, VImageDimension > Class Template Reference

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

#include <itkStatisticsLabelObject.h>

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

Public Types

typedef
AffineTransformType::Pointer 
AffineTransformPointer
 
typedef AffineTransform
< double,
itkGetStaticConstMacro(ImageDimension) > 
AffineTransformType
 
typedef Superclass::AttributeType AttributeType
 
typedef Superclass::CentroidType CentroidType
 
typedef SmartPointer< const SelfConstPointer
 
typedef WeakPointer< const SelfConstWeakPointer
 
typedef Statistics::Histogram
< double > 
HistogramType
 
typedef Superclass::IndexType IndexType
 
typedef LabelMap< SelfLabelMapType
 
typedef Superclass::LabelObjectType LabelObjectType
 
typedef TLabel LabelType
 
typedef Superclass::LengthType LengthType
 
typedef Superclass::LineType LineType
 
typedef Matrix< double,
itkGetStaticConstMacro(ImageDimension),
itkGetStaticConstMacro(ImageDimension) > 
MatrixType
 
typedef Offset< VImageDimension > OffsetType
 
typedef SmartPointer< SelfPointer
 
typedef Point< double,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageRegion
< itkGetStaticConstMacro(ImageDimension) > 
RegionType
 
typedef StatisticsLabelObject Self
 
typedef itk::SizeValueType SizeValueType
 
typedef ShapeLabelObject
< TLabel, VImageDimension > 
Superclass
 
typedef Vector< double,
itkGetStaticConstMacro(ImageDimension) > 
VectorType
 

Public Member Functions

void AddIndex (const IndexType &idx)
 
void AddLine (const IndexType &idx, const LengthType &length)
 
void AddLine (const LineType &line)
 
void Clear ()
 
void CopyAllFrom (const Self *src)
 
virtual void CopyAttributesFrom (const LabelObjectType *lo)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void Delete ()
 
bool Empty () const
 
const RegionTypeGetBoundingBox () const
 
const PointTypeGetCenterOfGravity () 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 HistogramTypeGetHistogram () const
 
IndexType GetIndex (SizeValueType i) const
 
const double & GetKurtosis () const
 
const LabelTypeGetLabel () const
 
const LineTypeGetLine (SizeValueType i) const
 
LineTypeGetLine (SizeValueType i)
 
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
 
SizeValueType GetNumberOfLines () const
 
const SizeValueTypeGetNumberOfPixels () const
 
const SizeValueTypeGetNumberOfPixelsOnBorder () const
 
const double & GetPerimeter () const
 
const double & GetPerimeterOnBorder () const
 
const double & GetPerimeterOnBorderRatio () const
 
AffineTransformPointer GetPhysicalAxesToPrincipalAxesTransform (void) const
 
AffineTransformPointer GetPhysicalAxesToWeightedPrincipalAxesTransform (void) const
 
const double & GetPhysicalSize () const
 
const MatrixTypeGetPrincipalAxes () const
 
AffineTransformPointer GetPrincipalAxesToPhysicalAxesTransform () const
 
const VectorTypeGetPrincipalMoments () const
 
virtual int GetReferenceCount () const
 
const double & GetRoundness () 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
 
AffineTransformPointer GetWeightedPrincipalAxesToPhysicalAxesTransform () const
 
const VectorTypeGetWeightedPrincipalMoments () const
 
bool HasIndex (const IndexType &idx) const
 
 itkCloneMacro (Self)
 
void Optimize ()
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
bool RemoveIndex (const IndexType &idx)
 
void SetBoundingBox (const RegionType &v)
 
void SetCenterOfGravity (const PointType &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 SetHistogram (const HistogramType *v)
 
void SetKurtosis (const double &v)
 
void SetLabel (const LabelType &label)
 
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 SetNumberOfPixels (const SizeValueType &v)
 
void SetNumberOfPixelsOnBorder (const SizeValueType &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)
 
virtual void SetReferenceCount (int)
 
void SetRoundness (const double &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)
 
void Shift (OffsetType offset)
 
SizeValueType Size () const
 
virtual void UnRegister () const
 

Static Public Member Functions

static void BreakOnError ()
 
static AttributeType GetAttributeFromName (const std::string &s)
 
static std::string GetNameFromAttribute (const AttributeType &a)
 
static std::string GetNameFromAttribute (const AttributeType &a)
 
static Pointer New ()
 

Static Public Attributes

static const AttributeType BOUNDING_BOX = 105
 
static const AttributeType CENTER_OF_GRAVITY = 209
 
static const AttributeType CENTROID = 104
 
static const AttributeType ELONGATION = 111
 
static const AttributeType EQUIVALENT_ELLIPSOID_DIAMETER = 116
 
static const AttributeType EQUIVALENT_SPHERICAL_PERIMETER = 115
 
static const AttributeType EQUIVALENT_SPHERICAL_RADIUS = 114
 
static const AttributeType FERET_DIAMETER = 108
 
static const AttributeType FLATNESS = 117
 
static const AttributeType HISTOGRAM = 216
 
static const unsigned int ImageDimension = VImageDimension
 
static const AttributeType KURTOSIS = 213
 
static const AttributeType LABEL = 0
 
static const AttributeType MAXIMUM = 201
 
static const AttributeType MAXIMUM_INDEX = 207
 
static const AttributeType MEAN = 202
 
static const AttributeType MEDIAN = 206
 
static const AttributeType MINIMUM = 200
 
static const AttributeType MINIMUM_INDEX = 208
 
static const AttributeType NUMBER_OF_PIXELS = 100
 
static const AttributeType NUMBER_OF_PIXELS_ON_BORDER = 106
 
static const AttributeType PERIMETER = 112
 
static const AttributeType PERIMETER_ON_BORDER = 107
 
static const AttributeType PERIMETER_ON_BORDER_RATIO = 118
 
static const AttributeType PHYSICAL_SIZE = 101
 
static const AttributeType PRINCIPAL_AXES = 110
 
static const AttributeType PRINCIPAL_MOMENTS = 109
 
static const AttributeType ROUNDNESS = 113
 
static const AttributeType SKEWNESS = 214
 
static const AttributeType STANDARD_DEVIATION = 204
 
static const AttributeType SUM = 203
 
static const AttributeType VARIANCE = 205
 
static const AttributeType WEIGHTED_ELONGATION = 215
 
static const AttributeType WEIGHTED_FLATNESS = 217
 
static const AttributeType WEIGHTED_PRINCIPAL_AXES = 212
 
static const AttributeType WEIGHTED_PRINCIPAL_MOMENTS = 211
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

 StatisticsLabelObject ()
 
virtual LightObject::Pointer InternalClone () const
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 

Protected Attributes

InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

 StatisticsLabelObject (const Self &)
 
void operator= (const Self &)
 

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
 

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

Definition at line 41 of file itkStatisticsLabelObject.h.

Member Typedef Documentation

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

Definition at line 459 of file itkStatisticsLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
typedef AffineTransform< double, itkGetStaticConstMacro(ImageDimension) > itk::StatisticsLabelObject< TLabel, VImageDimension >::AffineTransformType

Affine transform for mapping to and from principal axis

Definition at line 458 of file itkStatisticsLabelObject.h.

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

Definition at line 78 of file itkStatisticsLabelObject.h.

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

Definition at line 243 of file itkStatisticsLabelObject.h.

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

Definition at line 49 of file itkStatisticsLabelObject.h.

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

Definition at line 50 of file itkStatisticsLabelObject.h.

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

Definition at line 76 of file itkStatisticsLabelObject.h.

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

Definition at line 62 of file itkStatisticsLabelObject.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 152 of file itkLightObject.h.

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

Definition at line 56 of file itkStatisticsLabelObject.h.

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

Definition at line 47 of file itkStatisticsLabelObject.h.

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

Definition at line 66 of file itkStatisticsLabelObject.h.

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

Definition at line 70 of file itkStatisticsLabelObject.h.

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

Definition at line 68 of file itkStatisticsLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
typedef Matrix< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > itk::StatisticsLabelObject< TLabel, VImageDimension >::MatrixType

Definition at line 72 of file itkStatisticsLabelObject.h.

template<typename TLabel, unsigned int VImageDimension>
typedef Offset< VImageDimension > itk::LabelObject< TLabel, VImageDimension >::OffsetType
inherited

Definition at line 84 of file itkLabelObject.h.

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

Definition at line 48 of file itkStatisticsLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
typedef Point< double, itkGetStaticConstMacro(ImageDimension) > itk::StatisticsLabelObject< TLabel, VImageDimension >::PointType

Definition at line 64 of file itkStatisticsLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
typedef ImageRegion< itkGetStaticConstMacro(ImageDimension) > itk::StatisticsLabelObject< TLabel, VImageDimension >::RegionType

Definition at line 241 of file itkStatisticsLabelObject.h.

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

Standard class typedefs

Definition at line 45 of file itkStatisticsLabelObject.h.

template<typename TLabel, unsigned int VImageDimension>
typedef itk::SizeValueType itk::LabelObject< TLabel, VImageDimension >::SizeValueType
inherited

Definition at line 89 of file itkLabelObject.h.

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

Definition at line 46 of file itkStatisticsLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
typedef Vector< double, itkGetStaticConstMacro(ImageDimension) > itk::StatisticsLabelObject< TLabel, VImageDimension >::VectorType

Definition at line 74 of file itkStatisticsLabelObject.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::AddIndex ( const IndexType idx)
inherited

Add an index to the object. If the index is already in the object, the index can be found several time in the object.

Definition at line 158 of file itkLabelObject.hxx.

References itk::LabelObjectLine< VImageDimension >::GetLength(), itk::LabelObjectLine< VImageDimension >::IsNextIndex(), and itk::LabelObjectLine< VImageDimension >::SetLength().

template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::AddLine ( const IndexType idx,
const LengthType length 
)
inherited

Add a new line to the object, without any check.

Definition at line 179 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::AddLine ( const LineType line)
inherited

Add a new line to the object, without any check.

Definition at line 191 of file itkLabelObject.hxx.

void itk::LightObject::BreakOnError ( )
staticinherited

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

Definition at line 150 of file itkLightObject.cxx.

template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::Clear ( void  )
inherited

Definition at line 369 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::CopyAllFrom ( const Self src)
inherited

Copy the lines, the label and the attributes from another node.

Definition at line 280 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
virtual void itk::StatisticsLabelObject< TLabel, VImageDimension >::CopyAttributesFrom ( const LabelObjectType src)
inlinevirtual
template<typename TLabel , unsigned int VImageDimension>
virtual::itk::LightObject::Pointer itk::StatisticsLabelObject< TLabel, VImageDimension >::CreateAnother ( void  ) 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 >.

void itk::LightObject::Delete ( )
virtualinherited

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

Delete a itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.

Definition at line 91 of file itkLightObject.cxx.

template<typename TLabel , unsigned int VImageDimension>
bool itk::LabelObject< TLabel, VImageDimension >::Empty ( ) const
inherited

Returns true if there no line in the container (and thus no pixel in the object.

Definition at line 235 of file itkLabelObject.hxx.

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

Definition at line 98 of file itkStatisticsLabelObject.h.

References itk::StatisticsLabelObject< TLabel, VImageDimension >::CENTER_OF_GRAVITY, itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), itk::StatisticsLabelObject< TLabel, VImageDimension >::HISTOGRAM, itk::StatisticsLabelObject< TLabel, VImageDimension >::KURTOSIS, itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM, itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM_INDEX, itk::StatisticsLabelObject< TLabel, VImageDimension >::MEAN, itk::StatisticsLabelObject< TLabel, VImageDimension >::MEDIAN, itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM, itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM_INDEX, itk::StatisticsLabelObject< TLabel, VImageDimension >::SKEWNESS, itk::StatisticsLabelObject< TLabel, VImageDimension >::STANDARD_DEVIATION, itk::StatisticsLabelObject< TLabel, VImageDimension >::SUM, itk::StatisticsLabelObject< TLabel, VImageDimension >::VARIANCE, itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_ELONGATION, itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_FLATNESS, itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_AXES, and itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_MOMENTS.

Referenced by itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >::SetAttribute(), itk::LabelStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetAttribute(), itk::LabelStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetAttribute(), itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::SetAttribute(), and itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetAttribute().

template<typename TLabel , unsigned int VImageDimension>
const RegionType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetBoundingBox ( void  ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const PointType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetCenterOfGravity ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const CentroidType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetCentroid ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetElongation ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const VectorType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentEllipsoidDiameter ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentSphericalPerimeter ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentSphericalRadius ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetFeretDiameter ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetFlatness ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const HistogramType* itk::StatisticsLabelObject< TLabel, VImageDimension >::GetHistogram ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
LabelObject< TLabel, VImageDimension >::IndexType itk::LabelObject< TLabel, VImageDimension >::GetIndex ( SizeValueType  i) const
inherited

Get the index of the ith pixel associated with the object. Valid indices are from 0 to LabelObject->GetSize() - 1.

Definition at line 242 of file itkLabelObject.hxx.

References itk::Index< VIndexDimension >::GetIndex().

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

Set/Get the label associated with the object.

Set/Get the label associated with that object.

Definition at line 66 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
const LabelObject< TLabel, VImageDimension >::LineType & itk::LabelObject< TLabel, VImageDimension >::GetLine ( SizeValueType  i) const
inherited

Definition at line 206 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
LabelObject< TLabel, VImageDimension >::LineType & itk::LabelObject< TLabel, VImageDimension >::GetLine ( SizeValueType  i)
inherited

Definition at line 213 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
const double& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetMaximum ( void  ) 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 ( void  ) 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 ( void  ) 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>
static std::string itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute ( const AttributeType a)
inlinestaticinherited
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>
LabelObject< TLabel, VImageDimension >::SizeValueType itk::LabelObject< TLabel, VImageDimension >::GetNumberOfLines ( ) const
inherited

Definition at line 198 of file itkLabelObject.hxx.

template<typename TLabel , unsigned int VImageDimension>
const SizeValueType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixels ( void  ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const SizeValueType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixelsOnBorder ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeter ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorder ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorderRatio ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToPrincipalAxesTransform ( void  ) const
inlineinherited

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 itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, and itk::AffineTransform< TScalar, NDimensions >::New().

template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::StatisticsLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToWeightedPrincipalAxesTransform ( void  ) 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 489 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< TScalar, NDimensions >::New().

template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalSize ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
const MatrixType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxes ( ) const
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxesToPhysicalAxesTransform ( void  ) const
inlineinherited

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 470 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, and itk::AffineTransform< TScalar, NDimensions >::New().

template<typename TLabel , unsigned int VImageDimension>
const VectorType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalMoments ( ) const
inlineinherited
virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 112 of file itkLightObject.h.

template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetRoundness ( ) const
inlineinherited
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 464 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< TScalar, NDimensions >::New().

template<typename TLabel , unsigned int VImageDimension>
const VectorType& itk::StatisticsLabelObject< TLabel, VImageDimension >::GetWeightedPrincipalMoments ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
bool itk::LabelObject< TLabel, VImageDimension >::HasIndex ( const IndexType idx) const
inherited

Return true if the object contain the given index and false otherwise. Worst case complexity is O(L) where L is the number of lines in the object.

Definition at line 84 of file itkLabelObject.hxx.

LightObject::Pointer itk::LightObject::InternalClone ( void  ) const
protectedvirtualinherited

Actual implementation of the clone method. This method should be reimplemeted in subclasses to clone the extra required parameters.

Reimplemented in itk::Transform< TScalar, NInputDimensions, NOutputDimensions >, itk::Transform< TScalar, 3, 2 >, itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >, itk::Transform< double, NInputDimensions, NOutputDimensions >, itk::Transform< TScalar, NDimensions, NDimensions >, itk::CompositeTransform< TScalar, NDimensions >, itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet, TInternalComputationValueType >, itk::ConstantVelocityFieldTransform< TScalar, NDimensions >, itk::VelocityFieldTransform< TScalar, NDimensions >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >, itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >, itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >, itk::Statistics::SubsamplerBase< TSample >, itk::Statistics::RegionConstrainedSubsampler< TSample, TRegion >, itk::Statistics::GaussianMembershipFunction< TMeasurementVector >, itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >, itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion >, itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >, itk::Statistics::DistanceToCentroidMembershipFunction< TVector >, itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >, and itk::AffineGeometryFrame< TScalar, NDimensions >.

Definition at line 77 of file itkLightObject.cxx.

References itk::LightObject::CreateAnother().

itk::LightObject::itkCloneMacro ( Self  )
inherited
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 >::operator= ( const Self )
private
template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::Optimize ( )
inherited

Reorder the lines, merge the touching lines and ensure that no pixel is covered by two lines

Definition at line 293 of file itkLabelObject.hxx.

References itk::LabelObjectLine< VImageDimension >::GetIndex(), itk::Index< VIndexDimension >::GetIndex(), and itk::LabelObjectLine< VImageDimension >::GetLength().

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 137 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::VideoStream< TFrameType >::PrintSelf().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 315 of file itkLightObject.cxx.

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

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.

Chaining method to print an object's instance variables, as well as its superclasses.

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

Definition at line 535 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().

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 325 of file itkLightObject.cxx.

void itk::LightObject::Register ( ) const
virtualinherited

Increase the reference count (mark as used by another object).

Reimplemented in itk::Object, and itk::ExceptionObject::ReferenceCountedExceptionData.

Definition at line 158 of file itkLightObject.cxx.

Referenced by itk::ExceptionObject::ReferenceCountedExceptionData::Register().

template<typename TLabel , unsigned int VImageDimension>
bool itk::LabelObject< TLabel, VImageDimension >::RemoveIndex ( const IndexType idx)
inherited

Remove an index to the object. Depending on the configuration, it can either reduce the size of the corresponding line, add one more line, remove the line from the line container.

Definition at line 104 of file itkLabelObject.hxx.

References itk::Index< VIndexDimension >::GetIndex(), and itk::Index< VIndexDimension >::SetIndex().

template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetBoundingBox ( const RegionType v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::StatisticsLabelObject< TLabel, VImageDimension >::SetCenterOfGravity ( const PointType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetCentroid ( const CentroidType centroid)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetElongation ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentEllipsoidDiameter ( const VectorType v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentSphericalPerimeter ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentSphericalRadius ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetFeretDiameter ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetFlatness ( const double &  v)
inlineinherited
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::LabelObject< TLabel, VImageDimension >::SetLabel ( const LabelType label)
inherited

Definition at line 73 of file itkLabelObject.hxx.

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::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixels ( const SizeValueType v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixelsOnBorder ( const SizeValueType v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeter ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorder ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorderRatio ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPhysicalSize ( const double &  v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalAxes ( const MatrixType v)
inlineinherited
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalMoments ( const VectorType v)
inlineinherited
void itk::LightObject::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count on this object. This is a dangerous method, use it with care.

Sets the reference count (use with care)

Reimplemented in itk::Object.

Definition at line 240 of file itkLightObject.cxx.

template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetRoundness ( const double &  v)
inlineinherited
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
template<typename TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::Shift ( OffsetType  offset)
inherited
template<typename TLabel , unsigned int VImageDimension>
LabelObject< TLabel, VImageDimension >::SizeValueType itk::LabelObject< TLabel, VImageDimension >::Size ( void  ) const
inherited

Returns the number of pixels contained in the object.

Warning
To get an accurate result, you need to make sure there is no duplication in the line container. One way to ensure this (at a cost) is to call the Optimize method.

Definition at line 220 of file itkLabelObject.hxx.

void itk::LightObject::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

Reimplemented in itk::Object, and itk::ExceptionObject::ReferenceCountedExceptionData.

Definition at line 189 of file itkLightObject.cxx.

Referenced by itk::LightObject::New(), and itk::ExceptionObject::ReferenceCountedExceptionData::UnRegister().

Member Data Documentation

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::BOUNDING_BOX = 105
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::CENTER_OF_GRAVITY = 209
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::CENTROID = 104
staticinherited

Centroid is the position of the center of the shape in physical coordinates. It is not constrained to be in the object, and thus can be outside if the object is not convex.

Definition at line 84 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::ELONGATION = 111
staticinherited

Elongation is the ratio of the largest principal moment to the second largest principal moment. Its value is greater or equal to 1. Its type is double.

Definition at line 119 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_ELLIPSOID_DIAMETER = 116
staticinherited

EquivalentEllipsoidPerimeter is the size of the ellipsoid of the same size and the same ratio on all the axes than the label object. The value depends on the image spacing.

Definition at line 139 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_PERIMETER = 115
staticinherited

EquivalentPerimeter is the equivalent perimeter of the hypersphere of the same size than the label object. The value depends on the image spacing. Its type is double.

Definition at line 134 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_RADIUS = 114
staticinherited

EquivalentRadius is the equivalent radius of the hypersphere of the same size than the label object. The value depends on the image spacing. Its type is double.

Definition at line 129 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::FERET_DIAMETER = 108
staticinherited

FeretDiameter is the diameter in physical units of the sphere which include all the object. The feret diameter is not computed by default, because of its high computation. Its type is double.

Definition at line 108 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::FLATNESS = 117
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::HISTOGRAM = 216
static
template<typename TLabel , unsigned int VImageDimension>
const unsigned int itk::StatisticsLabelObject< TLabel, VImageDimension >::ImageDimension = VImageDimension
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::KURTOSIS = 213
static
template<typename TLabel, unsigned int VImageDimension>
const AttributeType itk::LabelObject< TLabel, VImageDimension >::LABEL = 0
staticinherited

Definition at line 91 of file itkLabelObject.h.

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
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
InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 156 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 159 of file itkLightObject.h.

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>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM = 201
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MAXIMUM_INDEX = 207
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MEAN = 202
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MEDIAN = 206
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM = 200
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::MINIMUM_INDEX = 208
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS = 100
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS_ON_BORDER = 106
staticinherited

NumberOfPixelsOnBorder is the number of pixels in the objects which are on the border of the image. A pixel on several borders (a pixel in a corner) is counted only one time, so the size on border can't be greater than the size of the object. This attribute is particularly useful to remove the objects which are touching too much the border. Its type is unsigned long.

Definition at line 94 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER = 112
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER = 107
staticinherited

PerimeterOnBorder is the physical size of the objects which are on the border of the image. In 2D, it is a distance, in 3D, a surface, etc. Contrary to the PhysicalSize attribute which is directly linked to the NumberOfPixels, this attribute is not directly linked to the NumberOfPixelsOnBorder attribute. This attribute is particularly useful to remove the objects which are touching too much the border. Its type is double.

Definition at line 103 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER_RATIO = 118
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PHYSICAL_SIZE = 101
staticinherited

PhysicalSize is the size of the object in physical units. It is equal to the NumberOfPixels multiplied by the physical pixel size. Its type is double.

Definition at line 79 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_AXES = 110
staticinherited

BinaryPrincipalAxes contains the principal axes of the object.

Definition at line 114 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName(), and itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_MOMENTS = 109
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::ROUNDNESS = 113
staticinherited
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::SKEWNESS = 214
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::STANDARD_DEVIATION = 204
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::SUM = 203
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::VARIANCE = 205
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_ELONGATION = 215
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_FLATNESS = 217
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_AXES = 212
static
template<typename TLabel , unsigned int VImageDimension>
const AttributeType itk::StatisticsLabelObject< TLabel, VImageDimension >::WEIGHTED_PRINCIPAL_MOMENTS = 211
static

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

Generated at Sat Aug 30 2014 18:01:30 for Orfeo Toolbox with doxygen 1.8.3.1