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