3/15/2014

OpenCV Study, Mat to IplImage* convert, simple method


Data Copy
IplImage * img = cvCloneImage( &(IplImage)frame ); //where frame is Mat!!
//~~~
//~~
cvReleaseImge(&img);



Point Copy
IplImage * img = &((IplImage)frame) //where frame is Mat!!

No comments:

Post a Comment