As per http://ieeexplore.ieee.org/document/6774938/
Download all files into same directory along with the test image, and run dist_canny() with full name of the image. For eg. dist_canny('lena.png')
Unfortunately, getting good results for an image requires manipulation of free parameters such as threshold for hysteresis tracking. I've used values recommended in the original paper.