|
Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <rs_processing.hpp>
Public Member Functions | |
| spatial_filter () | |
| spatial_filter (float smooth_alpha, float smooth_delta, float magnitude, float hole_fill) | |
| spatial_filter (filter f) | |
Public Member Functions inherited from rs2::filter | |
| rs2::frame | process (rs2::frame frame) const override |
| filter (std::shared_ptr< rs2_processing_block > block, int queue_size=1) | |
| template<class S > | |
| filter (S processing_function, int queue_size=1) | |
| frame_queue | get_queue () |
| rs2_processing_block * | get () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| T | as () const |
| operator bool () const | |
Public Member Functions inherited from rs2::processing_block | |
| template<class S > | |
| void | start (S on_frame) |
| template<class S > | |
| S & | operator>> (S &on_frame) |
| void | invoke (frame f) const |
| processing_block (std::shared_ptr< rs2_processing_block > block) | |
| template<class S > | |
| processing_block (S processing_function) | |
| operator rs2_options * () const | |
| rs2_processing_block * | get () const |
| bool | supports (rs2_camera_info info) const |
| const char * | get_info (rs2_camera_info info) const |
| bool | supports (rs2_option option) const |
Public Member Functions inherited from rs2::options | |
| bool | supports (rs2_option option) const |
| virtual const char * | get_option_description (rs2_option option) const |
| virtual const char * | get_option_name (rs2_option option) const |
| virtual 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 |
| virtual std::vector< rs2_option > | get_supported_options () |
| options & | operator= (const options &other) |
| options (const options &other) | |
| virtual | ~options ()=default |
Public Member Functions inherited from rs2::filter_interface | |
| virtual | ~filter_interface ()=default |
Friends | |
| class | context |
Additional Inherited Members | |
Protected Member Functions inherited from rs2::processing_block | |
| void | register_simple_option (rs2_option option_id, option_range range) |
Protected Member Functions inherited from rs2::options | |
| options (rs2_options *o=nullptr) | |
| template<class T > | |
| options & | operator= (const T &dev) |
Protected Attributes inherited from rs2::filter | |
| frame_queue | _queue |
Protected Attributes inherited from rs2::processing_block | |
| std::shared_ptr< rs2_processing_block > | _block |
|
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
|
inline |
Create spatial filter processing block spatial filter smooth the image by calculating frame with alpha and delta settings
| [in] | smooth_alpha | - defines the weight of the current pixel for smoothing is bounded within [25..100]% |
| [in] | smooth_delta | - defines the depth gradient below which the smoothing will occur as number of depth levels |
| [in] | magnitude | - number of filter iterations. |
| [in] | hole_fill | - an in-place heuristic symmetric hole-filling mode applied horizontally during the filter passes. Intended to rectify minor artefacts with minimal performance impact |
|
inline |
|
friend |
1.8.15