Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could refer to Missing Mat::zeros(int ndims, const int* sz, int type) which is exactly the same problem asked and added Mat::zeros() missing function. However, both opencv 2.4 and 2.4.8.2-pre are still not found this function. The strange thing is that opencv master branch in github of which I guess for opencv 3.0 has Mat::zeros(int ndims, const int* sz, int type) implementation, here. Does anybody know about why 2.4.x removed this?

Thank you in advance.