Is there a better way to create a type Mat for v that stores 3 float or double values?
Mat M = (Mat_<double>(3,3) << 1, 0, 0, 0, 1, 0, 0, 0, 1);
// or whatever type and shape you like, or use python ;)
Is there a better way to create a type Mat for v that stores 3 float or double values?
Mat M = (Mat_<double>(3,3) << 1, 0, 0, 0, 1, 0, 0, 0, 1);
// or whatever type and shape you like, or use python ;)