Detect turning points in 2D trajectory

10 views (last 30 days)
Hi,
I'm struggling to detect turning points in 2D noisy trajectories. The object moves and suddenly changes direction (random angle). I tried different methods, but they are not good for different trajectories. Any suggestions? Could it be possible with a neural network?
Thanks!

Accepted Answer

Aditya Patil
Aditya Patil on 29 Mar 2021
Depending on what you define “sudden change” as, neural networks might be unnecessary, and you might be able to find the points using the angle of change.
If not, you can try sequence to sequence networks. One way to do so would be following,
1. For each point on the trajectory, calculate the angle between previous and next trajectory. That is for x(i), calculate angle formed by x(i – 1) and x(i + 1). For robustness, you could consider more points.
2. For output, use sequence of 0s and 1s, where 1 is when the object made sudden change, and 0 otherwise.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!