Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

itk::UnaryMedialNodeMetric< VDimensions > Class Template Reference

Compares the scale and dimensionality of two medial nodes. More...

#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.

Public Types

typedef SmartPointer< const SelfConstPointer
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 Types

typedef int InternalReferenceCountType

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

InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock

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.


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.

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 = 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]
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 106 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< 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<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]

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

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 Jul 13 2010 02:52:33 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000