Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to initialize Mat size and fill it with zeros in a class ?

$
0
0
How do I initialize a Mat with a certain size and fill it with zeros in a class ? The simple cv::Mat test(cv::Size(1, 49), CV_64FC1); does not work. Sorry this worked cv::Mat texture_ = cv::Mat::zeros(cv::Size(1,49), CV_64FC1);

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>