Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <rs_processing.hpp>
Public Member Functions | |
spatial_filter () | |
rs2::frame | process (rs2::frame frame) override |
void | operator() (frame f) const override |
![]() | |
virtual | ~process_interface ()=default |
![]() | |
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 |
options & | operator= (const options &other) |
virtual | ~options ()=default |
Friends | |
class | context |
Additional Inherited Members | |
![]() | |
options (rs2_options *o=nullptr) | |
template<class T > | |
options & | operator= (const T &dev) |
options (const options &other) | |
|
inline |
Create spatial filter processing block spatial filter smooth the image by calculating frame with alpha and delta settings alpha defines he weight of the current pixel for smoothing is bounded within [25..100]%, delta defines the depth gradient below which the smoothing will occur as number of depth levels For more information, check the spatial-filter.cpp
|
inlineoverridevirtual |
process the frame
[in] | frame | - depth frame to be processed |
Implements rs2::process_interface.
|
inlineoverridevirtual |
process the frame AND return the result
[in] | frame | - depth frame to be processed |
Implements rs2::process_interface.
|
friend |