1 | initial version |
Thank you :)
2 | No.2 Revision |
Thank you :)
I have used this one and it worked well:
IplImage* frame_r = cvCreateImage(size, IPL_DEPTH_8U, 1);
IplImage* frame_g = cvCreateImage(size, IPL_DEPTH_8U, 1);
IplImage* frame_b = cvCreateImage(size, IPL_DEPTH_8U, 1);
cvSplit(frame, frame_b, frame_g, frame_r, NULL);