$search
Declarations for managing local feature tracks across video sequences. More...
#include "general_resources.hpp"
#include "opencv_resources.hpp"
#include "camera.hpp"
#include "tools.hpp"
Go to the source code of this file.
Classes | |
struct | featureTrack |
Stores all spatial and temporal locations of a single feature in a video stream, along with its 3D estimate. More... | |
struct | indexedFeature |
Stores the spatial and temporal location of a single feature occurence in the video stream. More... | |
Functions | |
void | addMatchToVector (vector< featureTrack > &featureTrackVector, int index1, const Point2f &point1, int index2, const Point2f &point2) |
void | assignHistoricalPoints (const vector< featureTrack > &src, unsigned int idx_1, unsigned int idx_2, vector< Point2f > &dst) |
bool | createTrackMatrix (const vector< featureTrack > &src, Mat &dst, int latest=-1) |
void | drawFeatureTracks (Mat &src, Mat &dst, vector< featureTrack > &tracks, const Scalar &tColor, const Scalar &kColor, int index, unsigned int history=10) |
void | redistortTracks (const vector< featureTrack > &src, vector< featureTrack > &dst, const Mat &cameraMatrix, const Mat &distCoeffs, unsigned int latest, const Mat &newCamMat=Mat::eye(3, 3, CV_64FC1), unsigned int history=5) |
Declarations for managing local feature tracks across video sequences.
Definition in file tracks.hpp.
void addMatchToVector | ( | vector< featureTrack > & | featureTrackVector, | |
int | index1, | |||
const Point2f & | point1, | |||
int | index2, | |||
const Point2f & | point2 | |||
) |
Definition at line 62 of file tracks.cpp.
void assignHistoricalPoints | ( | const vector< featureTrack > & | src, | |
unsigned int | idx_1, | |||
unsigned int | idx_2, | |||
vector< Point2f > & | dst | |||
) |
Definition at line 286 of file tracks.cpp.
bool createTrackMatrix | ( | const vector< featureTrack > & | src, | |
Mat & | dst, | |||
int | latest = -1 | |||
) |
Definition at line 222 of file tracks.cpp.
void drawFeatureTracks | ( | Mat & | src, | |
Mat & | dst, | |||
vector< featureTrack > & | tracks, | |||
const Scalar & | tColor, | |||
const Scalar & | kColor, | |||
int | index, | |||
unsigned int | history = 10 | |||
) |
Definition at line 134 of file tracks.cpp.
void redistortTracks | ( | const vector< featureTrack > & | src, | |
vector< featureTrack > & | dst, | |||
const Mat & | cameraMatrix, | |||
const Mat & | distCoeffs, | |||
unsigned int | latest, | |||
const Mat & | newCamMat = Mat::eye(3, 3, CV_64FC1) , |
|||
unsigned int | history = 5 | |||
) |
Definition at line 182 of file tracks.cpp.