Ask Your Question

Revision history [back]

click to hide/show revision 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 ?

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)