23 #include <boost/filesystem.hpp> 24 #include <opencv2/core/core.hpp> 25 #include <opencv2/highgui/highgui.hpp> 26 #include <opencv2/imgproc/imgproc.hpp> 27 #include "steganography.hpp" 28 #include "exceptions.hpp" 30 #ifndef DISCRETE_COSINE_TRANSFORM_HPP 31 #define DISCRETE_COSINE_TRANSFORM_HPP 45 this->image_capacity = ((this->
image.rows - 8) / 8) * ((this->
image.cols - 8) / 8);
49 cv::split(this->
image, this->channels);
58 void Encode(
const boost::filesystem::path &payload_path);
72 std::vector<cv::Mat> channels;
98 void EncodeChunk(
const int &start, std::vector<unsigned char>::iterator it, std::vector<unsigned char>::iterator en);
117 void DecodeChunk(
const int start, std::vector<unsigned char>::iterator it, std::vector<unsigned char>::iterator en);
141 #endif // DISCRETE_COSINE_TRANSFORM_HPP boost::filesystem::path image_path
Definition: steganography.hpp:75
Definition: steganography.hpp:32
cv::Mat image
Definition: steganography.hpp:81