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

itk::MedialNodePairCorrespondenceProcess< TSourceImage > Class Template Reference

This process takes as inputs two core atom images, the distance matrices of the two images, and the unary correspondence matrix between the two images in order to produce an itkCorrespondenceDataStructure containing correspondences between pairs (node cliques of size 2) in the images. More...

#include <itkMedialNodePairCorrespondenceProcess.h>

Inheritance diagram for itk::MedialNodePairCorrespondenceProcess< TSourceImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::MedialNodePairCorrespondenceProcess< TSourceImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef MedialNodePairCorrespondenceProcess Self
typedef ProcessObject Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef DataObject::Pointer DataObjectPointer
typedef TSourceImage CoreAtomImageType
typedef CoreAtomImageType::Pointer CoreAtomImagePointer
typedef CoreAtomImageType::RegionType CoreAtomImageRegionType
typedef CoreAtomImageType::PixelType CoreAtomImagePixelType
typedef CoreAtomImageType::ConstPointer CoreAtomImageConstPointer
typedef MatrixResizeableDataObject<
double > 
DistanceMatrixType
typedef DistanceMatrixType::Pointer DistanceMatrixPointer
typedef MatrixResizeableDataObject<
double > 
CorrespondenceMatrixType
typedef CorrespondenceMatrixType::Pointer CorrespondenceMatrixPointer
typedef BloxCoreAtomPixel<
itkGetStaticConstMacro(NDimensions) 
MedialNodeType )
typedef Point< double, itkGetStaticConstMacro(NDimensions) PositionType )
typedef CorrespondingMedialNodeClique<
itkGetStaticConstMacro(NDimensions), 2 
NodeType )
typedef CorrespondenceDataStructure<
NodeType, 2 > 
DataStructureType
typedef CorrespondenceDataStructure<
NodeType, 2 >::Pointer 
DataStructurePointerType
typedef CorrespondenceDataStructureIterator<
DataStructureType
IteratorType
typedef BinaryMedialNodeMetric<
itkGetStaticConstMacro(NDimensions) 
BinaryMetricType )
typedef BinaryMedialNodeMetric<
itkGetStaticConstMacro(NDimensions)>::Pointe 
BinaryMetricPointer )

Public Member Functions

 itkStaticConstMacro (NDimensions, unsigned int, TSourceImage::ImageDimension)
virtual const char * GetClassName () const
void SetCoreAtomImageA (const CoreAtomImageType *CoreAtomImageA)
void SetCoreAtomImageB (const CoreAtomImageType *CoreAtomImageB)
void SetDistanceMatrixA (const DistanceMatrixType *DistanceMatrixA)
void SetDistanceMatrixB (const DistanceMatrixType *DistanceMatrixB)
int GetNumberOfNodePairs ()
int GetNumberOfNodeBasePairs ()
void SetCorrespondenceMatrix (const CorrespondenceMatrixType *CorrespondenceMatrix)
virtual void Update ()
virtual DataObjectPointer MakeOutput (unsigned int idx)
DataStructureTypeGetOutput (void)
DataStructureTypeGetOutput (unsigned int idx)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 MedialNodePairCorrespondenceProcess ()
virtual ~MedialNodePairCorrespondenceProcess ()
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateData ()
CorrespondenceMatrixTypeGetCorrespondenceMatrix ()
TSourceImage * GetCoreAtomImageA ()
TSourceImage * GetCoreAtomImageB ()
DistanceMatrixTypeGetDistanceMatrixA ()
DistanceMatrixTypeGetDistanceMatrixB ()

Detailed Description

template<typename TSourceImage>
class itk::MedialNodePairCorrespondenceProcess< TSourceImage >

This process takes as inputs two core atom images, the distance matrices of the two images, and the unary correspondence matrix between the two images in order to produce an itkCorrespondenceDataStructure containing correspondences between pairs (node cliques of size 2) in the images.

Definition at line 50 of file itkMedialNodePairCorrespondenceProcess.h.


Member Typedef Documentation

template<typename TSourceImage>
typedef BinaryMedialNodeMetric<itkGetStaticConstMacro(NDimensions)>::Pointe itk::MedialNodePairCorrespondenceProcess< TSourceImage >::BinaryMetricPointer)
 

