cpd
0.5.1
Coherent Point Drift: C++ library for point set registration
|
Affine coherent point drift. More...
#include <affine.hpp>
Public Member Functions | |
AffineResult | compute_one (const Matrix &fixed, const Matrix &moving, const Probabilities &probabilities, double sigma2) const |
Computes one iteration of the affine transformation. More... | |
Affine & | linked (bool linked) |
Sets whether the scalings of the two datasets are linked. More... | |
virtual bool | linked () const |
Returns true if the normalization should be linked. More... | |
Public Member Functions inherited from cpd::Transform< AffineResult > | |
Transform & | correspondence (bool correspondence) |
Sets whether the correspondence vector will be computed. More... | |
Transform & | gauss_transform (std::unique_ptr< GaussTransform > gauss_transform) |
Sets the gauss transform. More... | |
Transform & | max_iterations (double max_iterations) |
Sets the max iterations for this transform. More... | |
Transform & | normalize (bool normalize) |
Sets whether to normalize the points before running cpd. More... | |
Transform & | outliers (double outliers) |
Sets the outlier tolerance. More... | |
Transform & | sigma2 (double sigma2) |
Sets the sigma2 value for this transform. More... | |
Transform & | tolerance (double tolerance) |
Sets the final tolerance. More... | |
AffineResult | run (Matrix fixed, Matrix moving) |
Runs this transform for the provided matrices. More... | |
virtual void | init (const Matrix &fixed, const Matrix &moving) |
Initialize this transform for the provided matrices. More... | |
virtual void | modify_probabilities (Probabilities &probabilities) const |
Modifies Probabilities in some way. More... | |
Affine coherent point drift.
|
virtual |
Computes one iteration of the affine transformation.
Implements cpd::Transform< AffineResult >.
|
inline |
Sets whether the scalings of the two datasets are linked.
|
inlinevirtual |
Returns true if the normalization should be linked.
No effect if no normalization is applied.
Implements cpd::Transform< AffineResult >.