void writeMatToXML(const cv::Mat & mat, const std::string xmlName)
{
FileStorage fs(xmlName, FileStorage::WRITE);
fs << "Mat" << mat;
fs.release();
}
cv::Mat中的数据按行列写入xml文件中并通过matlab读取
猜你喜欢
转载自blog.csdn.net/qq_35608277/article/details/86745828
今日推荐
周排行