Data Copy
IplImage * img = cvCloneImage( &(IplImage)frame ); //where frame is Mat!! //~~~ //~~ cvReleaseImge(&img);
Point Copy
IplImage * img = &((IplImage)frame) //where frame is Mat!!
IplImage * img = cvCloneImage( &(IplImage)frame ); //where frame is Mat!! //~~~ //~~ cvReleaseImge(&img);
IplImage * img = &((IplImage)frame) //where frame is Mat!!
No comments:
Post a Comment