cpd
0.5.1
Coherent Point Drift: C++ library for point set registration
|
Rigid coherent point drift. More...
#include <rigid.hpp>
Public Member Functions | |
Rigid & | reflections (bool reflections) |
Sets whether this rigid transform allows reflections. More... | |
Rigid & | scale (bool scale) |
Sets whether this rigid transform allows scaling. More... | |
RigidResult | compute_one (const Matrix &fixed, const Matrix &moving, const Probabilities &probabilities, double sigma2) const |
Computes one iteration of the rigid transformation. More... | |
virtual bool | linked () const |
Returns true if the normalization should be linked. More... | |
Public Member Functions inherited from cpd::Transform< RigidResult > | |
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... | |
RigidResult | 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... | |
Rigid coherent point drift.
Scaling and reflections can be turned on and off.
|
virtual |
Computes one iteration of the rigid transformation.
Implements cpd::Transform< RigidResult >.
|
inlinevirtual |
Returns true if the normalization should be linked.
No effect if no normalization is applied.
Implements cpd::Transform< RigidResult >.
|
inline |
Sets whether this rigid transform allows reflections.
|
inline |
Sets whether this rigid transform allows scaling.