5#ifndef OPENCV_RAPID_HPP_
6#define OPENCV_RAPID_HPP_
8#include <opencv2/core.hpp>
9#include <opencv2/imgproc.hpp>
31 InputArray colors = noArray());
51 const Scalar& color,
int type =
LINE_8,
bool cullBackface =
false);
67CV_EXPORTS_W
void extractControlPoints(
int num,
int len, InputArray pts3d, InputArray rvec, InputArray tvec,
123CV_EXPORTS_W
float rapid(InputArray img,
int num,
int len, InputArray pts3d, InputArray tris, InputArray K,
131 CV_WRAP
virtual float
134 CV_WRAP
virtual void clearState() = 0;
141 CV_WRAP
static Ptr<Rapid> create(InputArray pts3d, InputArray tris);
150 CV_WRAP
static Ptr<OLSTracker> create(InputArray pts3d, InputArray tris,
int histBins = 8, uchar sobelThesh = 10);
158 CV_WRAP
static Ptr<OLSTracker> create(InputArray pts3d, InputArray tris,
int histBins = 4, uchar sobelThesh = 10);
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
This is a base class for all more or less complex algorithms in OpenCV
Definition: core.hpp:3091
Template class for specifying the size of an image or rectangle.
Definition: core/types.hpp:316
The class defining termination criteria for iterative algorithms.
Definition: core/types.hpp:853
@ MAX_ITER
ditto
Definition: core/types.hpp:861
@ EPS
the desired accuracy or change in parameters at which the iterative algorithm stops
Definition: core/types.hpp:862
Definition: rapid.hpp:156
Definition: rapid.hpp:148
wrapper around silhouette based 3D object tracking function for uniform access
Definition: rapid.hpp:139
Abstract base class for stateful silhouette trackers
Definition: rapid.hpp:128
@ LINE_8
8-connected line
Definition: imgproc.hpp:815
CV_EXPORTS_W void extractLineBundle(int len, InputArray ctl2d, InputArray img, OutputArray bundle, OutputArray srcLocations)
CV_EXPORTS_W void drawSearchLines(InputOutputArray img, InputArray locations, const Scalar &color)
CV_EXPORTS_W void findCorrespondencies(InputArray bundle, OutputArray cols, OutputArray response=noArray())
CV_EXPORTS_W void drawCorrespondencies(InputOutputArray bundle, InputArray cols, InputArray colors=noArray())
CV_EXPORTS_W void drawWireframe(InputOutputArray img, InputArray pts2d, InputArray tris, const Scalar &color, int type=LINE_8, bool cullBackface=false)
CV_EXPORTS_W void extractControlPoints(int num, int len, InputArray pts3d, InputArray rvec, InputArray tvec, InputArray K, const Size &imsize, InputArray tris, OutputArray ctl2d, OutputArray ctl3d)
CV_EXPORTS_W void convertCorrespondencies(InputArray cols, InputArray srcLocations, OutputArray pts2d, InputOutputArray pts3d=noArray(), InputArray mask=noArray())
CV_EXPORTS_W float rapid(InputArray img, int num, int len, InputArray pts3d, InputArray tris, InputArray K, InputOutputArray rvec, InputOutputArray tvec, CV_OUT double *rmsd=0)
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74