I have created a multi-dimension array, but I am not getting how to display the value. I am getting dim value correct but row/col variable is -1. How to display the matrix content.
int arr[4] = {4, 3, 2,5}; Mat L(4, arr, CV_8UC(1), Scalar::all(0));
1 | initial version |
I have created a multi-dimension array, but I am not getting how to display the value. I am getting dim value correct but row/col variable is -1. How to display the matrix content.
int arr[4] = {4, 3, 2,5}; Mat L(4, arr, CV_8UC(1), Scalar::all(0));