Classes | Macros | Functions | Variables
unit-tests-post-processing.cpp File Reference
#include "unit-tests-common.h"
#include "unit-tests-post-processing.h"
#include "../include/librealsense2/rs_advanced_mode.hpp"
#include <librealsense2/hpp/rs_frame.hpp>
#include <cmath>
#include <iostream>
#include <chrono>
#include <ctime>
#include <algorithm>
Include dependency graph for unit-tests-post-processing.cpp:

Go to the source code of this file.

Classes

class  post_processing_filters
 

Macros

#define SECTION_FROM_TEST_NAME   space_to_underscore(Catch::getCurrentContext().getResultCapture()->getCurrentTestName()).c_str()
 

Functions

void compare_frame_md (rs2::frame origin_depth, rs2::frame result_depth)
 
bool is_equal (rs2::frameset org, rs2::frameset processed)
 
bool is_subset (rs2::frameset full, rs2::frameset sub)
 
 TEST_CASE ("Post-Processing Filters sequence validation","[software-device][post-processing-filters]")
 
 TEST_CASE ("Post-Processing Filters metadata validation","[software-device][post-processing-filters]")
 
 TEST_CASE ("Post-Processing expected output","[post-processing-filters]")
 
 TEST_CASE ("Post-Processing processing pipe","[post-processing-filters]")
 
 TEST_CASE ("Align Processing Block","[live][pipeline][post-processing-filters][!mayfail]")
 
bool validate_ppf_results (rs2::frame origin_depth, rs2::frame result_depth, const ppf_test_config &reference_data, size_t frame_idx)
 

Variables

const std::vector< std::pair< std::string, std::string > > ppf_test_cases
 

Macro Definition Documentation

#define SECTION_FROM_TEST_NAME   space_to_underscore(Catch::getCurrentContext().getResultCapture()->getCurrentTestName()).c_str()

Definition at line 18 of file unit-tests-post-processing.cpp.

Function Documentation

void compare_frame_md ( rs2::frame  origin_depth,
rs2::frame  result_depth 
)

Definition at line 146 of file unit-tests-post-processing.cpp.

bool is_equal ( rs2::frameset  org,
rs2::frameset  processed 
)

Definition at line 361 of file unit-tests-post-processing.cpp.

bool is_subset ( rs2::frameset  full,
rs2::frameset  sub 
)

Definition at line 347 of file unit-tests-post-processing.cpp.

TEST_CASE ( "Post-Processing Filters sequence validation"  ,
""  [software-device][post-processing-filters] 
)

Definition at line 196 of file unit-tests-post-processing.cpp.

TEST_CASE ( "Post-Processing Filters metadata validation"  ,
""  [software-device][post-processing-filters] 
)

Definition at line 271 of file unit-tests-post-processing.cpp.

TEST_CASE ( "Post-Processing expected output"  ,
""  [post-processing-filters] 
)

Definition at line 383 of file unit-tests-post-processing.cpp.

TEST_CASE ( "Post-Processing processing pipe"  ,
""  [post-processing-filters] 
)

Definition at line 502 of file unit-tests-post-processing.cpp.

TEST_CASE ( "Align Processing Block"  ,
""  [live][pipeline][post-processing-filters][!mayfail] 
)

Definition at line 569 of file unit-tests-post-processing.cpp.

bool validate_ppf_results ( rs2::frame  origin_depth,
rs2::frame  result_depth,
const ppf_test_config reference_data,
size_t  frame_idx 
)

Definition at line 104 of file unit-tests-post-processing.cpp.

Variable Documentation

const std::vector< std::pair<std::string, std::string> > ppf_test_cases
Initial value:
= {
{"1551257764229", "D435_DS(2)"},
{"1551257812956", "D435_DS(3)"},
{ "1551257880762","D435_DS(2)_HoleFill(0)" },
{ "1551257882796","D435_DS(2)_HoleFill(1)" },
{ "1551257884097","D435_DS(2)_HoleFill(2)" },
{ "1551257987255", "D435_DS(2)+Spat(A:0.85/D:32/I:3)" },
{ "1551259481873", "D435_DS(2)+Spat(A:0.5/D:15/I:2)" },
{ "1551261946511", "D435_DS(2)+Temp(A:0.25/D:15/P:0)" },
{ "1551262153516", "D435_DS(2)+Temp(A:0.45/D:25/P:1)" },
{ "1551262256875", "D435_DS(2)+Temp(A:0.5/D:30/P:4)" },
{ "1551262841203", "D435_DS(2)+Temp(A:0.5/D:30/P:6)" },
{ "1551262772964", "D435_DS(2)+Temp(A:0.5/D:30/P:8)" },
{ "1551262971309", "D435_DS(2)_Spat(A:0.7/D:25/I:2)_Temp(A:0.6/D:15/P:6)" },
{ "1551263177558", "D435_DS(2)_Spat(A:0.7/D:25/I:2)_Temp(A:0.6/D:15/P:6))_HoleFill(1)" },
}

Definition at line 168 of file unit-tests-post-processing.cpp.



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