Hi,
I am trying to display a grayscale image in a visual studio C++ picture box. I followed the code below yet it says the mixChannels argument are not correct. What is & ?
Mat gray_3channels(gray.rows, gray.cols, CV_8UC3);
Mat in[] = { gray, gray, gray };
int from_to[] = { 0,0, 1,1, 2,2 };
mixChannels( in, 3, &gray_3channels, 1, from_to, 3 );
http://answers.opencv.org/question/16573/displaying-grayscale-in-pictureboxpixelformat/
But if anyone knows how else i can easily display grayscale image in a picture box please do tell me. Thanks