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

itk::UnaryMedialNodeMetric< VDimensions > Class Template Reference

#include <itkUnaryMedialNodeMetric.h>

Inheritance diagram for itk::UnaryMedialNodeMetric< VDimensions >:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

template<int VDimensions = 3>
class itk::UnaryMedialNodeMetric< VDimensions >

Compares the scale and dimensionality of two medial nodes.

The class is templated over image dimension. The metric measures the similarity of two medial nodes based on their eigenvalues and scales. The unary metric is calculated by u = sum(L^2 * S), where L is the difference in eigenvalues and S is the ratio of the difference in medial node scales and sum of the medial node scales. The metric is normalized such that a value of 0 means that the nodes are perfectly similar and that a value of 1 means that the nodes are not similar.

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

Definition at line 48 of file itkUnaryMedialNodeMetric.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef MedialNodeType::EigenvalueType EigenvalueType
typedef BloxCoreAtomPixel<
VDimensions >::Pointer 
MedialNodePointerType
typedef BloxCoreAtomPixel<
VDimensions > 
MedialNodeType
typedef SmartPointer< SelfPointer
typedef UnaryMedialNodeMetric Self
typedef LightObject Superclass

Public Member Functions

virtual Pointer CreateAnother () const
virtual void Delete ()
virtual const char * GetNameOfClass () const
virtual int GetReferenceCount () const
double GetResult ()
void Initialize (void)
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void SetMedialNodes (MedialNodeType *medialNodeA, MedialNodeType *medialNodeB)
virtual void SetReferenceCount (int)
virtual void UnRegister () const

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()

Protected Member Functions

void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
 UnaryMedialNodeMetric ()
 ~UnaryMedialNodeMetric ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

volatile int m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock


Member Typedef Documentation

template<int VDimensions = 3>
typedef SmartPointer<const Self> itk::UnaryMedialNodeMetric< VDimensions >::ConstPointer

Reimplemented from itk::LightObject.

Definition at line 56 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
typedef MedialNodeType::EigenvalueType itk::UnaryMedialNodeMetric< VDimensions >::EigenvalueType

Definition at line 67 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
typedef BloxCoreAtomPixel<VDimensions>::Pointer itk::UnaryMedialNodeMetric< VDimensions >::MedialNodePointerType

Definition at line 66 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
typedef BloxCoreAtomPixel<VDimensions> itk::UnaryMedialNodeMetric< VDimensions >::MedialNodeType

Pixel typedef.

Definition at line 62 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
typedef SmartPointer<Self> itk::UnaryMedialNodeMetric< VDimensions >::Pointer

Reimplemented from itk::LightObject.

Definition at line 55 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
typedef UnaryMedialNodeMetric itk::UnaryMedialNodeMetric< VDimensions >::Self

Standard class typedefs.

Reimplemented from itk::LightObject.

Definition at line 53 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
typedef LightObject itk::UnaryMedialNodeMetric< VDimensions >::Superclass

Definition at line 54 of file itkUnaryMedialNodeMetric.h.


Constructor & Destructor Documentation

template<int VDimensions = 3>
itk::UnaryMedialNodeMetric< VDimensions >::UnaryMedialNodeMetric (  )  [protected]

Default Constructor.

template<int VDimensions = 3>
itk::UnaryMedialNodeMetric< VDimensions >::~UnaryMedialNodeMetric (  )  [inline, protected]

Default Destructor.

Definition at line 85 of file itkUnaryMedialNodeMetric.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 = 3>
virtual const char* itk::UnaryMedialNodeMetric< 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 98 of file itkLightObject.h.

template<int VDimensions = 3>
double itk::UnaryMedialNodeMetric< VDimensions >::GetResult (  )  [inline]

Return the resulting unary metric value for a given two medial nodes.

Definition at line 77 of file itkUnaryMedialNodeMetric.h.

template<int VDimensions = 3>
void itk::UnaryMedialNodeMetric< VDimensions >::Initialize ( void   ) 

Initialize and compute the Unary Metric.

template<int VDimensions = 3>
static Pointer itk::UnaryMedialNodeMetric< VDimensions >::New (  )  [static]

Method for creation through the object factory.

Reimplemented from itk::LightObject.

template<int VDimensions = 3>
void itk::UnaryMedialNodeMetric< VDimensions >::operator= ( const Self  )  [protected]

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().

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

template<int VDimensions = 3>
void itk::UnaryMedialNodeMetric< 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 = 3>
void itk::UnaryMedialNodeMetric< VDimensions >::SetMedialNodes ( MedialNodeType medialNodeA,
MedialNodeType medialNodeB 
)

Set the two medial nodes to compute a unary metric for.

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.

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

Decrease the reference count (release by another object).

Reimplemented in itk::Object.


Member Data Documentation

volatile int itk::LightObject::m_ReferenceCount [mutable, protected, inherited]

Number of uses of this object by other objects.

Definition at line 119 of file itkLightObject.h.

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

Mutex lock to protect modification to the reference count

Definition at line 122 of file itkLightObject.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 14 23:39:43 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000