1 #ifndef LICORNEA_RAW_IMAGE_IO_H_ 2 #define LICORNEA_RAW_IMAGE_IO_H_ 15 cv::Mat
import_raw_mono(
const std::string& yuv_filename,
int width,
int height,
int bit_depth = 8);
18 void export_raw_mono(
const cv::Mat& img,
const std::string& yuv_filename,
int bit_depth);
void export_raw_color(const cv::Mat &img, const std::string &yuv_filename, raw_image_format form)
void export_raw_mono(const cv::Mat &img, const std::string &yuv_filename, int out_bit_depth)
cv::Mat import_raw_mono(const std::string &yuv_filename, int width, int height, int bit_depth)
cv::Mat import_raw_color(const std::string &yuv_filename, int width, int height, raw_image_format form)