Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | Friends | List of all members
rs2::temporal_filter Class Reference

#include <rs_processing.hpp>

Inheritance diagram for rs2::temporal_filter:
rs2::process_interface rs2::options

Public Member Functions

 temporal_filter ()
 
rs2::frame process (rs2::frame frame) override
 
void operator() (frame f) const override
 
- Public Member Functions inherited from rs2::process_interface
virtual ~process_interface ()=default
 
- Public Member Functions inherited from rs2::options
bool supports (rs2_option option) const
 
const char * get_option_description (rs2_option option) const
 
const char * get_option_value_description (rs2_option option, float val) const
 
float get_option (rs2_option option) const
 
option_range get_option_range (rs2_option option) const
 
void set_option (rs2_option option, float value) const
 
bool is_option_read_only (rs2_option option) const
 
optionsoperator= (const options &other)
 
virtual ~options ()=default
 

Friends

class context
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::options
 options (rs2_options *o=nullptr)
 
template<class T >
optionsoperator= (const T &dev)
 
 options (const options &other)
 

Constructor & Destructor Documentation

◆ temporal_filter()

rs2::temporal_filter::temporal_filter ( )
inline

Create temporal filter processing block temporal filter smooth the image by calculating multiple frames with alpha and delta settings alpha defines the weight of current frame, delta defines threshold for edge classification and preserving. For more information, check the temporal-filter.cpp

Member Function Documentation

◆ operator()()

void rs2::temporal_filter::operator() ( frame  f) const
inlineoverridevirtual

process the frame

Parameters
[in]frame- depth frame to be processed

Implements rs2::process_interface.

◆ process()

rs2::frame rs2::temporal_filter::process ( rs2::frame  frame)
inlineoverridevirtual

process the frame AND return the result

Parameters
[in]frame- depth frame to be processed
Returns
rs2::frame - filtered frame

Implements rs2::process_interface.

Friends And Related Function Documentation

◆ context

friend class context
friend

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