Public Member Functions | Private Attributes | List of all members
rs2::reflectivity Class Reference

#include <reflectivity.h>

Public Member Functions

void add_depth_sample (float depth_val, int x_in_image, int y_in_image)
 
float get_reflectivity (float raw_noise_estimation, float max_usable_range, float ir_val) const
 
float get_samples_ratio () const
 
size_t history_capacity () const
 
size_t history_size () const
 
bool is_history_full () const
 
 reflectivity ()
 
void reset_history ()
 

Private Attributes

std::deque< float > _dist_queue
 
size_t _history_size
 

Detailed Description

Definition at line 15 of file reflectivity.h.

Constructor & Destructor Documentation

reflectivity::reflectivity ( )

Definition at line 32 of file reflectivity.cpp.

Member Function Documentation

void reflectivity::add_depth_sample ( float  depth_val,
int  x_in_image,
int  y_in_image 
)

Definition at line 175 of file reflectivity.cpp.

float reflectivity::get_reflectivity ( float  raw_noise_estimation,
float  max_usable_range,
float  ir_val 
) const

Definition at line 41 of file reflectivity.cpp.

float rs2::reflectivity::get_samples_ratio ( ) const

Definition at line 202 of file reflectivity.cpp.

size_t rs2::reflectivity::history_capacity ( ) const

Definition at line 213 of file reflectivity.cpp.

size_t rs2::reflectivity::history_size ( ) const

Definition at line 219 of file reflectivity.cpp.

bool rs2::reflectivity::is_history_full ( ) const

Definition at line 207 of file reflectivity.cpp.

void rs2::reflectivity::reset_history ( )

Definition at line 193 of file reflectivity.cpp.

Member Data Documentation

std::deque<float> rs2::reflectivity::_dist_queue
private

Definition at line 44 of file reflectivity.h.

size_t rs2::reflectivity::_history_size
private

Definition at line 47 of file reflectivity.h.


The documentation for this class was generated from the following files:


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