I know that in memory opencv represents Mat objects as one big array. So if I have 3 channels mat of dimension 200x200 then In memory it will store this mat in an array of size
As you can see in the data layout reported on the documentation, you can access the values like:
for(int r=0; r