Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to know which type of the element

As we know, the type of Mat can get by member function Mat::type. But I want to get the type of element. I mean the int, uchar, and doubleand so on is expected. Anyone can give me some thinking?