licornea_tools
Namespaces | Functions
raw_image_io.cc File Reference
#include "raw_image_io.h"
#include "opencv.h"
#include <fstream>

Go to the source code of this file.

Namespaces

 tlz
 

Functions

cv::Mat tlz::import_raw_color (const std::string &yuv_filename, int width, int height, raw_image_format form)
 
cv::Mat tlz::import_raw_mono (const std::string &yuv_filename, int width, int height, int bit_depth)
 
void tlz::export_raw_color (const cv::Mat &img, const std::string &yuv_filename, raw_image_format form)
 
void tlz::export_raw_mono (const cv::Mat &img, const std::string &yuv_filename, int out_bit_depth)