Subversion Repositories seema-scanner

Rev

Rev 95 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 95 Rev 99
Line 1... Line 1...
1
#ifndef AlgorithmGrayCodeHQ_H
1
#ifndef AlgorithmGrayCodeHorzVert_H
2
#define AlgorithmGrayCodeHQ_H
2
#define AlgorithmGrayCodeHorzVert_H
3
 
3
 
4
#include "Algorithm.h"
4
#include "Algorithm.h"
5
 
5
 
6
class AlgorithmGrayCodeHQ : public Algorithm {
6
class AlgorithmGrayCodeHorzVert : public Algorithm {
7
    public:
7
    public:
8
        AlgorithmGrayCodeHQ(unsigned int _screenCols, unsigned int _screenRows);
8
        AlgorithmGrayCodeHorzVert(unsigned int _screenCols, unsigned int _screenRows);
9
    virtual ~AlgorithmGrayCodeHQ(){}
9
    virtual ~AlgorithmGrayCodeHorzVert(){}
10
        unsigned int getNPatterns(){return N;}
10
        unsigned int getNPatterns(){return N;}
11
        int getscreenCols(){return screenCols;}
11
        int getscreenCols(){return screenCols;}
12
        int getscreenRows(){return screenRows;}
12
        int getscreenRows(){return screenRows;}
13
        // Encoding
13
        // Encoding
14
        cv::Mat getEncodingPattern(unsigned int depth);
14
        cv::Mat getEncodingPattern(unsigned int depth);
Line 17... Line 17...
17
    protected:
17
    protected:
18
        std::vector<cv::Mat> patterns;
18
        std::vector<cv::Mat> patterns;
19
        int NbitsHorz, NbitsVert;
19
        int NbitsHorz, NbitsVert;
20
};
20
};
21
 
21
 
22
#endif // AlgorithmGrayCodeHQ_H
22
#endif // AlgorithmGrayCodeHorzVert_H