Class spatial_filter
Defined in File rs_processing.hpp
Inheritance Relationships
Base Type
public rs2::filter
(Class filter)
Class Documentation
-
class spatial_filter : public rs2::filter
Public Functions
-
inline spatial_filter()
Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings alpha defines the weight of the current pixel for smoothing, and 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 spatial_filter(float smooth_alpha, float smooth_delta, float magnitude, float hole_fill)
Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings
- Parameters:
smooth_alpha – [in] - defines the weight of the current pixel for smoothing is bounded within [25..100]%
smooth_delta – [in] - defines the depth gradient below which the smoothing will occur as number of depth levels
magnitude – [in] - number of filter iterations.
hole_fill – [in] - an in-place heuristic symmetric hole-filling mode applied horizontally during the filter passes. Intended to rectify minor artefacts with minimal performance impact
-
inline spatial_filter()