Image conversion to black and white by using Cuda.