Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to convert the CvMat's type to the underlying C++ type?

Hello, if I have a cv::Mat m I can get its type via CV_MAT_TYPE(m.type()), is it possible to get the underlying C++ type (like float)?