Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ShapeLabelObject< TLabel, VImageDimension > Class Template Reference
[Data Representation Objects]

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

#include <itkShapeLabelObject.h>

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

Inheritance graph
[legend]
Collaboration diagram for itk::ShapeLabelObject< TLabel, VImageDimension >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef
AffineTransformType::Pointer 
AffineTransformPointer
typedef AffineTransform
< double, VImageDimension > 
AffineTransformType
typedef Superclass::AttributeType AttributeType
typedef Point< double,
VImageDimension > 
CentroidType
typedef SmartPointer< const SelfConstPointer
typedef WeakPointer< const SelfConstWeakPointer
typedef Superclass::IndexType IndexType
typedef LabelMap< SelfLabelMapType
typedef Superclass::LabelObjectType LabelObjectType
typedef TLabel LabelType
typedef Superclass::LengthType LengthType
typedef
Superclass::LineContainerType 
LineContainerType
typedef Superclass::LineType LineType
typedef Matrix< double,
VImageDimension,
VImageDimension > 
MatrixType
typedef SmartPointer< SelfPointer
typedef ImageRegion
< VImageDimension > 
RegionType
typedef ShapeLabelObject Self
typedef unsigned long SizeValueType
typedef LabelObject< TLabel,
VImageDimension > 
Superclass
typedef Vector< double,
VImageDimension > 
VectorType

Public Member Functions

void AddIndex (const IndexType &idx)
void AddLine (const LineType &line)
void AddLine (const IndexType &idx, const LengthType &length)
void CopyAllFrom (const Self *src)
virtual Pointer CreateAnother () const
virtual void Delete ()
bool Empty () const
const double & GetBinaryElongation () const
const double & GetBinaryFlatness () const
const MatrixTypeGetBinaryPrincipalAxes () const
const VectorTypeGetBinaryPrincipalMoments () const
const CentroidTypeGetCentroid () const
const VectorTypeGetEquivalentEllipsoidSize () const
const double & GetEquivalentPerimeter () const
const double & GetEquivalentRadius () const
const double & GetFeretDiameter () const
IndexType GetIndex (SizeValueType offset) const
LineTypeGetLine (SizeValueType i)
const LineTypeGetLine (SizeValueType i) const
LineContainerTypeGetLineContainer ()
const LineContainerTypeGetLineContainer () const
virtual const char * GetNameOfClass () const
SizeValueType GetNumberOfLines () const
const double & GetPerimeter () const
const double & GetPhysicalSize () const
const double & GetPhysicalSizeOnBorder () const
virtual int GetReferenceCount () const
const RegionTypeGetRegion () const
const double & GetRegionElongation () const
const double & GetRoundness () const
const unsigned long & GetSize () const
const unsigned long & GetSizeOnBorder () const
const double & GetSizeRegionRatio () const
bool HasIndex (const IndexType &idx) const
 itkStaticConstMacro (LABEL, AttributeType, 0)
 itkStaticConstMacro (BINARY_FLATNESS, AttributeType, 117)
 itkStaticConstMacro (EQUIVALENT_ELLIPSOID_RADIUS, AttributeType, 116)
 itkStaticConstMacro (EQUIVALENT_PERIMETER, AttributeType, 115)
 itkStaticConstMacro (EQUIVALENT_RADIUS, AttributeType, 114)
 itkStaticConstMacro (ROUNDNESS, AttributeType, 113)
 itkStaticConstMacro (PERIMETER, AttributeType, 112)
 itkStaticConstMacro (BINARY_ELONGATION, AttributeType, 111)
 itkStaticConstMacro (BINARY_PRINCIPAL_AXES, AttributeType, 110)
 itkStaticConstMacro (BINARY_PRINCIPAL_MOMENTS, AttributeType, 109)
 itkStaticConstMacro (FERET_DIAMETER, AttributeType, 108)
 itkStaticConstMacro (PHYSICAL_SIZE_ON_BORDER, AttributeType, 107)
 itkStaticConstMacro (SIZE_ON_BORDER, AttributeType, 106)
 itkStaticConstMacro (REGION, AttributeType, 105)
 itkStaticConstMacro (CENTROID, AttributeType, 104)
 itkStaticConstMacro (SIZE_REGION_RATIO, AttributeType, 103)
 itkStaticConstMacro (REGION_ELONGATION, AttributeType, 102)
 itkStaticConstMacro (PHYSICAL_SIZE, AttributeType, 101)
 itkStaticConstMacro (SIZE, AttributeType, 100)
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
void Optimize ()
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void SetBinaryElongation (const double &v)
void SetBinaryFlatness (const double &v)
void SetBinaryPrincipalAxes (const MatrixType &v)
void SetBinaryPrincipalMoments (const VectorType &v)
void SetCentroid (const CentroidType &centroid)
void SetEquivalentEllipsoidSize (const VectorType &v)
void SetEquivalentPerimeter (const double &v)
void SetEquivalentRadius (const double &v)
void SetFeretDiameter (const double &v)
void SetLineContainer (const LineContainerType &lineContainer)
void SetPerimeter (const double &v)
void SetPhysicalSize (const double &v)
void SetPhysicalSizeOnBorder (const double &v)
virtual void SetReferenceCount (int)
void SetRegion (const RegionType &v)
void SetRegionElongation (const double &v)
void SetRoundness (const double &v)
void SetSize (const unsigned long &v)
void SetSizeOnBorder (const unsigned long &v)
void SetSizeRegionRatio (const double &v)
SizeValueType Size () const
virtual void UnRegister () const
const LabelTypeGetLabel () const
void SetLabel (const LabelType &label)

