摘要:
IplImage *pl = cvLoadImage("e:\\3.bmp", 1); cvNamedWindow("123", 1); cvShowImage("123", pl); waitKey(1000); cvDestroyWindow("123"); cvReleaseImage(&pl... 阅读全文
摘要:
//类型定义CvPoint point(2, 3);CvPoint2D32f point1(2, 3);CvPoint3D32f point2(2, 3);CvSize size(2, 3);CvSize2D32f size1(2, 3);CvRect rect(0, 0, 50, 50);//m... 阅读全文
摘要:
1.auto_ptr 不可以使用指针惯用的赋值初始化方式,只能直接初始化。示例:char *p = 'A';//errorauto_ptrptr = new char;//error,被当作普通指针对待了auto_ptrptr4 = auto_ptr(new char);//okauto_ptrp... 阅读全文