Typedef for binary node metric. Definition at line 95 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef BinaryMedialNodeMetric<itkGetStaticConstMacro(NDimensions) itk::MedialNodePairCorrespondenceProcess< TSourceImage >::BinaryMetricType)
 

Typedef for binary node metric. Definition at line 94 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef SmartPointer<const Self> itk::MedialNodePairCorrespondenceProcess< TSourceImage >::ConstPointer
 

Reimplemented from itk::ProcessObject.

Definition at line 60 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef CoreAtomImageType::ConstPointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CoreAtomImageConstPointer
 

Definition at line 76 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef CoreAtomImageType::PixelType itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CoreAtomImagePixelType
 

Definition at line 75 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef CoreAtomImageType::Pointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CoreAtomImagePointer
 

Definition at line 73 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef CoreAtomImageType::RegionType itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CoreAtomImageRegionType
 

Definition at line 74 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef TSourceImage itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CoreAtomImageType
 

Typedef for core atom image. Definition at line 72 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef CorrespondenceMatrixType::Pointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CorrespondenceMatrixPointer
 

Definition at line 84 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef MatrixResizeableDataObject<double> itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CorrespondenceMatrixType
 

Typedef for correspondence matrix Definition at line 83 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetNumberOfNodeBasePairs(), and itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef DataObject::Pointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DataObjectPointer
 

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 63 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef CorrespondenceDataStructure<NodeType,2>::Pointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DataStructurePointerType
 

Typedef for correspondence data structure. (output) Definition at line 89 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef CorrespondenceDataStructure<NodeType,2> itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DataStructureType
 

Typedef for correspondence data structure. (output) Definition at line 88 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef DistanceMatrixType::Pointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DistanceMatrixPointer
 

Definition at line 80 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef MatrixResizeableDataObject<double> itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DistanceMatrixType
 

Typedef for distance matrix. Definition at line 79 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef CorrespondenceDataStructureIterator<DataStructureType> itk::MedialNodePairCorrespondenceProcess< TSourceImage >::IteratorType
 

Typedef for correspondence data structure. (output) Definition at line 90 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef BloxCoreAtomPixel<itkGetStaticConstMacro(NDimensions) itk::MedialNodePairCorrespondenceProcess< TSourceImage >::MedialNodeType)
 

Typedef for medial nodes. Definition at line 99 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef CorrespondingMedialNodeClique<itkGetStaticConstMacro(NDimensions),2 itk::MedialNodePairCorrespondenceProcess< TSourceImage >::NodeType)
 

Typedef for correspondence data structure. (output) Definition at line 87 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef SmartPointer<Self> itk::MedialNodePairCorrespondenceProcess< TSourceImage >::Pointer
 

Reimplemented from itk::ProcessObject.

Definition at line 59 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef Point<double, itkGetStaticConstMacro(NDimensions) itk::MedialNodePairCorrespondenceProcess< TSourceImage >::PositionType)
 

The type used to store the position of the BloxPixel. Definition at line 102 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
typedef MedialNodePairCorrespondenceProcess itk::MedialNodePairCorrespondenceProcess< TSourceImage >::Self
 

Standard class typedefs

Reimplemented from itk::ProcessObject.

Definition at line 57 of file itkMedialNodePairCorrespondenceProcess.h.

Referenced by itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess().

template<typename TSourceImage>
typedef ProcessObject itk::MedialNodePairCorrespondenceProcess< TSourceImage >::Superclass
 

Reimplemented from itk::ProcessObject.

Definition at line 58 of file itkMedialNodePairCorrespondenceProcess.h.


Constructor & Destructor Documentation

template<typename TSourceImage>
itk::MedialNodePairCorrespondenceProcess< TSourceImage >::MedialNodePairCorrespondenceProcess  )  [protected]
 

template<typename TSourceImage>
virtual itk::MedialNodePairCorrespondenceProcess< TSourceImage >::~MedialNodePairCorrespondenceProcess  )  [inline, protected, virtual]
 

Definition at line 140 of file itkMedialNodePairCorrespondenceProcess.h.

References itk::MedialNodePairCorrespondenceProcess< TSourceImage >::BinaryMetricPointer, itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CoreAtomImagePointer, itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CorrespondenceMatrixPointer, itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CorrespondenceMatrixType, itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DataStructurePointerType, itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DistanceMatrixPointer, itk::MedialNodePairCorrespondenceProcess< TSourceImage >::DistanceMatrixType, and itk::MedialNodePairCorrespondenceProcess< TSourceImage >::Self.


