#ifndef IMAGEPACKET_H #define IMAGEPACKET_H #include #define PACKET_SIZE 768 class ImagePacket { public: ImagePacket(const cv::Mat *image, int begin); ImagePacket(const uchar *image, int begin); int apply(const cv::Mat *image) const; private: int begin; uchar slice[PACKET_SIZE]; }; #endif //IMAGEPACKET_H