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

Rigid coherent point drift. More...

#include <rigid.hpp>

Inheritance diagram for cpd::Rigid:
cpd::Transform< RigidResult >

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

Detailed Description

Rigid coherent point drift.

Scaling and reflections can be turned on and off.

Member Function Documentation

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

Computes one iteration of the rigid transformation.

Implements cpd::Transform< RigidResult >.

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

Returns true if the normalization should be linked.

No effect if no normalization is applied.

Implements cpd::Transform< RigidResult >.

Rigid& cpd::Rigid::reflections ( bool  reflections)
inline

Sets whether this rigid transform allows reflections.

Rigid& cpd::Rigid::scale ( bool  scale)
inline

Sets whether this rigid transform allows scaling.


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