转自 @yhl_leo 1 图像读取 首先看一下,imread函数的声明: // C++: Mat based Mat imread( ); // C: IplImage based IplImage* cvLoadImage(const char* filename, int iscolor=CV_LOAD_IMAGE_COLOR ); // C: CvMat based CvMat* cvLoadImageM(const char* filename, int iscolor=CV_LOAD…