#include <models.h>
Public Types | |
enum | { MIN_SIZE = 2 } |
Public Member Functions | |
virtual bool | GetModel (const std::vector< int32_t > &indices, M &model, double max_error) const |
LineFit3d (const T &data) | |
bool | ValidData () const |
Protected Member Functions | |
virtual void | CalculateNorms (const M &model, cv::Mat &norms) |
Protected Attributes | |
cv::Mat | temp1__ |
cv::Mat | temp2__ |
cv::Mat | x0_p__ |
cv::Mat | x0_p_dot_n__ |
swri_opencv_util::LineFit3d::LineFit3d | ( | const T & | data | ) | [inline] |
void swri_opencv_util::LineFit3d::CalculateNorms | ( | const M & | model, |
cv::Mat & | norms | ||
) | [protected, virtual] |
Implements swri_opencv_util::Fit3d< LineModel3d >.
Definition at line 497 of file models.cpp.
bool swri_opencv_util::LineFit3d::GetModel | ( | const std::vector< int32_t > & | indices, |
M & | model, | ||
double | max_error | ||
) | const [virtual] |
Implements swri_opencv_util::Fit3d< LineModel3d >.
Reimplemented in swri_opencv_util::OrthoLineFit3d.
Definition at line 472 of file models.cpp.
bool swri_opencv_util::LineFit3d::ValidData | ( | ) | const [inline] |
cv::Mat swri_opencv_util::LineFit3d::temp1__ [protected] |
cv::Mat swri_opencv_util::LineFit3d::temp2__ [protected] |
cv::Mat swri_opencv_util::LineFit3d::x0_p__ [protected] |
cv::Mat swri_opencv_util::LineFit3d::x0_p_dot_n__ [protected] |