1 | initial version |
Hello Friend's
Got the solution.
by doing following changes you will have color video out.
IplImage *rgbImage = cvCreateImage(cvSize((int)width, (int)height), IPL_DEPTH_8U, CH_COLOR);
rgbImage->widthStep = (int)width * 3;
regards