10 template <
class TFixedImagePixelType,
class TMovingImagePixelType,
unsigned int ImageDimension >
53 MeasureType
GetValue(const TransformParametersType & parameters) const ITK_OVERRIDE;
60 itkSetMacro(ForceApproximation,
bool)
61 itkSetMacro(LowerBoundGaussianSigma,
double)
62 itkSetMacro(UpperBoundGaussianSigma,
double)
68 virtual ~MCMCorrelationImageToImageMetric() {}
81 void operator=(
const Self&);
83 std::vector <InputPointType> m_FixedImagePoints;
84 std::vector <MCModelPointer> m_FixedImageValues;
87 std::vector <double> m_GradientStrengths;
88 double m_SmallDelta, m_BigDelta;
89 std::vector <GradientType> m_GradientDirections;
92 std::vector <double> m_SphereWeights;
93 std::vector <unsigned int> m_BValWeightsIndexes;
95 MCModelPointer m_ZeroDiffusionModel;
98 bool m_ForceApproximation;
101 double m_LowerBoundGaussianSigma;
102 double m_UpperBoundGaussianSigma;
void SetBigDelta(double val)
Superclass::MovingImageConstPointer MovingImageConstPointer
TFixedImage::PixelType PixelType
Superclass::TransformType TransformType
Superclass::MovingImageType MovingImageType
double ComputeNonTensorBasedMetric(const std::vector< MCModelPointer > &movingValues) const
Superclass::TransformParametersType TransformParametersType
BaseOrientedModelImageToImageMetric< TFixedImage, TMovingImage > Superclass
void UpdateSphereWeights()
Compute base integration weights for non tensor integration.
void SetGradientDirections(std::vector< GradientType > &val)
bool CheckTensorCompatibility() const
void SetGradientStrengths(std::vector< double > &val)
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::OutputPointType OutputPointType
BaseCompartment::Vector3DType Vector3DType
itk::SmartPointer< Self > Pointer
bool isZero(PixelType &vector) const
Superclass::InputPointType InputPointType
anima::MCMImage< TFixedImagePixelType, ImageDimension > TFixedImage
itk::SmartPointer< Self > Pointer
anima::MCMImage< TMovingImagePixelType, ImageDimension > TMovingImage
anima::MultiCompartmentModel MCModelType
itk::ContinuousIndex< double, ImageDimension > ContinuousIndexType
MultiCompartmentModel: holds several diffusion compartments, ordered by type It also handles weights ...
MCMCorrelationImageToImageMetric()
Superclass::MeasureType MeasureType
Superclass::FixedImageType FixedImageType
Superclass::TransformPointer TransformPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
itk::SmartPointer< const Self > ConstPointer
double ComputeTensorBasedMetric(const std::vector< MCModelPointer > &movingValues) const
void SetSmallDelta(double val)
MeasureType GetValue(const TransformParametersType ¶meters) const ITK_OVERRIDE
MCModelType::Vector3DType GradientType
MCMCorrelationImageToImageMetric Self
void PreComputeFixedValues()
MCModelType::Pointer MCModelPointer