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

#include <itkShapeLabelObject.h>

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

Detailed Description

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

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

ShapeLabelObject stores the common attributes related to the shape 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

Examples:
WikiExamples/ImageProcessing/ShapeAttributes.cxx.

Definition at line 42 of file itkShapeLabelObject.h.

Classes

struct  IntegerPow
 
struct  IntegerPow< VX, 0 >
 

Public Types

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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
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
 
virtual const char * GetNameOfClass () 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)
 
- 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::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 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
 
RegionType m_BoundingBox
 
SizeValueType m_NumberOfPixels
 
double m_PhysicalSize
 
CentroidType m_Centroid
 
SizeValueType m_NumberOfPixelsOnBorder
 
double m_PerimeterOnBorder
 
double m_FeretDiameter
 
VectorType m_PrincipalMoments
 
MatrixType m_PrincipalAxes
 
double m_Elongation
 
double m_Perimeter
 
double m_Roundness
 
double m_EquivalentSphericalRadius
 
double m_EquivalentSphericalPerimeter
 
VectorType m_EquivalentEllipsoidDiameter
 
double m_Flatness
 
double m_PerimeterOnBorderRatio
 
OrientedBoundingBoxSizeType m_OrientedBoundingBoxSize
 
OrientedBoundingBoxPointType m_OrientedBoundingBoxOrigin
 
AffineTransformPointer GetPrincipalAxesToPhysicalAxesTransform () const
 
AffineTransformPointer GetPhysicalAxesToPrincipalAxesTransform () const
 
template<typename TSourceLabelObject >
void CopyAttributesFrom (const TSourceLabelObject *src)
 
template<typename TSourceLabelObject >
void CopyAllFrom (const TSourceLabelObject *src)
 
 ShapeLabelObject ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- 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::ShapeLabelObject< TLabel, VImageDimension >::AffineTransformPointer = typename AffineTransformType::Pointer

Definition at line 602 of file itkShapeLabelObject.h.

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

Affine transform for mapping to and from principal axis

Definition at line 601 of file itkShapeLabelObject.h.

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

Definition at line 73 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
using itk::ShapeLabelObject< TLabel, VImageDimension >::CentroidType = Point< double, VImageDimension >

Definition at line 316 of file itkShapeLabelObject.h.

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

Definition at line 52 of file itkShapeLabelObject.h.

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

Definition at line 53 of file itkShapeLabelObject.h.

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

Definition at line 65 of file itkShapeLabelObject.h.

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

Definition at line 61 of file itkShapeLabelObject.h.

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

Definition at line 50 of file itkShapeLabelObject.h.

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

Definition at line 67 of file itkShapeLabelObject.h.

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

Definition at line 71 of file itkShapeLabelObject.h.

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

Definition at line 69 of file itkShapeLabelObject.h.

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

Definition at line 318 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
using itk::ShapeLabelObject< TLabel, VImageDimension >::OrientedBoundingBoxDirectionType = MatrixType

Definition at line 339 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
using itk::ShapeLabelObject< TLabel, VImageDimension >::OrientedBoundingBoxPointType = Point< double, VImageDimension >

Definition at line 341 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
using itk::ShapeLabelObject< TLabel, VImageDimension >::OrientedBoundingBoxSizeType = Vector<double, VImageDimension>

Definition at line 343 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
using itk::ShapeLabelObject< TLabel, VImageDimension >::OrientedBoundingBoxVerticesType = FixedArray<OrientedBoundingBoxPointType, IntegerPow<2,ImageDimension>::Result>

Definition at line 345 of file itkShapeLabelObject.h.

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

Definition at line 51 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
using itk::ShapeLabelObject< TLabel, VImageDimension >::RegionType = ImageRegion< VImageDimension >

Definition at line 314 of file itkShapeLabelObject.h.

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

Standard class type aliases

Definition at line 48 of file itkShapeLabelObject.h.

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

Definition at line 49 of file itkShapeLabelObject.h.

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

Definition at line 320 of file itkShapeLabelObject.h.

Constructor & Destructor Documentation

template<typename TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject ( )
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 692 of file itkShapeLabelObject.h.

References itk::Matrix< T, NRows, NColumns >::Fill(), itk::FixedArray< TValue, VLength >::Fill(), itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius, itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxOrigin, itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments, and itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness.

Member Function Documentation

template<typename TLabel , unsigned int VImageDimension>
template<typename TSourceLabelObject >
void itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAllFrom ( const TSourceLabelObject *  src)
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 684 of file itkShapeLabelObject.h.

template<typename TLabel , unsigned int VImageDimension>
template<typename TSourceLabelObject >
void itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom ( const TSourceLabelObject *  src)
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 658 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius, itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxOrigin, itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments, and itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness.

