openCv;|OpenCv下的xml文件在matlab下的读入

openCv生成xml文件: CvMat * data_mat = cvCreateMat(2, 2, CV_32FC1 );
cvmSet(data_mat,0,0,1);
cvmSet(data_mat,0,1,2);
cvmSet(data_mat,1,0,3);
cvmSet(data_mat,1,1,4);
FileStorage fs("vocabulary.xml", FileStorage::WRITE);
fs << "vocabulary" << data_mat;
fs.release();


输出文件(按行列出): 【openCv; |OpenCv下的xml文件在matlab下的读入】


    推荐阅读