Ask Your Question

xhpohanka's profile - activity

2014-10-09 01:53:13 -0500 answered a question Missing Mat::zeros(int ndims, const int* sz, int type)

Hi all,

it seems to me that implementation of this function is still missing in OpenCv 2.4.9.

int dims[] = { memSize, tmpFrame.rows, tmpFrame.cols };
m_samples = cv::Mat::zeros(3, dims, CV_8U);

this 3d matrix initialization gives same linker error as in @artanis post. Do I have another (simple) option to zero initialize 3d matrix?

2014-10-09 01:47:06 -0500 received badge  Supporter (source)