Loading...
Searching...
No Matches
itkMultiInputImageToImageMetricBase.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkMultiInputImageToImageMetricBase_h
#define itkMultiInputImageToImageMetricBase_h
#include "itkAdvancedImageToImageMetric.h"
#include <vector>
#define itkSetNumberOfMacro(name) \
virtual void SetNumberOf##name##s(const unsigned int _arg) \
{ \
if (this->m_NumberOf##name##s != _arg) \
{ \
this->m_##name##Vector.resize(_arg); \
this->m_NumberOf##name##s = _arg; \
this->Modified(); \
} \
} // comments for allowing ; after calling the macro
namespace itk
{
template <class TFixedImage, class TMovingImage>
class ITK_TEMPLATE_EXPORT MultiInputImageToImageMetricBase
: public AdvancedImageToImageMetric<TFixedImage, TMovingImage>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(MultiInputImageToImageMetricBase);
using Self = MultiInputImageToImageMetricBase;
using Superclass = AdvancedImageToImageMetric<TFixedImage, TMovingImage>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkTypeMacro(MultiInputImageToImageMetricBase, AdvancedImageToImageMetric);
itkStaticConstMacro(MovingImageDimension, unsigned int, TMovingImage::ImageDimension);
itkStaticConstMacro(FixedImageDimension, unsigned int, TFixedImage::ImageDimension);
using typename Superclass::CoordinateRepresentationType;
using typename Superclass::MovingImageType;
using typename Superclass::MovingImagePixelType;
using typename Superclass::MovingImagePointer;
using typename Superclass::MovingImageConstPointer;
using typename Superclass::FixedImageType;
using typename Superclass::FixedImagePointer;
using typename Superclass::FixedImageConstPointer;
using typename Superclass::FixedImageRegionType;
using typename Superclass::TransformType;
using typename Superclass::TransformPointer;
using typename Superclass::InputPointType;
using typename Superclass::OutputPointType;
using typename Superclass::TransformParametersType;
using typename Superclass::TransformJacobianType;
using typename Superclass::InterpolatorType;
using typename Superclass::InterpolatorPointer;
using typename Superclass::RealType;
using typename Superclass::GradientPixelType;
using typename Superclass::GradientImageType;
using typename Superclass::GradientImagePointer;
using typename Superclass::FixedImageMaskType;
using typename Superclass::FixedImageMaskPointer;
using typename Superclass::FixedImageMaskConstPointer;
using typename Superclass::MovingImageMaskType;
using typename Superclass::MovingImageMaskPointer;
using typename Superclass::MovingImageMaskConstPointer;
using typename Superclass::MeasureType;
using typename Superclass::DerivativeType;
using typename Superclass::ParametersType;
using FixedImageInterpolatorType = InterpolateImageFunction<FixedImageType, CoordinateRepresentationType>;
using FixedImageInterpolatorPointer = typename FixedImageInterpolatorType::Pointer;
using FixedImageVectorType = std::vector<FixedImageConstPointer>;
using FixedImageMaskVectorType = std::vector<FixedImageMaskConstPointer>;
using FixedImageRegionVectorType = std::vector<FixedImageRegionType>;
using MovingImageVectorType = std::vector<MovingImageConstPointer>;
using MovingImageMaskVectorType = std::vector<MovingImageMaskConstPointer>;
using InterpolatorVectorType = std::vector<InterpolatorPointer>;
using FixedImageInterpolatorVectorType = std::vector<FixedImageInterpolatorPointer>;
virtual void
SetFixedImage(const FixedImageType * _arg, unsigned int pos);
void
SetFixedImage(const FixedImageType * _arg) override
{
this->SetFixedImage(_arg, 0);
}
virtual const FixedImageType *
GetFixedImage(unsigned int pos) const;
const FixedImageType *
GetFixedImage() const override
{
return this->GetFixedImage(0);
}
itkSetNumberOfMacro(FixedImage);
itkGetConstMacro(NumberOfFixedImages, unsigned int);
virtual void
SetFixedImageMask(const FixedImageMaskType * _arg, unsigned int pos);
void
SetFixedImageMask(const FixedImageMaskType * _arg) override
{
this->SetFixedImageMask(_arg, 0);
}
virtual const FixedImageMaskType *
GetFixedImageMask(unsigned int pos) const;
const FixedImageMaskType *
GetFixedImageMask() const override
{
return this->GetFixedImageMask(0);
}
itkSetNumberOfMacro(FixedImageMask);
itkGetConstMacro(NumberOfFixedImageMasks, unsigned int);
virtual void
SetFixedImageRegion(const FixedImageRegionType _arg, unsigned int pos);
void
SetFixedImageRegion(const FixedImageRegionType _arg) override
{
this->SetFixedImageRegion(_arg, 0);
}
virtual const FixedImageRegionType &
GetFixedImageRegion(unsigned int pos) const;
const FixedImageRegionType &
GetFixedImageRegion() const override
{
return this->GetFixedImageRegion(0);
}
itkSetNumberOfMacro(FixedImageRegion);
itkGetConstMacro(NumberOfFixedImageRegions, unsigned int);
virtual void
SetMovingImage(const MovingImageType * _arg, unsigned int pos);
void
SetMovingImage(const MovingImageType * _arg) override
{
this->SetMovingImage(_arg, 0);
}
virtual const MovingImageType *
GetMovingImage(unsigned int pos) const;
const MovingImageType *
GetMovingImage() const override
{
return this->GetMovingImage(0);
}
itkSetNumberOfMacro(MovingImage);
itkGetConstMacro(NumberOfMovingImages, unsigned int);
virtual void
SetMovingImageMask(const MovingImageMaskType * _arg, unsigned int pos);
void
SetMovingImageMask(const MovingImageMaskType * _arg) override
{
this->SetMovingImageMask(_arg, 0);
}
virtual const MovingImageMaskType *
GetMovingImageMask(unsigned int pos) const;
const MovingImageMaskType *
GetMovingImageMask() const override
{
return this->GetMovingImageMask(0);
}
itkSetNumberOfMacro(MovingImageMask);
itkGetConstMacro(NumberOfMovingImageMasks, unsigned int);
virtual void
SetInterpolator(InterpolatorType * _arg, unsigned int pos);
void
SetInterpolator(InterpolatorType * _arg) override
{
return this->SetInterpolator(_arg, 0);
}
virtual InterpolatorType *
GetInterpolator(unsigned int pos) const;
InterpolatorType *
GetInterpolator() override
{
return this->GetInterpolator(0);
}
const InterpolatorType *
GetInterpolator() const override
{
return this->GetInterpolator(0);
}
itkSetNumberOfMacro(Interpolator);
itkGetConstMacro(NumberOfInterpolators, unsigned int);
itkGetConstMacro(InterpolatorsAreBSpline, bool);
virtual void
SetFixedImageInterpolator(FixedImageInterpolatorType * _arg, unsigned int pos);
virtual void
SetFixedImageInterpolator(FixedImageInterpolatorType * _arg)
{
return this->SetFixedImageInterpolator(_arg, 0);
}
virtual FixedImageInterpolatorType *
GetFixedImageInterpolator(unsigned int pos) const;
virtual FixedImageInterpolatorType *
GetFixedImageInterpolator() const
{
return this->GetFixedImageInterpolator(0);
}
itkSetNumberOfMacro(FixedImageInterpolator);
itkGetConstMacro(NumberOfFixedImageInterpolators, unsigned int);
void
Initialize() override;
protected:
MultiInputImageToImageMetricBase() = default;
~MultiInputImageToImageMetricBase() override = default;
using typename Superclass::MovingImagePointType;
using typename Superclass::MovingImageIndexType;
using typename Superclass::MovingImageDerivativeType;
using typename Superclass::MovingImageContinuousIndexType;
using typename Superclass::BSplineInterpolatorType;
using BSplineInterpolatorPointer = typename BSplineInterpolatorType::Pointer;
using BSplineInterpolatorVectorType = std::vector<BSplineInterpolatorPointer>;
void
InitializeImageSampler() override;
virtual void
CheckForBSplineInterpolators();
bool
EvaluateMovingImageValueAndDerivative(const MovingImagePointType & mappedPoint,
RealType & movingImageValue,
MovingImageDerivativeType * gradient) const override;
bool
IsInsideMovingMask(const MovingImagePointType & mappedPoint) const override;
FixedImageVectorType m_FixedImageVector{};
FixedImageMaskVectorType m_FixedImageMaskVector{};
FixedImageRegionVectorType m_FixedImageRegionVector{};
MovingImageVectorType m_MovingImageVector{};
MovingImageMaskVectorType m_MovingImageMaskVector{};
InterpolatorVectorType m_InterpolatorVector{};
FixedImageInterpolatorVectorType m_FixedImageInterpolatorVector{};
bool m_InterpolatorsAreBSpline{ false };
BSplineInterpolatorVectorType m_BSplineInterpolatorVector{};
private:
// Private using-declarations, to avoid `-Woverloaded-virtual` warnings from GCC (GCC 11.4) or clang (macos-12).
using Superclass::SetFixedImageMask;
using Superclass::SetMovingImageMask;
void
FastEvaluateMovingImageValueAndDerivative(...) const = delete;
FixedImageRegionType m_DummyFixedImageRegion{};
unsigned int m_NumberOfFixedImages{ 0 };
unsigned int m_NumberOfFixedImageMasks{ 0 };
unsigned int m_NumberOfFixedImageRegions{ 0 };
unsigned int m_NumberOfMovingImages{ 0 };
unsigned int m_NumberOfMovingImageMasks{ 0 };
unsigned int m_NumberOfInterpolators{ 0 };
unsigned int m_NumberOfFixedImageInterpolators{ 0 };
};
} // end namespace itk
#undef itkSetNumberOfMacro
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkMultiInputImageToImageMetricBase.hxx"
#endif
#endif // end #ifndef itkMultiInputImageToImageMetricBase_h
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImagePointType
typename TransformType::OutputPointType MovingImagePointType
Definition itkAdvancedImageToImageMetric.h:338
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImageIndexType
typename MovingImageType::IndexType MovingImageIndexType
Definition itkAdvancedImageToImageMetric.h:336
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImagePointer
typename MovingImageType::Pointer MovingImagePointer
Definition itkAdvancedImageToImageMetric.h:104
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::FixedImageMaskType
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
Definition itkAdvancedImageToImageMetric.h:124
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::FixedImagePointer
typename FixedImageType::Pointer FixedImagePointer
Definition itkAdvancedImageToImageMetric.h:107
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImageMaskPointer
SmartPointer< MovingImageMaskType > MovingImageMaskPointer
Definition itkAdvancedImageToImageMetric.h:128
itk::AdvancedImageToImageMetric::AdvancedImageToImageMetric
AdvancedImageToImageMetric()
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImageDerivativeType
typename BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
Definition itkAdvancedImageToImageMetric.h:353
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::FixedImageMaskPointer
SmartPointer< FixedImageMaskType > FixedImageMaskPointer
Definition itkAdvancedImageToImageMetric.h:125
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::BSplineInterpolatorType
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
Definition itkAdvancedImageToImageMetric.h:342
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::FixedImageMaskConstPointer
SmartPointer< const FixedImageMaskType > FixedImageMaskConstPointer
Definition itkAdvancedImageToImageMetric.h:126
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImageContinuousIndexType
typename InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
Definition itkAdvancedImageToImageMetric.h:339
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImageMaskConstPointer
SmartPointer< const MovingImageMaskType > MovingImageMaskConstPointer
Definition itkAdvancedImageToImageMetric.h:129
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType >::MovingImageMaskType
ImageMaskSpatialObject< Self::MovingImageDimension > MovingImageMaskType
Definition itkAdvancedImageToImageMetric.h:127
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_FixedImageInterpolatorVector
FixedImageInterpolatorVectorType m_FixedImageInterpolatorVector
Definition itkMultiInputImageToImageMetricBase.h:403
itk::MultiInputImageToImageMetricBase::GetFixedImage
const FixedImageType * GetFixedImage() const override
Definition itkMultiInputImageToImageMetricBase.h:132
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(Interpolator)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_FixedImageMaskVector
FixedImageMaskVectorType m_FixedImageMaskVector
Definition itkMultiInputImageToImageMetricBase.h:398
itk::MultiInputImageToImageMetricBase::MultiInputImageToImageMetricBase
MultiInputImageToImageMetricBase()=default
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::MovingImagePointType
typename TransformType::OutputPointType MovingImagePointType
itk::MultiInputImageToImageMetricBase::MovingImageVectorType
std::vector< MovingImageConstPointer > MovingImageVectorType
Definition itkMultiInputImageToImageMetricBase.h:107
itk::MultiInputImageToImageMetricBase::FixedImageInterpolatorPointer
typename FixedImageInterpolatorType::Pointer FixedImageInterpolatorPointer
Definition itkMultiInputImageToImageMetricBase.h:101
itk::MultiInputImageToImageMetricBase::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(MultiInputImageToImageMetricBase)
itk::MultiInputImageToImageMetricBase::SetFixedImageRegion
virtual void SetFixedImageRegion(const FixedImageRegionType _arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase::GetFixedImageMask
const FixedImageMaskType * GetFixedImageMask() const override
Definition itkMultiInputImageToImageMetricBase.h:164
itk::MultiInputImageToImageMetricBase::GetFixedImageMask
virtual const FixedImageMaskType * GetFixedImageMask(unsigned int pos) const
itk::MultiInputImageToImageMetricBase::SetFixedImageMask
void SetFixedImageMask(const FixedImageMaskType *_arg) override
Definition itkMultiInputImageToImageMetricBase.h:152
itk::MultiInputImageToImageMetricBase::SetFixedImageMask
virtual void SetFixedImageMask(const FixedImageMaskType *_arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_FixedImageRegionVector
FixedImageRegionVectorType m_FixedImageRegionVector
Definition itkMultiInputImageToImageMetricBase.h:399
itk::MultiInputImageToImageMetricBase::SetMovingImage
void SetMovingImage(const MovingImageType *_arg) override
Definition itkMultiInputImageToImageMetricBase.h:216
itk::MultiInputImageToImageMetricBase::GetFixedImageRegion
const FixedImageRegionType & GetFixedImageRegion() const override
Definition itkMultiInputImageToImageMetricBase.h:196
itk::MultiInputImageToImageMetricBase::BSplineInterpolatorVectorType
std::vector< BSplineInterpolatorPointer > BSplineInterpolatorVectorType
Definition itkMultiInputImageToImageMetricBase.h:372
itk::MultiInputImageToImageMetricBase::GetFixedImageRegion
virtual const FixedImageRegionType & GetFixedImageRegion(unsigned int pos) const
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_InterpolatorVector
InterpolatorVectorType m_InterpolatorVector
Definition itkMultiInputImageToImageMetricBase.h:402
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfFixedImageRegions
unsigned int m_NumberOfFixedImageRegions
Definition itkMultiInputImageToImageMetricBase.h:425
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(FixedImage)
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(FixedImageRegion)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfFixedImageMasks
unsigned int m_NumberOfFixedImageMasks
Definition itkMultiInputImageToImageMetricBase.h:424
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_DummyFixedImageRegion
FixedImageRegionType m_DummyFixedImageRegion
Definition itkMultiInputImageToImageMetricBase.h:421
itk::MultiInputImageToImageMetricBase::FixedImageInterpolatorVectorType
std::vector< FixedImageInterpolatorPointer > FixedImageInterpolatorVectorType
Definition itkMultiInputImageToImageMetricBase.h:110
itk::MultiInputImageToImageMetricBase::GetInterpolator
virtual InterpolatorType * GetInterpolator(unsigned int pos) const
itk::MultiInputImageToImageMetricBase::Self
MultiInputImageToImageMetricBase Self
Definition itkMultiInputImageToImageMetricBase.h:56
itk::MultiInputImageToImageMetricBase::Superclass
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
Definition itkMultiInputImageToImageMetricBase.h:57
itk::MultiInputImageToImageMetricBase::EvaluateMovingImageValueAndDerivative
bool EvaluateMovingImageValueAndDerivative(const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const override
itk::MultiInputImageToImageMetricBase::SetMovingImageMask
virtual void SetMovingImageMask(const MovingImageMaskType *_arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase::SetInterpolator
void SetInterpolator(InterpolatorType *_arg) override
Definition itkMultiInputImageToImageMetricBase.h:282
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::FixedImageMaskType
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfFixedImageInterpolators
unsigned int m_NumberOfFixedImageInterpolators
Definition itkMultiInputImageToImageMetricBase.h:429
itk::MultiInputImageToImageMetricBase::SetMovingImageMask
void SetMovingImageMask(const MovingImageMaskType *_arg) override
Definition itkMultiInputImageToImageMetricBase.h:248
itk::MultiInputImageToImageMetricBase::InterpolatorVectorType
std::vector< InterpolatorPointer > InterpolatorVectorType
Definition itkMultiInputImageToImageMetricBase.h:109
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfInterpolators
unsigned int m_NumberOfInterpolators
Definition itkMultiInputImageToImageMetricBase.h:428
itk::MultiInputImageToImageMetricBase::Initialize
void Initialize() override
itk::MultiInputImageToImageMetricBase::GetMovingImage
virtual const MovingImageType * GetMovingImage(unsigned int pos) const
itk::MultiInputImageToImageMetricBase::MovingImageMaskVectorType
std::vector< MovingImageMaskConstPointer > MovingImageMaskVectorType
Definition itkMultiInputImageToImageMetricBase.h:108
itk::MultiInputImageToImageMetricBase::GetMovingImage
const MovingImageType * GetMovingImage() const override
Definition itkMultiInputImageToImageMetricBase.h:228
itk::MultiInputImageToImageMetricBase::GetFixedImage
virtual const FixedImageType * GetFixedImage(unsigned int pos) const
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfMovingImages
unsigned int m_NumberOfMovingImages
Definition itkMultiInputImageToImageMetricBase.h:426
itk::MultiInputImageToImageMetricBase::~MultiInputImageToImageMetricBase
~MultiInputImageToImageMetricBase() override=default
itk::MultiInputImageToImageMetricBase::SetFixedImage
void SetFixedImage(const FixedImageType *_arg) override
Definition itkMultiInputImageToImageMetricBase.h:120
itk::MultiInputImageToImageMetricBase::SetFixedImageInterpolator
virtual void SetFixedImageInterpolator(FixedImageInterpolatorType *_arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase::SetMovingImage
virtual void SetMovingImage(const MovingImageType *_arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkMultiInputImageToImageMetricBase.h:59
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(MovingImageMask)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfMovingImageMasks
unsigned int m_NumberOfMovingImageMasks
Definition itkMultiInputImageToImageMetricBase.h:427
itk::MultiInputImageToImageMetricBase::GetFixedImageInterpolator
virtual FixedImageInterpolatorType * GetFixedImageInterpolator(unsigned int pos) const
itk::MultiInputImageToImageMetricBase::FixedImageInterpolatorType
InterpolateImageFunction< FixedImageType, CoordinateRepresentationType > FixedImageInterpolatorType
Definition itkMultiInputImageToImageMetricBase.h:100
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_NumberOfFixedImages
unsigned int m_NumberOfFixedImages
Definition itkMultiInputImageToImageMetricBase.h:423
itk::MultiInputImageToImageMetricBase::GetMovingImageMask
const MovingImageMaskType * GetMovingImageMask() const override
Definition itkMultiInputImageToImageMetricBase.h:260
itk::MultiInputImageToImageMetricBase::FixedImageMaskVectorType
std::vector< FixedImageMaskConstPointer > FixedImageMaskVectorType
Definition itkMultiInputImageToImageMetricBase.h:105
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::MovingImageDerivativeType
typename BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
itk::MultiInputImageToImageMetricBase::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(FixedImageMask)
itk::MultiInputImageToImageMetricBase::FixedImageVectorType
std::vector< FixedImageConstPointer > FixedImageVectorType
Definition itkMultiInputImageToImageMetricBase.h:104
itk::MultiInputImageToImageMetricBase::SetFixedImageRegion
void SetFixedImageRegion(const FixedImageRegionType _arg) override
Definition itkMultiInputImageToImageMetricBase.h:184
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(FixedImageInterpolator)
itk::MultiInputImageToImageMetricBase::CheckForBSplineInterpolators
virtual void CheckForBSplineInterpolators()
itk::MultiInputImageToImageMetricBase::GetMovingImageMask
virtual const MovingImageMaskType * GetMovingImageMask(unsigned int pos) const
itk::MultiInputImageToImageMetricBase::GetInterpolator
InterpolatorType * GetInterpolator() override
Definition itkMultiInputImageToImageMetricBase.h:294
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_MovingImageVector
MovingImageVectorType m_MovingImageVector
Definition itkMultiInputImageToImageMetricBase.h:400
itk::MultiInputImageToImageMetricBase::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
itk::MultiInputImageToImageMetricBase::GetFixedImageInterpolator
virtual FixedImageInterpolatorType * GetFixedImageInterpolator() const
Definition itkMultiInputImageToImageMetricBase.h:338
itk::MultiInputImageToImageMetricBase::IsInsideMovingMask
bool IsInsideMovingMask(const MovingImagePointType &mappedPoint) const override
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_FixedImageVector
FixedImageVectorType m_FixedImageVector
Definition itkMultiInputImageToImageMetricBase.h:397
itk::MultiInputImageToImageMetricBase::SetInterpolator
virtual void SetInterpolator(InterpolatorType *_arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_BSplineInterpolatorVector
BSplineInterpolatorVectorType m_BSplineInterpolatorVector
Definition itkMultiInputImageToImageMetricBase.h:406
itk::MultiInputImageToImageMetricBase::InitializeImageSampler
void InitializeImageSampler() override
itk::MultiInputImageToImageMetricBase::Pointer
SmartPointer< Self > Pointer
Definition itkMultiInputImageToImageMetricBase.h:58
itk::MultiInputImageToImageMetricBase::SetFixedImageInterpolator
virtual void SetFixedImageInterpolator(FixedImageInterpolatorType *_arg)
Definition itkMultiInputImageToImageMetricBase.h:326
itk::MultiInputImageToImageMetricBase::FixedImageRegionVectorType
std::vector< FixedImageRegionType > FixedImageRegionVectorType
Definition itkMultiInputImageToImageMetricBase.h:106
itk::MultiInputImageToImageMetricBase::BSplineInterpolatorPointer
typename BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
Definition itkMultiInputImageToImageMetricBase.h:371
itk::MultiInputImageToImageMetricBase::FastEvaluateMovingImageValueAndDerivative
void FastEvaluateMovingImageValueAndDerivative(...) const =delete
itk::MultiInputImageToImageMetricBase::SetFixedImage
virtual void SetFixedImage(const FixedImageType *_arg, unsigned int pos)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_InterpolatorsAreBSpline
bool m_InterpolatorsAreBSpline
Definition itkMultiInputImageToImageMetricBase.h:405
itk::MultiInputImageToImageMetricBase::itkSetNumberOfMacro
itkSetNumberOfMacro(MovingImage)
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::MovingImageMaskType
ImageMaskSpatialObject< Self::MovingImageDimension > MovingImageMaskType
itk::MultiInputImageToImageMetricBase< FixedImageType, MovingImageType >::m_MovingImageMaskVector
MovingImageMaskVectorType m_MovingImageMaskVector
Definition itkMultiInputImageToImageMetricBase.h:401
itk::MultiInputImageToImageMetricBase::GetInterpolator
const InterpolatorType * GetInterpolator() const override
Definition itkMultiInputImageToImageMetricBase.h:301
itkAdvancedImageToImageMetric.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |