changed IplImage to Mat C++

IplImage --> Mat
uchar -->char