/
Mat

Mat



About

Using Mat objects.


Constructing

Refer to the page onĀ Mat.

Introspecting

Data Size

Make sure you take into account the number of channels.

int size = mymat.total() * mymat.elemSize();