Static Public Member Functions

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

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
virtual void CopyAttributesFrom (const LabelObjectType *lo)
AffineTransformPointer GetBinaryPrincipalAxesToPhysicalAxesTransform () const
AffineTransformPointer GetPhysicalAxesToBinaryPrincipalAxesTransform (void) const
void PrintSelf (std::ostream &os, Indent indent) const
 ShapeLabelObject ()


Detailed Description

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

Definition at line 42 of file itkShapeLabelObject.h.


Member Typedef Documentation

template<class TLabel , unsigned int VImageDimension>
typedef AffineTransformType::Pointer itk::ShapeLabelObject< TLabel, VImageDimension >::AffineTransformPointer

template<class TLabel , unsigned int VImageDimension>
typedef AffineTransform<double,VImageDimension> itk::ShapeLabelObject< TLabel, VImageDimension >::AffineTransformType

Affine transform for mapping to and from principal axis

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

Definition at line 425 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
typedef Superclass::AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::AttributeType

template<class TLabel , unsigned int VImageDimension>
typedef Point<double, VImageDimension> itk::ShapeLabelObject< TLabel, VImageDimension >::CentroidType

template<class TLabel , unsigned int VImageDimension>
typedef SmartPointer<const Self> itk::ShapeLabelObject< TLabel, VImageDimension >::ConstPointer

template<class TLabel , unsigned int VImageDimension>
typedef WeakPointer<const Self> itk::ShapeLabelObject< TLabel, VImageDimension >::ConstWeakPointer

template<class TLabel , unsigned int VImageDimension>
typedef Superclass::IndexType itk::ShapeLabelObject< TLabel, VImageDimension >::IndexType

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

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

Definition at line 139 of file itkLightObject.h.

template<class TLabel , unsigned int VImageDimension>
typedef LabelMap< Self > itk::ShapeLabelObject< TLabel, VImageDimension >::LabelMapType

template<class TLabel , unsigned int VImageDimension>
typedef Superclass::LabelObjectType itk::ShapeLabelObject< TLabel, VImageDimension >::LabelObjectType

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

template<class TLabel , unsigned int VImageDimension>
typedef Superclass::LengthType itk::ShapeLabelObject< TLabel, VImageDimension >::LengthType

template<class TLabel , unsigned int VImageDimension>
typedef Superclass::LineContainerType itk::ShapeLabelObject< TLabel, VImageDimension >::LineContainerType

template<class TLabel , unsigned int VImageDimension>
typedef Superclass::LineType itk::ShapeLabelObject< TLabel, VImageDimension >::LineType

template<class TLabel , unsigned int VImageDimension>
typedef Matrix< double, VImageDimension, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::MatrixType

template<class TLabel , unsigned int VImageDimension>
typedef SmartPointer<Self> itk::ShapeLabelObject< TLabel, VImageDimension >::Pointer

template<class TLabel , unsigned int VImageDimension>
typedef ImageRegion< VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::RegionType

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

Standard class typedefs

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

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

Definition at line 46 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
typedef unsigned long itk::LabelObject< TLabel, VImageDimension >::SizeValueType [inherited]

Definition at line 80 of file itkLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
typedef LabelObject< TLabel, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::Superclass

