Line 3... |
Line 3... |
3 |
|
3 |
|
4 |
#include "Algorithm.h"
|
4 |
#include "Algorithm.h"
|
5 |
|
5 |
|
6 |
class AlgorithmPhaseShift : public Algorithm {
|
6 |
class AlgorithmPhaseShift : public Algorithm {
|
7 |
public:
|
7 |
public:
|
8 |
AlgorithmPhaseShift(unsigned int _screenCols, unsigned int _screenRows, CodingDir _dir = CodingDirHorizontal);
|
8 |
AlgorithmPhaseShift(unsigned int _screenCols, unsigned int _screenRows);
|
9 |
virtual ~AlgorithmPhaseShift(){}
|
9 |
virtual ~AlgorithmPhaseShift(){}
|
10 |
unsigned int getNPatterns(){return N;}
|
10 |
unsigned int getNPatterns(){return N;}
|
11 |
int getscreenCols(){return screenCols;}
|
11 |
int getscreenCols(){return screenCols;}
|
12 |
int getscreenRows(){return screenRows;}
|
12 |
int getscreenRows(){return screenRows;}
|
13 |
CodingDir getDir(){return dir;}
|
- |
|
14 |
// Encoding
|
13 |
// Encoding
|
15 |
cv::Mat getEncodingPattern(unsigned int depth);
|
14 |
cv::Mat getEncodingPattern(unsigned int depth);
|
16 |
// Matching
|
15 |
// Matching
|
17 |
void get3DPoints(SMCalibrationParameters calibration, const std::vector<cv::Mat>& frames0, const std::vector<cv::Mat>& frames1, std::vector<cv::Point3f>& Q, std::vector<cv::Vec3b>& color);
|
16 |
void get3DPoints(SMCalibrationParameters calibration, const std::vector<cv::Mat>& frames0, const std::vector<cv::Mat>& frames1, std::vector<cv::Point3f>& Q, std::vector<cv::Vec3b>& color);
|
18 |
protected:
|
17 |
protected:
|