stuff to test the jlinkage method with undistorted images