template<class TLabel , unsigned int VImageDimension>
typedef Vector< double, VImageDimension > itk::ShapeLabelObject< TLabel, VImageDimension >::VectorType


Constructor & Destructor Documentation

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::ShapeLabelObject (  )  [inline, protected]

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


Member Function Documentation

template<class 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.

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

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

template<class 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.

static void itk::LightObject::BreakOnError (  )  [static, inherited]

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

template<class 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.

template<class TLabel , unsigned int VImageDimension>
virtual void itk::ShapeLabelObject< TLabel, VImageDimension >::CopyAttributesFrom ( const LabelObjectType lo  )  [inline, virtual]

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

References NULL.

virtual Pointer itk::LightObject::CreateAnother (  )  const [virtual, inherited]

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 in itk::Object.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

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.

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

template<class TLabel , unsigned int VImageDimension>
static AttributeType itk::ShapeLabelObject< TLabel, VImageDimension >::GetAttributeFromName ( const std::string &  s  )  [inline, static]

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetBinaryElongation (  )  const [inline]

Definition at line 351 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetBinaryFlatness (  )  const [inline]

Definition at line 411 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const MatrixType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetBinaryPrincipalAxes (  )  const [inline]

Definition at line 341 of file itkShapeLabelObject.h.

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

template<class TLabel , unsigned int VImageDimension>
const VectorType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetBinaryPrincipalMoments (  )  const [inline]

Definition at line 331 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const CentroidType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetCentroid (  )  const [inline]

Definition at line 271 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const VectorType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentEllipsoidSize (  )  const [inline]

Definition at line 401 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentPerimeter (  )  const [inline]

Definition at line 391 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetEquivalentRadius (  )  const [inline]

Definition at line 381 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetFeretDiameter (  )  const [inline]

Definition at line 321 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
IndexType itk::LabelObject< TLabel, VImageDimension >::GetIndex ( SizeValueType  offset  )  const [inherited]

template<class TLabel , unsigned int VImageDimension>
const LabelType& itk::LabelObject< TLabel, VImageDimension >::GetLabel (  )  const [inherited]

Set/Get the label associated with the object.

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

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

template<class TLabel , unsigned int VImageDimension>
LineContainerType& itk::LabelObject< TLabel, VImageDimension >::GetLineContainer (  )  [inherited]

template<class TLabel , unsigned int VImageDimension>
const LineContainerType& itk::LabelObject< TLabel, VImageDimension >::GetLineContainer (  )  const [inherited]

Return the line container of this object

template<class TLabel , unsigned int VImageDimension>
static std::string itk::ShapeLabelObject< TLabel, VImageDimension >::GetNameFromAttribute ( const AttributeType a  )  [inline, static]

template<class 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<class TLabel , unsigned int VImageDimension>
SizeValueType itk::LabelObject< TLabel, VImageDimension >::GetNumberOfLines (  )  const [inherited]

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPerimeter (  )  const [inline]

