Go to the documentation of this file.
18 #ifndef __itkCombinationImageToImageMetric_h
19 #define __itkCombinationImageToImageMetric_h
58 template<
class TFixedImage,
class TMovingImage >
79 TMovingImage::ImageDimension );
81 TFixedImage::ImageDimension );
141 typedef FixedArray<
double,
146 TFixedImage::ImageDimension,
147 DefaultStaticMeshTraits<
149 TFixedImage::ImageDimension,
150 TFixedImage::ImageDimension,
154 TMovingImage::ImageDimension,
155 DefaultStaticMeshTraits<
157 TMovingImage::ImageDimension,
158 TMovingImage::ImageDimension,
176 itkGetConstMacro( NumberOfMetrics,
unsigned int );
200 itkSetMacro( UseRelativeWeights,
bool );
201 itkGetMacro( UseRelativeWeights,
bool );
204 itkSetMacro( UseMultiThread,
bool );
419 void PrintSelf( std::ostream & os, Indent indent )
const;
423 std::vector< SingleValuedCostFunctionPointer >
m_Metrics;
476 #ifndef ITK_MANUAL_INSTANTIATION
477 #include "itkCombinationImageToImageMetric.hxx"
480 #endif // end #ifndef __itkCombinationImageToImageMetric_h
virtual void SetTransform(TransformType *_arg, unsigned int pos)
virtual void SetFixedImageMask(FixedImageMaskType *_arg)
Superclass::TransformParametersType TransformParametersType
DerivativeType::ValueType HessianValueType
Self * st_ThisComboMetric
Superclass::InterpolatorType InterpolatorType
Superclass::FixedImageRegionType FixedImageRegionType
CombinationImageToImageMetric()
virtual void SetFixedImageRegion(const FixedImageRegionType _arg, unsigned int pos)
Superclass::RealType RealType
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::FixedImageConstPointer FixedImageConstPointer
SingleValuedPointSetToPointSetMetric< FixedPointSetType, MovingPointSetType > PointSetMetricType
double GetMetricRelativeWeight(unsigned int pos) const
virtual const TransformType * GetTransform(unsigned int pos) const
MovingImageType::RegionType MovingImageRegionType
bool m_UseRelativeWeights
Superclass::GradientImageType GradientImageType
std::vector< bool > m_UseMetric
unsigned int m_NumberOfMetrics
CombinationImageToImageMetric(const Self &)
vnl_sparse_matrix< HessianValueType > HessianType
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeComboThreaderCallback(void *arg)
DerivativeType::ValueType DerivativeValueType
virtual void SetFixedImageRegion(const FixedImageRegionType _arg)
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Superclass::MovingImageType MovingImageType
virtual const MovingImageType * GetMovingImage(unsigned int pos) const
Superclass::ThreaderType ThreaderType
virtual const InterpolatorType * GetInterpolator(unsigned int pos) const
virtual void GetValueAndDerivative(const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
Superclass::DerivativeType DerivativeType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::InputPointType InputPointType
Computes similarity between two point sets.
std::vector< double > m_MetricRelativeWeights
std::vector< DerivativeType > m_MetricDerivatives
void operator=(const Self &)
std::vector< SingleValuedCostFunctionPointer > m_Metrics
Superclass::CoordinateRepresentationType CoordinateRepresentationType
SingleValuedCostFunctionType * GetMetric(unsigned int count) const
virtual const MovingImageMaskType * GetMovingImageMask(unsigned int pos) const
TransformType::Pointer TransformPointer
virtual void SetInterpolator(InterpolatorType *_arg, unsigned int pos)
ParametersType * st_Parameters
Superclass::OutputPointType OutputPointType
Superclass::ParametersType ParametersType
virtual void SetMovingImage(const MovingImageType *_arg)
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::InterpolatorPointer InterpolatorPointer
std::vector< double > m_MetricDerivativesMagnitude
void SetUseMetric(const bool use, const unsigned int pos)
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::ThreadInfoType ThreadInfoType
FixedImageType::PixelType FixedImagePixelType
virtual void SetInterpolator(InterpolatorType *_arg)
Superclass::GradientImagePointer GradientImagePointer
SingleValuedCostFunction SingleValuedCostFunctionType
virtual const SizeValueType & GetNumberOfPixelsCounted(void) const
virtual const FixedImageMaskType * GetFixedImageMask(unsigned int pos) const
static ITK_THREAD_RETURN_TYPE CombineDerivativesThreaderCallback(void *arg)
Superclass ImageMetricType
Superclass::InterpolatorType InterpolatorType
std::vector< double > m_MetricComputationTime
Superclass::GradientPixelType GradientPixelType
Superclass::FixedImageType FixedImageType
Superclass::GradientImageFilterType GradientImageFilterType
void SetNumberOfMetrics(unsigned int count)
Superclass::MovingImageMaskPointer MovingImageMaskPointer
ImageMetricType::Pointer ImageMetricPointer
Superclass::TransformJacobianType TransformJacobianType
AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > AdvancedTransformType
void SetUseAllMetrics(void)
PointSet< CoordinateRepresentationType, TMovingImage::ImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, TMovingImage::ImageDimension, TMovingImage::ImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
virtual const FixedImageType * GetFixedImage(void) const
Superclass::FixedImageMaskType FixedImageMaskType
static ITK_THREAD_RETURN_TYPE ComputeDerivativesMagnitudeThreaderCallback(void *arg)
Superclass::MeasureType MeasureType
DerivativeType m_NullDerivative
Superclass::MovingImageMaskType MovingImageMaskType
virtual const FixedImageMaskType * GetFixedImageMask(void) const
MeasureType GetMetricValue(unsigned int pos) const
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::HessianValueType HessianValueType
Superclass::FixedImageType FixedImageType
itk::MultiThreader ThreaderType
Superclass::DerivativeType DerivativeType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::MovingImageConstPointer MovingImageConstPointer
virtual const MovingImageMaskType * GetMovingImageMask(void) const
Superclass::OutputPointType OutputPointType
SmartPointer< const Self > ConstPointer
Superclass::HessianType HessianType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
std::vector< double > m_MetricWeights
ImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::FixedImageMaskPointer FixedImageMaskPointer
std::vector< MeasureType >::iterator st_MetricValuesIterator
virtual const FixedImageRegionType & GetFixedImageRegion(unsigned int pos) const
SmartPointer< Self > Pointer
std::vector< double > st_MetricComputationTime
Superclass::ParametersType ParametersType
virtual void SetMovingImageMask(MovingImageMaskType *_arg)
Combines multiple metrics.
virtual void SetMovingImage(const MovingImageType *_arg, unsigned int pos)
Superclass::RealType RealType
PointSet< CoordinateRepresentationType, TFixedImage::ImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, TFixedImage::ImageDimension, TFixedImage::ImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
void SetMetric(SingleValuedCostFunctionType *metric, unsigned int pos)
virtual void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const
CombinationImageToImageMetric Self
virtual void SetFixedImageMask(FixedImageMaskType *_arg, unsigned int pos)
FixedImageRegionType m_NullFixedImageRegion
double GetMetricWeight(unsigned int pos) const
Superclass::GradientImageFilterPointer GradientImageFilterPointer
std::vector< DerivativeType >::iterator st_MetricDerivativesIterator
Superclass::GradientImageType GradientImageType
Superclass::TransformParametersType TransformParametersType
std::vector< SingleValuedCostFunctionPointer > st_MetricsIterator
virtual void GetSelfHessian(const TransformParametersType ¶meters, HessianType &H) const
Superclass::MeasureType MeasureType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
DerivativeValueType * st_Derivative
virtual const TransformType * GetTransform(void) const
bool GetUseMetric(const unsigned int pos) const
virtual const MovingImageType * GetMovingImage(void) const
Superclass::MovingImageMaskPointer MovingImageMaskPointer
virtual void SetFixedImage(const FixedImageType *_arg, unsigned int pos)
Superclass::TransformJacobianType TransformJacobianType
std::vector< MeasureType > m_MetricValues
virtual const InterpolatorType * GetInterpolator(void) const
virtual void SetMovingImageMask(MovingImageMaskType *_arg, unsigned int pos)
double GetMetricComputationTime(unsigned int pos) const
Superclass::MovingImageType MovingImageType
virtual void InitializeThreadingParameters(void) const
virtual MeasureType GetValue(const ParametersType ¶meters) const
std::vector< double > st_DerivativesSumOfSquares
virtual void SetFixedImage(const FixedImageType *_arg)
double GetMetricDerivativeMagnitude(unsigned int pos) const
SingleValuedCostFunctionType::Pointer SingleValuedCostFunctionPointer
Superclass::GradientPixelType GradientPixelType
virtual void Initialize(void)
virtual ~CombinationImageToImageMetric()
virtual const FixedImageType * GetFixedImage(unsigned int pos) const
FixedArray< double, itkGetStaticConstMacro(MovingImageDimension) > MovingImageDerivativeScalesType
Superclass::DerivativeValueType DerivativeValueType
Superclass::TransformType TransformType
Superclass::GradientImagePointer GradientImagePointer
itkStaticConstMacro(FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
virtual void SetTransform(TransformType *_arg)
Superclass::AdvancedTransformType TransformType
double GetFinalMetricWeight(unsigned int pos) const
Superclass::MovingImagePixelType MovingImagePixelType
void SetMetricRelativeWeight(double weight, unsigned int pos)
Superclass::FixedImageConstPointer FixedImageConstPointer
virtual unsigned long GetMTime() const
itkStaticConstMacro(MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::InputPointType InputPointType
const DerivativeType & GetMetricDerivative(unsigned int pos) const
virtual const FixedImageRegionType & GetFixedImageRegion(void) const
void SetMetricWeight(double weight, unsigned int pos)
ThreaderType::ThreadInfoStruct ThreadInfoType
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|