Classes | Typedefs | Functions
rs2::depth_quality Namespace Reference

Classes

struct  metric_definition
 
class  metric_plot
 
class  metrics_model
 
class  metrics_recorder
 
struct  sample
 
struct  single_metric_data
 
struct  snapshot_metrics
 
class  tool_model
 

Typedefs

using callback_type = std::function< void(const std::vector< rs2::float3 > &points, const plane p, const rs2::region_of_interest roi, const float baseline_mm, const float focal_length_pixels, const int ground_thruth_mm, const bool plane_fit, const float plane_fit_to_ground_truth_mm, const float distance_mm, bool record, std::vector< single_metric_data > &samples)>
 
using metric = std::shared_ptr< metric_plot >
 

Functions

snapshot_metrics analyze_depth_image (const rs2::video_frame &frame, float units, float baseline_mm, const rs2_intrinsics *intrin, rs2::region_of_interest roi, const int ground_truth_mm, bool plane_fit_present, std::vector< single_metric_data > &samples, bool record, callback_type callback)
 
float3 approximate_intersection (const plane &p, const rs2_intrinsics *intrin, float x, float y, float min, float max)
 
float3 approximate_intersection (const plane &p, const rs2_intrinsics *intrin, float x, float y)
 
void draw_notification (ux_window &win, const rect &viewer_rect, int w, const std::string &msg, const std::string &second_line)
 
double evaluate_pixel (const plane &p, const rs2_intrinsics *intrin, float x, float y, float distance, float3 &output)
 
plane plane_from_point_and_normal (const rs2::float3 &point, const rs2::float3 &normal)
 
plane plane_from_points (const std::vector< rs2::float3 > points)
 

Typedef Documentation

using rs2::depth_quality::callback_type = typedef std::function<void( const std::vector<rs2::float3>& points, const plane p, const rs2::region_of_interest roi, const float baseline_mm, const float focal_length_pixels, const int ground_thruth_mm, const bool plane_fit, const float plane_fit_to_ground_truth_mm, const float distance_mm, bool record, std::vector<single_metric_data>& samples)>

Definition at line 55 of file depth-metrics.h.

using rs2::depth_quality::metric = typedef std::shared_ptr<metric_plot>

Definition at line 351 of file depth-quality-model.h.

Function Documentation

snapshot_metrics rs2::depth_quality::analyze_depth_image ( const rs2::video_frame frame,
float  units,
float  baseline_mm,
const rs2_intrinsics intrin,
rs2::region_of_interest  roi,
const int  ground_truth_mm,
bool  plane_fit_present,
std::vector< single_metric_data > &  samples,
bool  record,
callback_type  callback 
)
inline

Definition at line 139 of file depth-metrics.h.

float3 rs2::depth_quality::approximate_intersection ( const plane p,
const rs2_intrinsics intrin,
float  x,
float  y,
float  min,
float  max 
)
inline

Definition at line 120 of file depth-metrics.h.

float3 rs2::depth_quality::approximate_intersection ( const plane p,
const rs2_intrinsics intrin,
float  x,
float  y 
)
inline

Definition at line 134 of file depth-metrics.h.

void rs2::depth_quality::draw_notification ( ux_window win,
const rect viewer_rect,
int  w,
const std::string msg,
const std::string second_line 
)

Definition at line 134 of file depth-quality-model.cpp.

double rs2::depth_quality::evaluate_pixel ( const plane p,
const rs2_intrinsics intrin,
float  x,
float  y,
float  distance,
float3 output 
)
inline

Definition at line 113 of file depth-metrics.h.

plane rs2::depth_quality::plane_from_point_and_normal ( const rs2::float3 point,
const rs2::float3 normal 
)
inline

Definition at line 57 of file depth-metrics.h.

plane rs2::depth_quality::plane_from_points ( const std::vector< rs2::float3 points)
inline

Definition at line 63 of file depth-metrics.h.



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