If you intend to do a number of different analyses using this approach, it might be a good idea to create new trajectories with the x,y centering already performed. That way you can eliminate the overhead of the image update from subsequent runs.
Good point! Thanks a lot!
Cheers
Bjoern