6 #include <opencv2/highgui/highgui.hpp> 37 std::string path_to_folder,
39 std::string extension,
40 int cv_read_mode = CV_LOAD_IMAGE_UNCHANGED,
41 bool transpose =
false,
42 bool rotate_180 =
false 55 std::string path_to_folder,
56 std::string extension,
57 int cv_read_mode = CV_LOAD_IMAGE_UNCHANGED,
58 bool transpose =
false,
59 bool rotate_180 =
false 73 std::string path_to_folder,
75 std::string extension =
"yml" 90 std::string path_to_folder,
92 std::string extension =
"png",
93 std::vector<int> compression_params = std::vector<int>()
106 std::string path_to_folder,
108 std::string extension =
"yml" 131 bool transpose =
false,
132 bool rotate_180 =
false 146 bool transpose =
false,
147 bool rotate_180 =
false 164 std::string path_to_folder,
165 std::string extension,
167 int cv_read_mode = CV_LOAD_IMAGE_UNCHANGED,
168 bool transpose =
false,
169 bool rotate_180 =
false std::vector< Mat > read_imgs_from_folder(std::string path_to_folder, std::string extension, int cv_read_mode=CV_LOAD_IMAGE_UNCHANGED, bool transpose=false, bool rotate_180=false)
Definition: rslf_io.cpp:47
Definition: rslf_depth_computation.hpp:14
Implement a toolbox of utilitary functions.
Mat build_row_epi_from_imgs(Vec< Mat > imgs, int row, bool transpose=false, bool rotate_180=false)
Assume we have a set of rectified images such that the epipolar planes are on the lines...
Definition: rslf_io.cpp:159
void write_mat_to_imgfile(Mat img, std::string path_to_folder, std::string name_we, std::string extension="png", std::vector< int > compression_params=std::vector< int >())
Mat read_img_from_file(std::string path_to_folder, std::string name_we, std::string extension, int cv_read_mode=CV_LOAD_IMAGE_UNCHANGED, bool transpose=false, bool rotate_180=false)
Definition: rslf_io.cpp:12
cv::Mat Mat
RSLF Matrix class (cv::Mat)
Definition: rslf_types.hpp:26
Vec< Mat > build_epis_from_imgs(Vec< Mat > imgs, bool transpose=false, bool rotate_180=false)
Assume we have a set of rectified images such that the epipolar planes are on the lines...
Definition: rslf_io.cpp:195
void write_mat_to_yml(Mat img, std::string path_to_folder, std::string name_we, std::string extension="yml")
Definition: rslf_io.cpp:99
Mat build_row_epi_from_path(std::string path_to_folder, std::string extension, int row, int cv_read_mode=CV_LOAD_IMAGE_UNCHANGED, bool transpose=false, bool rotate_180=false)
Assume we have a set of rectified images such that the epipolar planes are on the lines in a folder...
Definition: rslf_io.cpp:230
Mat read_mat_from_yml(std::string path_to_folder, std::string name_we, std::string extension="yml")
Definition: rslf_io.cpp:136