#include <rs_processing.hpp>
◆ temporal_filter() [1/3]
rs2::temporal_filter::temporal_filter |
( |
| ) |
|
|
inline |
Create temporal filter processing block with default settings 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
◆ temporal_filter() [2/3]
rs2::temporal_filter::temporal_filter |
( |
float |
smooth_alpha, |
|
|
float |
smooth_delta, |
|
|
int |
persistence_control |
|
) |
| |
|
inline |
Create temporal filter processing block with user settings temporal filter smooth the image by calculating multiple frames with alpha and delta settings
- Parameters
-
[in] | smooth_alpha | - defines the weight of current frame. |
[in] | smooth_delta | - delta defines threshold for edge classification and preserving. |
[in] | persistence_control | - A set of predefined rules (masks) that govern when missing pixels will be replace with the last valid value so that the data will remain persistent over time: 0 - Disabled - Persistency filter is not activated and no hole filling occurs. 1 - Valid in 8/8 - Persistency activated if the pixel was valid in 8 out of the last 8 frames 2 - Valid in 2/last 3 - Activated if the pixel was valid in two out of the last 3 frames 3 - Valid in 2/last 4 - Activated if the pixel was valid in two out of the last 4 frames 4 - Valid in 2/8 - Activated if the pixel was valid in two out of the last 8 frames 5 - Valid in 1/last 2 - Activated if the pixel was valid in one of the last two frames 6 - Valid in 1/last 5 - Activated if the pixel was valid in one out of the last 5 frames 7 - Valid in 1/last 8 - Activated if the pixel was valid in one out of the last 8 frames 8 - Persist Indefinitely - Persistency will be imposed regardless of the stored history(most aggressive filtering) For more information, check the temporal-filter.cpp |
◆ temporal_filter() [3/3]
rs2::temporal_filter::temporal_filter |
( |
filter |
f | ) |
|
|
inline |
◆ context
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/librealsense-2.19.0/include/librealsense2/hpp/rs_processing.hpp