#include <fstream>
#include <string>
#include "../../../src/algo/depth-to-rgb-calibration/k-to-dsm.h"
#include "../../filesystem.h"
Go to the source code of this file.
Classes | |
struct | camera_params |
struct | dsm_params |
struct | scene_metadata |
Functions | |
std::string | bin_dir (std::string const &scene_dir) |
std::string | bin_file (std::string const &prefix, size_t cycle, size_t iteration, size_t w, size_t h, std::string const &suffix) |
std::string | bin_file (std::string const &prefix, size_t cycle, size_t w, size_t h, std::string const &suffix) |
std::string | bin_file (std::string const &prefix, size_t w, size_t h, std::string const &suffix) |
template<typename T > | |
void | dump_vec (std::vector< double > const &cpp, std::vector< T > const &matlab, char const *basename, size_t width, size_t height) |
camera_params | read_camera_params (std::string const &scene_dir, std::string const &filename) |
template<typename T > | |
void | read_data_from (std::string const &filename, T *data) |
dsm_params | read_dsm_params (std::string const &scene_dir, std::string const &filename) |
template<typename T > | |
T | read_from (std::string const &filename) |
template<class T > | |
std::vector< T > | read_image_file (std::string const &file, size_t width, size_t height) |
template<typename T > | |
std::vector< T > | read_vector_from (std::string const &filename, size_t size_x=0, size_t size_y=0) |
template<> | |
std::vector< std::vector< double > > | read_vector_from (std::string const &filename, size_t size_x, size_t size_y) |
|
inline |
Definition at line 13 of file scene-data.h.
std::string bin_file | ( | std::string const & | prefix, |
size_t | cycle, | ||
size_t | iteration, | ||
size_t | w, | ||
size_t | h, | ||
std::string const & | suffix | ||
) |
Definition at line 19 of file scene-data.h.
std::string bin_file | ( | std::string const & | prefix, |
size_t | cycle, | ||
size_t | w, | ||
size_t | h, | ||
std::string const & | suffix | ||
) |
Definition at line 25 of file scene-data.h.
std::string bin_file | ( | std::string const & | prefix, |
size_t | w, | ||
size_t | h, | ||
std::string const & | suffix | ||
) |
Definition at line 30 of file scene-data.h.
void dump_vec | ( | std::vector< double > const & | cpp, |
std::vector< T > const & | matlab, | ||
char const * | basename, | ||
size_t | width, | ||
size_t | height | ||
) |
Definition at line 144 of file scene-data.h.
camera_params read_camera_params | ( | std::string const & | scene_dir, |
std::string const & | filename | ||
) |
Definition at line 225 of file scene-data.h.
void read_data_from | ( | std::string const & | filename, |
T * | data | ||
) |
Definition at line 37 of file scene-data.h.
dsm_params read_dsm_params | ( | std::string const & | scene_dir, |
std::string const & | filename | ||
) |
Definition at line 278 of file scene-data.h.
T read_from | ( | std::string const & | filename | ) |
Definition at line 54 of file scene-data.h.
std::vector< T > read_image_file | ( | std::string const & | file, |
size_t | width, | ||
size_t | height | ||
) |
Definition at line 126 of file scene-data.h.
std::vector< T > read_vector_from | ( | std::string const & | filename, |
size_t | size_x = 0 , |
||
size_t | size_y = 0 |
||
) |
Definition at line 71 of file scene-data.h.
std::vector< std::vector<double> > read_vector_from | ( | std::string const & | filename, |
size_t | size_x, | ||
size_t | size_y | ||
) |
Definition at line 88 of file scene-data.h.