input image converted to grayscale