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

itk::BinaryMedialNodeMetric< VDimensions > Class Template Reference

#include <itkBinaryMedialNodeMetric.h>

Inheritance diagram for itk::BinaryMedialNodeMetric< VDimensions >:

Inheritance graph
[legend]
Collaboration diagram for itk::BinaryMedialNodeMetric< VDimensions >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<int VDimensions>
class itk::BinaryMedialNodeMetric< VDimensions >

Metric to compare two medial nodes using the Signature Technique as described in:

Tamburo, Cois, Shelton, Stetten. "Medial Node Correspondences Towards Automated Registration", Lecture Notes in Computer Science (in press), 2003.

Definition at line 35 of file itkBinaryMedialNodeMetric.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef BloxCoreAtomPixel<
VDimensions > 
MedialNode
typedef SmartPointer< SelfPointer
typedef Point< double, VDimensions > PositionType
typedef BinaryMedialNodeMetric Self
typedef LightObject Superclass

Public Member Functions

virtual Pointer CreateAnother () const
virtual void Delete ()
void DontShowCalculation ()
virtual const char * GetNameOfClass () const
virtual int GetReferenceCount () const
void Initialize (void)
 itkStaticConstMacro (EMPTY, int, 2)
void Print (std::ostream &os, Indent indent=0) const
void PrintCombinedEigens ()
virtual void Register () const
void SetMedialNodes (MedialNode *NodeA1, MedialNode *NodeA2, MedialNode *NodeB1, MedialNode *NodeB2)
virtual void SetReferenceCount (int)
void ShowCalculation ()
virtual void UnRegister () const
double GetResult ()

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

 BinaryMedialNodeMetric ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~BinaryMedialNodeMetric ()
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


Member Typedef Documentation

template<int VDimensions>
typedef SmartPointer<const Self> itk::BinaryMedialNodeMetric< VDimensions >::ConstPointer

Reimplemented from itk::LightObject.

Definition at line 43 of file itkBinaryMedialNodeMetric.h.

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<int VDimensions>
typedef BloxCoreAtomPixel<VDimensions> itk::BinaryMedialNodeMetric< VDimensions >::MedialNode

typedef for core atom pixel

Definition at line 54 of file itkBinaryMedialNodeMetric.h.

template<int VDimensions>
typedef SmartPointer<Self> itk::BinaryMedialNodeMetric< VDimensions >::Pointer

Reimplemented from itk::LightObject.

Definition at line 42 of file itkBinaryMedialNodeMetric.h.

template<int VDimensions>
typedef Point<double, VDimensions> itk::BinaryMedialNodeMetric< VDimensions >::PositionType

The type used to store the position of the BloxPixel.

Definition at line 60 of file itkBinaryMedialNodeMetric.h.

template<int VDimensions>
typedef BinaryMedialNodeMetric itk::BinaryMedialNodeMetric< VDimensions >::Self

Standard class typedefs.

Reimplemented from itk::LightObject.

Definition at line 40 of file itkBinaryMedialNodeMetric.h.

template<int VDimensions>
typedef LightObject itk::BinaryMedialNodeMetric< VDimensions >::Superclass

Definition at line 41 of file itkBinaryMedialNodeMetric.h.


Constructor & Destructor Documentation

template<int VDimensions>
itk::BinaryMedialNodeMetric< VDimensions >::BinaryMedialNodeMetric (  )  [protected]

Default Constructor

template<int VDimensions>
itk::BinaryMedialNodeMetric< VDimensions >::~BinaryMedialNodeMetric (  )  [inline, protected]

Default Destructor

Definition at line 89 of file itkBinaryMedialNodeMetric.h.


Member Function Documentation

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

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

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<int VDimensions>
void itk::BinaryMedialNodeMetric< VDimensions >::DontShowCalculation (  )  [inline]

Function to set a boolean to not show the calculation process of the metric.

Definition at line 75 of file itkBinaryMedialNodeMetric.h.

template<int VDimensions>
virtual const char* itk::BinaryMedialNodeMetric< VDimensions >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods)

Reimplemented from itk::LightObject.

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<int VDimensions>
double itk::BinaryMedialNodeMetric< VDimensions >::GetResult (  )  [inline]

Function to return the result of the metric calculations

Definition at line 78 of file itkBinaryMedialNodeMetric.h.

template<int VDimensions>
void itk::BinaryMedialNodeMetric< VDimensions >::Initialize ( void   ) 

Initialize the Metric.

template<int VDimensions>
itk::BinaryMedialNodeMetric< VDimensions >::itkStaticConstMacro ( EMPTY  ,
int  ,
 
)

We use the value 2.0 to represent an empty space in an eigen value list, since eigen values can never be greater than 1.0. This is an int because itkStaticConstMacro had issues with the use of a double

template<int VDimensions>
static Pointer itk::BinaryMedialNodeMetric< VDimensions >::New (  )  [static]

Method for creation through the object factory

Reimplemented from itk::LightObject.

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

Cause the object to print itself out.

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

template<int VDimensions>
void itk::BinaryMedialNodeMetric< VDimensions >::PrintCombinedEigens (  ) 

Function to print the list of combined eigen values.

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

template<int VDimensions>
void itk::BinaryMedialNodeMetric< VDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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

Reimplemented from itk::LightObject.

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

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

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

Reimplemented in itk::Object.

template<int VDimensions>
void itk::BinaryMedialNodeMetric< VDimensions >::SetMedialNodes ( MedialNode NodeA1,
MedialNode NodeA2,
MedialNode NodeB1,
MedialNode NodeB2 
)

Sets the input medial nodes.

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<int VDimensions>
void itk::BinaryMedialNodeMetric< VDimensions >::ShowCalculation (  )  [inline]

Function to set a boolean to show the calculation process of the metric.

Definition at line 72 of file itkBinaryMedialNodeMetric.h.

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

Decrease the reference count (release by another object).

Reimplemented in itk::Object.


Member Data Documentation

InternalReferenceCountType itk::LightObject::m_ReferenceCount [mutable, protected, inherited]

Number of uses of this object by other objects.

Definition at line 144 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited]

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 Thu Nov 6 02:02:08 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000