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

◆ M

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

Definition at line 145 of file models.h.

◆ T

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

Definition at line 144 of file models.h.

Constructor & Destructor Documentation

◆ Fit3d()

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

Definition at line 147 of file models.h.

Member Function Documentation

◆ CalculateNorms()

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

◆ CopyTo()

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.

◆ GetInlierCount()

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.

◆ GetInliers()

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.

◆ GetModel()

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

◆ GetModelString()

template<class Model >
virtual std::string swri_opencv_util::Fit3d< Model >::GetModelString ( M model) const
inlinevirtual

Definition at line 176 of file models.h.

◆ Size()

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

Definition at line 175 of file models.h.

Member Data Documentation

◆ data_

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

Definition at line 186 of file models.h.

◆ delta__

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

Definition at line 190 of file models.h.

◆ norms__

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

Definition at line 189 of file models.h.

◆ thresholded__

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 Fri Aug 2 2024 08:39:13