NVIDIA DeepStream SDK API Reference

8.0 Release
OneEuroFilter Class Reference

Detailed Description

Definition at line 32 of file post_processor_bodypose.h.

Public Member Functions

 OneEuroFilter ()
 Default constructor. More...
 
 OneEuroFilter (float dataUpdateRate, float minCutoffFreq, float cutoffSlope, float derivCutoffFreq)
 Constructor. More...
 
void reset (float dataUpdateRate, float minCutoffFreq, float cutoffSlope, float derivCutoffFreq)
 Reset all parameters of the filter. More...
 
void reset ()
 Reset only the initial condition of the filter, leaving parameters the same. More...
 
float filter (float x)
 Apply the one euro filter to the given input. More...
 

Constructor & Destructor Documentation

◆ OneEuroFilter() [1/2]

OneEuroFilter::OneEuroFilter ( )
inline

Default constructor.

Definition at line 35 of file post_processor_bodypose.h.

References reset().

◆ OneEuroFilter() [2/2]

OneEuroFilter::OneEuroFilter ( float  dataUpdateRate,
float  minCutoffFreq,
float  cutoffSlope,
float  derivCutoffFreq 
)
inline

Constructor.

Parameters
dataUpdateRatethe sampling rate, i.e. the number of samples per unit of time.
minCutoffFreqthe lowest bandwidth filter applied.
cutoffSlopethe rate at which the filter adapts: higher levels reduce lag.
derivCutoffFreqthe bandwidth of the filter applied to smooth the derivative, default 1 Hz.

Definition at line 43 of file post_processor_bodypose.h.

References reset().

Member Function Documentation

◆ filter()

float OneEuroFilter::filter ( float  x)
inline

Apply the one euro filter to the given input.

Parameters
xthe unfiltered input value.
Returns
the filtered output value.

Definition at line 59 of file post_processor_bodypose.h.

◆ reset() [1/2]

void OneEuroFilter::reset ( )
inline

Reset only the initial condition of the filter, leaving parameters the same.

Definition at line 55 of file post_processor_bodypose.h.

Referenced by OneEuroFilter(), and reset().

◆ reset() [2/2]

void OneEuroFilter::reset ( float  dataUpdateRate,
float  minCutoffFreq,
float  cutoffSlope,
float  derivCutoffFreq 
)
inline

Reset all parameters of the filter.

Parameters
dataUpdateRatethe sampling rate, i.e. the number of samples per unit of time.
minCutoffFreqthe lowest bandwidth filter applied.
cutoffSlopethe rate at which the filter adapts: higher levels reduce lag.
derivCutoffFreqthe bandwidth of the filter applied to smooth the derivative, default 1 Hz.

Definition at line 51 of file post_processor_bodypose.h.

References reset().


The documentation for this class was generated from the following file: