ANIMA  4.0
animaAnatomicalBlockMatcher.h
Go to the documentation of this file.
1 #pragma once
3 
4 namespace anima
5 {
6 
7 template <typename TInputImageType>
8 class AnatomicalBlockMatcher : public anima::BaseAffineBlockMatcher <TInputImageType>
9 {
10 public:
13 
15  {
19  };
20 
23  typedef typename Superclass::PointType PointType;
28 
29  bool GetMaximizedMetric();
30  void SetSimilarityType(SimilarityDefinition val) {m_SimilarityType = val;}
31  void SetDefaultBackgroundValue(double val) {m_DefaultBackgroundValue = val;}
32 
33 protected:
34  virtual MetricPointer SetupMetric();
35  virtual double ComputeBlockWeight(double val, unsigned int block);
36 
37  virtual void BlockMatchingSetup(MetricPointer &metric, unsigned int block);
38 
39 private:
40  SimilarityDefinition m_SimilarityType;
41  double m_DefaultBackgroundValue;
42 };
43 
44 } // end namespace anima
45 
Superclass::MetricPointer MetricPointer
void SetSimilarityType(SimilarityDefinition val)
Superclass::InputImageType InputImageType
BaseAffineBlockMatcher< TInputImageType > Superclass
Superclass::BaseInputTransformPointer BaseInputTransformPointer
Superclass::BaseInputTransformPointer BaseInputTransformPointer
Superclass::MetricPointer MetricPointer
Superclass::InputImageType InputImageType
virtual double ComputeBlockWeight(double val, unsigned int block)
Superclass::OptimizerPointer OptimizerPointer
Superclass::OptimizerPointer OptimizerPointer
virtual void BlockMatchingSetup(MetricPointer &metric, unsigned int block)
Superclass::AgregatorType AgregatorType