![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#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 59 of file itkCombinationImageToImageMetric.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CoordinateRepresentationType | CoordinateRepresentationType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::DerivativeValueType | DerivativeValueType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointer |
typedef Superclass::FixedImageMaskPointer | FixedImageMaskPointer |
typedef Superclass::FixedImageMaskType | FixedImageMaskType |
typedef FixedImageType::PixelType | FixedImagePixelType |
typedef Superclass::FixedImageRegionType | FixedImageRegionType |
typedef Superclass::FixedImageType | FixedImageType |
typedef PointSet< CoordinateRepresentationType, TFixedImage::ImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, TFixedImage::ImageDimension, TFixedImage::ImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > | FixedPointSetType |
typedef Superclass::GradientImageFilterPointer | GradientImageFilterPointer |
typedef Superclass::GradientImageFilterType | GradientImageFilterType |
typedef Superclass::GradientImagePointer | GradientImagePointer |
typedef Superclass::GradientImageType | GradientImageType |
typedef Superclass::GradientPixelType | GradientPixelType |
typedef Superclass::HessianType | HessianType |
typedef Superclass::HessianValueType | HessianValueType |
typedef ImageMetricType::Pointer | ImageMetricPointer |
typedef Superclass | ImageMetricType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InterpolatorPointer | InterpolatorPointer |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointer |
typedef FixedArray< double, itkGetStaticConstMacro(MovingImageDimension) > | MovingImageDerivativeScalesType |
typedef Superclass::MovingImageMaskPointer | MovingImageMaskPointer |
typedef Superclass::MovingImageMaskType | MovingImageMaskType |
typedef Superclass::MovingImagePixelType | MovingImagePixelType |
typedef MovingImageType::RegionType | MovingImageRegionType |
typedef Superclass::MovingImageType | MovingImageType |
typedef PointSet< CoordinateRepresentationType, TMovingImage::ImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, TMovingImage::ImageDimension, TMovingImage::ImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > | MovingPointSetType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef SingleValuedPointSetToPointSetMetric< FixedPointSetType, MovingPointSetType > | PointSetMetricType |
typedef Superclass::RealType | RealType |
typedef CombinationImageToImageMetric | Self |
typedef SingleValuedCostFunctionType::Pointer | SingleValuedCostFunctionPointer |
typedef SingleValuedCostFunction | SingleValuedCostFunctionType |
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > | Superclass |
typedef Superclass::ThreaderType | ThreaderType |
typedef Superclass::ThreadInfoType | ThreadInfoType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef TransformType::Pointer | TransformPointer |
typedef Superclass::AdvancedTransformType | TransformType |
![]() | |
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > | AdvancedTransformType |
typedef BSplineOrder1TransformType::Pointer | BSplineOrder1TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > | BSplineOrder1TransformType |
typedef BSplineOrder2TransformType::Pointer | BSplineOrder2TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > | BSplineOrder2TransformType |
typedef BSplineOrder3TransformType::Pointer | BSplineOrder3TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > | BSplineOrder3TransformType |
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > | CombinationTransformType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CoordinateRepresentationType | CoordinateRepresentationType |
typedef Superclass::DerivativeType | DerivativeType |
typedef DerivativeType::ValueType | DerivativeValueType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointer |
typedef FixedImageLimiterType::OutputType | FixedImageLimiterOutputType |
typedef FixedImageLimiterType::Pointer | FixedImageLimiterPointer |
typedef LimiterFunctionBase< RealType, FixedImageDimension > | FixedImageLimiterType |
typedef Superclass::FixedImageMaskPointer | FixedImageMaskPointer |
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > | FixedImageMaskSpatialObject2Type |
typedef Superclass::FixedImageMaskType | FixedImageMaskType |
typedef FixedImageType::PixelType | FixedImagePixelType |
typedef FixedImageType::Pointer | FixedImagePointer |
typedef Superclass::FixedImageRegionType | FixedImageRegionType |
typedef Superclass::FixedImageType | FixedImageType |
typedef Superclass::GradientImageFilterPointer | GradientImageFilterPointer |
typedef Superclass::GradientImageFilterType | GradientImageFilterType |
typedef Superclass::GradientImagePointer | GradientImagePointer |
typedef Superclass::GradientImageType | GradientImageType |
typedef Superclass::GradientPixelType | GradientPixelType |
typedef vnl_sparse_matrix< HessianValueType > | HessianType |
typedef DerivativeType::ValueType | HessianValueType |
typedef ImageSamplerType::OutputVectorContainerPointer | ImageSampleContainerPointer |
typedef ImageSamplerType::OutputVectorContainerType | ImageSampleContainerType |
typedef ImageSamplerType::Pointer | ImageSamplerPointer |
typedef ImageSamplerBase< FixedImageType > | ImageSamplerType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InterpolatorPointer | InterpolatorPointer |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointer |
typedef FixedArray< double, Self::MovingImageDimension > | MovingImageDerivativeScalesType |
typedef MovingImageLimiterType::OutputType | MovingImageLimiterOutputType |
typedef MovingImageLimiterType::Pointer | MovingImageLimiterPointer |
typedef LimiterFunctionBase< RealType, MovingImageDimension > | MovingImageLimiterType |
typedef Superclass::MovingImageMaskPointer | MovingImageMaskPointer |
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > | MovingImageMaskSpatialObject2Type |
typedef Superclass::MovingImageMaskType | MovingImageMaskType |
typedef Superclass::MovingImagePixelType | MovingImagePixelType |
typedef MovingImageType::Pointer | MovingImagePointer |
typedef MovingImageType::RegionType | MovingImageRegionType |
typedef Superclass::MovingImageType | MovingImageType |
typedef AdvancedTransformType::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::RealType | RealType |
typedef TransformType::ScalarType | ScalarType |
typedef AdvancedImageToImageMetric | Self |
typedef ImageToImageMetric< TFixedImage, TMovingImage > | Superclass |
typedef itk::PlatformMultiThreader | ThreaderType |
typedef ThreaderType::WorkUnitInfo | ThreadInfoType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformType | TransformType |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
CombinationImageToImageMetric () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~CombinationImageToImageMetric () override | |
![]() | |
AdvancedImageToImageMetric () | |
virtual void | AfterThreadedGetValue (MeasureType &value) const |
virtual void | AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const |
virtual void | CheckForAdvancedTransform (void) |
virtual void | CheckForBSplineInterpolator (void) |
virtual void | CheckForBSplineTransform (void) const |
virtual void | CheckNumberOfSamples (unsigned long wanted, unsigned long found) const |
virtual bool | EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const |
virtual bool | EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const |
virtual void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const |
virtual void | InitializeImageSampler (void) |
virtual void | InitializeLimiters (void) |
virtual void | InitializeThreadingParameters (void) const |
virtual bool | IsInsideMovingMask (const MovingImagePointType &point) const |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct) | |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct) | |
void | LaunchGetValueAndDerivativeThreaderCallback (void) const |
void | LaunchGetValueThreaderCallback (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetUseFixedImageLimiter (bool _arg) |
virtual void | SetUseImageSampler (bool _arg) |
virtual void | SetUseMovingImageLimiter (bool _arg) |
virtual void | ThreadedGetValue (ThreadIdType threadID) |
virtual void | ThreadedGetValueAndDerivative (ThreadIdType threadID) |
virtual bool | TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const |
~AdvancedImageToImageMetric () override | |
Private Member Functions | |
CombinationImageToImageMetric (const Self &) | |
double | GetFinalMetricWeight (unsigned int pos) const |
void | InitializeThreadingParameters (void) const override |
void | operator= (const Self &) |
typedef SmartPointer< const Self > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 69 of file itkCombinationImageToImageMetric.h.
typedef Superclass::CoordinateRepresentationType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 84 of file itkCombinationImageToImageMetric.h.
typedef Superclass::DerivativeType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Definition at line 112 of file itkCombinationImageToImageMetric.h.
typedef Superclass::DerivativeValueType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeValueType |
Definition at line 113 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageConstPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Definition at line 91 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageMaskPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer |
Definition at line 108 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageMaskType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType |
Definition at line 107 of file itkCombinationImageToImageMetric.h.
typedef FixedImageType::PixelType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType |
Definition at line 139 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageRegionType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType |
Definition at line 92 of file itkCombinationImageToImageMetric.h.
typedef Superclass::FixedImageType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Definition at line 89 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 152 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImageFilterPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer |
Definition at line 106 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImageFilterType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType |
Definition at line 105 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImagePointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer |
Definition at line 104 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientImageType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType |
Definition at line 103 of file itkCombinationImageToImageMetric.h.
typedef Superclass::GradientPixelType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType |
Definition at line 102 of file itkCombinationImageToImageMetric.h.
typedef Superclass::HessianType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::HessianType |
Definition at line 118 of file itkCombinationImageToImageMetric.h.
typedef Superclass::HessianValueType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::HessianValueType |
Some typedefs for computing the SelfHessian
Definition at line 117 of file itkCombinationImageToImageMetric.h.
typedef ImageMetricType::Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ImageMetricPointer |
Definition at line 135 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 134 of file itkCombinationImageToImageMetric.h.
typedef Superclass::InputPointType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType |
Definition at line 95 of file itkCombinationImageToImageMetric.h.
typedef Superclass::InterpolatorPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer |
Definition at line 100 of file itkCombinationImageToImageMetric.h.
typedef Superclass::InterpolatorType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType |
Definition at line 99 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MeasureType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Definition at line 111 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageConstPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Definition at line 88 of file itkCombinationImageToImageMetric.h.
typedef FixedArray< double, itkGetStaticConstMacro( MovingImageDimension ) > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType |
Definition at line 142 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageMaskPointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer |
Definition at line 110 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageMaskType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType |
Definition at line 109 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImagePixelType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType |
Definition at line 86 of file itkCombinationImageToImageMetric.h.
typedef MovingImageType::RegionType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType |
Definition at line 140 of file itkCombinationImageToImageMetric.h.
typedef Superclass::MovingImageType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 85 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 160 of file itkCombinationImageToImageMetric.h.
typedef Superclass::OutputPointType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType |
Definition at line 96 of file itkCombinationImageToImageMetric.h.
typedef Superclass::ParametersType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ParametersType |
Definition at line 114 of file itkCombinationImageToImageMetric.h.
typedef SmartPointer< Self > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Definition at line 68 of file itkCombinationImageToImageMetric.h.
typedef SingleValuedPointSetToPointSetMetric< FixedPointSetType, MovingPointSetType > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::PointSetMetricType |
Definition at line 162 of file itkCombinationImageToImageMetric.h.
typedef Superclass::RealType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::RealType |
Definition at line 101 of file itkCombinationImageToImageMetric.h.
typedef CombinationImageToImageMetric itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 65 of file itkCombinationImageToImageMetric.h.
typedef SingleValuedCostFunctionType::Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SingleValuedCostFunctionPointer |
Definition at line 137 of file itkCombinationImageToImageMetric.h.
typedef SingleValuedCostFunction itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SingleValuedCostFunctionType |
Definition at line 136 of file itkCombinationImageToImageMetric.h.
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Definition at line 67 of file itkCombinationImageToImageMetric.h.
typedef Superclass::ThreaderType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ThreaderType |
Typedefs for multi-threading.
Definition at line 165 of file itkCombinationImageToImageMetric.h.
typedef Superclass::ThreadInfoType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::ThreadInfoType |
Definition at line 166 of file itkCombinationImageToImageMetric.h.
typedef Superclass::TransformJacobianType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Definition at line 98 of file itkCombinationImageToImageMetric.h.
typedef Superclass::TransformParametersType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Definition at line 97 of file itkCombinationImageToImageMetric.h.
typedef TransformType::Pointer itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Definition at line 94 of file itkCombinationImageToImageMetric.h.
typedef Superclass::AdvancedTransformType itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Definition at line 93 of file itkCombinationImageToImageMetric.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 406 of file itkCombinationImageToImageMetric.h.
|
private |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
|
override |
The GetDerivative()-method.
|
private |
Compute the current metric weight, given the user selected strategy and derivative magnitude.
|
virtual |
Returns the fixedImage set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
|
inlineoverride |
Return FixedImage 0
Definition at line 289 of file itkCombinationImageToImageMetric.h.
|
virtual |
Returns the fixedImageMask set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
|
inlineoverride |
Return FixedImageMask 0
Definition at line 307 of file itkCombinationImageToImageMetric.h.
|
virtual |
Returns the fixedImageRegion set in a specific metric. If the submetric is a singlevalued costfunction a region with size zero will be returned
|
inlineoverride |
Return FixedImageRegion 0
Definition at line 325 of file itkCombinationImageToImageMetric.h.
|
virtual |
Returns the interpolator set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned.
|
inlineoverride |
Return Interpolator 0
Definition at line 271 of file itkCombinationImageToImageMetric.h.
SingleValuedCostFunctionType * itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetric | ( | unsigned int | count | ) | const |
Get metric i.
double itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetMetricComputationTime | ( | unsigned int | pos | ) | const |
Get the last computed computation time 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 |
Returns the movingImage set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
|
inlineoverride |
Return MovingImage 0
Definition at line 343 of file itkCombinationImageToImageMetric.h.
|
virtual |
Returns the movingImageMask set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned
|
inlineoverride |
Return MovingImageMask 0
Definition at line 361 of file itkCombinationImageToImageMetric.h.
|
override |
Method to return the latest modified time of this object or any of its cached ivars.
|
virtual |
Get the number of metrics to combine.
|
override |
Get the number of pixels considered in the computation. Return the sum of pixels counted by all metrics.
|
overridevirtual |
Experimental feature: compute SelfHessian.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
|
virtual |
Returns the transform set in a specific metric. If the submetric is a singlevalued costfunction a zero pointer will be returned.
|
inlineoverride |
Return Transform 0
Definition at line 253 of file itkCombinationImageToImageMetric.h.
bool itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::GetUseMetric | ( | const unsigned int | pos | ) | const |
Get if this metric is used.
|
virtual |
|
override |
Combine all sub metrics by adding them. The GetValue()-method.
|
override |
The GetValueAndDerivative()-method.
|
override |
Pass initialization to all sub metrics.
|
overrideprivatevirtual |
Initialize some multi-threading related parameters. Overrides function in AdvancedImageToImageMetric, because here we use other parameters.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
TFixedImage::ImageDimension | |||
) |
itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned int | , | ||
TMovingImage::ImageDimension | |||
) |
Constants for the image dimensions
|
static |
Define the New() method
|
private |
|
overrideprotected |
|
override |
Pass the fixed image to all sub metrics.
|
virtual |
Pass a fixed image to a specific metric
|
override |
Pass the fixed image mask to all sub metrics.
|
virtual |
Pass a fixed image mask to a specific metric
|
override |
Pass the fixed image region to all sub metrics.
|
virtual |
Pass a fixed image region to a specific metric.
|
override |
Pass the interpolator to all sub metrics.
|
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.
|
override |
Pass the moving image to all sub metrics.
|
virtual |
Pass a moving image to a specific metric
|
override |
Pass the moving image mask to all sub metrics.
|
virtual |
Pass a moving image mask to a specific metric
void itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >::SetNumberOfMetrics | ( | unsigned int | count | ) |
Get and set the metrics and their weights. Set the number of metrics to combine.
|
override |
Set/Get functions for the metric components Pass the transform to all sub metrics.
|
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 |
Set and Get the UseRelativeWeights variable.
|
mutableprotected |
Definition at line 419 of file itkCombinationImageToImageMetric.h.
|
mutableprotected |
Definition at line 417 of file itkCombinationImageToImageMetric.h.
|
mutableprotected |
Definition at line 418 of file itkCombinationImageToImageMetric.h.
|
protected |
Definition at line 413 of file itkCombinationImageToImageMetric.h.
|
protected |
Definition at line 411 of file itkCombinationImageToImageMetric.h.
|
mutableprotected |
Definition at line 416 of file itkCombinationImageToImageMetric.h.
|
protected |
Definition at line 412 of file itkCombinationImageToImageMetric.h.
|
protected |
Definition at line 423 of file itkCombinationImageToImageMetric.h.
|
protected |
Dummy image region and derivatives.
Definition at line 422 of file itkCombinationImageToImageMetric.h.
|
protected |
Store the metrics and the corresponding weights.
Definition at line 410 of file itkCombinationImageToImageMetric.h.
|
protected |
Definition at line 415 of file itkCombinationImageToImageMetric.h.
|
protected |
Definition at line 414 of file itkCombinationImageToImageMetric.h.
Generated on 1667476801 for elastix by ![]() |
![]() |