I searched to convert an IplImage* to Mat, but all answers were about the conversion to cvMat.
How, can I do it? and what is the difference between Mat and cvMat?
The recommended way is the cv::cvarrToMat function
cv::Mat - is base data structure for OpenCV 2.x
cv::Mat
CvMat - is old C analog of cv::Mat
CvMat