|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inline |
Curvature helper for MotionChannel<glm::vec2>, self-calibrating its min_speed guard from the channel's own learned noise floor.
| channel | A MotionChannel<glm::vec2> that has had at least one update() |
A fixed min_speed constant has to assume a coordinate scale (pixels, normalized 0..1, millimeters); this instead asks "how much speed could this channel's own measurement noise alone produce", which scales automatically with whatever device and coordinate range the channel is actually receiving. Kept as a free function rather than a MotionChannel method since it is glm::vec2-specific and curvature itself does not generalize to vec3 the way velocity/acceleration do.
Definition at line 332 of file MotionChannel.hpp.
References curvature(), MayaFlux::Kinesis::MotionChannel< T >::derivative(), MayaFlux::Kinesis::MotionChannel< T >::estimate_for_component(), MayaFlux::Kinesis::Stochastic::Estimate::floor(), and MayaFlux::Kinesis::MotionChannel< T >::last_dt().
Here is the call graph for this function: