Getting an average trajectory from a group of trajectories
<p>I'm trying to obtain an average path given a group of similar paths of different lengths. Path data is only spatial, with no time attributed to each point. </p>

<p>To put it simply, is there an algorithm that can find the red path given the blue paths?</p>

<p>Blue Paths</p>

<p><a href="https://i.stack.imgur.com/ksCOD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ksCOD.png" alt="enter image description here"></a></p>

<p>Red Path</p>

<p><a href="https://i.stack.imgur.com/BQnyP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BQnyP.png" alt="enter image description here"></a></p>