#include <config.hh>
#include "TypeTraits.hh"
#include "ATBLinAlg.hh"
#include <vector>
#include "ATBThinPlateSpline.icc"
Go to the source code of this file.
|
template<int Dim> |
void | atb::computeTPSParameters (const std::vector< blitz::TinyVector< double, Dim > > &source, const std::vector< blitz::TinyVector< double, Dim > > &target, blitz::Array< double, 2 > &coeffs) |
| Given two vectors of correspondending points of two datasets, compute the weights and offsets of a thin plate spline that transforms the source point set onto the target point set. More...
|
|
template<int Dim> |
blitz::TinyVector< double, Dim > | atb::evaluateTPS (const blitz::TinyVector< double, Dim > &x, const std::vector< blitz::TinyVector< double, Dim > > &controlPoints, const blitz::Array< double, 2 > &coeffs) |
| Given a set of controlPoints and a coefficient matrix as computed with computeTPSParameters(), evaluate the thin plate spline at position x. More...
|
|
template<int Dim> |
double | atb::tpsDistance (const blitz::TinyVector< double, Dim > &p1, const blitz::TinyVector< double, Dim > &p2) |
| Compute the TPS distance between point p1 on point p2. More...
|
|