![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
Combines multiple metrics. More...
#include <itkCombinationImageToImageMetric.h>
Combines multiple metrics.
This metric is meant to be used in the MultiMetricMultiResolutionImageRegistrationMethod.
NB: while it may seem not logical that the SetInterpolator(arg) sets the interpolator in all submetrics whereas the GetInterpolator(void) returns GetInterpolator(0) it is logical. If you set the interpolator the same in all metrics, you will receive the correct interpolator with GetInterpolator(0). If you set the interpolator differently in all metrics, the most logical action is to return GetInterpolator(0) when GetInterpolator() is invoked.
Note: If you use Set{Transform,Interpolator etc}(0) or Set{Transform,Interpolator}(), the member variables of the superclass m_{Transform,Interpolator} are set as well. So, it is not strictly necessary to reimplement the functions Get{Transform,Interpolator}(), which return Get{Transform,Interpolator}(0), which would result in the same as returning m_{Transform,Interpolator} anyway. However, if Metric[0] is changed externally the m_{Transform, Interpolator} are not up to date anymore. That's why we chose to reimplement the Get{Transform,Interpolator}() methods.
Definition at line 56 of file itkCombinationImageToImageMetric.h.
typedef SmartPointer<const Self> itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 65 of file itkCombinationImageToImageMetric.h.
typedef Superclass::CoordinateRepresentationType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType |
Typedefs from the superclass.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 80 of file itkCombinationImageToImageMetric.h.
typedef Superclass::DerivativeType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 108 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageConstPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 87 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageMaskPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 104 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageMaskType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 103 of file itkCombinationImageToImageMetric.h.
typedef FixedImageType::PixelType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 135 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageRegionType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 88 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 85 of file itkCombinationImageToImageMetric.h.
typedef PointSet< CoordinateRepresentationType, TFixedImage::ImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, TFixedImage::ImageDimension, TFixedImage::ImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedPointSetType |
Typedef for the PointSetMetric.
Definition at line 148 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImageFilterPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 102 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImageFilterType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 101 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImagePointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 100 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImageType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 99 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientPixelType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 98 of file itkCombinationImageToImageMetric.h.
typedef Superclass::HessianType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::HessianType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 114 of file itkCombinationImageToImageMetric.h.
typedef Superclass::HessianValueType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::HessianValueType |
Some typedefs for computing the SelfHessian
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 113 of file itkCombinationImageToImageMetric.h.
typedef ImageMetricType::Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ImageMetricPointer |
Definition at line 131 of file itkCombinationImageToImageMetric.h.
typedef Superclass itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ImageMetricType |
typedef typename Superclass::ImageSamplerType ImageSamplerType; typedef typename Superclass::ImageSamplerPointer ImageSamplerPointer; typedef typename Superclass::ImageSampleContainerType ImageSampleContainerType; typedef typename Superclass::ImageSampleContainerPointer ImageSampleContainerPointer; typedef typename Superclass::FixedImageLimiterType FixedImageLimiterType; typedef typename Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType; typedef typename Superclass::MovingImageLimiterType MovingImageLimiterType; typedef typename Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType; typedef typename Superclass::ScalarType ScalarType; typedef typename Superclass::AdvancedTransformType AdvancedTransformType; Typedefs for the metrics.
Definition at line 130 of file itkCombinationImageToImageMetric.h.
typedef Superclass::InputPointType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 91 of file itkCombinationImageToImageMetric.h.
typedef Superclass::InterpolatorPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 96 of file itkCombinationImageToImageMetric.h.
typedef Superclass::InterpolatorType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 95 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MeasureType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 107 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageConstPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 84 of file itkCombinationImageToImageMetric.h.
typedef FixedArray< double, itkGetStaticConstMacro(MovingImageDimension) > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 138 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageMaskPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 106 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageMaskType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 105 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImagePixelType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 82 of file itkCombinationImageToImageMetric.h.
typedef MovingImageType::RegionType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 136 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 81 of file itkCombinationImageToImageMetric.h.
typedef PointSet< CoordinateRepresentationType, TMovingImage::ImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, TMovingImage::ImageDimension, TMovingImage::ImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingPointSetType |
Definition at line 156 of file itkCombinationImageToImageMetric.h.
typedef Superclass::OutputPointType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 92 of file itkCombinationImageToImageMetric.h.
typedef Superclass::ParametersType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ParametersType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 110 of file itkCombinationImageToImageMetric.h.
typedef SmartPointer<Self> itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 64 of file itkCombinationImageToImageMetric.h.
typedef SingleValuedPointSetToPointSetMetric< FixedPointSetType, MovingPointSetType > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::PointSetMetricType |
Definition at line 158 of file itkCombinationImageToImageMetric.h.
typedef Superclass::RealType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::RealType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 97 of file itkCombinationImageToImageMetric.h.
typedef CombinationImageToImageMetric itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 61 of file itkCombinationImageToImageMetric.h.
typedef SingleValuedCostFunctionType::Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SingleValuedCostFunctionPointer |
Definition at line 133 of file itkCombinationImageToImageMetric.h.
typedef SingleValuedCostFunction itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SingleValuedCostFunctionType |
Definition at line 132 of file itkCombinationImageToImageMetric.h.
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 63 of file itkCombinationImageToImageMetric.h.
typedef Superclass::TransformJacobianType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 94 of file itkCombinationImageToImageMetric.h.
typedef Superclass::TransformParametersType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 93 of file itkCombinationImageToImageMetric.h.
typedef TransformType::Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 90 of file itkCombinationImageToImageMetric.h.
typedef Superclass::AdvancedTransformType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 89 of file itkCombinationImageToImageMetric.h.
itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::CombinationImageToImageMetric | ( | ) | [protected] |
virtual itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::~CombinationImageToImageMetric | ( | ) | [inline, protected, virtual] |
Definition at line 390 of file itkCombinationImageToImageMetric.h.
itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::CombinationImageToImageMetric | ( | const Self & | ) | [private] |
virtual const char* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetDerivative | ( | const ParametersType & | parameters, |
DerivativeType & | derivative | ||
) | const [virtual] |
The GetDerivative()-method.
virtual const FixedImageType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImage | ( | unsigned int | pos | ) | const [virtual] |
Returns the fixedImage set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
virtual const FixedImageType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImage | ( | void | ) | const [inline, virtual] |
Return FixedImage 0
Definition at line 279 of file itkCombinationImageToImageMetric.h.
virtual const FixedImageMaskType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImageMask | ( | unsigned int | pos | ) | const [virtual] |
Returns the fixedImageMask set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
virtual const FixedImageMaskType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImageMask | ( | void | ) | const [inline, virtual] |
Return FixedImageMask 0
Definition at line 296 of file itkCombinationImageToImageMetric.h.
virtual const FixedImageRegionType& itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImageRegion | ( | unsigned int | pos | ) | const [virtual] |
Returns the fixedImageRegion set in a specific metric. If the submetric is a singlevalued costfunction a region with size zero will be returned
virtual const FixedImageRegionType& itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImageRegion | ( | void | ) | const [inline, virtual] |
Return FixedImageRegion 0
Definition at line 313 of file itkCombinationImageToImageMetric.h.
virtual const InterpolatorType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetInterpolator | ( | unsigned int | pos | ) | const [virtual] |
Returns the interpolator set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned.
virtual const InterpolatorType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetInterpolator | ( | void | ) | const [inline, virtual] |
Return Interpolator 0
Definition at line 262 of file itkCombinationImageToImageMetric.h.
SingleValuedCostFunctionType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetric | ( | unsigned int | count | ) | const |
Get metric i.
std::vcl_size_t itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricComputationTime | ( | unsigned int | pos | ) | const |
Get the last computed derivative magnitude for metric i.
const DerivativeType& itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricDerivative | ( | unsigned int | pos | ) | const |
Get the last computed derivative for metric i.
double itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricDerivativeMagnitude | ( | unsigned int | pos | ) | const |
Get the last computed derivative magnitude for metric i.
double itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricRelativeWeight | ( | unsigned int | pos | ) | const |
Get the relative weight for metric i.
MeasureType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricValue | ( | unsigned int | pos | ) | const |
Get the last computed value for metric i.
double itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricWeight | ( | unsigned int | pos | ) | const |
Get the weight for metric i.
virtual const MovingImageType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMovingImage | ( | unsigned int | pos | ) | const [virtual] |
Returns the movingImage set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
virtual const MovingImageType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMovingImage | ( | void | ) | const [inline, virtual] |
Return MovingImage 0
Definition at line 330 of file itkCombinationImageToImageMetric.h.
virtual const MovingImageMaskType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMovingImageMask | ( | void | ) | const [inline, virtual] |
Return MovingImageMask 0
Definition at line 347 of file itkCombinationImageToImageMetric.h.
virtual const MovingImageMaskType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMovingImageMask | ( | unsigned int | pos | ) | const [virtual] |
Returns the movingImageMask set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
virtual unsigned long itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMTime | ( | ) | const [virtual] |
Method to return the latest modified time of this object or any of its cached ivars.
virtual unsigned int itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetNumberOfMetrics | ( | ) | const [virtual] |
Get the number of metrics to combine.
virtual const unsigned long& itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetNumberOfPixelsCounted | ( | void | ) | const [virtual] |
Get the number of pixels considered in the computation. Return the sum of pixels counted by all metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessian | ( | const TransformParametersType & | parameters, |
HessianType & | H | ||
) | const [virtual] |
Experimental feature: compute SelfHessian.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
virtual const TransformType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetTransform | ( | unsigned int | pos | ) | const [virtual] |
Returns the transform set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned.
virtual const TransformType* itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetTransform | ( | void | ) | const [inline, virtual] |
Return Transform 0
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 245 of file itkCombinationImageToImageMetric.h.
bool itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetUseMetric | ( | const unsigned int | pos | ) | const |
Get if this metric is used.
virtual bool itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetUseRelativeWeights | ( | ) | [virtual] |
virtual MeasureType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetValue | ( | const ParametersType & | parameters | ) | const [virtual] |
Combine all sub metrics by adding them. The GetValue()-method.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative | ( | const ParametersType & | parameters, |
MeasureType & | value, | ||
DerivativeType & | derivative | ||
) | const [virtual] |
The GetValueAndDerivative()-method.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Initialize | ( | void | ) | throw ( ExceptionObject ) [virtual] |
Pass initialization to all sub metrics.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned | int, | ||
TFixedImage::ImageDimension | |||
) |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned | int, | ||
TMovingImage::ImageDimension | |||
) |
Constants for the image dimensions
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
static Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::New | ( | ) | [static] |
Define the New() method
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected] |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImage | ( | const FixedImageType * | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass a fixed image to a specific metric
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImage | ( | const FixedImageType * | _arg | ) | [virtual] |
Pass the fixed image to all sub metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImageMask | ( | FixedImageMaskType * | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass a fixed image mask to a specific metric
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImageMask | ( | FixedImageMaskType * | _arg | ) | [virtual] |
Pass the fixed image mask to all sub metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImageRegion | ( | const FixedImageRegionType | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass a fixed image region to a specific metric.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImageRegion | ( | const FixedImageRegionType | _arg | ) | [virtual] |
Pass the fixed image region to all sub metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetInterpolator | ( | InterpolatorType * | _arg | ) | [virtual] |
Pass the interpolator to all sub metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetInterpolator | ( | InterpolatorType * | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass an interpolator to a specific metric
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMetric | ( | SingleValuedCostFunctionType * | metric, |
unsigned int | pos | ||
) |
Set metric i. It may be a SingleValuedCostFunction, instead of a ImageToImageMetric, but the first one should be an ImageToImageMetric in all cases.
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMetricRelativeWeight | ( | double | weight, |
unsigned int | pos | ||
) |
Set the relative weight for metric i.
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMetricWeight | ( | double | weight, |
unsigned int | pos | ||
) |
Set the weight for metric i.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMovingImage | ( | const MovingImageType * | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass a moving image to a specific metric
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMovingImage | ( | const MovingImageType * | _arg | ) | [virtual] |
Pass the moving image to all sub metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMovingImageMask | ( | MovingImageMaskType * | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass a moving image mask to a specific metric
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetMovingImageMask | ( | MovingImageMaskType * | _arg | ) | [virtual] |
Pass the moving image mask to all sub metrics.
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetNumberOfMetrics | ( | unsigned int | count | ) |
Get and set the metrics and their weights. Set the number of metrics to combine.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetTransform | ( | TransformType * | _arg | ) | [virtual] |
Set/Get functions for the metric components Pass the transform to all sub metrics.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetTransform | ( | TransformType * | _arg, |
unsigned int | pos | ||
) | [virtual] |
Pass a transform to a specific metric. Only use this if you really know what you are doing.
In fact, in general it makes no sense to specify a different transform for every metric, because in the GetValue/GetDerivative methods, the same set of parameters will be used in all cases. Also, SetTransformParameters and GetNumberOfParameters may give unpredictable results if you use this method. They only refer to the first transform.
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetUseAllMetrics | ( | void | ) |
Use all metrics.
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetUseMetric | ( | const bool | use, |
const unsigned int | pos | ||
) |
Select which metrics are used. This is useful in case you want to compute a certain measure, but not actually use it during the registration. By default all metrics that are set, are also used.
virtual void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetUseRelativeWeights | ( | bool | _arg | ) | [virtual] |
Set and Get the UseRelativeWeights variable.
std::vector< std::vcl_size_t > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_MetricComputationTime [mutable, protected] |
Definition at line 403 of file itkCombinationImageToImageMetric.h.
std::vector< DerivativeType > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_MetricDerivatives [mutable, protected] |
Definition at line 401 of file itkCombinationImageToImageMetric.h.
std::vector< double > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_MetricDerivativesMagnitude [mutable, protected] |
Definition at line 402 of file itkCombinationImageToImageMetric.h.
std::vector< double > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_MetricRelativeWeights [protected] |
Definition at line 397 of file itkCombinationImageToImageMetric.h.
std::vector< SingleValuedCostFunctionPointer > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_Metrics [protected] |
Definition at line 395 of file itkCombinationImageToImageMetric.h.
std::vector< MeasureType > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_MetricValues [mutable, protected] |
Definition at line 400 of file itkCombinationImageToImageMetric.h.
std::vector< double > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_MetricWeights [protected] |
Definition at line 396 of file itkCombinationImageToImageMetric.h.
DerivativeType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_NullDerivative [protected] |
Definition at line 407 of file itkCombinationImageToImageMetric.h.
FixedImageRegionType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_NullFixedImageRegion [protected] |
Dummy image region and derivatives.
Definition at line 406 of file itkCombinationImageToImageMetric.h.
unsigned int itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_NumberOfMetrics [protected] |
Store the metrics and the corresponding weights.
Definition at line 394 of file itkCombinationImageToImageMetric.h.
std::vector< bool > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_UseMetric [protected] |
Definition at line 399 of file itkCombinationImageToImageMetric.h.
bool itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::m_UseRelativeWeights [protected] |
Definition at line 398 of file itkCombinationImageToImageMetric.h.
Generated on 24-10-2011 for elastix by ![]() |
![]() |