template<typename TLabel , unsigned int VImageDimension>
virtual::itk::LightObject::Pointer itk::ShapeLabelObject< 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::LabelObject< TLabel, VImageDimension >.

Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.

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

Definition at line 162 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::BOUNDING_BOX, itk::ShapeLabelObject< TLabel, VImageDimension >::CENTROID, itk::ShapeLabelObject< TLabel, VImageDimension >::ELONGATION, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_ELLIPSOID_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_RADIUS, itk::ShapeLabelObject< TLabel, VImageDimension >::FERET_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::FLATNESS, itk::LabelObject< TLabel, VImageDimension >::GetAttributeFromName(), itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS, itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::ORIENTED_BOUNDING_BOX_ORIGIN, itk::ShapeLabelObject< TLabel, VImageDimension >::ORIENTED_BOUNDING_BOX_SIZE, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER_RATIO, itk::ShapeLabelObject< TLabel, VImageDimension >::PHYSICAL_SIZE, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_AXES, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_MOMENTS, and itk::ShapeLabelObject< TLabel, VImageDimension >::ROUNDNESS.

Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::GetAttributeFromName().

template<typename TLabel , unsigned int VImageDimension>
const RegionType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetBoundingBox ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const CentroidType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetCentroid ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetElongation ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const VectorType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentEllipsoidDiameter ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentSphericalPerimeter ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentSphericalRadius ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetFeretDiameter ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetFlatness ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
static std::string itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute ( const AttributeType a)
inlinestatic

Definition at line 244 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::BOUNDING_BOX, itk::ShapeLabelObject< TLabel, VImageDimension >::CENTROID, itk::ShapeLabelObject< TLabel, VImageDimension >::ELONGATION, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_ELLIPSOID_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::EQUIVALENT_SPHERICAL_RADIUS, itk::ShapeLabelObject< TLabel, VImageDimension >::FERET_DIAMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::FLATNESS, itk::LabelObject< TLabel, VImageDimension >::GetNameFromAttribute(), itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS, itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::ORIENTED_BOUNDING_BOX_ORIGIN, itk::ShapeLabelObject< TLabel, VImageDimension >::ORIENTED_BOUNDING_BOX_SIZE, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER, itk::ShapeLabelObject< TLabel, VImageDimension >::PERIMETER_ON_BORDER_RATIO, itk::ShapeLabelObject< TLabel, VImageDimension >::PHYSICAL_SIZE, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_AXES, itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_MOMENTS, and itk::ShapeLabelObject< TLabel, VImageDimension >::ROUNDNESS.

Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::GetNameFromAttribute().

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

Run-time type information (and related methods).

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

Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.

template<typename TLabel , unsigned int VImageDimension>
const SizeValueType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixels ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const SizeValueType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixelsOnBorder ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const OrientedBoundingBoxDirectionType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetOrientedBoundingBoxDirection ( ) const
inline

Get the direction matrix for the oriented bounding box coordinates. This is an alias for the principal axes.

Definition at line 550 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxes().

template<typename TLabel , unsigned int VImageDimension>
const OrientedBoundingBoxPointType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetOrientedBoundingBoxOrigin ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const OrientedBoundingBoxSizeType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetOrientedBoundingBoxSize ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
OrientedBoundingBoxVerticesType itk::ShapeLabelObject< TLabel, VImageDimension >::GetOrientedBoundingBoxVertices ( ) const
inline

Get an array of point verities which define the corners of the oriented bounding box.

The first element in the array contains the minimum coordination values while the last contains the maximum. Use the index of the array in binary to determine min/max for the indexed vertex. For example, in 2D, binary counting will give[0,0], [0,1], [1,0], [1,1], which corresponds to [minX,minY], [minX,maxY], [maxX,minY], [maxX,maxY].

Definition at line 565 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::GetOrientedBoundingBoxOrigin(), itk::ShapeLabelObject< TLabel, VImageDimension >::ImageDimension, itk::FixedArray< TValue, VLength >::Length, and itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxSize.

template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeter ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorder ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorderRatio ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToPrincipalAxesTransform ( ) 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 633 of file itkShapeLabelObject.h.

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

template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalSize ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const MatrixType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxes ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalAxesToPhysicalAxesTransform ( ) 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 607 of file itkShapeLabelObject.h.

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

template<typename TLabel , unsigned int VImageDimension>
const VectorType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalMoments ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const RegionType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetRegion ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetRoundness ( ) const
inline
template<typename TLabel , unsigned int VImageDimension>
static Pointer itk::ShapeLabelObject< TLabel, VImageDimension >::New ( )
static

Method for creation through the object factory.

template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< 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::LabelObject< TLabel, VImageDimension >.

Reimplemented in itk::StatisticsLabelObject< TLabel, VImageDimension >.

Definition at line 714 of file itkShapeLabelObject.h.

References itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius, itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels, itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxOrigin, itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes, itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments, itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness, itk::Region::Print(), and itk::LabelObject< TLabel, VImageDimension >::PrintSelf().

Referenced by itk::StatisticsLabelObject< TLabel, VImageDimension >::PrintSelf().

template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetBoundingBox ( const RegionType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetCentroid ( const CentroidType centroid)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetElongation ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentEllipsoidDiameter ( const VectorType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentSphericalPerimeter ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentSphericalRadius ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetFeretDiameter ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetFlatness ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixels ( const SizeValueType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixelsOnBorder ( const SizeValueType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetOrientedBoundingBoxOrigin ( const OrientedBoundingBoxPointType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetOrientedBoundingBoxSize ( const OrientedBoundingBoxSizeType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeter ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorder ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorderRatio ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPhysicalSize ( const double &  v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalAxes ( const MatrixType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalMoments ( const VectorType v)
inline
template<typename TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetRoundness ( const double &  v)
inline

Member Data Documentation

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::BOUNDING_BOX = 105
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::CENTROID = 104
static

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::FLATNESS = 117
static
template<typename TLabel , unsigned int VImageDimension>
constexpr unsigned int itk::ShapeLabelObject< TLabel, VImageDimension >::ImageDimension = VImageDimension
static
template<typename TLabel , unsigned int VImageDimension>
RegionType itk::ShapeLabelObject< TLabel, VImageDimension >::m_BoundingBox
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 741 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetBoundingBox(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetRegion(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), and itk::ShapeLabelObject< TLabel, VImageDimension >::SetBoundingBox().

template<typename TLabel , unsigned int VImageDimension>
CentroidType itk::ShapeLabelObject< TLabel, VImageDimension >::m_Centroid
private
template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_Elongation
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 750 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetElongation(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetElongation(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
VectorType itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentEllipsoidDiameter
private
template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalPerimeter
private
template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_EquivalentSphericalRadius
private
template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_FeretDiameter
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 747 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetFeretDiameter(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetFeretDiameter(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_Flatness
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 756 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetFlatness(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetFlatness(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
SizeValueType itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixels
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 742 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetNumberOfPixels(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetNumberOfPixels(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
SizeValueType itk::ShapeLabelObject< TLabel, VImageDimension >::m_NumberOfPixelsOnBorder
private
template<typename TLabel , unsigned int VImageDimension>
OrientedBoundingBoxPointType itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxOrigin
private
template<typename TLabel , unsigned int VImageDimension>
OrientedBoundingBoxSizeType itk::ShapeLabelObject< TLabel, VImageDimension >::m_OrientedBoundingBoxSize
private
template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_Perimeter
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 751 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeter(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeter(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorder
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 746 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeterOnBorder(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeterOnBorder(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_PerimeterOnBorderRatio
private
template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_PhysicalSize
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 743 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalSize(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPhysicalSize(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
MatrixType itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalAxes
private
template<typename TLabel , unsigned int VImageDimension>
VectorType itk::ShapeLabelObject< TLabel, VImageDimension >::m_PrincipalMoments
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 748 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetPrincipalMoments(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetPrincipalMoments(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
double itk::ShapeLabelObject< TLabel, VImageDimension >::m_Roundness
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 752 of file itkShapeLabelObject.h.

Referenced by itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom(), itk::ShapeLabelObject< TLabel, VImageDimension >::GetRoundness(), itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf(), itk::ShapeLabelObject< TLabel, VImageDimension >::SetRoundness(), and itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject().

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS = 100
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::NUMBER_OF_PIXELS_ON_BORDER = 106
static

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

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

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::ORIENTED_BOUNDING_BOX_ORIGIN = 119
static

Origin of the oriented bounding box defined by the principle axes, and the oriented bounding box size

Definition at line 150 of file itkShapeLabelObject.h.

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

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::ORIENTED_BOUNDING_BOX_SIZE = 120
static

Size of the oriented bounding box defined by the principle axes, and the bounding box origin.

The combination of the OBB origin, OBB size and OBB direction ( principal axes ) defines a coordinate system suitable to use resample the OBB onto it's own image.

Definition at line 160 of file itkShapeLabelObject.h.

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

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

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

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

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

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

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

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

BinaryPrincipalAxes contains the principal axes of the object.

Definition at line 116 of file itkShapeLabelObject.h.

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

template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::PRINCIPAL_MOMENTS = 109
static
template<typename TLabel , unsigned int VImageDimension>
constexpr AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::ROUNDNESS = 113
static

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