cvCreatMat: 矩阵操作函数:http://blog.sina.com.cn/s/blog_4d2f2f010100wzdc.html
cvCreatImg: 内存分配与释放图像处理空间:http://blog.sina.com.cn/s/blog_4d2f2f010100wz1d.html
其它:http://blog.sina.com.cn/s/articlelist_1710759622_0_1.html
用openCV求特征值和特征向量:http://blog.csdn.net/clever101/article/details/2693101
cvmat、mat、ipllmage之间的关系及转换:http://blog.csdn.net/liulina603/article/details/11800623
CvMat* cvCreateMat(int rows, int cols, int type);
type: 矩阵元素类型. 格式为CV_<bit_depth>(S|U|F)C<number_of_channels>.
例如: CV_8UC1 表示8位无符号单通道矩阵, CV_32SC2表示32位有符号双通道矩阵