Subversion Repositories seema-scanner

Rev

Rev 70 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
41 jakw 1
#ifndef AlgorithmPhaseShift_H
2
#define AlgorithmPhaseShift_H
4 jakw 3
 
41 jakw 4
#include "Algorithm.h"
4 jakw 5
 
41 jakw 6
class AlgorithmPhaseShift : public Algorithm {
4 jakw 7
    public:
70 jakw 8
        AlgorithmPhaseShift(unsigned int _screenCols, unsigned int _screenRows);
41 jakw 9
    virtual ~AlgorithmPhaseShift(){}
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
42 jakw 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);
41 jakw 17
    protected:
4 jakw 18
        std::vector<cv::Mat> patterns;
19
};
20
 
21
 
41 jakw 22
#endif // AlgorithmPhaseShift_H