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

#include <models.h>

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

Public Types

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

Public Member Functions

 CrossFit3d (const T &data, float min_angle=0.2)
 
virtual bool GetModel (const std::vector< int32_t > &indices, M &model, double max_error) const
 
bool ValidData () const
 
- Public Member Functions inherited from swri_opencv_util::Fit3d< CrossModel3d >
 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

float min_angle_
 
cv::Mat temp1__
 
cv::Mat temp2__
 
cv::Mat temp3__
 
cv::Mat x0_p__
 
cv::Mat x0_p_dot_n__
 
- Protected Attributes inherited from swri_opencv_util::Fit3d< CrossModel3d >
const Tdata_
 
cv::Mat delta__
 
cv::Mat norms__
 
cv::Mat thresholded__
 

Additional Inherited Members

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

Detailed Description

Definition at line 305 of file models.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MIN_SIZE 

Definition at line 308 of file models.h.

Constructor & Destructor Documentation

swri_opencv_util::CrossFit3d::CrossFit3d ( const T data,
float  min_angle = 0.2 
)
inline

Definition at line 310 of file models.h.

Member Function Documentation

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

Implements swri_opencv_util::Fit3d< CrossModel3d >.

Definition at line 630 of file models.cpp.

bool swri_opencv_util::CrossFit3d::GetModel ( const std::vector< int32_t > &  indices,
M model,
double  max_error 
) const
virtual

Implements swri_opencv_util::Fit3d< CrossModel3d >.

Definition at line 574 of file models.cpp.

bool swri_opencv_util::CrossFit3d::ValidData ( ) const
inline

Definition at line 314 of file models.h.

Member Data Documentation

float swri_opencv_util::CrossFit3d::min_angle_
protected

Definition at line 322 of file models.h.

cv::Mat swri_opencv_util::CrossFit3d::temp1__
protected

Definition at line 323 of file models.h.

cv::Mat swri_opencv_util::CrossFit3d::temp2__
protected

Definition at line 324 of file models.h.

cv::Mat swri_opencv_util::CrossFit3d::temp3__
protected

Definition at line 325 of file models.h.

cv::Mat swri_opencv_util::CrossFit3d::x0_p__
protected

Definition at line 327 of file models.h.

cv::Mat swri_opencv_util::CrossFit3d::x0_p_dot_n__
protected

Definition at line 326 of file models.h.


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


swri_opencv_util
Author(s): Marc Alban
autogenerated on Tue Apr 6 2021 02:50:33