show image and convert to gray