Member Function Documentation

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GenerateData  )  [protected, virtual]
 

Method for forming the Pair Correspondence Data Structure.

Reimplemented from itk::ProcessObject.

template<typename TSourceImage>
virtual const char* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetClassName  )  const [virtual]
 

Run-time type information. (and related methods)

Reimplemented from itk::ProcessObject.

template<typename TSourceImage>
TSourceImage* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetCoreAtomImageA  )  [protected]
 

Methods to get core atom images.

template<typename TSourceImage>
TSourceImage* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetCoreAtomImageB  )  [protected]
 

Methods to get core atom images.

template<typename TSourceImage>
CorrespondenceMatrixType* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetCorrespondenceMatrix  )  [protected]
 

Method to get correspondence matrix.

template<typename TSourceImage>
DistanceMatrixType* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetDistanceMatrixA  )  [protected]
 

Methods to get distance matrices.

template<typename TSourceImage>
DistanceMatrixType* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetDistanceMatrixB  )  [protected]
 

Methods to get distance matrices.

template<typename TSourceImage>
int itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetNumberOfNodeBasePairs  )  [inline]
 

Get number of node basepairs. Definition at line 129 of file itkMedialNodePairCorrespondenceProcess.h.

References itk::MedialNodePairCorrespondenceProcess< TSourceImage >::CorrespondenceMatrixType.

template<typename TSourceImage>
int itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetNumberOfNodePairs  )  [inline]
 

Get number of node pairs. Definition at line 126 of file itkMedialNodePairCorrespondenceProcess.h.

template<typename TSourceImage>
DataStructureType* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetOutput unsigned int  idx  ) 
 

Get the image output of this process object.

Reimplemented from itk::ProcessObject.

template<typename TSourceImage>
DataStructureType* itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GetOutput void   ) 
 

Get the image output of this process object.

template<typename TSourceImage>
itk::MedialNodePairCorrespondenceProcess< TSourceImage >::itkStaticConstMacro NDimensions  ,
unsigned  int,
TSourceImage::ImageDimension 
 

Number of dimensions

template<typename TSourceImage>
virtual DataObjectPointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::MakeOutput unsigned int  idx  )  [virtual]
 

Make a DataObject of the correct type to used as the specified output. Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

template<typename TSourceImage>
Pointer itk::MedialNodePairCorrespondenceProcess< TSourceImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::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::ProcessObject.

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::SetCoreAtomImageA const CoreAtomImageType CoreAtomImageA  ) 
 

Set the first core atom image.

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::SetCoreAtomImageB const CoreAtomImageType CoreAtomImageB  ) 
 

Set the second core atom image.

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::SetCorrespondenceMatrix const CorrespondenceMatrixType CorrespondenceMatrix  ) 
 

Set the correspondence matrix.

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::SetDistanceMatrixA const DistanceMatrixType DistanceMatrixA  ) 
 

Set the first distance matrix.

template<typename TSourceImage>
void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::SetDistanceMatrixB const DistanceMatrixType DistanceMatrixB  ) 
 

Set the second distance matrix.

template<typename TSourceImage>
virtual void itk::MedialNodePairCorrespondenceProcess< TSourceImage >::Update  )  [inline, virtual]
 

Bring this filter up-to-date. Update() checks modified times against last execution times, and re-executes objects if necessary. A side effect of this method is that the whole pipeline may execute in order to bring this filter up-to-date. This method updates the currently prescribed requested region. If no requested region has been set on the output, then the requested region will be set to the largest possible region. Once the requested region is set, Update() will make sure the specified requested region is up-to-date. This is a confusing side effect to users who are just calling Update() on a filter. A first call to Update() will cause the largest possible region to be updated. A second call to Update() will update that same region. If a modification to the upstream pipeline cause a filter to have a different largest possible region, this second call to Update() will not cause the output requested region to be reset to the new largest possible region. Instead, the output requested region will be the same as the last time Update() was called. To have a filter always to produce its largest possible region, users should call UpdateLargestPossibleRegion() instead.

Reimplemented from itk::ProcessObject.

Definition at line 134 of file itkMedialNodePairCorrespondenceProcess.h.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:39:11 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000