When generating several pathlets in sequence, one needs the output to be smooth. However, by concatenating generated pathlets, the ends of the successive pathlets might not match. In order to avoid this problem, we extend the spatiotemporal to:
where
represents the residuals
.
In this work, we assume a linear spatial model for the residuals. It can be computed given the last point of the previous pathlet.
We first generate a pathlet
in the same way we do using the spatiotemporal model. We want the first point of this pathlet to match the previous pathlet. Let's call
the vector that translates the first point of
into the last point of the previous pathlet. In order to obtain
, we keep the timings
and translate the points of
so that:
![]() |
This generating process gives a new pathlet that begins at the end of a previously generated pathlet, thus generating a more continuous overall trajectory. However, this method is only valid if is small. A large translation of points can generate an unrealistic pathlet. In practise, this problem of generation happens if an unlikely sequence of pathlets is generated by the model of temporal relationship between the pathlet models, described in chapter 6.