Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swri_opencv_util::Correspondence2d Class Referenceabstract

#include <models.h>

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

Public Types

typedef cv::Mat M
 
typedef cv::Mat T
 

Public Member Functions

 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 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)
 

Protected Attributes

const Tdata_
 
cv::Mat delta__
 
cv::Mat delta_squared__
 
cv::Mat norms__
 
cv::Mat predicted__
 
cv::Mat thresholded__
 

Detailed Description

Definition at line 40 of file models.h.

Member Typedef Documentation

◆ M

Definition at line 44 of file models.h.

◆ T

Definition at line 43 of file models.h.

Constructor & Destructor Documentation

◆ Correspondence2d()

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

Definition at line 46 of file models.h.

Member Function Documentation

◆ CalculateNorms()

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

Reimplemented in swri_opencv_util::Homography.

Definition at line 62 of file models.cpp.

◆ CopyTo()

static void swri_opencv_util::Correspondence2d::CopyTo ( const M src,
M dst 
)
inlinestatic

Definition at line 54 of file models.h.

◆ GetInlierCount()

int32_t swri_opencv_util::Correspondence2d::GetInlierCount ( const M model,
double  max_error 
)

Definition at line 37 of file models.cpp.

◆ GetInliers()

void swri_opencv_util::Correspondence2d::GetInliers ( const M model,
double  max_error,
std::vector< uint32_t > &  indices 
)

Definition at line 46 of file models.cpp.

◆ GetModel()

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

◆ GetModelString()

virtual std::string swri_opencv_util::Correspondence2d::GetModelString ( M model) const
inlinevirtual

Definition at line 52 of file models.h.

◆ Size()

int32_t swri_opencv_util::Correspondence2d::Size ( ) const
inline

Definition at line 51 of file models.h.

Member Data Documentation

◆ data_

const T& swri_opencv_util::Correspondence2d::data_
protected

Definition at line 62 of file models.h.

◆ delta__

cv::Mat swri_opencv_util::Correspondence2d::delta__
protected

Definition at line 67 of file models.h.

◆ delta_squared__

cv::Mat swri_opencv_util::Correspondence2d::delta_squared__
protected

Definition at line 68 of file models.h.

◆ norms__

cv::Mat swri_opencv_util::Correspondence2d::norms__
protected

Definition at line 65 of file models.h.

◆ predicted__

cv::Mat swri_opencv_util::Correspondence2d::predicted__
protected

Definition at line 66 of file models.h.

◆ thresholded__

cv::Mat swri_opencv_util::Correspondence2d::thresholded__
protected

Definition at line 69 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 Aug 2 2024 08:39:13