show histogram of image image of cos(2 x)