Rev 207 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef AlgorithmPhaseShiftEmbedded_H
#define AlgorithmPhaseShiftEmbedded_H
#include "Algorithm.h"
class AlgorithmPhaseShiftEmbedded : public Algorithm {
public:
AlgorithmPhaseShiftEmbedded(unsigned int _screenCols, unsigned int _screenRows);
virtual ~AlgorithmPhaseShiftEmbedded(){}
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 // AlgorithmPhaseShiftEmbedded_H