Subversion Repositories seema-scanner

Rev

Rev 4 | Rev 36 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 27
Line 13... Line 13...
13
        unsigned int Nhorz, Nvert;
13
        unsigned int Nhorz, Nvert;
14
};
14
};
15
 
15
 
16
class DecoderGrayCode : public Decoder {
16
class DecoderGrayCode : public Decoder {
17
    public:
17
    public:
18
        DecoderGrayCode(unsigned int _screenCols, unsigned int _screenRows, CodecDir _dir);
18
        DecoderGrayCode(CodecDir _dir);
-
 
19
        CodecDir getDir(){return dir;}
19
        // Decoding
20
        // Decoding
20
        void setFrame(unsigned int depth, const cv::Mat frame);
-
 
21
        void decodeFrames(cv::Mat &up, cv::Mat &vp, cv::Mat &mask, cv::Mat &shading);
21
        virtual void decodeFrames(const std::vector<cv::Mat> frames, cv::Mat &up, cv::Mat &vp, cv::Mat &mask, cv::Mat &shading);
22
    private:
22
    private:
23
        std::vector<cv::Mat> frames;
-
 
24
        unsigned int Nhorz, Nvert;
23
        int Nvert, Nhorz;
25
};
24
};
26
 
25
 
27
#endif // CodecGrayCode_H
26
#endif // CodecGrayCode_H