Definition at line 361 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
AffineTransformPointer itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalAxesToBinaryPrincipalAxesTransform ( 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 457 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalSize (  )  const [inline]

Definition at line 251 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetPhysicalSizeOnBorder (  )  const [inline]

Definition at line 311 of file itkShapeLabelObject.h.

virtual int itk::LightObject::GetReferenceCount (  )  const [inline, virtual, inherited]

Gets the reference count on this object.

Definition at line 106 of file itkLightObject.h.

template<class TLabel , unsigned int VImageDimension>
const RegionType& itk::ShapeLabelObject< TLabel, VImageDimension >::GetRegion (  )  const [inline]

Definition at line 241 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetRegionElongation (  )  const [inline]

Definition at line 281 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetRoundness (  )  const [inline]

Definition at line 371 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const unsigned long& itk::ShapeLabelObject< TLabel, VImageDimension >::GetSize ( void   )  const [inline]

Definition at line 261 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const unsigned long& itk::ShapeLabelObject< TLabel, VImageDimension >::GetSizeOnBorder (  )  const [inline]

Definition at line 301 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
const double& itk::ShapeLabelObject< TLabel, VImageDimension >::GetSizeRegionRatio (  )  const [inline]

Definition at line 291 of file itkShapeLabelObject.h.

template<class 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.

template<class TLabel , unsigned int VImageDimension>
itk::LabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( LABEL  ,
AttributeType  ,
 
) [inherited]

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( BINARY_FLATNESS  ,
AttributeType  ,
117   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( EQUIVALENT_ELLIPSOID_RADIUS  ,
AttributeType  ,
116   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( EQUIVALENT_PERIMETER  ,
AttributeType  ,
115   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( EQUIVALENT_RADIUS  ,
AttributeType  ,
114   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( ROUNDNESS  ,
AttributeType  ,
113   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( PERIMETER  ,
AttributeType  ,
112   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( BINARY_ELONGATION  ,
AttributeType  ,
111   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( BINARY_PRINCIPAL_AXES  ,
AttributeType  ,
110   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( BINARY_PRINCIPAL_MOMENTS  ,
AttributeType  ,
109   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( FERET_DIAMETER  ,
AttributeType  ,
108   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( PHYSICAL_SIZE_ON_BORDER  ,
AttributeType  ,
107   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( SIZE_ON_BORDER  ,
AttributeType  ,
106   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( REGION  ,
AttributeType  ,
105   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( CENTROID  ,
AttributeType  ,
104   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( SIZE_REGION_RATIO  ,
AttributeType  ,
103   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( REGION_ELONGATION  ,
AttributeType  ,
102   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( PHYSICAL_SIZE  ,
AttributeType  ,
101   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( SIZE  ,
AttributeType  ,
100   
)

template<class TLabel , unsigned int VImageDimension>
itk::ShapeLabelObject< TLabel, VImageDimension >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
VImageDimension   
)

template<class TLabel , unsigned int VImageDimension>
static Pointer itk::ShapeLabelObject< TLabel, VImageDimension >::New (  )  [static]

Method for creation through the object factory.

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

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

template<class 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

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

Cause the object to print itself out.

Referenced by itk::WeakPointer< ProcessObject >::Print().

virtual void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

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.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [inline, protected, virtual]

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

References HardConnectedComponentImageFilter::PrintSelf().

virtual void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

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.

virtual void itk::LightObject::Register (  )  const [virtual, inherited]

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

Reimplemented in itk::Object.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetBinaryElongation ( const double &  v  )  [inline]

Definition at line 356 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetBinaryFlatness ( const double &  v  )  [inline]

Definition at line 416 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetBinaryPrincipalAxes ( const MatrixType v  )  [inline]

Definition at line 346 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetBinaryPrincipalMoments ( const VectorType v  )  [inline]

Definition at line 336 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetCentroid ( const CentroidType centroid  )  [inline]

Definition at line 276 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentEllipsoidSize ( const VectorType v  )  [inline]

Definition at line 406 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentPerimeter ( const double &  v  )  [inline]

Definition at line 396 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetEquivalentRadius ( const double &  v  )  [inline]

Definition at line 386 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetFeretDiameter ( const double &  v  )  [inline]

Definition at line 326 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::SetLabel ( const LabelType label  )  [inherited]

Set/Get the label associated with the object.

template<class TLabel , unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::SetLineContainer ( const LineContainerType lineContainer  )  [inherited]

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPerimeter ( const double &  v  )  [inline]

Definition at line 366 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPhysicalSize ( const double &  v  )  [inline]

Definition at line 256 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetPhysicalSizeOnBorder ( const double &  v  )  [inline]

Definition at line 316 of file itkShapeLabelObject.h.

virtual void itk::LightObject::SetReferenceCount ( int   )  [virtual, inherited]

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

Reimplemented in itk::Object.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetRegion ( const RegionType v  )  [inline]

Definition at line 246 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetRegionElongation ( const double &  v  )  [inline]

Definition at line 286 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetRoundness ( const double &  v  )  [inline]

Definition at line 376 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetSize ( const unsigned long &  v  )  [inline]

Definition at line 266 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetSizeOnBorder ( const unsigned long &  v  )  [inline]

Definition at line 306 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
void itk::ShapeLabelObject< TLabel, VImageDimension >::SetSizeRegionRatio ( const double &  v  )  [inline]

Definition at line 296 of file itkShapeLabelObject.h.

template<class TLabel , unsigned int VImageDimension>
SizeValueType itk::LabelObject< TLabel, VImageDimension >::Size (  )  const [inherited]

virtual void itk::LightObject::UnRegister (  )  const [virtual, inherited]

Decrease the reference count (release by another object).

Reimplemented in itk::Object.


Member Data Documentation

Number of uses of this object by other objects.

Definition at line 144 of file itkLightObject.h.

Mutex lock to protect modification to the reference count

Definition at line 147 of file itkLightObject.h.


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

Generated at Tue Sep 15 12:42:03 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000