OSVR-Core
Namespaces | Functions
TransformFindingRoutine.h File Reference

Header. More...

#include "OptimizationBase.h"
#include "UtilityFunctions.h"
#include "newuoa.h"
#include <numeric>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 

Functions

void osvr::vbtracker::computeRefTrackerTransform (MeasurementsRows const &data, OptimCommonData const &commonData)
 Optimization routine: compute the transform between the smoothed RANSAC results and the reference tracker. More...
 

Detailed Description

Header.

Date
2016
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ computeRefTrackerTransform()

void osvr::vbtracker::computeRefTrackerTransform ( MeasurementsRows const &  data,
OptimCommonData const &  commonData 
)

Optimization routine: compute the transform between the smoothed RANSAC results and the reference tracker.

Just run the tracking algo once - we can re-run the transform and comparison quicker for the optimizer.

Main algorithm loop

Accumulate the cost of all the samples

Don't include angular cost.

Accumulate the cost of all the samples

Accumulate the cost of all the samples