Ask Your Question

Revision history [back]

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