|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inline |
Build a turning profile from a path.
| path | Positions in chronological order, at least three |
| samples | Profile length, minimum 3 |
| rotation_invariant | Subtract the initial heading from every sample, making the profile independent of which direction the path was started in |
samples entriesResamples to uniform arc length first, so the profile is indexed by distance along the path rather than by time, and two recordings of the same shape at different frame rates produce comparable profiles.
Definition at line 199 of file PathShape.hpp.
References angular_delta(), h, heading(), MayaFlux::Kinesis::TurningProfile::initial_heading, MayaFlux::Kinesis::TurningProfile::length, resample_uniform(), and MayaFlux::Kinesis::TurningProfile::turning.
Here is the call graph for this function: