Definitions for depth from stereo related functions. More...
#include "stereo.hpp"
Go to the source code of this file.
Functions | |
void | depthFromContours (vector< vector< vector< cv::Point > > > &c1, vector< vector< vector< cv::Point > > > &c2, cv::Mat &disp) |
void | drawContours (const cv::Mat &src, cv::Mat &dst) |
void | drawEpipolarLines (cv::Mat &im1, cv::Mat &im2, cv::Mat &F) |
double | findBestAlpha (const cv::Mat &K1, const cv::Mat &K2, const cv::Mat &coeff1, const cv::Mat &coeff2, const cv::Size &camSize, const cv::Mat &R0, const cv::Mat &R1) |
void | findRadiometricMapping2 (const cv::Mat &im1, const cv::Mat &im2, const cv::Mat &depth, const cv::Mat &R1, const cv::Mat &R2, const cv::Mat &t, const cv::Mat &Q1, const cv::Mat &Q2, double &grad, double &shift) |
double | fitFixedLine (vector< unsigned short > &x, vector< unsigned short > &y, double grad) |
void | getContours (const cv::Mat &src, vector< vector< vector< cv::Point > > > &contours) |
void | plotPoints (cv::Mat &dispMat, vector< unsigned short > &i1, vector< unsigned short > &i2, unsigned short median_1, unsigned short median_2, double grad, double shift) |
bool | relevelImages (const cv::Mat &im1, const cv::Mat &im2, const cv::Mat &old_depth, const cv::Mat &R1, const cv::Mat &R2, const cv::Mat &t, const cv::Mat &Q1, const cv::Mat &Q2, cv::Mat &pim1, cv::Mat &pim2, const cv::Mat &map11, const cv::Mat &map12, const cv::Mat &map21, const cv::Mat &map22) |
Definitions for depth from stereo related functions.
Definition in file stereo.cpp.
void depthFromContours | ( | vector< vector< vector< cv::Point > > > & | c1, |
vector< vector< vector< cv::Point > > > & | c2, | ||
cv::Mat & | disp | ||
) |
Definition at line 7 of file stereo.cpp.
void drawContours | ( | const cv::Mat & | src, |
cv::Mat & | dst | ||
) |
Definition at line 41 of file stereo.cpp.
void drawEpipolarLines | ( | cv::Mat & | im1, |
cv::Mat & | im2, | ||
cv::Mat & | F | ||
) |
Definition at line 139 of file stereo.cpp.
double findBestAlpha | ( | const cv::Mat & | K1, |
const cv::Mat & | K2, | ||
const cv::Mat & | coeff1, | ||
const cv::Mat & | coeff2, | ||
const cv::Size & | camSize, | ||
const cv::Mat & | R0, | ||
const cv::Mat & | R1 | ||
) |
Definition at line 85 of file stereo.cpp.
void findRadiometricMapping2 | ( | const cv::Mat & | im1, |
const cv::Mat & | im2, | ||
const cv::Mat & | depth, | ||
const cv::Mat & | R1, | ||
const cv::Mat & | R2, | ||
const cv::Mat & | t, | ||
const cv::Mat & | Q1, | ||
const cv::Mat & | Q2, | ||
double & | grad, | ||
double & | shift | ||
) |
Definition at line 319 of file stereo.cpp.
double fitFixedLine | ( | vector< unsigned short > & | x, |
vector< unsigned short > & | y, | ||
double | grad | ||
) |
Definition at line 243 of file stereo.cpp.
void getContours | ( | const cv::Mat & | src, |
vector< vector< vector< cv::Point > > > & | contours | ||
) |
Definition at line 20 of file stereo.cpp.
void plotPoints | ( | cv::Mat & | dispMat, |
vector< unsigned short > & | i1, | ||
vector< unsigned short > & | i2, | ||
unsigned short | median_1, | ||
unsigned short | median_2, | ||
double | grad, | ||
double | shift | ||
) |
Definition at line 460 of file stereo.cpp.
bool relevelImages | ( | const cv::Mat & | im1, |
const cv::Mat & | im2, | ||
const cv::Mat & | old_depth, | ||
const cv::Mat & | R1, | ||
const cv::Mat & | R2, | ||
const cv::Mat & | t, | ||
const cv::Mat & | Q1, | ||
const cv::Mat & | Q2, | ||
cv::Mat & | pim1, | ||
cv::Mat & | pim2, | ||
const cv::Mat & | map11, | ||
const cv::Mat & | map12, | ||
const cv::Mat & | map21, | ||
const cv::Mat & | map22 | ||
) |
Definition at line 183 of file stereo.cpp.