OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
Temporal filter. More...
#include <Filter.hpp>
Public Member Functions | |
TemporalFilter () | |
OBFloatPropertyRange | getDiffScaleRange () |
Get the TemporalFilter diffscale range. | |
void | setDiffScale (float value) |
Set the TemporalFilter diffscale value. | |
OBFloatPropertyRange | getWeightRange () |
Get the TemporalFilter weight range. | |
void | setWeight (float value) |
Set the TemporalFilter weight value. | |
Public Member Functions inherited from ob::Filter | |
Filter () | |
Filter (std::shared_ptr< FilterImpl > impl) | |
virtual | ~Filter ()=default |
virtual void | reset () |
ReSet the filter, freeing the internal cache, stopping the processing thread, and clearing the pending buffer frame when asynchronous processing is used. | |
void | enable (bool enable) |
enable the filter | |
bool | isEnabled () |
Return Enable State. | |
virtual std::shared_ptr< Frame > | process (std::shared_ptr< Frame > frame) |
Processes a frame synchronously. | |
virtual void | pushFrame (std::shared_ptr< Frame > frame) |
Pushes the pending frame into the cache for asynchronous processing. | |
virtual void | setCallBack (FilterCallback callback) |
Set the callback function for asynchronous processing. | |
virtual const char * | type () |
Get the type of filter. | |
template<typename T > | |
bool | is () |
Check if the runtime type of the filter object is compatible with a given type. | |
template<typename T > | |
std::shared_ptr< T > | as () |
Convert the filter object to a target type. | |
Additional Inherited Members | |
Protected Attributes inherited from ob::Filter | |
std::shared_ptr< FilterImpl > | impl_ |
std::string | type_ |
Temporal filter.
Definition at line 227 of file Filter.hpp.
ob::TemporalFilter::TemporalFilter | ( | ) |
OBFloatPropertyRange ob::TemporalFilter::getDiffScaleRange | ( | ) |
Get the TemporalFilter diffscale range.
void ob::TemporalFilter::setDiffScale | ( | float | value | ) |
Set the TemporalFilter diffscale value.
value | diffscale value. |
OBFloatPropertyRange ob::TemporalFilter::getWeightRange | ( | ) |
Get the TemporalFilter weight range.
void ob::TemporalFilter::setWeight | ( | float | value | ) |
Set the TemporalFilter weight value.
value | weight value. |