take image convolution image of cos(x^2)