1 | initial version |
welcome to row / col land ;)
both opencv Mat's and numpy arrays are row-major, meaning you have to index like:
img[ y, x, channel ]
seems to work ok on images that have the same value for x & y.
makes a lot of sense now, right ?
2 | No.2 Revision |
welcome to row / col land ;)
both opencv Mat's and numpy arrays are row-major, meaning you have to index like:
img[ y, x, channel ]
seems to work ok on images that have the same value for x & y.
makes a lot of sense now, right ?? (just that you have it transposed, then)