Add 2d interpolation and check grayscale image