#include <type_traits>
Go to the source code of this file.
Functions | |
template<typename D > | |
bool | compare_and_trace (D val_matlab, D val_cpp, std::string const &compared) |
bool | compare_calib (algo::calib const &calib, double cost, algo::calib calib_from_file, double cost_matlab) |
template<typename F , typename D > | |
bool | compare_same_vectors (std::vector< F > const &matlab, std::vector< D > const &cpp) |
template<typename F , typename D , typename std::enable_if< !std::numeric_limits< D >::is_exact &&!std::is_enum< D >::value, int >::type = 0> | |
bool | compare_t (F f, D d, bool print=true) |
template<typename F , typename D > | |
bool | compare_to_bin_file (std::vector< D > const &vec, std::string const &scene_dir, std::string const &filename, size_t width, size_t height, size_t size, bool(*compare_vectors)(std::vector< F > const &, std::vector< D > const &)=nullptr) |
template<typename F , typename D > | |
bool | compare_to_bin_file (std::vector< D > const &vec, std::string const &scene_dir, std::string const &filename, size_t width, size_t height, bool(*compare_vectors)(std::vector< F > const &, std::vector< D > const &)=nullptr) |
template<typename F , typename D > | |
bool | compare_to_bin_file (std::vector< D > const &vec, std::string const &scene_dir, const char *prefix, size_t width, size_t height, const char *suffix, bool(*compare_vectors)(std::vector< F > const &, std::vector< D > const &)=nullptr) |
template<typename D > | |
bool | compare_to_bin_file (D const &obj_cpp, std::string const &scene_dir, std::string const &filename) |
bool | get_calib_and_cost_from_raw_data (algo::calib &calib, double &cost, std::string const &scene_dir, std::string const &filename) |
template<typename F , typename D > | |
bool | is_equal_approximetly (F fx, D dx, bool print=true) |
template<> | |
bool | is_equal_approximetly< algo::algo_calibration_registers, algo::algo_calibration_registers > (algo::algo_calibration_registers f, algo::algo_calibration_registers d, bool print) |
template<> | |
bool | is_equal_approximetly< algo::double2, algo::double2 > (algo::double2 f, algo::double2 d, bool print) |
template<> | |
bool | is_equal_approximetly< algo::double3, algo::double3 > (algo::double3 f, algo::double3 d, bool print) |
template<> | |
bool | is_equal_approximetly< algo::k_matrix, algo::k_matrix > (algo::k_matrix fx, algo::k_matrix dx, bool print) |
template<> | |
bool | is_equal_approximetly< algo::los_shift_scaling, algo::los_shift_scaling > (algo::los_shift_scaling f, algo::los_shift_scaling d, bool print) |
template<> | |
bool | is_equal_approximetly< algo::p_matrix, algo::p_matrix > (algo::p_matrix fx, algo::p_matrix dx, bool print) |
template<> | |
bool | is_equal_approximetly< algo::rotation_in_angles, algo::rotation_in_angles > (algo::rotation_in_angles fx, algo::rotation_in_angles dx, bool print) |
bool | operator== (const algo::algo_calibration_registers &first, const algo::algo_calibration_registers &second) |
bool | operator== (const algo::los_shift_scaling &first, const algo::los_shift_scaling &second) |
template<typename F , typename D > | |
void | print (size_t x, F f, D d, bool is_approx=false) |
template<> | |
void | print< algo::double2, algo::double2 > (size_t x, algo::double2 f, algo::double2 d, bool is_approx) |
template<> | |
void | print< algo::double3, algo::double3 > (size_t x, algo::double3 f, algo::double3 d, bool is_approx) |
template<> | |
void | print< algo::k_matrix, algo::k_matrix > (size_t x, algo::k_matrix f, algo::k_matrix d, bool is_approx) |
template<> | |
void | print< algo::p_matrix, algo::p_matrix > (size_t x, algo::p_matrix f, algo::p_matrix d, bool is_approx) |
template<> | |
void | print< algo::rotation_in_angles, algo::rotation_in_angles > (size_t x, algo::rotation_in_angles f, algo::rotation_in_angles d, bool is_approx) |
bool | read_thermal_data (std::string dir, double hum_temp, double &scale) |
bool compare_and_trace | ( | D | val_matlab, |
D | val_cpp, | ||
std::string const & | compared | ||
) |
Definition at line 25 of file compare-to-bin-file.h.
bool compare_calib | ( | algo::calib const & | calib, |
double | cost, | ||
algo::calib | calib_from_file, | ||
double | cost_matlab | ||
) |
Definition at line 355 of file compare-to-bin-file.h.
bool compare_same_vectors | ( | std::vector< F > const & | matlab, |
std::vector< D > const & | cpp | ||
) |
Definition at line 235 of file compare-to-bin-file.h.
bool compare_t | ( | F | f, |
D | d, | ||
bool | print = true |
||
) |
Definition at line 220 of file compare-to-bin-file.h.
bool compare_to_bin_file | ( | std::vector< D > const & | vec, |
std::string const & | scene_dir, | ||
std::string const & | filename, | ||
size_t | width, | ||
size_t | height, | ||
size_t | size, | ||
bool(*)(std::vector< F > const &, std::vector< D > const &) | compare_vectors = nullptr |
||
) |
Definition at line 256 of file compare-to-bin-file.h.
bool compare_to_bin_file | ( | std::vector< D > const & | vec, |
std::string const & | scene_dir, | ||
std::string const & | filename, | ||
size_t | width, | ||
size_t | height, | ||
bool(*)(std::vector< F > const &, std::vector< D > const &) | compare_vectors = nullptr |
||
) |
Definition at line 289 of file compare-to-bin-file.h.
bool compare_to_bin_file | ( | std::vector< D > const & | vec, |
std::string const & | scene_dir, | ||
const char * | prefix, | ||
size_t | width, | ||
size_t | height, | ||
const char * | suffix, | ||
bool(*)(std::vector< F > const &, std::vector< D > const &) | compare_vectors = nullptr |
||
) |
Definition at line 301 of file compare-to-bin-file.h.
bool compare_to_bin_file | ( | D const & | obj_cpp, |
std::string const & | scene_dir, | ||
std::string const & | filename | ||
) |
Definition at line 409 of file compare-to-bin-file.h.
bool get_calib_and_cost_from_raw_data | ( | algo::calib & | calib, |
double & | cost, | ||
std::string const & | scene_dir, | ||
std::string const & | filename | ||
) |
Definition at line 318 of file compare-to-bin-file.h.
bool is_equal_approximetly | ( | F | fx, |
D | dx, | ||
bool | print = true |
||
) |
Definition at line 19 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::algo_calibration_registers, algo::algo_calibration_registers > | ( | algo::algo_calibration_registers | f, |
algo::algo_calibration_registers | d, | ||
bool | |||
) |
Definition at line 117 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::double2, algo::double2 > | ( | algo::double2 | f, |
algo::double2 | d, | ||
bool | |||
) |
Definition at line 86 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::double3, algo::double3 > | ( | algo::double3 | f, |
algo::double3 | d, | ||
bool | |||
) |
Definition at line 101 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::k_matrix, algo::k_matrix > | ( | algo::k_matrix | fx, |
algo::k_matrix | dx, | ||
bool | |||
) |
Definition at line 36 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::los_shift_scaling, algo::los_shift_scaling > | ( | algo::los_shift_scaling | f, |
algo::los_shift_scaling | d, | ||
bool | |||
) |
Definition at line 130 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::p_matrix, algo::p_matrix > | ( | algo::p_matrix | fx, |
algo::p_matrix | dx, | ||
bool | |||
) |
Definition at line 57 of file compare-to-bin-file.h.
bool is_equal_approximetly< algo::rotation_in_angles, algo::rotation_in_angles > | ( | algo::rotation_in_angles | fx, |
algo::rotation_in_angles | dx, | ||
bool | |||
) |
Definition at line 49 of file compare-to-bin-file.h.
bool operator== | ( | const algo::algo_calibration_registers & | first, |
const algo::algo_calibration_registers & | second | ||
) |
Definition at line 385 of file compare-to-bin-file.h.
bool operator== | ( | const algo::los_shift_scaling & | first, |
const algo::los_shift_scaling & | second | ||
) |
Definition at line 397 of file compare-to-bin-file.h.
Definition at line 142 of file compare-to-bin-file.h.
void print< algo::double2, algo::double2 > | ( | size_t | x, |
algo::double2 | f, | ||
algo::double2 | d, | ||
bool | is_approx | ||
) |
Definition at line 157 of file compare-to-bin-file.h.
void print< algo::double3, algo::double3 > | ( | size_t | x, |
algo::double3 | f, | ||
algo::double3 | d, | ||
bool | is_approx | ||
) |
Definition at line 165 of file compare-to-bin-file.h.
void print< algo::k_matrix, algo::k_matrix > | ( | size_t | x, |
algo::k_matrix | f, | ||
algo::k_matrix | d, | ||
bool | is_approx | ||
) |
Definition at line 149 of file compare-to-bin-file.h.
void print< algo::p_matrix, algo::p_matrix > | ( | size_t | x, |
algo::p_matrix | f, | ||
algo::p_matrix | d, | ||
bool | is_approx | ||
) |
Definition at line 181 of file compare-to-bin-file.h.
void print< algo::rotation_in_angles, algo::rotation_in_angles > | ( | size_t | x, |
algo::rotation_in_angles | f, | ||
algo::rotation_in_angles | d, | ||
bool | is_approx | ||
) |
Definition at line 173 of file compare-to-bin-file.h.
bool read_thermal_data | ( | std::string | dir, |
double | hum_temp, | ||
double & | scale | ||
) |
Definition at line 422 of file compare-to-bin-file.h.