find edges in image of cos(x) + sin(x/4)