Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CV_64FC1 give you only one channel 0.

CV_64FC2 will give you channel 0 and 1 here: fastJx[1] = 255; [1] does not exist

CV_64FC1 give you only one channel 0.

CV_64FC2 will give you channel 0 and 1 1

here:

fastJx[1] = 255; [1] 255;

is accessing a channel that does not existexist.

Could be wrong,

http://docs.opencv.org/doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.html#matthebasicimagecontainer keghn