FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Rigid.hpp
Go to the documentation of this file.
1 #ifndef FAST_RIGID_H
2 #define FAST_RIGID_H
3 
4 
6 #include "FAST/ProcessObject.hpp"
7 #include "FAST/Data/Mesh.hpp"
9 
10 namespace fast {
11 
12  class FAST_EXPORT CoherentPointDriftRigid: public CoherentPointDrift {
14  public:
16  void maximization(MatrixXf& fixedPoints, MatrixXf& movingPoints) override;
17  void initializeVarianceAndMore() override;
18 
19  private:
20  VectorXf mPt1; // Colwise sum of P, then transpose
21  VectorXf mP1; // Rowwise sum of P
22  MatrixXf mRotation; // R
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_RIGID_H
AffineTransformation.hpp
fast
Definition: AffineTransformation.hpp:7
fast::CoherentPointDrift
Definition: CoherentPointDrift.hpp:10
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
fast::CoherentPointDriftRigid
Definition: Rigid.hpp:12
ProcessObject.hpp
Mesh.hpp
fast::CoherentPointDrift::TransformationType
TransformationType
Definition: CoherentPointDrift.hpp:13
CoherentPointDrift.hpp