3D-PTV post-processing C++ routines (not tested)