2016-09-14 02:35:21 -0600 | answered a question | How to save and load Matx from a file? The above problem can be solved by doing the following: cv::FileStorage fs2("file.xml", cv::FileStorage::READ); Mat tmp; fs2["X"] >> tmp; //in C/C++ fs2.Write(tmp,"X"); // in C# fs2.release(); //in C/C++ fs2.Dispose(); //in C# cv::Matx33d y(tmp); // all fine |
2015-09-12 11:50:40 -0600 | received badge | ● Supporter |