I am having an Mat structure which size is 382 x 510 x 32
. How can I access the data from it?
From what I have read on the internet it should be something like this :
unsigned char *input = (unsigned char*)(img.data);
Anyhow, my code is something like this :
const int mySizes[3]={382,510,32};
cv::Mat f(3,mySizes,CV_64F);
Can you help me to go through the position of my 3D array?