#include <itkBinaryMedialNodeMetric.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef BloxCoreAtomPixel < VDimensions > | MedialNode |
typedef SmartPointer< Self > | Pointer |
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 |
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.
typedef SmartPointer<const Self> itk::BinaryMedialNodeMetric< VDimensions >::ConstPointer |
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.
typedef BloxCoreAtomPixel<VDimensions> itk::BinaryMedialNodeMetric< VDimensions >::MedialNode |
typedef for core atom pixel
Definition at line 54 of file itkBinaryMedialNodeMetric.h.
typedef SmartPointer<Self> itk::BinaryMedialNodeMetric< VDimensions >::Pointer |
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.
typedef BinaryMedialNodeMetric itk::BinaryMedialNodeMetric< VDimensions >::Self |
Standard class typedefs.
Reimplemented from itk::LightObject.
Definition at line 40 of file itkBinaryMedialNodeMetric.h.
typedef LightObject itk::BinaryMedialNodeMetric< VDimensions >::Superclass |
Definition at line 41 of file itkBinaryMedialNodeMetric.h.
itk::BinaryMedialNodeMetric< VDimensions >::BinaryMedialNodeMetric | ( | ) | [protected] |
Default Constructor
itk::BinaryMedialNodeMetric< VDimensions >::~BinaryMedialNodeMetric | ( | ) | [inline, protected] |
Default Destructor
Definition at line 89 of file itkBinaryMedialNodeMetric.h.
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.
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.
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.
double itk::BinaryMedialNodeMetric< VDimensions >::GetResult | ( | ) | [inline] |
Function to return the result of the metric calculations
Definition at line 78 of file itkBinaryMedialNodeMetric.h.
void itk::BinaryMedialNodeMetric< VDimensions >::Initialize | ( | void | ) |
Initialize the Metric.
itk::BinaryMedialNodeMetric< VDimensions >::itkStaticConstMacro | ( | EMPTY | , | |
int | , | |||
2 | ||||
) |
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
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< ProcessObject >::Print().
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] |
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.
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.
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.
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.