|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inlinestaticprivatenoexcept |
Scalar reduction used for the MAD comparison.
Plain arithmetic T reduces to its absolute value directly. glm vector T reduces to its length. This means HampelFilter screens on magnitude of change, not direction: a candidate whose magnitude is consistent with recent history is accepted even if its direction differs, which is deliberate, since a real sharp turn is a direction change with unremarkable magnitude and should not be screened out as if it were a spike.
Definition at line 194 of file HampelFilter.hpp.
Referenced by MayaFlux::Kinesis::HampelFilter< T >::accept().
Here is the caller graph for this function: