Rev 208 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef AlgorithmPhaseShiftTwoFreqHorzVert_H
#define AlgorithmPhaseShiftTwoFreqHorzVert_H
#include "Algorithm.h"
class AlgorithmPhaseShiftTwoFreqHorzVert : public Algorithm {
public:
AlgorithmPhaseShiftTwoFreqHorzVert(unsigned int _screenCols, unsigned int _screenRows);
virtual ~AlgorithmPhaseShiftTwoFreqHorzVert(){}
unsigned int getNPatterns(){return N;}
int getscreenCols(){return screenCols;}
int getscreenRows(){return screenRows;}
// Encoding
cv::Mat getEncodingPattern(unsigned int depth);
// Matching
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);
protected:
std::vector<cv::Mat> patterns;
};
#endif // AlgorithmPhaseShiftTwoFreqHorzVert_H