close
1. VideoCapture::retrieve
Decodes and returns the grabbed video frame.
C: IplImage* cvRetrieveFrame(CvCapture* capture, int streamIdx=0 )
2. cvCreateImage
Creates an image header and allocates the image data.
- C: IplImage* cvCreateImage(CvSize size, int depth, int channels)
Mat src = imread("1.tif");
src.release();// free mem
全站熱搜
留言列表