Classes | Enumerations | Functions | Variables
unit-tests-post-processing.h File Reference
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <numeric>
Include dependency graph for unit-tests-post-processing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ppf_test_config
 

Enumerations

enum  metadata_attrib : uint8_t {
  res_x, res_y, focal_length, depth_units,
  stereo_baseline, downscale, spat_filter, spat_alpha,
  spat_delta, spat_iter, temp_filter, temp_alpha,
  temp_delta, temp_persist, holes_filter, holes_fill,
  frames_sequence_size
}
 

Functions

ppf_test_config attrib_from_csv (const std::string &str)
 
std::vector< uint8_tload_from_binary (const std::string &str)
 
bool load_test_configuration (const std::string test_name, ppf_test_config &test_config)
 
template<typename T >
bool profile_diffs (const std::string &plot_name, std::vector< T > &distances, const float max_allowed_std, const float outlier, size_t frame_idx)
 

Variables

const std::map< metadata_attrib, std::stringmetadata_attributes
 

Enumeration Type Documentation

Enumerator
res_x 
res_y 
focal_length 
depth_units 
stereo_baseline 
downscale 
spat_filter 
spat_alpha 
spat_delta 
spat_iter 
temp_filter 
temp_alpha 
temp_delta 
temp_persist 
holes_filter 
holes_fill 
frames_sequence_size 

Definition at line 78 of file unit-tests-post-processing.h.

Function Documentation

ppf_test_config attrib_from_csv ( const std::string str)
inline

Definition at line 122 of file unit-tests-post-processing.h.

std::vector<uint8_t> load_from_binary ( const std::string str)

Definition at line 58 of file unit-tests-post-processing.h.

bool load_test_configuration ( const std::string  test_name,
ppf_test_config test_config 
)
inline

Definition at line 179 of file unit-tests-post-processing.h.

template<typename T >
bool profile_diffs ( const std::string plot_name,
std::vector< T > &  distances,
const float  max_allowed_std,
const float  outlier,
size_t  frame_idx 
)
inline

Definition at line 330 of file unit-tests-post-processing.h.

Variable Documentation

const std::map<metadata_attrib, std::string> metadata_attributes
Initial value:
= {
{ res_x, "Resolution_x" },
{ res_y, "Resolution_y" },
{ focal_length, "Focal Length" },
{ depth_units, "Depth Units" },
{ stereo_baseline,"Stereo Baseline" },
{ downscale, "Scale" },
{ spat_filter, "Spatial Filter Params:" },
{ spat_alpha, "SpatialAlpha" },
{ spat_delta, "SpatialDelta" },
{ spat_iter, "SpatialIterations" },
{ temp_filter, "Temporal Filter Params:" },
{ temp_alpha, "TemporalAlpha" },
{ temp_delta, "TemporalDelta" },
{ temp_persist, "TemporalPersistency" },
{ holes_filter, "Holes Filling Mode:" },
{ holes_fill, "HolesFilling" },
{ frames_sequence_size, "Frames sequence length" }
}

Definition at line 101 of file unit-tests-post-processing.h.



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