First time here? Check out the FAQ!
answered 2013-06-10 19:22:13 -0600
I am not sure if image.zeros() is the way to go... according to the documentation you should do this:
cv::Mat img; img = cv::Mat::zeros(rows, cols, CV_32F);
I hope this helps