Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
swri_opencv_util::Fit3d< Model > Class Template Reference

#include <models.h>

List of all members.

Public Types

typedef Model M
typedef cv::Mat T

Public Member Functions

 Fit3d (const T &data)
int32_t GetInlierCount (const M &model, double max_error)
void GetInliers (const M &model, double max_error, std::vector< uint32_t > &indices)
virtual bool GetModel (const std::vector< int32_t > &indices, M &model, double max_error) const =0
virtual std::string GetModelString (M &model) const
int32_t Size () const

Static Public Member Functions

static void CopyTo (const M &src, M &dst)

Protected Member Functions

virtual void CalculateNorms (const M &model, cv::Mat &norms)=0

Protected Attributes

const Tdata_
cv::Mat delta__
cv::Mat norms__
cv::Mat thresholded__

Detailed Description

template<class Model>
class swri_opencv_util::Fit3d< Model >

Definition at line 137 of file models.h.


Member Typedef Documentation

template<class Model>
typedef Model swri_opencv_util::Fit3d< Model >::M

Definition at line 141 of file models.h.

template<class Model>
typedef cv::Mat swri_opencv_util::Fit3d< Model >::T

Definition at line 140 of file models.h.


Constructor & Destructor Documentation

template<class Model>
swri_opencv_util::Fit3d< Model >::Fit3d ( const T data) [inline, explicit]

Definition at line 143 of file models.h.


Member Function Documentation

template<class Model>
virtual void swri_opencv_util::Fit3d< Model >::CalculateNorms ( const M model,
cv::Mat &  norms 
) [protected, pure virtual]
template<class Model>
static void swri_opencv_util::Fit3d< Model >::CopyTo ( const M src,
M dst 
) [inline, static]

Definition at line 174 of file models.h.

template<class Model>
int32_t swri_opencv_util::Fit3d< Model >::GetInlierCount ( const M model,
double  max_error 
) [inline]

Definition at line 146 of file models.h.

template<class Model>
void swri_opencv_util::Fit3d< Model >::GetInliers ( const M model,
double  max_error,
std::vector< uint32_t > &  indices 
) [inline]

Definition at line 155 of file models.h.

template<class Model>
virtual bool swri_opencv_util::Fit3d< Model >::GetModel ( const std::vector< int32_t > &  indices,
M model,
double  max_error 
) const [pure virtual]
template<class Model>
virtual std::string swri_opencv_util::Fit3d< Model >::GetModelString ( M model) const [inline, virtual]

Definition at line 172 of file models.h.

template<class Model>
int32_t swri_opencv_util::Fit3d< Model >::Size ( ) const [inline]

Definition at line 171 of file models.h.


Member Data Documentation

template<class Model>
const T& swri_opencv_util::Fit3d< Model >::data_ [protected]

Definition at line 182 of file models.h.

template<class Model>
cv::Mat swri_opencv_util::Fit3d< Model >::delta__ [protected]

Definition at line 186 of file models.h.

template<class Model>
cv::Mat swri_opencv_util::Fit3d< Model >::norms__ [protected]

Definition at line 185 of file models.h.

template<class Model>
cv::Mat swri_opencv_util::Fit3d< Model >::thresholded__ [protected]

Definition at line 187 of file models.h.


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


swri_opencv_util
Author(s): Marc Alban
autogenerated on Tue Oct 3 2017 03:19:24