Implement a filtering technique that flags tie points with largely differing shift direction compared to adjacent tie points.
Such largely differing shift directions appear especially in case of high resolution input images and may cause warping artifacts. To prevent this, it may be useful to add a filtering technique that detects such cases and flags them before warping.