First time here? Check out the FAQ!
answered 2016-05-17 04:35:31 -0600
I think it should be
Mat* mGray = (Mat*) GrayImage;