fixed gray image with 3 channels