NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Functions
niftkVTKIterativeClosestPointTest.cxx File Reference
Include dependency graph for niftkVTKIterativeClosestPointTest.cxx:

Functions

double CheckMatrixAgainstIdentity (const vtkMatrix4x4 &transform, const double rotationTolerance, const double translationTolerance)
 
void TestICP (std::string targetFileName, std::string sourceFileName, int iterations, int minRange, int maxRange, int stepSize, int rangeThreshold, float noiseLevel, float testX=std::numeric_limits< float >::max(), float testY=std::numeric_limits< float >::max(), float testZ=std::numeric_limits< float >::max(), float meanErrorThreshold=std::numeric_limits< float >::max(), float maxErrorThreshold=std::numeric_limits< float >::max())
 
int niftkVTKIterativeClosestPointTest (int argc, char *argv[])
 
int niftkVTKIterativeClosestPointTargettingTest (int argc, char *argv[])
 

Function Documentation

double CheckMatrixAgainstIdentity ( const vtkMatrix4x4 &  transform,
const double  rotationTolerance,
const double  translationTolerance 
)
int niftkVTKIterativeClosestPointTargettingTest ( int  argc,
char *  argv[] 
)
int niftkVTKIterativeClosestPointTest ( int  argc,
char *  argv[] 
)

Runs ICP/TLS registration a known data set and checks the error

void TestICP ( std::string  targetFileName,
std::string  sourceFileName,
int  iterations,
int  minRange,
int  maxRange,
int  stepSize,
int  rangeThreshold,
float  noiseLevel,
float  testX = std::numeric_limits<float>::max(),
float  testY = std::numeric_limits<float>::max(),
float  testZ = std::numeric_limits<float>::max(),
float  meanErrorThreshold = std::numeric_limits<float>::max(),
float  maxErrorThreshold = std::numeric_limits<float>::max() 
)