Subversion Repositories seema-scanner

Rev

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

Rev Author Line No. Line
192 jakw 1
#ifndef AlgorithmPhaseShiftEmbedded_H
2
#define AlgorithmPhaseShiftEmbedded_H
3
 
4
#include "Algorithm.h"
5
 
6
class AlgorithmPhaseShiftEmbedded : public Algorithm {
7
    public:
8
        AlgorithmPhaseShiftEmbedded(unsigned int _screenCols, unsigned int _screenRows);
9
    virtual ~AlgorithmPhaseShiftEmbedded(){}
10
        unsigned int getNPatterns(){return N;}
11
        int getscreenCols(){return screenCols;}
12
        int getscreenRows(){return screenRows;}
13
        // Encoding
14
        cv::Mat getEncodingPattern(unsigned int depth);
15
        // Matching
207 flgw 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::Vec3b>& color);
192 jakw 17
    protected:
18
        std::vector<cv::Mat> patterns;
19
};
20
 
21
 
22
#endif // AlgorithmPhaseShiftEmbedded_H