Public Types | Public Member Functions | List of all members
swri_opencv_util::AffineTransform2d Class Reference

#include <models.h>

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

Public Types

enum  { MIN_SIZE = 3 }
 
- Public Types inherited from swri_opencv_util::Correspondence2d
typedef cv::Mat M
 
typedef cv::Mat T
 

Public Member Functions

 AffineTransform2d (const T &data)
 
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::Correspondence2d
 Correspondence2d (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
 

Additional Inherited Members

- Static Public Member Functions inherited from swri_opencv_util::Correspondence2d
static void CopyTo (const M &src, M &dst)
 
- Protected Member Functions inherited from swri_opencv_util::Correspondence2d
virtual void CalculateNorms (const M &model, cv::Mat &norms)
 
- Protected Attributes inherited from swri_opencv_util::Correspondence2d
const Tdata_
 
cv::Mat delta__
 
cv::Mat delta_squared__
 
cv::Mat norms__
 
cv::Mat predicted__
 
cv::Mat thresholded__
 

Detailed Description

Definition at line 88 of file models.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MIN_SIZE 

Definition at line 91 of file models.h.

Constructor & Destructor Documentation

◆ AffineTransform2d()

swri_opencv_util::AffineTransform2d::AffineTransform2d ( const T data)
inlineexplicit

Definition at line 93 of file models.h.

Member Function Documentation

◆ GetModel()

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

Implements swri_opencv_util::Correspondence2d.

Definition at line 124 of file models.cpp.

◆ ValidData()

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

Definition at line 95 of file models.h.


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


swri_opencv_util
Author(s): Marc Alban
autogenerated on Sat Jan 21 2023 03:13:14