#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 T & | data_ |
cv::Mat | delta__ |
cv::Mat | norms__ |
cv::Mat | thresholded__ |
typedef Model swri_opencv_util::Fit3d< Model >::M |
typedef cv::Mat swri_opencv_util::Fit3d< Model >::T |
|
inlineexplicit |
|
protectedpure virtual |
Implemented in swri_opencv_util::CrossFit3d, swri_opencv_util::LineFit3d, and swri_opencv_util::PlaneFit.
|
inlinestatic |
|
inline |
|
inline |
|
pure virtual |
|
inlinevirtual |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |