#include #include #include "BitWriter.h" class Compressor { public: BitWriter writer; void compress(std::vector> &matrix); private: void IC(std::vector &C, int L, int H); std::vector predict(std::vector> &P); void encode(int v, int g); };