Class Correspondence2d

Inheritance Relationships

Derived Types

Class Documentation

class Correspondence2d

Subclassed by swri_opencv_util::AffineTransform2d, swri_opencv_util::Homography, swri_opencv_util::RigidTransform2d, swri_opencv_util::Translation2d

Public Types

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

Public Functions

inline explicit Correspondence2d(const T &data)
virtual bool GetModel(const std::vector<int32_t> &indices, M &model, double max_error) const = 0
int32_t GetInlierCount(const M &model, double max_error)
void GetInliers(const M &model, double max_error, std::vector<uint32_t> &indices)
inline int32_t Size() const
inline virtual std::string GetModelString(M &model) const

Public Static Functions

static inline void CopyTo(const M &src, M &dst)

Protected Functions

virtual void CalculateNorms(const M &model, cv::Mat &norms)

Protected Attributes

const T &data_
cv::Mat norms__
cv::Mat predicted__
cv::Mat delta__
cv::Mat delta_squared__
cv::Mat thresholded__