Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::MetricFactory< TPixelType, VImageDimension > Class Template Reference

This class creates a metric for a rigid registration process. More...

#include <mitkMetricFactory.h>

Inheritance diagram for mitk::MetricFactory< TPixelType, VImageDimension >:
Collaboration diagram for mitk::MetricFactory< TPixelType, VImageDimension >:

Public Types

typedef itk::Image< TPixelType, VImageDimension > FixedImageType
 
typedef itk::Image< unsigned char, VImageDimension > FixedMaskImageType
 
typedef itk::ImageMaskSpatialObject< VImageDimension > FixedImageMaskType
 
typedef itk::Image< TPixelType, VImageDimension > MovingImageType
 
typedef itk::Image< unsigned char, VImageDimension > MovingMaskImageType
 
typedef itk::ImageMaskSpatialObject< VImageDimension > MovingImageMaskType
 
typedef itk::ImageToImageMetric< FixedImageType, MovingImageTypeMetricType
 
typedef MetricType::Pointer MetricPointer
 

Public Member Functions

 mitkClassMacroItkParent (MetricFactory, itk::Object)
 
Pointer Clone () const
 
MetricPointer GetMetric ()
 Returns the metric which then can be used in combination with a transform, an optimizer and an interpolator within a registration pipeline. More...
 
void SetMetricParameters (MetricParameters::Pointer metricParameters)
 Sets the instance to the metric parameters class which holds all parameters for the new metric. More...
 
MetricParameters::Pointer GetMetricParameters ()
 Returns the instance to the metric parameters class which holds all parameters for the new metric. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MetricFactory ()
 
 ~MetricFactory ()
 

Protected Attributes

MetricParameters::Pointer m_MetricParameters
 

Detailed Description

template<class TPixelType, unsigned int VImageDimension>
class mitk::MetricFactory< TPixelType, VImageDimension >

This class creates a metric for a rigid registration process.

This class will e.g. be instantiated by mitkImageRegistrationMethod and a metric corresponding to the integer value stored in mitkMetricParameters will be created. Therefore SetMetricParameters() has to be called with an instance of mitkMetricParameters, which holds all parameter informations for the new metric.

GetMetric() returns the metric which then can be used in combination with a transform, an optimizer and an interpolator within a registration pipeline.

Author
Daniel Stein

Definition at line 46 of file mitkMetricFactory.h.

Member Typedef Documentation

template<class TPixelType , unsigned int VImageDimension>
typedef itk::ImageMaskSpatialObject<VImageDimension> mitk::MetricFactory< TPixelType, VImageDimension >::FixedImageMaskType

Definition at line 56 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef itk::Image<TPixelType, VImageDimension> mitk::MetricFactory< TPixelType, VImageDimension >::FixedImageType

Definition at line 54 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef itk::Image<unsigned char, VImageDimension> mitk::MetricFactory< TPixelType, VImageDimension >::FixedMaskImageType

Definition at line 55 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef MetricType::Pointer mitk::MetricFactory< TPixelType, VImageDimension >::MetricPointer

Definition at line 62 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef itk::ImageToImageMetric<FixedImageType, MovingImageType> mitk::MetricFactory< TPixelType, VImageDimension >::MetricType

Definition at line 61 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef itk::ImageMaskSpatialObject<VImageDimension> mitk::MetricFactory< TPixelType, VImageDimension >::MovingImageMaskType

Definition at line 59 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef itk::Image<TPixelType, VImageDimension> mitk::MetricFactory< TPixelType, VImageDimension >::MovingImageType

Definition at line 57 of file mitkMetricFactory.h.

template<class TPixelType , unsigned int VImageDimension>
typedef itk::Image<unsigned char, VImageDimension> mitk::MetricFactory< TPixelType, VImageDimension >::MovingMaskImageType

Definition at line 58 of file mitkMetricFactory.h.

Constructor & Destructor Documentation

template<class TPixelType , unsigned int VImageDimension>
mitk::MetricFactory< TPixelType, VImageDimension >::MetricFactory ( )
protected
template<class TPixelType , unsigned int VImageDimension>
mitk::MetricFactory< TPixelType, VImageDimension >::~MetricFactory ( )
inlineprotected

Definition at line 80 of file mitkMetricFactory.h.

Member Function Documentation

template<class TPixelType , unsigned int VImageDimension>
Pointer mitk::MetricFactory< TPixelType, VImageDimension >::Clone ( ) const
template<class TPixelType , unsigned int VImageDimension>
MetricPointer mitk::MetricFactory< TPixelType, VImageDimension >::GetMetric ( )

Returns the metric which then can be used in combination with a transform, an optimizer and an interpolator within a registration pipeline.

template<class TPixelType , unsigned int VImageDimension>
MetricParameters::Pointer mitk::MetricFactory< TPixelType, VImageDimension >::GetMetricParameters ( )
inline

Returns the instance to the metric parameters class which holds all parameters for the new metric.

Definition at line 77 of file mitkMetricFactory.h.

References mitk::MetricFactory< TPixelType, VImageDimension >::m_MetricParameters.

template<class TPixelType , unsigned int VImageDimension>
mitk::MetricFactory< TPixelType, VImageDimension >::mitkClassMacroItkParent ( MetricFactory< TPixelType, VImageDimension >  ,
itk::Object   
)
template<class TPixelType , unsigned int VImageDimension>
static Pointer mitk::MetricFactory< TPixelType, VImageDimension >::New ( )
static

Method for creation through the object factory.

template<class TPixelType , unsigned int VImageDimension>
void mitk::MetricFactory< TPixelType, VImageDimension >::SetMetricParameters ( MetricParameters::Pointer  metricParameters)
inline

Sets the instance to the metric parameters class which holds all parameters for the new metric.

Definition at line 73 of file mitkMetricFactory.h.

References mitk::MetricFactory< TPixelType, VImageDimension >::m_MetricParameters.

Member Data Documentation

template<class TPixelType , unsigned int VImageDimension>
MetricParameters::Pointer mitk::MetricFactory< TPixelType, VImageDimension >::m_MetricParameters
protected

The documentation for this class was generated from the following file: