最近在复习opencv,整理一下基础知识。今天把Core组件的相关操作记录下来,常用的操作有以下几个: Mat结构体 访问像素 Matimage; Uchar*data = image.ptr<uchar>(i);