find edges in image of sin(x) - cos(y)