Subversion Repositories seema-scanner

Rev

Rev 207 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
128 jakw 1
#ifndef AlgorithmPhaseShiftTwoFreq_H
2
#define AlgorithmPhaseShiftTwoFreq_H
4 jakw 3
 
41 jakw 4
#include "Algorithm.h"
4 jakw 5
 
128 jakw 6
class AlgorithmPhaseShiftTwoFreq : public Algorithm {
4 jakw 7
    public:
128 jakw 8
        AlgorithmPhaseShiftTwoFreq(unsigned int _screenCols, unsigned int _screenRows);
9
    virtual ~AlgorithmPhaseShiftTwoFreq(){}
41 jakw 10
        unsigned int getNPatterns(){return N;}
11
        int getscreenCols(){return screenCols;}
12
        int getscreenRows(){return screenRows;}
4 jakw 13
        // Encoding
14
        cv::Mat getEncodingPattern(unsigned int depth);
41 jakw 15
        // Matching
245 jakw 16
        void get3DPoints(const SMCalibrationParameters &calibration, const std::vector<cv::Mat>& frames0, const std::vector<cv::Mat>& frames1, std::vector<cv::Point3f>& Q, std::vector<cv::Vec3f>& color);
41 jakw 17
    protected:
4 jakw 18
        std::vector<cv::Mat> patterns;
19
};
20
 
21
 
128 jakw 22
#endif // AlgorithmPhaseShiftTwoFreq_H