Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swri_opencv_util::Fit3d< Model > Class Template Referenceabstract

#include <models.h>

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 141 of file models.h.

Member Typedef Documentation

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

Definition at line 145 of file models.h.

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

Definition at line 144 of file models.h.

Constructor & Destructor Documentation

template<class Model>
swri_opencv_util::Fit3d< Model >::Fit3d ( const T data)
inlineexplicit

Definition at line 147 of file models.h.

Member Function Documentation

template<class Model>
virtual void swri_opencv_util::Fit3d< Model >::CalculateNorms ( const M model,
cv::Mat &  norms 
)
protectedpure virtual
template<class Model>
static void swri_opencv_util::Fit3d< Model >::CopyTo ( const M src,
M dst 
)
inlinestatic

Definition at line 178 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 150 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 159 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
inlinevirtual

Definition at line 176 of file models.h.

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

Definition at line 175 of file models.h.

Member Data Documentation

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

Definition at line 186 of file models.h.

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

Definition at line 190 of file models.h.

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

Definition at line 189 of file models.h.

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

Definition at line 191 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 Apr 6 2021 02:50:33