cpd  0.5.1
Coherent Point Drift: C++ library for point set registration
Public Member Functions | List of all members
cpd::Affine Class Reference

Affine coherent point drift. More...

#include <affine.hpp>

Inheritance diagram for cpd::Affine:
cpd::Transform< AffineResult >

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...
 

Detailed Description

Affine coherent point drift.

Member Function Documentation

AffineResult cpd::Affine::compute_one ( const Matrix &  fixed,
const Matrix &  moving,
const Probabilities &  probabilities,
double  sigma2 
) const
virtual

Computes one iteration of the affine transformation.

Implements cpd::Transform< AffineResult >.

Affine& cpd::Affine::linked ( bool  linked)
inline

Sets whether the scalings of the two datasets are linked.

virtual bool cpd::Affine::linked ( ) const
inlinevirtual

Returns true if the normalization should be linked.

No effect if no normalization is applied.

Implements cpd::Transform< AffineResult >.


The documentation for this class was generated from the following file: