Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swri_opencv_util::LineFit3d Class Reference

#include <models.h>

Inheritance diagram for swri_opencv_util::LineFit3d:
Inheritance graph
[legend]

Public Types

enum  { MIN_SIZE = 2 }
 
- Public Types inherited from swri_opencv_util::Fit3d< LineModel3d >
typedef LineModel3d M
 
typedef cv::Mat T
 

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
 
- Public Member Functions inherited from swri_opencv_util::Fit3d< LineModel3d >
 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 std::string GetModelString (M &model) const
 
int32_t Size () 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__
 
- Protected Attributes inherited from swri_opencv_util::Fit3d< LineModel3d >
const Tdata_
 
cv::Mat delta__
 
cv::Mat norms__
 
cv::Mat thresholded__
 

Additional Inherited Members

- Static Public Member Functions inherited from swri_opencv_util::Fit3d< LineModel3d >
static void CopyTo (const M &src, M &dst)
 

Detailed Description

Definition at line 261 of file models.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MIN_SIZE 

Definition at line 264 of file models.h.

Constructor & Destructor Documentation

swri_opencv_util::LineFit3d::LineFit3d ( const T data)
inline

Definition at line 266 of file models.h.

Member Function Documentation

void swri_opencv_util::LineFit3d::CalculateNorms ( const M model,
cv::Mat &  norms 
)
protectedvirtual

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

Definition at line 268 of file models.h.

Member Data Documentation

cv::Mat swri_opencv_util::LineFit3d::temp1__
protected

Definition at line 276 of file models.h.

cv::Mat swri_opencv_util::LineFit3d::temp2__
protected

Definition at line 277 of file models.h.

cv::Mat swri_opencv_util::LineFit3d::x0_p__
protected

Definition at line 279 of file models.h.

cv::Mat swri_opencv_util::LineFit3d::x0_p_dot_n__
protected

Definition at line 278 of file models.h.


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


swri_opencv_util
Author(s): Marc Alban
autogenerated on Fri Jun 7 2019 22:05:46