Classes | Typedefs | Functions
swri_opencv_util Namespace Reference

Classes

class  AffineTransform2d
 
class  Correspondence2d
 
class  CrossFit3d
 
struct  CrossModel3d
 
class  CvWindows
 
class  Fit3d
 
class  Homography
 
class  LineFit3d
 
struct  LineModel3d
 
class  OrthoLineFit3d
 
class  PerpendicularPlaneWithPointFit
 
class  PlaneFit
 
struct  PlaneModel
 
class  RigidTransform2d
 
class  Translation2d
 

Typedefs

typedef boost::serialization::singleton< CvWindowsCvWindowsSingleton
 

Functions

cv::Mat blend (const cv::Mat &overlay, const cv::Mat &base, double aplha)
 
cv::Mat blend (const cv::Mat &src1, const cv::Mat &alpha1, const cv::Mat &src2, const cv::Mat &alpha2)
 
cv::Mat FindAffineTransform2d (const cv::Mat &points1, const cv::Mat &points2, cv::Mat &inliers1, cv::Mat &inliers2, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
CrossModel3d FindCross3d (const cv::Mat &points, cv::Mat &inliers, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t min_iterations=1, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
cv::Mat FindHomography (const cv::Mat &points1, const cv::Mat &points2, cv::Mat &inliers1, cv::Mat &inliers2, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
LineModel3d FindLine3d (const cv::Mat &points, cv::Mat &inliers, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t min_iterations=1, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
template<class Model >
cv::Mat FindModel2d (const cv::Mat &points1, const cv::Mat &points2, cv::Mat &inliers1, cv::Mat &inliers2, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
LineModel3d FindOrthoLine3d (const cv::Mat &points, const LineModel3d &ortho, cv::Mat &inliers, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t min_iterations=1, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
PlaneModel FindPerpendicularPlaneWithPoint (const cv::Vec3f &point_on_plane, const cv::Vec3f &perp_axis, double max_angle_from_perp, const cv::Mat &points, cv::Mat &inliers, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error, double confidence, int32_t min_iterations, int32_t max_iterations, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
PlaneModel FindPlane (const cv::Mat &points, cv::Mat &inliers, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t min_iterations=1, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
cv::Mat FindRigidTransform2d (const cv::Mat &points1, const cv::Mat &points2, cv::Mat &inliers1, cv::Mat &inliers2, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
cv::Mat FindTranslation2d (const cv::Mat &points1, const cv::Mat &points2, cv::Mat &inliers1, cv::Mat &inliers2, std::vector< uint32_t > &good_points, int32_t &iterations, double max_error=1.0, double confidence=0.9, int32_t max_iterations=1000, swri_math_util::RandomGeneratorPtr rng=swri_math_util::RandomGeneratorPtr())
 
cv::Mat FitAffineTransform2d (const cv::Mat &points1, const cv::Mat &points2)
 
LineModel3d FitLine3d (const cv::Mat &points)
 
PlaneModel FitPlane (const cv::Mat &points)
 
cv::Mat FitRigidTransform2d (const cv::Mat &points1, const cv::Mat &points2)
 
cv::Mat FitRotation3d (const cv::Mat &points1, const cv::Mat &points2)
 
cv::Mat overlayColor (const cv::Mat &src, const cv::Mat &mask, const cv::Scalar &color, double alpha)
 
void SetAlpha (cv::Mat &mat, uint8_t alpha)
 
void ShowScaled (const std::string &name, const cv::Mat &mat, const cv::Mat &mask=cv::Mat(), double a=-1.0, double b=0.0)
 
cv::Mat ToBgra8 (const cv::Mat &mat, const cv::Mat &mask=cv::Mat(), bool is_rgb=false, double a=0.0, double b=0.0)
 
bool Valid2dPointCorrespondences (const cv::Mat &points1, const cv::Mat &points2)
 
bool Valid3dPointCorrespondences (const cv::Mat &points1, const cv::Mat &points2)
 
bool ZipCorrespondences (const cv::Mat &points1, const cv::Mat &points2, cv::Mat &correspondences)
 

Typedef Documentation

◆ CvWindowsSingleton

typedef boost::serialization::singleton<CvWindows> swri_opencv_util::CvWindowsSingleton

Definition at line 77 of file show.cpp.

Function Documentation

◆ blend() [1/2]

cv::Mat swri_opencv_util::blend ( const cv::Mat &  overlay,
const cv::Mat &  base,
double  aplha 
)

Definition at line 58 of file blend.cpp.

◆ blend() [2/2]

cv::Mat swri_opencv_util::blend ( const cv::Mat &  src1,
const cv::Mat &  alpha1,
const cv::Mat &  src2,
const cv::Mat &  alpha2 
)

Definition at line 36 of file blend.cpp.

◆ FindAffineTransform2d()

cv::Mat swri_opencv_util::FindAffineTransform2d ( const cv::Mat &  points1,
const cv::Mat &  points2,
cv::Mat &  inliers1,
cv::Mat &  inliers2,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 159 of file model_fit.cpp.

◆ FindCross3d()

CrossModel3d swri_opencv_util::FindCross3d ( const cv::Mat &  points,
cv::Mat &  inliers,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  min_iterations = 1,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 450 of file model_fit.cpp.

◆ FindHomography()

cv::Mat swri_opencv_util::FindHomography ( const cv::Mat &  points1,
const cv::Mat &  points2,
cv::Mat &  inliers1,
cv::Mat &  inliers2,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 176 of file model_fit.cpp.

◆ FindLine3d()

LineModel3d swri_opencv_util::FindLine3d ( const cv::Mat &  points,
cv::Mat &  inliers,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  min_iterations = 1,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 351 of file model_fit.cpp.

◆ FindModel2d()

template<class Model >
cv::Mat swri_opencv_util::FindModel2d ( const cv::Mat &  points1,
const cv::Mat &  points2,
cv::Mat &  inliers1,
cv::Mat &  inliers2,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 45 of file model_fit.h.

◆ FindOrthoLine3d()

LineModel3d swri_opencv_util::FindOrthoLine3d ( const cv::Mat &  points,
const LineModel3d ortho,
cv::Mat &  inliers,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  min_iterations = 1,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 383 of file model_fit.cpp.

◆ FindPerpendicularPlaneWithPoint()

PlaneModel swri_opencv_util::FindPerpendicularPlaneWithPoint ( const cv::Vec3f &  point_on_plane,
const cv::Vec3f &  perp_axis,
double  max_angle_from_perp,
const cv::Mat &  points,
cv::Mat &  inliers,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error,
double  confidence,
int32_t  min_iterations,
int32_t  max_iterations,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 249 of file model_fit.cpp.

◆ FindPlane()

PlaneModel swri_opencv_util::FindPlane ( const cv::Mat &  points,
cv::Mat &  inliers,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  min_iterations = 1,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 285 of file model_fit.cpp.

◆ FindRigidTransform2d()

cv::Mat swri_opencv_util::FindRigidTransform2d ( const cv::Mat &  points1,
const cv::Mat &  points2,
cv::Mat &  inliers1,
cv::Mat &  inliers2,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 55 of file model_fit.cpp.

◆ FindTranslation2d()

cv::Mat swri_opencv_util::FindTranslation2d ( const cv::Mat &  points1,
const cv::Mat &  points2,
cv::Mat &  inliers1,
cv::Mat &  inliers2,
std::vector< uint32_t > &  good_points,
int32_t &  iterations,
double  max_error = 1.0,
double  confidence = 0.9,
int32_t  max_iterations = 1000,
swri_math_util::RandomGeneratorPtr  rng = swri_math_util::RandomGeneratorPtr() 
)

Definition at line 38 of file model_fit.cpp.

◆ FitAffineTransform2d()

cv::Mat swri_opencv_util::FitAffineTransform2d ( const cv::Mat &  points1,
const cv::Mat &  points2 
)

Definition at line 193 of file model_fit.cpp.

◆ FitLine3d()

LineModel3d swri_opencv_util::FitLine3d ( const cv::Mat &  points)

Definition at line 416 of file model_fit.cpp.

◆ FitPlane()

PlaneModel swri_opencv_util::FitPlane ( const cv::Mat &  points)

Definition at line 317 of file model_fit.cpp.

◆ FitRigidTransform2d()

cv::Mat swri_opencv_util::FitRigidTransform2d ( const cv::Mat &  points1,
const cv::Mat &  points2 
)

Definition at line 72 of file model_fit.cpp.

◆ FitRotation3d()

cv::Mat swri_opencv_util::FitRotation3d ( const cv::Mat &  points1,
const cv::Mat &  points2 
)

Definition at line 127 of file model_fit.cpp.

◆ overlayColor()

cv::Mat swri_opencv_util::overlayColor ( const cv::Mat &  src,
const cv::Mat &  mask,
const cv::Scalar &  color,
double  alpha 
)

Definition at line 70 of file blend.cpp.

◆ SetAlpha()

void swri_opencv_util::SetAlpha ( cv::Mat &  mat,
uint8_t  alpha 
)

Definition at line 203 of file convert.cpp.

◆ ShowScaled()

void swri_opencv_util::ShowScaled ( const std::string &  name,
const cv::Mat &  mat,
const cv::Mat &  mask = cv::Mat(),
double  a = -1.0,
double  b = 0.0 
)

Definition at line 79 of file show.cpp.

◆ ToBgra8()

cv::Mat swri_opencv_util::ToBgra8 ( const cv::Mat &  mat,
const cv::Mat &  mask = cv::Mat(),
bool  is_rgb = false,
double  a = 0.0,
double  b = 0.0 
)

Definition at line 38 of file convert.cpp.

◆ Valid2dPointCorrespondences()

bool swri_opencv_util::Valid2dPointCorrespondences ( const cv::Mat &  points1,
const cv::Mat &  points2 
)

Definition at line 265 of file models.cpp.

◆ Valid3dPointCorrespondences()

bool swri_opencv_util::Valid3dPointCorrespondences ( const cv::Mat &  points1,
const cv::Mat &  points2 
)

Definition at line 292 of file models.cpp.

◆ ZipCorrespondences()

bool swri_opencv_util::ZipCorrespondences ( const cv::Mat &  points1,
const cv::Mat &  points2,
cv::Mat &  correspondences 
)

Definition at line 319 of file models.cpp.



swri_opencv_util
Author(s): Marc Alban
autogenerated on Fri Aug 2 2024 08:39:13