• Addison Elliott's avatar
    Added new overloaded functions for Mat and UMat that accepts std::vector<int>… · fa6692af
    Addison Elliott authored
    Added new overloaded functions for Mat and UMat that accepts std::vector<int> instead of int * for the sizes on a N-dimensional array.
    
    This allows for an N-dimensional array to be setup in one line instead of two when using C++11 initializer lists. cv::Mat(3, {zDim, yDim, xDim}, ...) can be used instead of having to create an int pointer to hold the size array.
    fa6692af
umatrix.cpp 31.9 KB