FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Affine.hpp
Go to the documentation of this file.
1 #ifndef FAST_AFFINE_H
2 #define FAST_AFFINE_H
3 
4 
6 #include "FAST/ProcessObject.hpp"
7 #include "FAST/Data/Mesh.hpp"
9 
10 namespace fast {
11 
12  class FAST_EXPORT CoherentPointDriftAffine: public CoherentPointDrift {
14  public:
16  void initializeVarianceAndMore() override;
17  void maximization(MatrixXf& fixedPoints, MatrixXf& movingPoints) override;
18 
19  private:
20  MatrixXf mPt1; // Colwise sum of P, then transpose
21  MatrixXf mP1; // Rowwise sum of P
22  MatrixXf mAffineMatrix; // B
23  MatrixXf mTranslation; // t
24  double mIterationError; // Change in error from iteration to iteration
25  float mNp; // Sum of all elements in P
26  TransformationType mTransformationType;
27  };
28 
29 }
30 
31 
32 #endif //FAST_AFFINE_H
AffineTransformation.hpp
fast
Definition: AffineTransformation.hpp:7
fast::CoherentPointDrift
Definition: CoherentPointDrift.hpp:10
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
ProcessObject.hpp
Mesh.hpp
fast::CoherentPointDriftAffine
Definition: Affine.hpp:12
fast::CoherentPointDrift::TransformationType
TransformationType
Definition: CoherentPointDrift.hpp:13
CoherentPointDrift.hpp