Classes | Functions
scene-data.h File Reference
#include <fstream>
#include <string>
#include "../../../src/algo/depth-to-rgb-calibration/k-to-dsm.h"
#include "../../filesystem.h"
Include dependency graph for scene-data.h:
This graph shows which files directly or indirectly include this file:

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 >
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)
 

Function Documentation

std::string bin_dir ( std::string const &  scene_dir)
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.

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 
)

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.

template<typename T >
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.

template<typename T >
T read_from ( std::string const &  filename)

Definition at line 54 of file scene-data.h.

template<class T >
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.

template<typename T >
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.

template<>
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.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:29