Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello Friend's

Got the solution.

by doing following changes you will have color video out.

define CH_COLOR 3

IplImage *rgbImage = cvCreateImage(cvSize((int)width, (int)height), IPL_DEPTH_8U, CH_COLOR);
rgbImage->widthStep = (int)width * 3;

regards