//
OpenCV忽略它,并改用widthStep
|-- char colorModel[4]; // 颜色模型 - 由OpenCV忽略
矩阵:
CvMat // 2维矩阵
|-- int type; // 元素类型(uchar,short,int,float,double)
|-- int step; // 一行所占字节长度
|-- int rows, cols; // 尺寸大小
|-- int height, width; // 备用尺寸参照
|-- union data;
|-- uchar* ptr; // 针对unsigned char矩阵的数据指针
|-- short* s; // 针对short矩阵的数据指针
|-- int* i; // 针对integer矩阵的数据指针
|-- float* fl; // 针对float矩阵的数据指针
|-- double* db; // 针对double矩阵的数据指针
CvMatND // N-维矩阵
|-- int type; // 元素类型(uchar,short,int,float,double)
|-- int dims;