Public Member Functions

TRTK::Ransac< T, DataType >::Model Class Reference

Interface class for models to be used with the Ransac class. More...

#include <Ransac.hpp>

Inheritance diagram for TRTK::Ransac< T, DataType >::Model:

List of all members.

Public Member Functions

virtual void compute ()=0
 Estimate the model parameters.
virtual T getDeviation (const DataType &datum) const =0
 Return the amount of how much a datum deviates from the model.
virtual unsigned getMinimumNumberOfItems () const =0
 Return the minimum number of items required to compute the model.
virtual T getRMSE () const =0
 Return the root mean square error of the estimated regression model.
virtual void setData (const std::vector< DataType > &data)=0
 Set the sample data. No data is copied but a reference is stored.

Detailed Description

template<class T, class DataType = Coordinate<T>>
class TRTK::Ransac< T, DataType >::Model

Interface class for models to be used with the Ransac class.

Definition at line 190 of file Ransac.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines