fixed CVGrayscaleMat