views:

6

answers:

0

Just noticed something strange and wondered if there was a reason for it.

I have a grayscale image in EmguCV (.net wrapper for openCV). If this image has C channels (1 for grayscale, 3 for RGB), a width of X pixels and a height of Y pixels, the data array is consistently of the form:

[Y,X+2,C]

Anyone know why?