find edges in image of x sin(1/x)